Untitled

Steps to set ACL for default ZooKeeper nodes on WindowsServer

1.1. On the Windows Primary which has ZooKeeperconfigured, download the zookeeper binary from the link –

https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.5.8/apache-zookeeper-3.5.8-bin.tar.gz

2. Extract the contents into afolder.

3. From the extracted path go to “extracted_pathapache-zookeeper-3.5.8-binbin”

4. Edit the zkcli.cmd file and addthe parameters

“-Djava.security.auth.login.config=%ZENWORKS_HOME%confcasacasa-jaas.conf”

call %JAVA%”-Dzookeeper.log.dir=%ZOO_LOG_DIR%” “-Djava.security.auth.login.config=%ZENWORKS_HOME%confcasacasa-jaas.conf””-Dzookeeper.root.logger=%ZOO_LOG4J_PROP%””-Dzookeeper.log.file=%ZOO_LOG_FILE%” -cp “%CLASSPATH%”%ZOOMAIN% %*

5. Save andExit

6. Run thecommand

set JAVA_HOME=%ZENWORKS_HOME%sharejava

7. Run thecommand

zkCli.cmd -server localhost:6789

8. Run the command to set ACL on/zookeeper node

setAcl /zookeeper sasl:zen-zkadmin:cdrwa

9. Run the command to set ACL on/zookeeper/quota node

setAcl /zookeeper/quota sasl:zen-zkadmin:cdrwa

‘sasl,’zen-zkadmin

: cdrwa

Related:

  • No Related Posts

Untitled

Steps to set ACL for default ZooKeeper nodes on WindowsServer

1.1. On the Windows Primary which has ZooKeeperconfigured, download the zookeeper binary from the link –

https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.5.8/apache-zookeeper-3.5.8-bin.tar.gz

2. Extract the contents into afolder.

3. From the extracted path go to “extracted_pathapache-zookeeper-3.5.8-binbin”

4. Edit the zkcli.cmd file and addthe parameters

“-Djava.security.auth.login.config=%ZENWORKS_HOME%confcasacasa-jaas.conf”

call %JAVA%”-Dzookeeper.log.dir=%ZOO_LOG_DIR%” “-Djava.security.auth.login.config=%ZENWORKS_HOME%confcasacasa-jaas.conf””-Dzookeeper.root.logger=%ZOO_LOG4J_PROP%””-Dzookeeper.log.file=%ZOO_LOG_FILE%” -cp “%CLASSPATH%”%ZOOMAIN% %*

5. Save andExit

6. Run thecommand

set JAVA_HOME=%ZENWORKS_HOME%sharejava

7. Run thecommand

zkCli.cmd -server localhost:6789

8. Run the command to set ACL on/zookeeper node

setAcl /zookeeper sasl:zen-zkadmin:cdrwa

9. Run the command to set ACL on/zookeeper/quota node

setAcl /zookeeper/quota sasl:zen-zkadmin:cdrwa

‘sasl,’zen-zkadmin

: cdrwa

Related:

  • No Related Posts