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

Configuring Dynamic Data Masking for Apache ZooKeeper

Configuring Dynamic Data Masking for Apache ZooKeeper

  1. Create a parent node to group the Dynamic Data Masking servers in a cluster in ZooKeeper. The node is a persistent node and will continue to exist after you restart ZooKeeper.
    Use the Dynamic Data Masking server control commands to create the parent node in ZooKeeper.
    1. Start the Dynamic Data Masking server.
    2. Connect to ZooKeeper with the following command:
      server zookeeper connect -url '<zookeeper_ensemble>'
      Example:
      server zookeeper connect -url 'server1.informatica.com:2181, server2.informatica.com:2181, server3.informatica.com:2181'
    3. Create a parent node in ZooKeeper with the following command:
      server zookeeper create -path /<name of parent node>
      Example:
      server zookeeper create -path /DDM
  2. Create an ephemeral node for each Dynamic Data Masking server in the cluster. Initialize the ephemeral node with the URL copied from the database node of
    hiveserver2
    . Replace the host and port values of the database URL with the corresponding host and port values of the Dynamic Data Masking server.
    If the environment is enabled for Kerberos, replace the Hive service principal with Dynamic Data Masking service principal defined in the
    /cfg/ddm.security
    file.
    server zookeeper create -path /<DDM cluster path> -type EPHEMERAL -data <driver_url_toddm_cluster>
    Example:
    server zookeeper create -type EPHEMERAL -path /DDM/ddm1 -data "hive.server2.instance.uri=<ddmhost1>:<DDM hive service port>;hive.server2.authentication=KERBEROS;hive.server2.transport.mode=binary;hive.server2.thrift.sasl.qop=auth;hive.server2.thrift.bind.host=<ddmhost1>;hive.server2.thrift.port=<DDM hive service port>;hive.server2.use.SSL=false;hive.server2.authentication.kerberos.principal=<Dynamic Data Masking service principal for ddmhost1>"
    server zookeeper create -type EPHEMERAL -path /DDM/ddm2 -data "hive.server2.instance.uri=<ddmhost2>:<DDM hive service port>;hive.server2.authentication=KERBEROS;hive.server2.transport.mode=binary;hive.server2.thrift.sasl.qop=auth;hive.server2.thrift.bind.host=<ddmhost2>;hive.server2.thrift.port=<DDM hive service port>;hive.server2.use.SSL=false;hive.server2.authentication.kerberos.principal=<Dynamic Data Masking service principal for ddmhost2>"
    The ephemeral node exists only while the Dynamic Data Masking Server is connected to ZooKeeper. If the Dynamic Data Masking server shuts down, the connection to ZooKeeper closes. ZooKeeper deletes the ephemeral node of the disconnected Dynamic Data Masking server.

0 COMMENTS

We’d like to hear from you!