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.
Open a terminal for each node (Webapp UBA and VeridiumId Persistence) :
TMP_DEST="/vid-app/update276"
sudo mkdir -p $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}
Run the following command (one server at time), starting to ILP webapp and continuing with persistence nodes:
sudo bash ${TMP_DEST}/uba-onprem-installer/update-procedure/update.sh 2.7.6
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:
CODEsudo sed -i "s/UBA_VERSION.*/UBA_VERSION=2.7.6/g" /etc/default/veridiumid/uba_variables
Cleanup temporary directory and check free space
CODErm -rf /vid-app/update276 df -h