Upgrading the MySQL Version
Session
Monitor version, 4.1.0.0.0 supports both MySQL versions, 5.5 and 5.7. If you
have upgraded from a previous Session Monitor version, your system will be
running MySQL 5.5. To upgrade to MySQL 5.7 for the latest performance updates
and improvements, perform the following steps in the maintenance window:
- Log in to the Session
Monitor server console as the root user and run the following command to load
the environment variables.
source /opt/oracle/ocsm/ocsm_env.sh
- Run the following command
to stop the Session monitor services:
pld-systemctl stop
- Upgrade MySQL from the official MySQL documentation.
- Run the following command
to install MySQL compatibility libraries:
yum install mysql-commercial-libs-compat
- Run the following command
to upgrade the MySQL:
mysql_upgrade
Note:
The upgrade duration depends on the database size. - Run the following command
to deploy the Session Monitor MySQL 5.7configuration:
cp /opt/oracle/ocsm/etc/iptego/my-5.7.cnf /opt/oracle/ocsm/etc/iptego/my.cnf
- Run the following command
to restart MySQL and Session Monitor services:
systemctl restart mysqld pld-systemctl start