Installing Session Monitor Using the Zip File Downloaded from the MOS Website
This section describes installing the Session Monitor using Zip file downloaded from the My Oracle Support (MOS ) website.
You have to set up the machine with Oracle Linux 8.10 operating system to install Session Monitor using the Zip file. Configurations are necessary for proxies and repos, if there are any, see Configuring Proxies and Repos.
To install Session Monitor using the Zip file:
Verifying the Contents of the Session Monitor Installation Bundle
Verify the contents of the Session Monitor installation.zip bundle that you downloaded from the My Oracle Support website (MOS) or Oracle Software Delivery Cloud (OSDC).
Extract the bundle and verify that it has following contents:
- README.txt
- meta.nfo
- ocsm-6.0.0.0.0-RPM-GA.zip
- other_files/
- other_files/my-8.0.cnf
- other_files/ocsm-6.0.0.0.0.revision.txt
- other_files/mysql-shell-commercial-8.4.4-1.1.el8.x86_64.rpm
- scripts/
- scripts/Install_OCSM_Rel_6.0.sh
- scripts/Upgrade_OCSM_Rel_6.0.sh
- scripts/Backup and Restore Scripts/
- scripts/Backup and Restore Scripts/MySQLDeltaUpgrade.sh
- scripts/Backup and Restore Scripts/backupAndRestoreBlockStorage.sh
- scripts/Backup and Restore Scripts/backupAndRestoreOtherFiles.sh
- scripts/Offline_Installation/
- scripts/Offline_Installation/Download_rpms.sh
- scripts/Offline_Installation/Offline_OCSM_Installation_Rel_6.0.sh
- scripts/Offline_Installation/Offline_Repo_OCSM_Rel_6.0.sh
- scripts/Offline_Installation/Offline_Repo_Server_preparation_Rel_6.0.sh
- scripts/Offline_Installation/Offline_Upgrade_OCSM_Rel_6.0.sh
Creating a Separate Partition for Data Storage and MySQL Storage
Perform the following tasks to create a separate partition for data (block) storage and MySQL Storage
- Single partition (default option)
- Secondary partition for data and MySQL storage
Enabling SELinux
Session Monitor currently supports the following top-level state of SELinux on a system – enforcing, permissive and disabled. The only supported SELinux type is targeted.
Adding Ports in the SELinux Port List
On a SELinux enabled machine, in order to use any port other than the default ports in the Session Monitor, add the port in the SELinux port list using the following commands.
yum install -y setroubleshoot-server
semanage port -a -t <Service_Name> -p <Protocol> <Port_Number>
You
can view all ports allowed in the SELinux using the command:
semanage port -l
For example: By default,
SELinux allows http to listen on TCP ports 80, 443, 488, 8008, 8009, or
8443. semanage port -a -t http_port_t -p tcp 8001
Troubleshooting Tips
Following intructions will be helpful in solving issues in configuring SELinux.
Table 2-1 Modifying SELinux Mode
Mode | Command |
---|---|
To run SELinux in permissive mode (System prints warnings only but does not enforce SELinux policy) |
|
To run SELinux in the enforcing mode (SELinux security policy is enforced) |
|
Verify the status using command |
|