Skip to main content
Skip table of contents

Zookeeper basic commands

In order to list all the config files from zookeeper, we need to login to a persistence node and connect to zookeeper:

/opt/veridiumid/zookeeper/bin/zkCli.sh

image-20240822-144343.png

and then:

ls /veridiumid/<build number>

image-20240822-144541.png

If the above command returns error: Insufficient permission : /veridiumid/11.0.15 you can bypass this in 2 ways:

  1. Simply Disable storage protection from Veridium-Manager interface and you should be able to list the config files:

    image-20240822-145020.png
  2. Authenticate with veridiumid user and password
    - Copy the username and password for Zookeeper:
    cat /etc/veridiumid/zookeeper.properties

    image-20240822-145421.png

    - Login to Zookeper and authenticate with the user and password you got from zookeeper.properties:
    addauth digest veridiumid:<password>

    image-20240823-071823.png

    And now you should be able to see the config files.

If you want to delete a config file from zookeeper:

  • Login to Zookeeper

  • Run:
    delete /veridiumid/11.0.15/config.json

If you want to recreate the previous config file from zookeeper:

  • Login to Zookeeper

  • Run:
    create /veridiumid/11.0.15/config.json

If you want to copy a config file from local path to zookeeper:

  • Create the new config.json file as needed

  • Run:
    zkcli set /veridiumid/11.0.15/config.json "$(cat <path-to-config.json>)"

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.