Installing Session Monitor Using the RPM

This section describes installing the Session Monitor using RPM.

You have to set up the machine with Oracle Linux operating system to install Session Monitor using the RPM.

Note:

Oracle Linux installs Kernel 3 by default but it is recommended to use the latest unbreakable kernel 4. Session Monitor requires the yum groups @base and @core.

Configurations are necessary for proxies and repos, if there are any. See Configuring Proxies and Repos.

To install Session Monitor using an RPM:

  1. Change the edition of MySQL to enterprise edition. Refer Changing Community MySQL Edition to Enterprise Edition.
  2. If you have a running Oracle Linux 7 (DPDK) probe with an Oracle Communications Session Monitor version prior to 3.4.0, uninstall Session Monitor by running the following command:
    yum remove ocsm
  3. Verify that the system hosting the mediation engine is connected to the Internet.
  4. Log on to the Mediation Engine server as the root user.
  5. Verify that Oracle Linux 7 is installed by running the following command:
    cat /etc/oracle-release
  6. Download the Session Monitor software by doing the following:
    1. Create a temporary directory ( temp_dir) on the system that hosts the mediation engine.
    2. Download the software pack for your operating system from the Oracle software delivery web site.
    3. Download the Session Monitor installation software RPM ZIP file to temp_dir.
    4. Unzip the Session Monitor installation software RPM ZIP file.
  7. Install the Session Monitor RPM file by running the following command:
    yum install ocsm-<rn>x86_64.rpm

    where:

    • <rn> is the current Session Monitor release number.
    For example, ocsm-4.1.0.0.0x86_64.rpm

    The following partitioning options are available:

    • Single partition (default option)
    • Secondary partition for data storage
  8. Perform the following steps to create separate partition for data (block) storage:
    1. Create the partition for data storage
    2. Run the following command to create a directory to mount the partition:
      mkdir -pv
      					 /opt/oracle/ocsm/var/vsi
    3. Adjust /etc/fstab to mount the data storage partition. For example:
      LABEL=PLD_DATA /opt/oracle/ocsm/var/vsi ext4 defaults,nosuid,nodev,nofail 0 2

      Result: During installation partition will be detected by product setup application and the system uses the separate partition.

  9. Verify the installation by doing the following:
    1. Navigate to /var/log/ocsm file.
    2. Verify whether the following log file exists: ocsm_installed_*.log
  10. Adjust the firewalld to access the Session Monitor applications by doing the following:
    1. Allow firewalld to access the HTTPS service (port 443) by running the following command:
      firewall-cmd --permanent
      					 --zone=public --add-service=https
    2. (Optional) If you are planning to configure the system as a mediation engine, allow the firewalld to access the probe connection by doing the following:
      • For SBC (embedded) probes:
        firewall-cmd --permanent --zone=public --add-port=4739/tcp
        firewall-cmd --permanent --zone=public --add-port=4740/tcp
      • For standalone probes:
        firewall-cmd --permanent --zone=public --add-port=4741/tcp
        firewall-cmd --permanent --zone=public --add-port=4742/tcp
    3. Reload the configuration by running the following command:
      firewall-cmd --reload

    Note:

    If you are planning to enable additional services, see the discussion about network security in Oracle Communications Session Monitor Security Guide for a complete list of services and their respective ports.
  11. Disable SELinux by running the following command:
    setenforce 0
    sed -i -e "s/^SELINUX=.*/SELINUX=disabled/" /etc/selinux/config

    See Session Monitor Post-Installation Tasks for the post-installation configuration steps.