Upgrading Session Monitor

Note:

It is not possible to directly upgrade from Session Monitor version 3.3 to Session Monitor version 3.4 or later as versions 3.4 and 4.x are built on Oracle Linux, and version 3.3 is Debian-based. To upgrade from 3.3 to 3.4 or 4.x, a re-install is required.

To upgrade Session Monitor:

  1. Upgrade from Session Monitor release 3.3 to 3.4 or release 4.0 by referring to the Migration Guide provided in the 3.4, and 4.0 product documentation page on Oracle Help Center.

    With this migration procedure, you can perform an upgrade without losing historic calls/data.

  2. After upgrading to Session Monitor release 3.4/4.0, upgrade to Session Monitor release 4.4 either by PSA or ACLI.

    • Upgrading to Release 4.4 through PSA
    • Upgrading to Release 4.4 through ACLI

Upgrading to Release 4.4 through PSA

Before upgrading, see Altering Database Tables Before Upgrading to 4.4.

To upgrade to release 4.4:

  1. Open the PSA page of the ME by entering the URL address in the web browser: https://<IPofME>/setup/ where, <IPofME>

    is the IP address of the ME. Contact your Oracle Representative for credentials.
  2. Click browse and upload the software downloaded from Oracle

    For Release 4.4, the software is an .rpm file:ocsm-4.4.0.0.0-10243.x86_64.rpm

  3. After the upload is complete, click Install.

  4. Accept the license agreement. The installation begins.

  5. (Optional) You will receive the following error message if there is no enough disk space.

    Cannot update. Not enough disk space. Please contact Support.

    To free up the space, refer to the Document 1937398.1 in the Customer Support website.

    The upgrade/installation may take 1 or more hours depending on the data on your machine. Once the installation gets completed, logout of the PSA page and re-login. Click Software Version from the right panel.

    Result: The upgraded version is shown as Release 4.4.0.0.0 on the machine.

  6. Run the following command after establishing an SSH session with the product.

    source /opt/oracle/ocsm_env.sh
  7. Log out of the application GUI and log in again to access new features.

Upgrading to Release 4.4 through ACLI

Note:

This section provides an example procedure for upgrading Mediation Engine (ME). The procedure for other machine types like Probe , and Mediation Engine Connector is the same.

Before upgrading, see Altering Database Tables Before Upgrading to 4.4

To upgrade Session Monitor to release 4.4 through ACLI:

  1. Copy the RPM file ocsm-4.4.0.0.0-10243.x86_64.rpm to the system.

  2. Set the correct environment by running the following command:
    source /opt/oracle/ocsm/ocsm_env.sh
  3. Run the following command to stop all the services on Operations Monitor:
    pld-systemctl stop
  4. Run the following command:
    yum install ocsm-4.4.0.0.0-10243.x86_64.rpm
  5. Run the following command to start all services.
    pld-systemctl start
  6. The upgrade is complete. Run the following command to verify the Session Monitor software version:
    cat /opt/oracle/ocsm/etc/iptego/display_version

    Result: The output should be latest Session Monitor version. For example, 4.4.0.0.0.

  7. Run the following command after establishing an SSH session with the product.
    source /opt/oracle/ocsm/ocsm_env.sh
  8. Log out of the application GUI and log in again to access new features.

Upgrading DPDK

DPDK upgrade is required. Release 4.4 and above supports DPDK version 19.11 only.

To update DPDK:

  1. Follow the instructions in "Uninstalling DPDK"
  2. Follow the instructions in "Installing and Configuring DPDK with Internet" or "Installing and Configuring DPDK without Internet" based on setup below.
  3. Reboot the machine that hosts the probe, or mediation engine and probe.

Uninstalling DPDK

This section describes the instructions for uninstalling DPDK.

To uninstall DPDK:

  1. Run the following commands:
    source /opt/oracle/ocsm/ocsm_env.sh
    /opt/oracle/ocsm/usr/share/pld/rat/configure_dpdk.py --remove
    

Installing and Configuring DPDK with Internet

This section describes the procedure for installing and configuring DPDK for Session Monitor.

Note:

You must be connected to the internet before starting the installation. Running the following command installs, downloads the required files, and configures the DPDK automatically.
For DPDK installation, for Oracle X7-2 server has the following pre-requisite:
  1. Create a file, /opt/oracle/ocsm/etc/iptego/white_list_dpdk.local with the value i140e before triggering DPDK installation.
  1. Log into the Platform Setup Application page.
  2. Select Capture Settings.
  3. Check the box in Monitoring column against each sniffing interface that you want to use for capturing the traffic.
  4. Log into the machine that hosts the probe or mediation engine and probe as a root user.
  5. (Optional) For better understanding of the network, CPU, and NUMA nodes of the server, you can run the following command to review the output of the system_layout.py script. It will display system information:
    source /opt/oracle/ocsm/ocsm_env.sh
    /opt/oracle/ocsm/usr/share/pld/rat/system_layout.py
    
  6. Run the following commands which guides you through the installation:
    source /opt/oracle/ocsm/ocsm_env.sh
    /opt/oracle/ocsm/usr/share/pld/rat/configure_dpdk.py
    
    The configure_dpdk.py script downloads and installs the required DPDK driver, the corresponding Kernel headers required for compiling DPDK driver, compiles, installs the driver, and creates server and Session Monitor DPDK related configuration.
  7. (Optional) To view all the available advanced options, run the following command:
    /opt/oracle/ocsm/usr/share/pld/rat/configure_dpdk.py -h

Installing and Configuring DPDK Without Internet

DPDK can be installed and configured without an internet connection.
  1. Log into the Platform Setup Application page.
  2. Select Capture Settings.
  3. Check the box in Monitoring column against each sniffing interface that you want to use for capturing the traffic.
  4. Log into the machine that hosts the probe or mediation engine and probe as a root user.
  5. (Optional) For better understanding of the network, CPU, and NUMA nodes of the server, run the system_layout.py script to display system information.
    source /opt/oracle/ocsm/ocsm_env.sh
    /opt/oracle/ocsm/usr/share/pld/rat/system_layout.py
    
  6. Run the following command:
    yum install kernel-uek-devel-$(uname -r)
  7. Download the DPDK tar file from http://git.dpdk.org/dpdk/refs/ into the folder /var/cache/ocsm/dpdk/.
  8. Run the following commands as a root user:
    source /opt/oracle/ocsm/ocsm_env.sh
    /opt/oracle/ocsm/usr/share/pld/rat/configure_dpdk.py
    
  9. (Optional) To view all the available advanced options, run the following command:
    /opt/oracle/ocsm/usr/share/pld/rat/configure_dpdk.py -h