Skip to main content
Skip table of contents

Move Zookeeper service to webapp nodes

This article will provide a step by step guide to move Zookeeper to webapp nodes.

  1. After the update to 3.8.3 run the following script on webapp nodes to install Zookeeper:

    1. In case of using YUM repositories

      1. CODE
        sudo bash /etc/veridiumid/update-procedure/current/resources/scripts/383/zookeeper_install.sh -i -p PRIMARY_IP_ADDR -s SECONDARY_IP_ADDR
        # Where:
        # PRIMARY_IP_ADDR will be the IP address of the primary node (the one that participates in the cluster)
        # SECONDARY_IP_ADDR will be the IP address of the secondary node (the observer in the cluster)
    2. In case of using local RPM packages

      1. CODE
        sudo bash /etc/veridiumid/update-procedure/current/resources/scripts/383/zookeeper_install.sh -i -p PRIMARY_IP_ADDR -s SECONDARY_IP_ADDR -r PATH
        # Where:
        # PRIMARY_IP_ADDR will be the IP address of the primary node (the one that participates in the cluster)
        # SECONDARY_IP_ADDR will be the IP address of the secondary node (the observer in the cluster)
        # PATH is the full path to the directory containing the packages
  2. Create Zookeeper Paths

    1. Run this command on a single webapp node to create the Zookeeper paths:

      1. CODE
        sudo bash /etc/veridiumid/update-procedure/current/resources/scripts/383/zookeeper_install.sh -c
  3. Migrate data from old Zookeeper to the new one

    1. Run this command on all webapp nodes to migrate the data from the old Zookeeper cluster to the new one and also change the values in zookeeper.properties file:

      1. CODE
        sudo bash /etc/veridiumid/update-procedure/current/resources/scripts/383/zookeeper_install.sh -m
  4. Restart webapp services

    1. Run this command on all webapp nodes to restart webapp services:

      1. CODE
        LIST=( "ver_websecadmin" "ver_tomcat" "ver_selfservice" "ver_fido" "ver_setupagent" "ver_freeradius" )
        for service_name in ${LIST[@]}; do service ${service_name} restart; done
JavaScript errors detected

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

If this problem persists, please contact our support.