Installing Session Monitor using Method 2

Install Session Monitor using Method 2 where the Repo server is a separate node. Session Monitor should be able to reach the Repo server.

  1. Log in to the Repo server as a root user OR root privileged user and execute Steps 2 to 8.
  2. Ensure that 5 GB to 10 GB free space is available in the /tmp folder on this server.
  3. If the /tmp/ocsm folder is already present, take a backup of the /tmp/ocsm folder if required and delete the folder /tmp/ocsm.
  4. Create the folder /tmp/ocsm .
    mkdir /tmp/ocsm
  5. Navigate to the folder /tmp/ocsm.
    cd /tmp/ocsm
  6. Transfer all the contents of the folder /tmp/ocsm from the Linux machine - where you have downloaded the RPM files and scripts - to the /tmp/ocsm folder on the Repo server.
  7. Set execute permission as:
    chmod +x *.sh
  8. Run the following command to prepare the Repo server.
    ./Offline_Repo_Server_preparation_Rel_6.1.sh
  9. Log in to the Session Monitor server installed with Oracle Linux 9.6 as a root or root privileged user, and execute Steps 10 to 16.
  10. Check if you have 5 GB to 10 GB free space available in the /tmp folder on the Session Monitor Server.
  11. If the /tmp/ocsm folder is already present, take a backup of the /tmp/ocsm folder if required, and delete the folder /tmp/ocsm.
  12. Create the folder /tmp/ocsm using this command:
    mkdir /tmp/ocsm
  13. Transfer all the contents of the folder /tmp/ocsm on the Repo server machine to the folder /tmp/ocsm on the Session Monitor server.
  14. Go to the folder /tmp/ocsm.
    cd /tmp/ocsm
  15. Install the Kernel version 5.15.0-302.167.6:
    1. Install the kernel RPMs in order:
      rpm -ivh kernel-uek-core-5.15.0-302.167.6.el9uek.x86_64.rpm --oldpackage
      rpm -ivh kernel-uek-modules-5.15.0-302.167.6.el9uek.x86_64.rpm --oldpackage
      rpm -ivh kernel-uek-5.15.0-302.167.6.el9uek.x86_64.rpm --oldpackage
    2. Verify the grub configuration and check that the installed kernel is listed:
      grubby --info=ALL | grep -E "^kernel|^index"
    3. Set the default kernel:
      grubby --set-default=/boot/vmlinuz-5.15.0-302.167.6.el9uek.x86_64
    4. Reboot the system:
      reboot
    5. Verify the kernel version after reboot:
      uname -a
  16. Navigate to the folder /tmp/ocsm on the Session Monitor server:
    cd /tmp/ocsm
  17. Once the VM or Server is up and running with 5.15 kernel, uninstall 6.x kernel and its associated dependencies by executing the following commands
    rpm -qa | grep '^kernel-uek' | grep 6.12
    dnf remove <6.12 kernel packages>
  18. Set the execute permission
    chmod +x *.sh
  19. Run the script ./Offline_OCSM_Installation_Rel_6.1.sh <REPO_SERVER_IP> to install the Session Monitor.
    ./Offline_OCSM_Installation_Rel_6.1.sh <REPO_SERVER_IP>
    where <REPO_SERVER_IP> is the IP address of the Repo server. For example:
    ./Offline_OCSM_Installation_Rel_6.1.sh 192.168.1.10