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. Configuration for MicroStrategy
  9. Access Control
  10. Logs
  11. High Availability
  12. Server Control
  13. Performance Tuning
  14. Troubleshooting
  15. 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 data, the path to the node, the node type, and the URL to ZooKeeper. Use the following table to determine which parameters (-data, -path, -type, -url) are required and optional for each command:
Command
-data
-path
-type
-url
Description
connect
-
Optional
-
Required
Connects to ZooKeeper using the URL.
If you specify the path, ZooKeeper treats it as the root directory. Nodes above this root will not be available for this connection.
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 Dynamic Data Masking 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!