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:
- Change the edition of MySQL to enterprise edition. Refer Changing Community MySQL Edition to Enterprise Edition.
-
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
- Verify that the system hosting the mediation engine is connected to the Internet.
- Log on to the Mediation Engine server as the root user.
-
Verify that Oracle
Linux 7 is installed by running the following command:
cat /etc/oracle-release
-
Download the
Session Monitor software by doing the following:
- Create a temporary directory ( temp_dir) on the system that hosts the mediation engine.
- Download the software pack for your operating system from the Oracle software delivery web site.
- Download the Session Monitor installation software RPM ZIP file to temp_dir.
- Unzip the Session Monitor installation software RPM ZIP file.
-
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.
The following partitioning options are available:
- Single partition (default option)
- Secondary partition for data storage
-
Perform the
following steps to create separate partition for data (block) storage:
- Create the partition for data storage
- Run the following
command to create a directory to mount the partition:
mkdir -pv /opt/oracle/ocsm/var/vsi
-
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.
-
Verify the
installation by doing the following:
- Navigate to /var/log/ocsm file.
- Verify whether the
following log file exists:
ocsm_installed_*.log
-
Adjust the
firewalld to access the Session Monitor applications by doing the following:
-
Allow firewalld
to access the HTTPS service (port 443) by running the following command:
firewall-cmd --permanent --zone=public --add-service=https
-
(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
- For SBC (embedded)
probes:
-
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. -
Allow firewalld
to access the HTTPS service (port 443) by running the following command:
-
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.


