Table of Contents

Search

  1. Preface
  2. Introduction to Dynamic Data Masking Administration
  3. Authentication
  4. Security
  5. Connection Management
  6. JDBC Client Configuration
  7. ODBC Client Configuration
  8. Access Control
  9. Logs
  10. High Availability
  11. Server Control
  12. Performance Tuning
  13. Troubleshooting
  14. Appendix A: Database Keywords

Administrator Guide

Administrator Guide

Dynamic Data Masking Server Commands for ZooKeeper

Dynamic Data Masking Server Commands for ZooKeeper

Use the Dynamic Data Masking Server commands to connect to and manage ZooKeeper.
Use the
connect
command to connect to the ZooKeeper server.
After you connect to the ZooKeeper server, you can manage Dynamic Data Masking servers and services on ZooKeeper with the following commands:
  • create
  • delete
  • disconnect
  • get
  • list
  • update
Some commands must include parameters such as the URL to ZooKeeper, the path to the node, the node type, and data.
Use the following table to determine which parameters are required and optional for each command:
Command
Parameters
Description
-data
-path
-type
-url
connect
Optional.
Required.
Connects to ZooKeeper using the URL.
If you specify the path, ZooKeeper treats it as the root directory.
create
Optional.
Required.
Optional.
Creates a new node.
If you do not specify the data parameter, the default value is null.
If you do not specify type, the default value is PERSISTENT.
You can specify one of the following types:
  • EPHEMERAL
  • EPHEMERAL_SEQUENTIAL
  • PERSISTENT
  • PERSISTENT_SEQUENTIAL
delete
Required.
Deletes the parent node and children nodes recursively.
disconnect
Disconnects from ZooKeeper and deletes the ephemeral nodes.
get
Required.
Optional.
Prints data from the specified path.
If you do not specify type, the default value is String.
You can specify one of the following types:
  • string
  • short
  • int
  • integer
  • float
  • long
  • double
  • byte
  • boolean (true | false)
  • date (a long number)
list
Optional.
Lists all nodes recursively.
If you do not specify path, the default value is
/
.
update
Optional.
Required.
Updates the existing node in the specified path.
Use the following syntax:
server zookeeper [create | update | delete | get | list | connect | disconnect] -path <path> -data <data> -type <type> -url <url>
If you want to create data nodes for a remote Dynamic Data Masking server, you can connect to ZooKeeper from your local DDM server with the following commands:
server zookeeper connect -url <url of the zookeeper ensemble> -targets user/password@host:port[;SSL];
server zookeeper create -path <path> -targets user/password@host:port[;SSL];

0 COMMENTS

We’d like to hear from you!