v3.9 v3.8.4 v3.8.3 v3.8.2 v3.8.1 v3.8 v3.7.2 v3.7.1 v3.7 v3.6
Auto Light Dark
Auto Light Dark
v3.9 v3.8.4 v3.8.3 v3.8.2 v3.8.1 v3.8 v3.7.2 v3.7.1 v3.7 v3.6

Update to version 2.7.6

This procedure is applicable only if you have already installed version >= 2.7.2.

 

Before you START THE UPGRADE please check if you get SCORE (CONTEXT and MOTION). In order to do this please do a few SSP LOGIN.

Please be advised that for the Webapp servers, you will need approximately 50GB of free disk space to perform the upgrade.

On all UBA Webapp Servers / VeridiumID Persistence Servers you need to have an username with “sudo” privileges in order to be able to run the scrips.

  1. Open a terminal for each node (Webapp UBA and VeridiumId Persistence) :

TMP_DEST="/vid-app/update276"
sudo mkdir -p $TMP_DEST
sudo chmod 755 $TMP_DEST
# Please replace <nexusUser> / <nexusPassword> with your nexus credentials
# Download "uba-onprem-installer-2.7.6.zip" on each node
sudo wget -P $TMP_DEST --user <nexusUser> --password <nexusPassword> https://veridium-repo.veridium-dev.com/repository/UBAInstallerOnPrem/2.7.6/uba-onprem-installer-2.7.6.zip 
sudo unzip ${TMP_DEST}/uba-onprem-installer-2.7.6.zip -d ${TMP_DEST}


  1. Run the following command (one server at time), starting to ILP webapp and continuing with persistence nodes:

# before update, comment the hardcoded /vid-app/install lines
sed -i '/chown -R \${USERNAME}:\${USERNAME} \/vid-app\/install\//{s/^/#/;n;s/^/#/;n;s/^/#/;n;s/^/#/}' /vid-app/update276/uba-onprem-installer/update-procedure/resources/requirements/275/pythonReq.sh
sed -i '/chown -R \${USERNAME}:\${USERNAME} \/vid-app\/install\//{s/^/#/;n;s/^/#/;n;s/^/#/;n;s/^/#/}' /vid-app/update276/uba-onprem-installer/update-procedure/resources/requirements/276/pythonReq.sh
sudo bash ${TMP_DEST}/uba-onprem-installer/update-procedure/update.sh 2.7.6
  1. Decouple Kafka from Zookeeper

Check if the decoupleKafkaFromZk was ran already by running the following command on the persistence nodes:

sudo grep "process.roles=broker,controller" /opt/veridiumid/uba/kafka/config/server.properties | wc -l
  • If the value is 0, then the decouple was not executed and needs to be executed on each persistence node.

  • If the command returns the value 1 then the script was ran already during the VeridiumID installation/upgrade, and the following command was already run.

# You should run the script at the same time on all the Persistence nodes
sudo bash ${TMP_DEST}/uba-onprem-installer/webapp/decoupleKafkaFromZk.sh

## after that, On UBA Webapp nodes (one server at time) - run the following command:
sudo bash /opt/veridiumid/uba/scripts/uba_services.sh stop
sudo bash /opt/veridiumid/uba/scripts/uba_services.sh start


  • If the UBA services are not running, and you want to change the version to 2.7.6 after the remediation, you should run:

    sudo sed -i "s/UBA_VERSION.*/UBA_VERSION=2.7.6/g" /etc/default/veridiumid/uba_variables
    
  • Cleanup temporary directory and check free space

    rm -rf /vid-app/update276
    df -h
    

Last updated: