2 Oracle SDM Cloud Deployment Process and Procedures

Obtaining and Installing the Oracle® Session Delivery Management Cloud (Oracle SDM Cloud) service requires a multi-step process that includes tasks for you to perform in the Oracle Cloud and on premises. New customers must take steps to establish and set up their Oracle Cloud account in addition to the procedures for installing the Oracle SDM Cloud service. See the following topics to guide you through the process.
  • Oracle SDM Cloud Deployment Process
  • Establish an Oracle SDM Cloud Service Subscription
  • Login to Oracle SDM Cloud to obtain inputs for Management Cloud Engine (MCE)
  • Establish a site with the Oracle SDM Cloud's Registration ID to which the Management Cloud Engine (MCE) can connect
  • Install, Configure, and Activate the MCE

Oracle SDM Cloud Deployment Process

The high-level process for deploying the Oracle® Session Delivery Management Cloud (Oracle SDM Cloud) includes the following steps. You will perform some steps in the Oracle Cloud and others on-premises.
  1. Oracle Cloud—Contact your Oracle Cloud sales representative to establish a subscription for Oracle SDM Cloud and activate your Oracle Cloud and Oracle Identity Cloud Services accounts.
  2. Oracle Cloud—Login to Oracle SDM Cloud and obtain the Identity and Access Management (IAM) for inputs to Management Cloud Engine (MCE).
  3. Oracle Cloud—While logged into Oracle SDM Cloud, create a site. Once created, select the site to edit and obtain the generated site Registration ID to use for MCE inputs.
  4. On premises—Install the Management Cloud Engine (MCE) with the install, activate, and configuration scripts provided in the software download.

    The following diagram illustrates the deployment process and shows the parameters you need to set in each Oracle SDM Cloud component to establish the service.

    This diagram depicts the Oracle SDM Cloud infrastructure.

Establish an Oracle SDM Cloud Service Subscription

To obtain the Oracle® Session Delivery Management Cloud (Oracle SDM Cloud) service, contact Oracle Cloud Sales to purchase a Cloud Services Agreement and the Oracle SDM Cloud service description.

Establishing an Oracle SDM Cloud service subscription is a multi-step process. Use the information provided in the following links to guide you through the process.
  1. Go to https://docs.oracle.com/en/cloud/paas/identity-cloud/index.html for information about how to purchase a subscription to Oracle SDM Cloud.
  2. Go to https://docs.oracle.com/en/cloud/get-started/subscriptions-cloud/index.html for information about how to activate your Oracle Applications account order.
  3. Go to https://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/getting_started/create_cloud_account_admin_obe/create_cloud_acc_admin.html for information about how to manage your Oracle Cloud services.

Obtain the IAM Inputs for MCE

To connect the Oracle® Session Delivery Management Cloud (Oracle SDM Cloud) to the Management Cloud Engine (MCE), you must login to the Oracle SDM Cloud and obtain the Identity and Access Management (IAM) parameters.
  1. Log on to the Oracle SDM Cloud using the URL that you received in your "Welcome" email from Oracle.
  2. Browse to Security Manager, IAM.
    The Identity Access Management page displays showing the unique identifiers for the following components:
    • Oracle SDM Cloud FQDN
    • Oracle SDM Cloud Tenant ID
    • IDCS FQDN
    • IDCS Tenant ID
    • MCE IDCS Client ID
    • MCE IDCS Client Secret

Create a Site and Retrieve Generated ID for MCE Inputs

To connect the Oracle® Session Delivery Management Cloud (Oracle SDM Cloud) to the Management Cloud Engine (MCE), you must login to the Oracle SDM Cloud, create a Site, and retrieve the Generated ID for MCE inputs.
  1. Logon to the Oracle SDM Cloud using the URL that you received in your "Welcome" email from Oracle.
  2. Browse to Device Manager, Sites.
    The Sites page displays.
  3. Click Add, enter a Site name and optionally a Description and click Apply.
    The Sites page displays showing the newly added Site.
  4. Select the Site and click Edit.
    The Edit Site page displays with a Site ID with a unique identifier.
  5. Use the Site ID when adding your MCE in Oracle SDM Cloud.

Install and Configure the MCE

The Management Cloud Engine (MCE) installation procedure requires the archive file containing the installation and configuration scripts that you downloaded from Oracle onto your host hardware. Oracle recommends running the two scripts consecutively in one session the first time you install the MCE. For that reason, this procedure includes the prerequisites and steps for running both scripts.

MCE Installation Prerequisites

Do the following before performing the procedure.

System Prerequisites
  • Ensure that the host meets Operation System and resource requirements.
  • Operating System Oracle Linux 8.8 or higher or Red Hat compatible Kernel

    Note:

    The latest version of Oracle SDM Cloud is not tested on Red Hat Enterprise Linux (RHEL) and Oracle recommends using the base version of Linux on the 8.x release.
  • Install Perl V5.26.3 or higher on the host.
  • Install Podman v4.4.1 or higher on the host.
  • Ensure that you have Root access.
  • Download the archive file (mce-<version>.tgz) from My Oracle Support (MOS) to the host server. This .tgz file includes all necessary scripts.
Installation Script Prerequisites
  • Ensure that there is no MCE installation existing on the hardware. See the last step in this procedure for instructions.
  • Ensure that you have root access.
Configuration Script Prerequisites
  • Note the MCE WAN IP, MCE LAN IP, and MCE name.
  • Navigate to Oracle® Session Delivery Management Cloud (Oracle SDM Cloud) Security Manager, IAM page to configure IAM parameters.

Procedure

The following procedure provides instructions for installing the MCE initially and for re-installing the MCE later, for example, in a disaster recovery scenario.

Note:

Before re-installing, you must first uninstall the existing MCE.
  1. Unpack the mce-<version>.tgz archive.
    tar -xvzf mce-<version>.<build>.tgz
    The system creates the mce-<version> directory and copies the unpacked files there in the following directory tree.
    mce-<version>.<build>/
    mce-<version>.<build>/mce/
    mce-<version>.<build>/mce/perl/
    mce-<version>.<build>/mce/perl/activate.pl
    mce-<version>.<build>/mce/perl/deactivate.pl
    mce-<version>.<build>/mce/perl/uninstall.pl
    mce-<version>.<build>/mce/perl/config.pl
    mce-<version>.<build>/mce/perl/changeloglevel.pl
    mce-<version>.<build>/mce/perl/showversion.pl
    mce-<version>.<build>/mce/perl/collectinfo.pl
    mce-<version>.<build>/mce/perl/helper.pl
    mce-<version>.<build>/mce/cfg/
    mce-<version>.<build>/mce/cfg/mce.properties
    mce-<version>.<build>/mce/cfg/version
    mce-<version>.<build>/mce/cfg/log4j2.xml
    mce-<version>.<build>/mce/cfg/log4j2_debug.xml
    mce-<version>.<build>/mce/ssl/
    mce-<version>.<build>/mce/logs/
    mce-<version>.<build>/mce/img/
    mce-<version>.<build>/mce/img/mce.tar
    mce-<version>.<build>/install.pl
    mce-<version>.<build>/upgrade.pl
  2. Log on to the server at root. Ensure the user logging in has the proper Linux permissions.
  3. Run the install.pl script.
    ./install.pl
    -------------------------------------------------------------------------------
    Oracle Cloud Communications Service, (c) 2020 Oracle
    MCE v1.0.0 install.pl @ 2020-07-14 12:00:59
    -------------------------------------------------------------------------------
    Checking pre-conditions...
    Ok.
    Proceed with install (y/n) : y
    Installing mce to /opt/oracle ...
    Installation successful.
    [abcd@acme123 mce-1.0.0]$
    The system checks for an existing MCE instance in Podman.
    • If it exists, the script execution stops and you must uninstall it.
    This creates the /oracle/mce directory under /opt. (If an oracle directory already exists, the install creates an mce directory only.)
  4. From /opt/oracle/mce/perl, run the config.pl script and configure the attributes according to your environment.
    -------------------------------------------------------------------------------
    Oracle Cloud Communications Service, (c) 2020 Oracle
    MCE v23.2.0.0.0  @ 2023-06-01 10:46:01
    -------------------------------------------------------------------------------
    Checking pre-conditions...
    The following inputs are required for MCE to register with Oracle SDM Cloud:
    MCE Host Name               : cgbu-phx-347
    Host WAN IP Address         : 100.77.50.195
    Host LAN IP Address         : 10.196.248.92
    Oracle SDM Cloud FQDN       : <From IAM page>
    Oracle SDM Cloud tenant ID  : <From IAM page>
    IDCS tenant ID              : <From IAM page>
    MCE IDCS client secret      : <From IAM page>
    Oracle SDM Cloud Site ID    : <From Device manager → Sites>
    Enable proxy(y/n)           : y
    Proxy server address        : 100.77.50.145
    Proxy server port           : 3128
    --------------------------------------------------------------------
    The following inputs are required for MCE KeyStore configuration:
    MCE TLS Key Store Password   :
    MCE TLS Key Store Password   confirm :
    --------------------------------------------------------------------
    The following inputs are required for MCE operation:
    Trap Receiver Port        : 162
    --------------------------------------------------------------------
    Ready to process inputs
    Proceed with configuration (y/n) : y
    This creates a mce.properties file under /opt/oracle/mce/cfg, which contains all of the information entered in config.pl.
  5. From /opt/oracle/mce/perl, run the activate.pl script to activate the MCE.
    ./activate.pl
    -------------------------------------------------------------------------------
    Oracle Cloud Communications Service, (c) 2020 Oracle
    MCE v1.0.0  @ 2020-07-14 12:49:22
    -------------------------------------------------------------------------------
    Checking pre-conditions...
    Ok.
    MCE tomcat port:7070, Trap receiver port:162
    Proceed with activate (y/n) : y
    Activating container mce...
    Start to run container mce, image id fb90a2c4b930 ...
    Container mce with image id fb90a2c4b930 started.
    Activation successful!
  6. (Optional) Check your work with Podman.
    1. At the prompt type: podman images, and press Enter to list the MCE instances. Under TAG look for <version> <build> which is the new installation. The following code block shows an example.
      % podman images
      REPOSITORY                    TAG               IMAGE ID           CREATED    SIZE
      cne-repos1.us.oracle.com:7744/apps/cgbu/ums/mce 1.0.0 fb90a2c4b930 4 days ago 434MB
    2. At the prompt type: podman ps, and press Enter to list the running images. In the list, under "NAMES", look for "mce". Under STATUS, look for the newest one of each. The following code block shows an example.
      % podman ps
      CONTAINERID  IMAGE        COMMAND    CREATED      STATUS  PORTS NAMES
      ed6f90a7993d fb90a2c4b930 "/bin/bash ./start.sh"  3 days ago     mce
Upgrading the MCE

The Management Cloud Engine (MCE) upgrade procedure requires the archive file containing the installation and configuration scripts that you downloaded from Oracle onto your host hardware. For more information on the installation and configuration scripts and prerequisites, see "Install and Configure the MCE".

There are two ways to upgrade the MCE to 24.1.0.0.0:
  • Restore MCE directory and run the upgrade.pl (Recommended)
  • Fresh installation with the existing SITE_ID.

Use the following procedure to upgrade the MCE using the upgrade.pl.

From Oracle Linux 7:
  1. Log onto the server as a root user and ensure the user logging in has the proper Linux permissions.
  2. Shut down the existing version of MCE by running the deactivate.pl script.
    /opt/oracle/mce/perl/deactivate.pl
  3. Backup the MCE directory and move it to a safe location for use in future steps.
    tar -cvf <SAFE_LOCATION>/mce_ol7.tar -C /opt  ./oracle
  4. Upgrade operating system from Oracle Linux 7 to Oracle Linux 8.8.

    From Oracle Linux 8:

  5. Log onto the server as a root user and ensure the user logging in has the proper Linux permissions.
  6. Install Podman v4.4.1 version or above.
  7. Restore backed up MCE directory (saved in a prior step) to /opt on OL8.
  8. Unpack the new mce-<version>.<build>.tgz archive. The system installs the files in the /opt/oracle/mce directory.
  9. Run the upgrade.pl script.

    Note:

    The following upgrade procedure uses version 24.1.0.0.0 as an example for upgrade.
    [root@acme18 mce-24.1.0.0.0]# ./upgrade.pl
    -------------------------------------------------------------------------------
    Oracle Cloud Communications Service,(c) 2020 Oracle
    MCE v24.1.0.0.0 upgrade.pl @2023-12-10 15:35:59
    -------------------------------------------------------------------------------
    Checking pre-conditions...
    Upgrade from 23.2.0.0.0 to 24.1.0.0.0 is supported.
    Ok.Proceed with upgrade (y/n) :y
    Backup...
    Installing...
    Importing...
    Upgrading configuration to 24.1.0.0.0 ...
    The following inputs are required for MCE to register with Oracle SDM Cloud:
    Host WAN IP Address         : 100.77.18.47
    Host LAN IP Address         : 10.196.248.92
    Success.

    The upgrade.pl script displays a banner with information about the new MCE version.

    The MCE performs the following validations to ensure the upgrade is supported and valid:
    • Validation that an existing version of MCE exists under /opt/oracle/mce.
    • Validation that MCE is not currently activated.
    • Validation that the upgrade path is supported.
  10. Once validation is complete, the user is prompted to continue. Either continue or opt out to abort the upgrade.
  11. Run the activate.pl script under /opt/oracle/mce/perl script to activate the new version of MCE .

    Note:

    The following upgrade procedure uses version 24.1.0.0.0 as an example for upgrade.
    [root@cgbu-phx-604 perl]# ./activate.pl
    -------------------------------------------------------------------------------
    Oracle Cloud Communications Service,(c) 2020 Oracle
    MCE v24.1.0.0.0  @ 2023-12-10 16:00:15
    -------------------------------------------------------------------------------
    Checking pre-conditions...
    Ok.
    MCE tomcat port:7070, Trap receiver port:2000
    Proceed with activate (y/n) : y
    Activating container mce...
    Start to run container mce, image id 1cb6109fc65a ...
    Container mce with image id 1cb6109fc65a started.
    Activation successful!

Persistent data files, including configuration properties and artifacts generated when MCE registers with Oracle SDM Cloud, are copied from the old installation of MCE to the new installation. During installation, the old installation of MCE gets moved from /opt/oracle/mce to /opt/oracle/mce.bak and the new version is moved to /opt/oracle/mce.

Use the following procedure to upgrade the MCE performing a fresh installation.

From Oracle Linux 7:
  1. Log onto the server as a root user and ensure the user logging in has the proper Linux permissions.
  2. Shut down the existing version of MCE by running the deactivate.pl script.
    /opt/oracle/mce/perl/deactivate.pl
  3. Upgrade the operating system from Oracle Linux 7 to Oracle Linux 8.8.

    From Oracle Linux 8:

  4. Log onto the server as a root user and ensure the user logging in has the proper Linux permissions.
  5. Unpack the new mce-<version>.<build>.tgz archive. The system installs the files in the /opt/oracle/mce directory.
  6. Run the install.pl script.
    [root@cgbu-phx-604 mce-24.1.0.0.0]# ./install.pl
    -------------------------------------------------------------------------------
    Oracle Cloud Communications Service,(c) 2020 Oracle
    MCE v24.1.0.0.0 install.pl @ 2023-12-10 16:58:00
    -------------------------------------------------------------------------------
    Checking pre-conditions...
    Ok.
    Proceed with install (y/n) : y
    Installing mce to /opt/oracle ...
    Installation successful.
    Upon installation, the system checks for an existing MCE instance in Podman and if one exists, the script execution stops and you must uninstall the MCE.

    This creates the /oracle/mce directory under /opt. If an Oracle directory already exists, the install creates a MCE directory only.

  7. Run the config.pl script from the /opt/oracle/mce/perl directory and configure the attributes according to your environment.
    [root@cgbu-phx-604 perl]# ./config.pl
    -------------------------------------------------------------------------------
    Oracle Cloud Communications Service, (c) 2020 Oracle
    MCE v24.1.0.0.0  @ 2023-12-10 16:58:35
    -------------------------------------------------------------------------------
    Checking pre-conditions...
    The following inputs are required for MCE to register with Oracle SDM Cloud:
    MCE Host Name               : cgbu-phx-604
    Host WAN IP Address         : 100.77.50.195
    Host LAN IP Address         : 10.196.248.92
    Oracle SDM Cloud FQDN       : <From IAM page>
    Oracle SDM Cloud tenant ID  : <From IAM page>
    IDCS tenant ID              : <From IAM page>
    IDCS FQDN                   : <From IAM page>
    MCE IDCS client ID          : <From IAM page>
    MCE IDCS client secret      : <From IAM page>
    Oracle SDM Cloud Site ID    : <From Device manager     → Sites>
    Enable proxy (y/n)          : y
    Proxy server address        : 100.77.50.145
    Proxy server port           : 3128
    --------------------------------------------------------------------
    The following inputs are required for MCE KeyStore configuration:
    MCE TLS Key Store Password  :
    MCE TLS Key Store Password  confirm  :
    --------------------------------------------------------------------
    The following inputs are required for MCE operation:
    Trap Receiver Port          : 162
    --------------------------------------------------------------------
    Ready to process inputs
    Proceed with configuration (y/n)    : y
    Encrypting data ...
    Generating local mce.properties...             
    Success.

    This creates a mce.properties file under /opt/oracle.mce/cfg, which contains all of the information entered in config.pl.

  8. Login to the Oracle SDM Cloud interface and delete the registered MCE from Device Manager. For more information, see "Device Manager" in the User Guide.
  9. Run the activate.pl script from /opt/oracle.mce/perl to activate the MCE.
    [root@cgbu-phx-604 perl]# ./activate.pl
    -------------------------------------------------------------------------------
    Oracle Cloud Communications Service, (c) 2020 Oracle
    MCE v24.1.0.0.0  @ 2023-12-10 17:01:15
    -------------------------------------------------------------------------------
    Checking pre-conditions...
    Ok.
    MCE tomcat port:7070, Trap receiver port:2000
    Proceed with activate (y/n) : y
    Activating container mce...
    Start to run container mce, image id
              1cb6109fc65a ...
    Container mce with image id 1cb6109fc65a started. 
    Activation successful!
  10. Optionally, you can check your work with Podman.
    • List the MCE instances by typing podman images at the prompt and pressing Enter. Under TAG, look for <version> <build> to see the new installation. The following code block shows an example:
      % podman images                          
      REPOSITORY CREATED   SIZE     TAG     IMAGE ID
      cne-repos1.us.oracle.com:7744/apps/cgbu/ums/mce 1.0.0 fb90a2c4b930 4 days ago 434MB
    • List the running images by typing podman ps at the prompt and pressing Enter. In the list, under NAMES, look for mce. Under STATUS, look for the newest images. The following code block shows an example:
      % podman ps
      CONTAINERID   IMAGE   COMMAND   CREATED   STATUS   PORT NAMES
      % podman psIMAGECOMMANDCREATEDSTATUSPORTS
      ed6f90a7993dfb90a2c4b930"/bin/bash./start.sh" 3 days ago mce
Configure MCE Behind NAT or Firewall

Oracle® Session Delivery Management Cloud (Oracle SDM Cloud) allows you to configure the Management Cloud Engine (MCE) to operate behind a Network Address Translation (NAT) or a firewall. Oracle SDM Cloud contacts the MCE using the value for the mce.ip in mce.properties or wan-ip on setting up ./config.pl configuration.

The MCE supplies the mce.ip value when it registers with Oracle SDM Cloud. You can set the mce.ip value as a static IP address that maps to the NAT public interface or firewall. For example:
 mce.ip : 10.x.x.x 

Oracle SDM Cloud always uses port 443 for these connections, requiring any device placed between the MCE and Oracle SDM Cloud to dedicate port 443 to the MCE for all possible IP addresses.