---
title: High Availability Applications in Oracle Cloud Infrastructure
description: "Part four: Learn how to deploy a high availability installation of OEM 13.5 using Oracle Cloud Infrastructure (OCI) services."
---

[Blog | Pythian ](https://www.pythian.com/blog)

# [High Availability Applications in Oracle Cloud Infrastructure](https://www.pythian.com/blog/part-four-deploying-high-availability-applications-in-oracle-cloud-infrastructure-oracle-enterprise-manager-13-5-setup)

 Written by [Fernando Salgado](https://www.pythian.com/blog/author/fernando-salgado) | Oct 26, 2021 4:00:00 AM

*This is the fourth in a series of blog posts that covers the details to deploy a high available set up of [Oracle Enterprise Manager](https://pythian.com/resources/the-mysql-plug-in-for-oracle-grid-control-download/) 13.5 using Oracle Cloud Infrastructure’s resources.*

 

## **Recap**

This is the fourth of a six-part series on how to deploy a high available installation of OEM 13.5 using [Oracle Cloud Infrastructure](https://resources.pythian.com/white-paper/oracle-cloud-infrastructure) (OCI) services.

Details of previous posts:

- [First](https://blog.pythian.com/deploying-high-available-applications-in-oracle-cloud-infrastructure-preparing-your-environment-part-one/): Initial configuration of the OCI environment and the setup of a 2-Node RAC VM Database
- [Second:](https://blog.pythian.com/part-two-deploying-high-available-applications-in-oracle-cloud-infrastructure-application-machine/) How to launch and configure the first application machine
- [Third](https://blog.pythian.com/part-three-deploying-high-available-applications-in-oracle-cloud-infrastructure-instance-clone-and-linux-storage-appliance/): Setup of the Data Guard Standby DB, the shared storage area and the deployment of the second application machine.
- [Fourth](https://blog.pythian.com/part-four-deploying-high-available-applications-in-oracle-cloud-infrastructure-oracle-enterprise-manager-135-setup/): How to install and configure OEM 13.5 on the first application machine
- Fifth: How to set up an OCI Load balancer
- Sixth: How to install (extend) OEM 13.5 on the second host, then include it in the load balancer rotation

## **Download Oracle Enterprise Manager 13.5**

To install Oracle Enterprise Manager we have two main methods—the graphical user interface and the silent mode.

In this post, I’ll show how to deploy the OEM 13.5 using the silent mode, given that in graphical mode there would be way too many screenshots. 

- First, go to Oracle website, then download OEM 13.5 according to your application machine system: [https://www.oracle.com/enterprise-manager/downloads/cloud-control-downloads.html](https://www.oracle.com/enterprise-manager/downloads/cloud-control-downloads.html)
- The easiest way is to log into Oracle using your own machine and start the download of each file:

- On the download section of your browser, locate the file you’re downloading, then copy the link containing the “AuthParam” parameter:

- It should look something like this: **https://download.oracle.com/otn/linux/oem/13500/em13500_linux64.bin?AuthParam=1626713408_5afbd549c7b984bc5bfbca3e79eede7f**
- Copy the link above, then download the file on your application machine using “wget”:

```
- As root:
[root@vleomapp01 ~] #  mkdir /u01
[root@vleomapp01 ~] # chown oracle:oinstall /u01

- As Oracle:
[oracle@vleomapp01 ~] $ mkdir /u01/install
[oracle@vleomapp01 ~] $ wget "https://download.oracle.com/otn/linux/oem/13500/em13500_linux64.bin?AuthParam=1626713408_5afbd549c7b984bc5bfbca3e79eede7f" -O  /u01/install/em13500_linux64.bi
[oracle@vleomapp01 ~] $ wget "https://download.oracle.com/otn/linux/oem/13500/em13500_linux64-2.zip?AuthParam=1624289331_55afabeabbb3eed50ff5b07c5d6c4d7c" -O  /u01/install/em13500_linux64-2.zip
[oracle@vleomapp01 ~] $ wget "https://download.oracle.com/otn/linux/oem/13500/em13500_linux64-3.zip?AuthParam=1624289376_ae2e0150f1f1d068213eba4c63840182" -O  /u01/install/em13500_linux64-3.zip
[oracle@vleomapp01 ~] $ wget "https://download.oracle.com/otn/linux/oem/13500/em13500_linux64-4.zip?AuthParam=1624289407_51b655d310da3a5c73e7628fee77496f" -O  /u01/install/em13500_linux64-4.zip
[oracle@vleomapp01 ~] $ wget "https://download.oracle.com/otn/linux/oem/13500/em13500_linux64-5.zip?AuthParam=1624289443_6ebdef932f326d2cee828856935cd2c3" -O  /u01/install/em13500_linux64-5.zip
```

## Network adjustments

To successfully install OEM 13.5 in silent mode some network adjustments are required, otherwise the installation will fail.

As this is just a test environment, all firewalls were disabled and rules/groups (on my virtual cloud network) were created to allow all traffic.

**Note:** This is absolutely unsafe and in an actual deployment you should have a network engineer review and tighten your network’s security.

Below are the steps I took to allow all traffic to my VCN network.

- Created a security group and changed all instances to this group, then created a rule to allow all traffic in and out
- Created ingress and egress security rules to allow all traffic in and out
- Disabled “firewalld” and “SELinux” on all machines, then proceeded with the OEM installation

```
[root@vloemapp01 ~]# sudo firewall-cmd --state
running
[root@vloemapp01 ~]# sudo systemctl stop firewalld
[root@vloemapp01 ~]# sudo systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@vloemapp01 ~]# sudo setenforce 0
```

## Install OEM 13.5 in silent mode using the Configure Later option

Follow the steps below to install OEM13.5’s binaries in silent mode.

- Adjust the required DB parameters:

```
SQL> ALTER SYSTEM SET session_cached_cursors=400 SCOPE=SPFILE;
SQL> ALTER SYSTEM SET shared_pool_size=2G SCOPE=SPFILE;
SQL> ALTER SYSTEM SET optimizer_adaptive_features=FALSE SCOPE=BOTH;
SQL> ALTER SYSTEM SET "_allow_insert_with_update_check"=TRUE SCOPE=BOTH;
SQL> ALTER SYSTEM SET processes=800 SCOPE=SPFILE;
```

 

- The official OEM documentation recommends using redo log groups with at least 1 GB each. So create new groups then drop the old ones:

```
SQL> ALTER DATABASE ADD LOGFILE GROUP 4 SIZE 1G;
SQL> ALTER DATABASE ADD LOGFILE GROUP 5 SIZE 1G;
SQL> ALTER DATABASE ADD LOGFILE GROUP 6 SIZE 1G;
SQL> ALTER SYSTEM SWITCH LOGFILE;
SQL> ALTER SYSTEM CHECKPOINT;
SQL> DROP LOGFILE GROUP 1;
SQL> ALTER SYSTEM SWITCH LOGFILE;
SQL> ALTER SYSTEM CHECKPOINT;
SQL> DROP LOGFILE GROUP 2;
SQL> ALTER SYSTEM SWITCH LOGFILE;
SQL> ALTER SYSTEM CHECKPOINT;
SQL> DROP LOGFILE GROUP 3;
```

- Oracle recommends installing OEM in silent mode with the configure later option. Then, let’s follow this approach:  
  Source:[Cloud Control Advanced Installation and Configuration Guide – Install Software Only With Plug-ins and Configure Later in Silent Mode](https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/13.5/emadv/installing-enterprise-manager-using-software-only-method.html#GUID-B3F7E882-B1C9-4876-B582-785F4017CFC3)
- Create a response file (/u01/install/OEM135_install.rsp) as follows:
  
  ```
  RESPONSEFILE_VERSION=2.2.1.0.0
  UNIX_GROUP_NAME=oinstall
  ORACLE_HOSTNAME=oemapp01
  INVENTORY_LOCATION=/opt/oracle/oraInventory
  INSTALL_UPDATES_SELECTION=skip
  ORACLE_MIDDLEWARE_HOME_LOCATION=/u01/app/oracle/middleware135
  AGENT_BASE_DIR=/u01/app/oracle/oemagent
  ORACLE_INSTANCE_HOME_LOCATION=/u01/app/oracle/oem135_inst
  EMPREREQ_AUTO_CORRECTION=true
  b_upgrade=false
  EM_INSTALL_TYPE=NOSEED
  CONFIGURATION_TYPE=LATER
  ```
  
   
- Create the required directories:
  
  ```
  [root@vleomapp01 ~] # mkdir -p /u01/app/oracle/middleware135
  [root@vleomapp01 ~] # mkdir -p /u01/app/oracle/oem135_inst
  [root@vleomapp01 ~] # chown oracle:oinstall /u01/app/oracle/middleware135
  [root@vleomapp01 ~] # chown oracle:oinstall /u01/app/oracle/oem135_inst
  ```
- Install Software Only using the appropriate response file with CONFIGURATION_TYPE=LATER:  
  Note: Since this should be the first [Oracle](https://pythian.com/about-oracle/) product installed on this host, make sure to include “invPtrLoc”:
  
   
  
  ```
  [oracle@vleomapp01 ~] $ cd /u01/install
  [oracle@vleomapp01 ~] $ ./em13500_linux64.bin -silent -responseFile /u01/install/OEM135_install.rsp -invPtrLoc /u01/app/oraInventory
  ```
  
  Here’s the output of a successful installation:
  
  ```
  [oracle@vloemapp02 OEM]$  ./em13500_linux64.bin -silent -responseFile /u01/install/OEM/OEM135_install.rsp
  Launcher log file is /tmp/OraInstall2021-07-08_11-10-26PM/launcher2021-07-08_11-10-26PM.log.
  Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
  Checking swap space: must be greater than 512 MB.   Actual 40959 MB    Passed
  Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
  Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2021-07-08_11-10-26PM
  ScratchPathValue :/tmp/OraInstall2021-07-08_11-10-26PM
  Jul 08, 2021 11:13:05 PM org.apache.sshd.common.io.DefaultIoServiceFactoryFactory getIoServiceProvider
  INFO: No detected/configured IoServiceFactoryFactory using Nio2ServiceFactoryFactory
  Session log file is /tmp/OraInstall2021-07-08_11-10-26PM/install2021-07-08_11-10-26PM.log
  Installation in progress
  
  Install successful
  Linking in progress
  
  Link successful
  Setup in progress
  
  Setup successful
  Session log file is /tmp/OraInstall2021-07-08_11-10-26PM/install2021-07-08_11-10-26PM.log
  Installation in progress
  ....  (Removed part of the output)
  
  End of install phases.(Thursday, July 8, 2021 11:24:20 PM GMT)
  &Decline License Agreement/u01/app/oracle/middleware135/sysman/install/plugins/oracle.sysman.oh/13.5.0.0.0/oracle.sysman.oh.discovery.plugin-13.5.0.0.0.farb
  Session log file is /tmp/OraInstall2021-07-08_11-10-26PM/install2021-07-08_11-10-26PM.log
  
  ........................................................................
  Installation in progress (Thursday, July 8, 2021 11:24:24 PM GMT)
                                                          72% Done.
  Install successful
  
  Linking in progress (Thursday, July 8, 2021 11:24:24 PM GMT)
  Link successful
  
  Setup in progress (Thursday, July 8, 2021 11:24:24 PM GMT)
  Setup successful
  
  Saving inventory (Thursday, July 8, 2021 11:24:24 PM GMT)
  Saving inventory complete
  
  End of install phases.(Thursday, July 8, 2021 11:24:29 PM GMT)
  .Prompt for the allroot.sh
  
  Warning: You must run the following configuration scripts as the "root" user.
    /u01/app/oracle/middleware135/allroot.sh
  To execute the configuration scripts:
   1. Open a new  terminal window.
   2. Login in as "root".
   3. Run the scripts.
  
  Successfully installed Enterprise Manager Cloud Control.
  Logs successfully copied to /opt/oracle/oraInventory/logs.
  ```

Note: The output above was trimmed, but there were no errors, nor warnings, reported.

- If this is the first Oracle product you installed on the host, then run the oraInstroot.sh script from the inventory location specified above: For example, if the inventory location specified in the oraInst.loc file is $HOME/oraInventory, then run the following command:

```
[root@vleomapp01 ~] # /u01/app/oraInventory/oraInstRoot.sh
```

- Run the allroot.sh script from the OMS home:

```
[root@vleomapp01 ~] # /u01/app/oracle/middleware135/allroot.sh
```

- After the silent installation, the only way to configure OEM is by using the “ConfigureGC.sh” script, as mentioned in the official docs:”The only way to configure a software only installation is to run the ConfigureGC.sh script (or ConfigureGC.bat on Microsoft Windows). DO NOT run the individual configuration assistants to configure a software only installation. If you want to run the individual configuration assistants to configure the installation for some reason, then contact Oracle Support.

## Configure OEM using the “ConfigureGC.sh” script.

- Create a response file to configure OEM (/u01/install/OEM135_configure.rsp) as follows:

```
RESPONSEFILE_VERSION=2.2.1.0.0
UNIX_GROUP_NAME=oinstall
ORACLE_HOSTNAME=oemapp01
INVENTORY_LOCATION=/opt/oracle/oraInventory
INSTALL_UPDATES_SELECTION=skip
EMPREREQ_AUTO_CORRECTION=TRUE
ORACLE_MIDDLEWARE_HOME_LOCATION=/u01/app/oracle/middleware135
AGENT_BASE_DIR=/u01/app/oracle/oemagent
WLS_ADMIN_SERVER_USERNAME=admin
WLS_ADMIN_SERVER_PASSWORD=sAL21oci
WLS_ADMIN_SERVER_CONFIRM_PASSWORD=sAL21oci
NODE_MANAGER_PASSWORD=sAL21oci
NODE_MANAGER_CONFIRM_PASSWORD=sAL21oci
ORACLE_INSTANCE_HOME_LOCATION=/u01/app/oracle/oem135_inst
CONFIGURE_ORACLE_SOFTWARE_LIBRARY=true
SOFTWARE_LIBRARY_LOCATION=/u01/app/oracle/oms_shared_fs/swlib
DATABASE_HOSTNAME=vloemapp02.sub01181259440.oemvcn.oraclevcn.com
LISTENER_PORT=1521
SERVICENAME_OR_SID=OEMDB135
SYS_PASSWORD=oracle
DEPLOYMENT_SIZE=MEDIUM
MANAGEMENT_TABLESPACE_LOCATION="/u01/oracle/oradata/ORCL/datafile/mgmt_1.dbf"
CONFIGURATION_DATA_TABLESPACE_LOCATION="/u01/oracle/oradata/ORCL/datafile/mgmt_ecm_1.dbf"
JVM_DIAGNOSTICS_TABLESPACE_LOCATION="/u01/oracle/oradata/ORCL/datafile/mgmt_deepdive_1.dbf"
EMPREREQ_AUTO_CORRECTION=false
b_upgrade=false
EM_INSTALL_TYPE=NOSEED
CONFIGURATION_TYPE=ADVANCED
```

 

- Use the configuration response file created above to configure the software installed in the previous step:
  
  ```
  [oracle@vleomapp01 ~] $ export ORACLE_HOME=/u01/app/oracle/middleware135
  [oracle@vleomapp01 ~] $ /u01/app/oracle/middleware135/sysman/install/ConfigureGC.sh -silent -responseFile /u01/install/OEM135_configure.rsp
  ```
  
  Here’s the output of a successful OEM configuration:
  
  ```
  [oracle@vloemapp02 ~]$ /u01/app/oracle/middleware135/sysman/install/ConfigureGC.sh -silent -responseFile /u01/install/OEM/OEM135_configure.rsp
  ScratchPathValue :/u01/app/oracle/middleware135
  *************************************
  Error Messages:
  ----------------------------------------------------
  * Invalid option(s): sourceLoc
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  List file is unreadable
  13NGCHEKAGGREGATE  : encap_oms
  13NGCHEKAGGREGATE  : OuiConfigVariables
  13NGCHEKAGGREGATE  : OuiConfigVariables
  13NGCHEKAGGREGATE  : oracle.sysman.top.agent
  13NGCHEKAGGREGATE  : oracle.sysman.top.oms
  2021-07-09_12-52-08PM: Configuration Assistant "Plugins Prerequisites Check" is in progress.
  
  2021-07-09_12-52-22PM: Configuration Assistant "Plugins Prerequisites Check" has Succeeded.
  
  2021-07-09_12-52-22PM: Configuration Assistant "Repository Configuration" is in progress.
  
  Calling the EMSCHEMA MANAGER: CREATE
  
  before starting RCU
  Jul 09, 2021 12:52:23 PM org.apache.sshd.common.io.DefaultIoServiceFactoryFactory getIoServiceProvider
  INFO: No detected/configured IoServiceFactoryFactory using Nio2ServiceFactoryFactory
  Repository Creation Utility - Checking Prerequisites
  Checking Global Prerequisites
  Repository Creation Utility - Checking Prerequisites
  Checking Component Prerequisites
  Repository Creation Utility - Creating Tablespaces
  Validating and Creating Tablespaces
  Create tablespaces in the repository database
  Repository Creation Utility - Create
  Repository Create in progress.
  Executing pre create operations
  Creating EM Repository Common(EM_REPOS_COMMON)
  Creating EM Repository Init Configuration(EM_REPOS_INIT)
  
   Check the Repository Configuration Assistant logs at: /u01/app/oracle/middleware135//sysman/log/schemamanager
  
   INVOKING with sslConfig
  TNS Test Inserted Successfully
  Successfully Added TNS Query Descriptors
  
    ********   ORACLE_HOME is /u01/app/oracle/middleware135/
  test properties path: /u01/app/oracle/middleware135//sysman/admin/emdrep/prop/imap.properties
  CreateTestType:createCompleteTest: BEGIN
  CreateTestType:createTestMetadataObject: BEGIN
  CreateTestType:createTestMetadataObject: END
  CreateTestType:createPropertyGroups: BEGIN
  CreateTestType:createPropertyGroups: END
  CreateTestType:createStrayProperties: BEGIN
  CreateTestType:createStrayProperties: END
  CreateTestType:createDefaultPromotions: BEGIN
  CreateTestType:createDefaultPromotions: END
  CreateTestType:createDefaultThresholds: BEGIN
  CreateTestType:createDefaultThresholds: END
  CreateTestType:createMetrics4TestType: BEGIN
  CreateTestType:createMetrics4TestType: END
  PropertyName :imap_host
  PropertyName :imap_port
  PropertyName :imap_user_name
  PropertyName :imap_password
  PropertyName :numretries
  PropertyName :retryinterval
  CreateTestType:createQueryDescriptor: BEGIN
  CreateTestType:createQueryDescriptor: END
  Enabled test for: IMAP , generic_service , 1.0
  Enabled test for: IMAP , aggregate_service , 1.0
  CreateTestType:createCompleteTest: END
    ********   ORACLE_HOME is /u01/app/oracle/middleware135/
  INVOKING with sslConfig
  log4j:WARN No appenders could be found for logger (oracle.sysman.swlib.component).
  log4j:WARN Please initialize the log4j system properly.
  log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  INVOKING with sslConfig
  Creating EM Repository Creation Configuration(EM_REPOS_CONFIG)
  Executing post create operations
  
  Repository Creation Utility: Create - Completion Summary
  
  Database details:
  -----------------------------
  Connect Descriptor                           : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=vloemapp02.sub01181259440.oemvcn.oraclevcn.com)(PORT=1521)))(CONNECT_DATA=(SID=OEMDB135)))
  Connected As                                 : SYS
  RCU Logfile                                  : No log file specified
  
  Component schemas created:
  -----------------------------
  Component                                    Status         Logfile
  
  EM Repository Creation Configuration         Success        /u01/app/oracle/middleware135/sysman/log/schemamanager/m_070921_1252_PM/m_070921_1252_PM.CREATE/RCU2021-07-09_12-52_1958312633/logs/em_repos_config.log
  EM Repository Init Configuration             Success        /u01/app/oracle/middleware135/sysman/log/schemamanager/m_070921_1252_PM/m_070921_1252_PM.CREATE/RCU2021-07-09_12-52_1958312633/logs/em_repos_init.log
  EM Repository Common                         Success        /u01/app/oracle/middleware135/sysman/log/schemamanager/m_070921_1252_PM/m_070921_1252_PM.CREATE/RCU2021-07-09_12-52_1958312633/logs/em_repos_common.log
  
  Repository Creation Utility - Create : Operation Completed
  after starting RCU
  The creation of Repository is completed now running the MOS
  
  -------------------This action is not required ------------------
  The correct order of execution is :
  -showPrereqs , -runPrerequisites , -showCorrectiveActions , -runCorrectiveActions , -runPrerequisites(optional at this point), -showPostCorrectiveActions , -runPostCorrectiveActions
  2021-07-09_02-07-03PM: Configuration Assistant "Repository Configuration" has Succeeded.
  
  2021-07-09_02-07-03PM: Configuration Assistant "MDS Schema Configuration" is in progress.
  
  jdbcURL:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=vloemapp02.sub01181259440.oemvcn.oraclevcn.com)(PORT=1521)))(CONNECT_DATA=(SID=OEMDB135)))]
  ssl info is null
  -silent -createRepository -compInfoXMLLocation /u01/app/oracle/middleware135//sysman/emdrep/config/mds/ComponentInfo.xml -storageXMLLocation /u01/app/oracle/middleware135//sysman/emdrep/config/mds/Storage.xml -connectString (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=vloemapp02.sub01181259440.oemvcn.oraclevcn.com)(PORT=1521)))(CONNECT_DATA=(SID=OEMDB135))) -dbUser SYS -dbRole sysdba -schemaPrefix SYSMAN -component MDS
  Repository Creation Utility - Checking Prerequisites
  Checking Global Prerequisites
  Repository Creation Utility - Checking Prerequisites
  Checking Component Prerequisites
  Repository Creation Utility - Creating Tablespaces
  Validating and Creating Tablespaces
  Create tablespaces in the repository database
  Repository Creation Utility - Create
  Repository Create in progress.
  Executing pre create operations
          Percent Complete: 50
          Percent Complete: 50
          Percent Complete: 55
          Percent Complete: 55
          Percent Complete: 60
          Percent Complete: 60
  Creating Metadata Services(MDS)
          Percent Complete: 80
  Executing post create operations
          Percent Complete: 100
  
  Repository Creation Utility: Create - Completion Summary
  
  Database details:
  -----------------------------
  Connect Descriptor                           : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=vloemapp02.sub01181259440.oemvcn.oraclevcn.com)(PORT=1521)))(CONNECT_DATA=(SID=OEMDB135)))
  Connected As                                 : SYS
  Prefix for (prefixable) Schema Owners        : SYSMAN
  RCU Logfile                                  : No log file specified
  
  Component schemas created:
  -----------------------------
  Component                                    Status         Logfile
  
  Metadata Services                            Success        /u01/app/oracle/middleware135/sysman/log/schemamanager/m_070921_1252_PM/m_070921_1252_PM.CREATE/RCU2021-07-09_14-07_1918902409/logs/mds.log
  
  Repository Creation Utility - Create : Operation Completed
  jdbcURL:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=vloemapp02.sub01181259440.oemvcn.oraclevcn.com)(PORT=1521)))(CONNECT_DATA=(SID=OEMDB135)))]
  Repository Creation Utility - Checking Prerequisites
  Checking Global Prerequisites
  Repository Creation Utility - Checking Prerequisites
  Checking Component Prerequisites
  Repository Creation Utility - Creating Tablespaces
  Validating and Creating Tablespaces
  Create tablespaces in the repository database
  Repository Creation Utility - Create
  Repository Create in progress.
  Executing pre create operations
          Percent Complete: 50
          Percent Complete: 55
          Percent Complete: 65
          Percent Complete: 65
          Percent Complete: 80
          Percent Complete: 90
          Percent Complete: 95
          Percent Complete: 95
  Creating Oracle Platform Security Services(OPSS)
          Percent Complete: 97
  Executing post create operations
          Percent Complete: 100
  
  Repository Creation Utility: Create - Completion Summary
  
  Database details:
  -----------------------------
  Connect Descriptor                           : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=vloemapp02.sub01181259440.oemvcn.oraclevcn.com)(PORT=1521)))(CONNECT_DATA=(SID=OEMDB135)))
  Connected As                                 : SYS
  Prefix for (prefixable) Schema Owners        : SYSMAN122140
  RCU Logfile                                  : No log file specified
  
  Component schemas created:
  -----------------------------
  Component                                    Status         Logfile
  
  Oracle Platform Security Services            Success        /u01/app/oracle/middleware135/sysman/log/schemamanager/m_070921_1252_PM/m_070921_1252_PM.CREATE/RCU2021-07-09_14-07_1918902409/logs/opss.log
  
  Repository Creation Utility - Create : Operation Completed
  Repository Creation Utility - Checking Prerequisites
  Checking Global Prerequisites
  Repository Creation Utility - Checking Prerequisites
  Checking Component Prerequisites
  Repository Creation Utility - Creating Tablespaces
  Validating and Creating Tablespaces
  Create tablespaces in the repository database
  Repository Creation Utility - Create
  Repository Create in progress.
  Executing pre create operations
          Percent Complete: 50
          Percent Complete: 50
          Percent Complete: 55
          Percent Complete: 60
          Percent Complete: 65
          Percent Complete: 65
          Percent Complete: 70
          Percent Complete: 70
  Creating Common Infrastructure Services(STB)
          Percent Complete: 85
  Executing post create operations
          Percent Complete: 100
  
  Repository Creation Utility: Create - Completion Summary
  
  Database details:
  -----------------------------
  Connect Descriptor                           : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=vloemapp02.sub01181259440.oemvcn.oraclevcn.com)(PORT=1521)))(CONNECT_DATA=(SID=OEMDB135)))
  Connected As                                 : SYS
  Prefix for (prefixable) Schema Owners        : SYSMAN
  RCU Logfile                                  : No log file specified
  
  Component schemas created:
  -----------------------------
  Component                                    Status         Logfile
  
  Common Infrastructure Services               Success        /u01/app/oracle/middleware135/sysman/log/schemamanager/m_070921_1252_PM/m_070921_1252_PM.CREATE/RCU2021-07-09_14-07_1918902409/logs/stb.log
  
  Repository Creation Utility - Create : Operation Completed
  2021-07-09_02-07-19PM: Configuration Assistant "MDS Schema Configuration" has Succeeded.
  
  2021-07-09_02-07-19PM: Configuration Assistant "OMS Configuration" is in progress.
  
  
   Executing the OMSCA command...
  
   Check the log files of the OMS Configuration Assistant at: /u01/app/oracle/middleware135//cfgtoollogs/omsca
  
  
  
   OMS Configuration Assistant completed successfully.
  
  
  2021-07-09_02-26-26PM: Configuration Assistant "OMS Configuration" has Succeeded.
  
  2021-07-09_02-26-26PM: Configuration Assistant "Plugins Deployment and Configuration" is in progress.
  
   2021-07-09_02-38-30PM: Configuration Assistant "Plugins Deployment and Configuration" has Succeeded.
  
  2021-07-09_02-38-30PM: Configuration Assistant "Start Oracle Management Service" is in progress.
  
  Starting OMS ...
  Executing the command: /u01/app/oracle/middleware135//bin/emctl start oms
  
  Starting of OMS is successful.
  Starting export oms config...
  Executing command: /u01/app/oracle/middleware135//bin/emctl exportconfig oms -dir  /u01/app/oracle/oem135_inst/em/EMGC_OMS1/sysman/backup
  
  Export config of OMS is successful.
  
  2021-07-09_02-47-55PM: Configuration Assistant "Start Oracle Management Service" has Succeeded.
  
  2021-07-09_02-47-55PM: Configuration Assistant "Agent Configuration Assistant" is in progress.
  
  AgentConfiguration:agent configuration has been started
  
  The AgentFreshInstaller is starting now
  Oraclehome : ../u01/app/oracle/oemagent/agent_13.5.0.0.0
  InstanceHome : /u01/app/oracle/oemagent/agent_inst
  Agent Base Directory : /u01/app/oracle/oemagent
  The oraclehome /u01/app/oracle/oemagent/agent_13.5.0.0.0
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: /u01/app/oracle/oemagent/agent_13.5.0.0.0
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: /u01/app/oracle/oemagent/agent_inst
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: /u01/app/oracle/oemagent
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: RESPONSE_FILE=/u01/app/oracle/oemagent/agentInstall.rsp
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: ORACLE_HOME=/u01/app/oracle/oemagent/agent_13.5.0.0.0
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: AGENT_PORT=
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: ORACLE_HOSTNAME=vloemapp02.sub01181259440.oemvcn.oraclevcn.com
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: b_doDiscovery=true
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: AGENT_BASE_DIR=/u01/app/oracle/oemagent
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: AGENT_INSTANCE_HOME=/u01/app/oracle/oemagent/agent_inst
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: s_hostname=vloemapp02.sub01181259440.oemvcn.oraclevcn.com
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: OMS_HOST=vloemapp02.sub01181259440.oemvcn.oraclevcn.com
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: START_AGENT=true
  startAgent is:true
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: b_secureAgent=true
  seci is :true
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: b_chainedInstall=true
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: b_forceConfigure=false
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: EM_UPLOAD_PORT=4903
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: b_forceAgentDefaultPort=false
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: s_staticPorts=
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: PROPERTIES_FILE=
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: b_skipValidation=false
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: ORACLE_HOME=/u01/app/oracle/oemagent/agent_13.5.0.0.0
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: AGENT_PORT=
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: ORACLE_HOSTNAME=vloemapp02.sub01181259440.oemvcn.oraclevcn.com
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: b_doDiscovery=true
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: AGENT_BASE_DIR=/u01/app/oracle/oemagent
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: AGENT_INSTANCE_HOME=/u01/app/oracle/oemagent/agent_inst
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: s_hostname=vloemapp02.sub01181259440.oemvcn.oraclevcn.com
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: OMS_HOST=vloemapp02.sub01181259440.oemvcn.oraclevcn.com
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: START_AGENT=true
  startAgent is:true
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: b_secureAgent=true
  seci is :true
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: b_chainedInstall=true
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: b_forceConfigure=false
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: EM_UPLOAD_PORT=4903
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: b_forceAgentDefaultPort=false
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: s_staticPorts=
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: PROPERTIES_FILE=
  Jul 09, 2021 2:47:58 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
  INFO: b_skipValidation=false
  log loction is setlog
  Creating log directoyr :/u01/app/oracle/oemagent/agent_13.5.0.0.0/cfgtoollogs/agentDeploy
  Writing the following contents into /u01/app/oracle/oemagent/agent_13.5.0.0.0/install/oragchomelist
  /u01/app/oracle/oemagent/agent_13.5.0.0.0:/u01/app/oracle/oemagent/agent_inst
  Creating directory /u01/app/oracle/oemagent/agent_13.5.0.0.0/install/tmp completed successfully.
  File /etc/oragchomelist exists.
  File /etc/oragchomelist is writable.
  Index :-1 for line : /u01/app/oracle/middleware135
  Index :0 for line : /u01/app/oracle/oemagent/agent_13.5.0.0.0
  Overwriting the contents since oracle home:/u01/app/oracle/oemagent/agent_13.5.0.0.0 entry already exists.
  Agent Home is : {0}
  The value of chainInstall : true forceConfigure : false skipValidation : false
  Validated the oms host and port :- vloemapp02.sub01181259440.oemvcn.oraclevcn.com----4903
  Logs Location is : {0}
  Getting Inet Addresses for host vloemapp02.sub01181259440.oemvcn.oraclevcn.com
  ** Agent Port Check completed successfully.**
  Validated the agent port :- ----3872
  Executing command: {0}
  shared agent value is :false
  
  Setting system property CUSTOM_INVENTORY to {0}
  chain install is :true
  
  Cloning of agent home completed successfully
  Agent Configuration completed successfully
  The following configuration scripts need to be executed as the "root" user. Root script to run : /u01/app/oracle/oemagent/agent_13.5.0.0.0/root.sh
  AgentConfiguration:agent configuration finished with status = true
  
  2021-07-09_02-51-42PM: Configuration Assistant "Agent Configuration Assistant" has Succeeded.
  
  *** The Installation was Successful. ***
  
  
  This information is also available at:
  
          /u01/app/oracle/middleware135//install/setupinfo.txt
  
  See the following for information pertaining to your Enterprise Manager installation:
  
  
  Use the following URL to access:
  
          1. Enterprise Manager Cloud Control URL: https://vloemapp02.sub01181259440.oemvcn.oraclevcn.com:7803/em
          2. Admin Server URL: https://vloemapp02.sub01181259440.oemvcn.oraclevcn.com:7102/console
  
  The following details need to be provided while installing an additional OMS:
  
          1. Admin Server Host Name: vloemapp02.sub01181259440.oemvcn.oraclevcn.com
          2. Admin Server Port: 7102
  
  You can find the details on ports used by this deployment at : /u01/app/oracle/middleware135/install/portlist.ini
  
  
   NOTE:
   An encryption key has been generated to encrypt sensitive data in the Management Repository. If this key is lost, all encrypted data in the Repository becomes unusable.
  
   A backup of the OMS configuration is available in /u01/app/oracle/oem135_inst/em/EMGC_OMS1/sysman/backup on host vloemapp02.sub01181259440.oemvcn.oraclevcn.com. See Cloud Control Administrators Guide for details on how to back up and recover an OMS.
  
   NOTE: This backup is valid only for the initial OMS configuration. For example, it will not reflect plug-ins installed later, topology changes like the addition of a load balancer, or changes to other properties made using emctl or emcli. Backups should be created on a regular basis to ensure they capture the current OMS configuration. Use the following command to backup the OMS configuration:
  /u01/app/oracle/middleware135//bin/emctl exportconfig oms -dir <backup dir>
  
  Prompt for the allroot.sh
  ```
  
  Note: The configuration takes a couple of hours. Ignore the following errors / warnings:
  
  ```
  * Invalid option(s): sourceLoc 
  List file is unreadable
  log4j: WARN No appenders could be found for logger (oracle.sysman.swlib.component). 
  log4j: WARN Please initialize the log4j system properly. 
  log4j: WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  ```
  
   

Stay tuned for the next two posts. They’ll show you how to set up the load balancer and install OEM on the second host to achieve Level 3 High Availability for OEM 13.5.

**Don’t forget to sign up for more updates [here](https://blog.pythian.com/).**

## Oracle Database Consulting Services

Ready to optimize your Oracle Database for the future?

 

[View full post](https://www.pythian.com/blog/part-four-deploying-high-availability-applications-in-oracle-cloud-infrastructure-oracle-enterprise-manager-13-5-setup)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Fernando Salgado"
  },
  "dateModified" : "2026-02-24T14:09:05.023Z",
  "datePublished" : "2021-10-26T04:00:00Z",
  "headline" : "Part Four: Deploying High Availability Applications in OCI—OEM 13.5 Setup",
  "image" : {
    "@type" : "ImageObject",
    "height" : 1707,
    "url" : "https://resources.pythian.com/hubfs/Imported_Blog_Media/shutterstock_665466223-scaled.jpg",
    "width" : 2560
  },
  "mainEntityOfPage" : "https://www.pythian.com/blog/part-four-deploying-high-availability-applications-in-oracle-cloud-infrastructure-oracle-enterprise-manager-13-5-setup",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "Pythian Blog"
  }
}
```