Splunk® User Behavior Analytics

Install and Upgrade Splunk User Behavior Analytics

Acrobat logo Download manual as PDF


This documentation does not apply to the most recent version of Splunk® User Behavior Analytics. For documentation on the most recent version, go to the latest release.
Acrobat logo Download topic as PDF

Upgrade a distributed RHEL, CentOS, or Oracle Linux installation of Splunk UBA

Before upgrading Splunk UBA in a distributed deployment, be sure you have verified the Upgrade Splunk UBA prerequisites. Make sure that the prerequisites are verified on each server in the distributed deployment.

Distributed environment upgrade steps

Install Splunk UBA 5.0.4 on the master node only. The upgrade script will update all relevant files on the other Splunk UBA nodes. Ensure that Splunk UBA is running before you upgrade.

To obtain and install Splunk UBA 5.0.4, perform the following tasks on the master node:

  1. Obtain the Splunk UBA Software Update and download the file to the /home/caspida directory. Select version 5.0.4 from the drop-down list. The downloadable archive file is named splunk-uba-software-upgrade-package_504.tgz.
  2. Extract the archive with the following command:
    tar xfz /home/caspida/splunk-uba-software-upgrade-package_504.tgz -C /home/caspida

    The following files are extracted into the splunk-uba-software-update_504 directory:

    • Splunk-UBA-5.0-Overlay-Packages-RHEL-7.8.tgz
    • Splunk-UBA-5.0-Overlay-Packages-RHEL-7.8.tgz.md5sum
    • splunk-uba-software-update-000002-504.tgz
    • splunk-uba-software-update-000002-504.tgz.md5sum
    • uba-ext-pkgs-5.0.4.tgz
    • uba-ext-pkgs-5.0.4.tgz.md5sum
  3. Extract the software update package in the /home/caspida/splunk-uba-software-update_504 directory:
    tar xfz /home/caspida/splunk-uba-software-update_504/splunk-uba-software-update-000002-504.tgz -C /home/caspida
  4. Apply the patch with the following command:
    /home/caspida/patch_uba_504/bin/utils/patch_uba.sh -p /home/caspida/patch_uba_504 -e /home/caspida/splunk-uba-software-update_504/uba-ext-pkgs-5.0.4.tgz
    The command installs the new Splunk UBA software, restarts Splunk UBA, and then restarts the data sources.
  5. Run the following commands to synchronize the CaspidaSecurity.jar file to all nodes in your deployment.
    /opt/caspida/bin/Caspida stop
    /opt/caspida/bin/Caspida sync-cluster
    /opt/caspida/bin/Caspida start
    

Apply security patches on your Linux operating system

Perform the following tasks to apply the latest Linux operating system security patches:

  1. Log in to the Splunk UBA master node as the caspida user.
  2. Run the following command to stop Splunk UBA and all services:
    /opt/caspida/bin/Caspida stop-all
  3. On each Splunk UBA node, perform the following tasks:
    1. Log in as the caspida user.
    2. Run the following command to install the security plugin:
      sudo yum -y install yum-plugin-security
    3. Run the following commands to check for any available security updates:
      sudo yum updateinfo list security all
      sudo yum updateinfo list sec
      
    4. Run the following command to update all packages with the available security updates:
      sudo yum update --security -y
      sudo yum --security update-minimal
      
    5. Reboot the system:
      sudo reboot
  4. Run the following command to start Splunk UBA and all services:
    /opt/caspida/bin/Caspida start-all

Next steps

Verify a successful upgrade of Splunk UBA.

Last modified on 30 November, 2022
PREVIOUS
Upgrade a distributed AMI or OVA installation of Splunk UBA
  NEXT
Upgrade a Splunk UBA deployment that is using warm standby

This documentation applies to the following versions of Splunk® User Behavior Analytics: 5.0.4


Was this documentation topic helpful?


You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters