Prerequisite Tasks for Upgrading Oracle Linux on the VM

You must verify the SCM version and health of the SCM application before you upgrade Oracle Linux on the VM:

  1. Verify the version of SCM running on the VM.
    sudo docker ps
  2. If you're running SCM 24.7 or lower, then you must migrate to SCM 24.8, as follows:
    1. Upgrade the SCM server to 24.8, as follows:
      cd /home/opc
      bash start_cmserver.sh CM_24.8.0
    2. Verify the version of the SCM application, as follows:
      sudo docker ps

      The version of the running SCM container must be 24.8.0.

    3. Migrate the new SCM features, as follows:
      docker exec -it cloudmanager bash 
      cd /home/opc
      bash siebel-cloud-manager/scripts/cmapp/migration.sh

      Choose "Upgrade CM instance script" when the options are presented by the migration.sh script.

    4. Exit from the SCM container and restart the container, as follows:
      cd /home/opc/cm_app/{CM_RESOURCE_PREFIX}/bash start_cmserver.sh CM_24.8.0
  3. Ensure that the SCM application is functioning by executing the following API request:
    curl --location --request GET 'https://<CM_Instance_IP>:<Port>/scm/api/v1.0/environment/<env_id>' \
          --header 'Content-Type: application/json' \
          --header 'Authorization: Basic <Base 64 encoded user:api_key>'

    The SCM service is functioning correctly if the response includes valid environment details.