Managing Oracle E-Business Suite Instances on Oracle Cloud Infrastructure

This chapter covers the following topics:

Recommended Procedure if Enterprise Manager is Deployed On-Premises

Overview

This section describes the steps required for discovering Oracle E-Business Suite instances provisioned on Oracle Cloud Infrastructure (OCI) using Hybrid Cloud Agents. Refer to "Enabling Hybrid Cloud Management" in the Oracle Enterprise Manager Cloud Control Administrator's Guide for more information.

Notes

Installing a Hybrid Cloud Gateway Agent

  1. Install the Enterprise Manager Agent on the host which from which you intend to communicate with Oracle E-Business Suite nodes on OCI.

  2. Register the agent created above as "Hybrid Cloud Gateway Agent" using a command like:

    emcli register_hybridgateway_agent -hybridgateway_agent_list="<agent host>:<agent port>" -ignore_network_check

Installing Hybrid Cloud Agents on All Oracle E-Business Suite Nodes

  1. Ensure that the FQDN of each of the Oracle E-Business Suite nodes resolves to the Public IP of the Oracle E-Business Suite node from the OMS Host and Hybrid Cloud Gateway Agent host.

  2. Create a Named Credential which will be used to connect to Oracle E-Business Suite Nodes, using steps described in Creating a Named Credential with following properties:

    • Authenticating Target Type: Host

    • Credential type: SSH Key Credentials

    • Scope: Global

    • User Name: oracle

    • SSH Private Key: <Content of /u01/install/APPS/.ssh/id_rsa on Oracle E-Business Suite Cloud Manager VM or Oracle E-Business Suite Cloud Admin Tool VM from where the Oracle E-Business Suite instance is provisioned or any other private key with which we can connect to Oracle E-Business Suite Node>

  3. Add ingress rules to the security lists associated with the subnets on which Oracle E-Business Suite App nodes and Oracle E-Business Suite database nodes are created (this information is provided while provisioning the Oracle E-Business Suite instance on OCI), using steps described in: Adding an Ingress Rule, with the following property:

    • Source Type: CIDR, Source CIDR: <CIDR that matches OMS Host IP and Hybrid Cloud Gateway Agent IP>, IP Protocol: TCP, Source Port Range: All, Destination Port Range: 22

  4. Deploy the agent on all the Oracle E-Business Suite nodes, using the steps described in Deploying a Hybrid Cloud Agent.

Adding an Oracle E-Business Suite Database Target

Adding a Database Target When the Database is on Compute VM

For Oracle Database 12.1.0.2, 11.2.0.4, or 19c, follow the steps described in Adding a Database Instance Target.

Note: In the case of a multitenant database, use the CDB Name as the "Database SID".

Adding A Database Target When the Database is on Oracle Base Database Service 1-Node DB System (Single Instance)

For Oracle Database 19c, 12.1.0.2, or 11.2.0.4, follow the steps described in Adding a Database Instance Target.

Note: In the case of a multitenant database, use the CDB Name as the "Database SID".

Adding a Database Target When the Database is on Oracle Base Database Service 2-Node DB System (Oracle RAC)

For Oracle Database 19c, 12.1.0.2, or 11.2.0.4

  1. Add a cluster target by performing the steps in Adding a Cluster Target.

  2. Add a cluster database target using the following instructions:

    1. From the Enterprise Manager console, in the Targets menu, select All Targets.

    2. Search for and select the cluster target added above.

    3. In the Cluster Target Home page, from the Cluster menu, select Discover Databases.

    4. Click the Next button.

    5. In the Database Discovery: Results page, under the "Cluster Database" section, select the checkbox associated with the target listed, specify the dbsnmp user password, and click Next.

      Note: Ensure the dbsnmp user account is working. You might need to unlock the user and set the password on the Oracle E-Business Suite database.

    6. Click the Save button.

    7. Click the Close button in the confirmation window.

Note: In the case of a multitenant database, use the CDB Name as the "Database SID" / "Service Name".

Adding a Database Target When the Database is on Oracle Exadata Database Service on Dedicated Infrastructure

For Oracle Database 19c, 12.1.0.2, or 11.2.0.4

  1. Add the cluster target by performing the steps described in Adding a Cluster Target.

  2. Add a cluster database target using the following instructions:

    1. From the Enterprise Manager console, in the Targets menu, select All Targets.

    2. Search for and select the cluster target added above.

    3. In the cluster target home page, from the Cluster menu, select Discover Databases.

    4. Click the Next button.

    5. In the Database Discovery: Results page, under the Cluster Database section, select the checkbox associated with the database you intend to discover and click Configure. Note that there can be multiple cluster databases listed based on the number of databases installed on Exadata Database Service Dedicated. The database name would have been provided while provisioning the Oracle E-Business Suite instance.

      Provide the dbsnmp user password, and click Next.

      Note: Ensure that the dbsnmp user account is working. You might need to unlock the user and set the password on the Oracle E-Business Suite database.

    6. Click the Save button.

    7. Click the Close button in the confirmation window.

Note: In the case of a multitenant database, use the CDB Name as the "Database SID" / "Service Name".

Discovering an Oracle E-Business Suite Instance

Follow the steps described in Discovering Oracle E-Business Suite.

Recommended Procedure if Oracle Enterprise Manager is Deployed on Oracle Cloud Infrastructure

This section describes the steps required for manually discovering Oracle E-Business Suite environments provisioned in Oracle Cloud Infrastructure Compute.

Overview

In order to manually discover Oracle E-Business Suite environments provisioned on Oracle Cloud Infrastructure, you must complete the following sequence of steps, which are described in further detail in this section:

  1. Ensure prerequisites are fulfilled.

  2. Take inventory of port numbers which will be opened from the Oracle E-Business Suite nodes, which will be used in later steps.

  3. Create ingress rules in Oracle Cloud Infrastructure to open the "Enterprise Manager Upload Http SSL Port" from the Oracle E-Business Suite nodes to the OMS host and add corresponding firewall rules to the OMS host.

  4. Create ingress rules in Oracle Cloud Infrastructure to open the required ports from OMS to the Oracle E-Business Suite nodes.

  5. Add firewall rules on corresponding application, database nodes corresponding to the ingress rules that were created.

  6. Ensure that fully qualified domain name of each of the Oracle E-Business Suite nodes is resolvable from the OMS host and the fully qualified domain name of the OMS host is resolvable from each of the Oracle E-Business Suite nodes.

  7. Create required named credentials to connect to the Oracle E-Business Suite nodes.

  8. Manually install a management agent on all Oracle E-Business Suite node.

  9. Manually add Oracle E-Business Suite database related targets.

  10. Manually discover the Oracle E-Business Suite instance.

Prerequisites

Before you perform a manually discovery of Oracle E-Business Suite environments provisioned in Oracle Cloud Infrastructure Compute, verify that the following requirements are fulfilled:

Notes

Taking Inventory of Port Numbers

In order for EM agents to be able to upload to OMS, an ingress rule must be created on the subnet where the OMS is installed to allow communication on the "Enterprise Manager Upload Http SSL Port" (which is by default "4093") from all Oracle E-Business Suite nodes. Take note of the port number.

Note: You can find the port number used in <Middleware home>/install/portlist.ini on the OMS host.

Record the following port numbers for reference, which will be opened from the Oracle E-Business Suite nodes:

Creating Ingress Rules in Oracle Cloud Infrastructure to Open Required Ports from Oracle E-Business Suite Nodes to OMS Host

Add ingress rules to the security lists associated with the subnet on which the OMS host is created, using steps in Adding an Ingress Rule with the following properties (multiple rules may have to be created to cover CIDRs of all Oracle E-Business Suite nodes):

Note: If the OMS host and Oracle E-Business Suite instances are on the same Virtual Cloud Network (VCN), the communication will happen using private IPs. In this case, the CIDR should match the private IP of the Oracle E-Business Suite node. If the OMS host and the Oracle E-Business Suite instances are on different VCNs, the communication will happen on public IPs. In this case, the CIDR should match the public IP of Oracle E-Business Suite node.

Creating Firewall Rules on the OMS Host to Allow Communication from Oracle E-Business Suite Nodes

  1. Log in to the OMS host as the root user.

  2. For each ingress rule added, create a corresponding firewall rule using commands similar to following:

    firewall-cmd --zone=public --add-rich-rule 'rule family=ipv4 source address=<CIDR for IPs of Oracle E-Business Suite nodes> port port=<port number> protocol=tcp accept' --permanent

    firewall-cmd --zone=public --add-rich-rule 'rule family=ipv4 source address=<CIDR for IPs of Oracle E-Business Suite nodes> port port=<port number> protocol=tcp accept'

Creating Ingress Rules in Oracle Cloud Infrastructure to Open Required Ports from OMS to the Oracle E-Business Suite Nodes

Note: If the OMS host and Oracle E-Business Suite nodes are on the same VCN, use the private IP of the OMS host when creating ingress rules. If the OMS host and Oracle E-Business Suite nodes are on different VCNs, use the public IP of the OMS Host when creating Ingress rules.

  1. Add ingress rules to the security lists associated with the subnets on which the Oracle E-Business Suite App nodes are created (this information is provided while provisioning the Oracle E-Business Suite instance on Oracle Cloud Infrastructure), using steps in Adding an Ingress Rule with the following properties:

    • Source Type: CIDR, Source CIDR: <OMS host IP>/32, IP Protocol: TCP, Source Port Range: All, Destination Port Range: 22

    • Source Type: CIDR, Source CIDR: <OMS host IP>/32, IP Protocol: TCP, Source Port Range: All, Destination Port Range: <WebLogic admin server port range> for example: 7001-7003 (Required only for Oracle E-Business Suite Release 12.2 instances)

    • Source Type: CIDR, Source CIDR: <OMS host IP >/32, IP Protocol: TCP, Source Port Range: All, Destination Port Range: <agent install port> for example: 3872

  2. Add ingress rules to the security lists associated with the subnets on which Oracle E-Business Suite database nodes are created (this information is provided while provisioning the Oracle E-Business Suite instance on Oracle Cloud Infrastructure), using steps in Adding an Ingress Rule with the following properties:

    • Source Type: CIDR, Source CIDR: <OMS host IP>/32, IP Protocol: TCP, Source Port Range: All, Destination Port Range: 22

    • Source Type: CIDR, Source CIDR: <OMS host IP>/32, IP Protocol: TCP, Source Port Range: All, Destination Port Range: <database listener port> for example: 1521

    • Source Type: CIDR, Source CIDR: <OMS host IP>/32, IP Protocol: TCP, Source Port Range: All, Destination Port Range: <agent install port> for example: 3872

Adding Firewall Rules on Oracle E-Business Suite Nodes

Add Firewall Rules to Oracle E-Business Suite App Nodes

Add firewall rules using the steps in Adding Firewall Rule When Local Firewall Uses "firewalld". Each rule should correspond to each of the ingress rules added previously for the Oracle E-Business Suite App nodes.

Add Firewall Rules to Oracle E-Business Suite Database Nodes When the Database is on Compute

Add firewall rules using the steps in Adding Firewall Rule When Local Firewall Uses "firewalld". Each rule should correspond to each of the ingress rules added previously for each of the database nodes.

Add Firewall Rules to Oracle E-Business Suite Database Nodes When the Database is on Base Database Service 1-Node or 2- Node DB System

Add firewall rules using the steps in Adding Firewall Rule When Local Firewall Uses "iptables". Each rule should correspond to each of the ingress rules added previously for each of the database nodes.

Add Firewall Rules to Oracle E-Business Suite Database Nodes When the Database is on Exadata Database Service on Dedicated Infrastructure

In this case, no firewall rules need to be added. Do not attempt to add any firewall rules.

Ensuring the Fully Qualified Domain Name is Resolvable

You must ensure that the fully qualified domain name (FDQN) of each of the Oracle E-Business Suite node is resolvable from the OMS host and that the FQDN of the OMS host is resolvable from each Oracle E-Business Suite node.

If the OMS host and Oracle E-Business Suite nodes are on the same VCN, no additional settings are required.

Although, if the OMS host and Oracle E-Business Suite nodes are on different VCNs, an update to the /etc/hosts file on OMS host and each of the Oracle E-Business Suite nodes is required so that the host names are resolvable as required. Ensure that the entries are created with public IPs of the hosts to FQDN for the host.

For example:

129.213.29.20 em132amp1.ampsubnet.my1811vcn.example.com em132amp1

Creating Required Named Credentials to Connect Oracle E-Business Suite Nodes

Create named credentials which will be used to connect to the Oracle E-Business Suite nodes. Using the steps in Creating a Named Credential, create named credentials with the following properties:

Manually Installing Management Agents on All Oracle E-Business Suite Nodes

Follow the steps in section “Installing Management Agents” of the Oracle Enterprise Manager Cloud Control Basic Installation Guide to manually deploy the management agent on all Oracle E-Business Suite nodes.

Adding an Oracle E-Business Suite Database Target

Adding a Database Target When the Database is on Compute VM

For Oracle Database 19c, 12.1.0.2, or 11.2.0.4, follow the steps described in Adding a Database Instance Target.

Note: In the case of a multitenant database, use the CDB Name as the "Database SID".

Adding a Database Target When the Database is on Oracle Base Database Service 1-Node DB System (Single Instance)

For Oracle Database 19c. 12.1.0.2, or 11.2.0.4, follow the steps described in Adding a Database Instance Target.

Note: In the case of a multitenant database, use the CDB Name as the "Database SID".

Adding a Database Target When the Database is on Oracle Base Database Service 2-Node DB System (Oracle RAC)

For Oracle Database 19c, 12.1.0.2, or 11.2.0.4, perform the following steps:

  1. Add a cluster target by performing the steps in Adding a Cluster Target.

  2. Add a cluster database target by using the following instructions:

    1. From the Enterprise Manager console, in the Targets menu, select All Targets.

    2. Search for and select the cluster target added above.

    3. In the Cluster Target Home page, from the Cluster menu, select Discover Databases.

    4. Click the Next button.

    5. In the Database Discovery: Results page, under the Cluster Database section, select the checkbox associated with the target listed, specify the dbsnmp user password, and click Next.

      Note: Make sure the dbsnmp user account is working. You might need to unlock the user and set the password on the Oracle E-Business Suite database.

    6. Click on Configure.

    7. Click on the Instances section.

    8. Change the value of "Listener Machine Name" to be the same as that of "Host" for that particular instance, for each of the two instances.

    9. Click the Save button.

    10. Click Next.

    11. Click the Save button.

    12. Click the Close button in the confirmation window.

Note: In the case of a multitenant database, use the CDB Name as the "Database SID".

Adding a Database Target When the Database is on Oracle Exadata Database Service on Dedicated Infrastructure

For Oracle Database 19c, 12.1.0.2, or 11.2.0.4, perform the following steps:

  1. Add the cluster target by performing the steps in Adding a Cluster Target.

  2. Add a cluster database target using the following instructions:

    1. From the Enterprise Manager console, in the Targets menu, select All Targets.

    2. Search for and select the cluster target added above.

    3. In the Cluster Target Home page, from the Cluster menu, select Discover Databases.

    4. Click the Next button.

    5. In the Database Discovery: Results page, under the Cluster Database section, select the checkbox associated with the database you intend to discover and click the Configure button. Note that there can be multiple cluster databases listed based on the number of databases installed on Exadata Database Service Dedicated. The database name would have been provided while provisioning the Oracle E-Business Suite instance.

    6. Provide the dbsnmp user password, and click Next.

      Note: Make sure the dbsnmp user account is working. You might need to unlock the user and set the password on the Oracle E-Business Suite database.

    7. Click on Configure.

    8. Click on the Instances section.

    9. Change the value of "Listener Machine Name" to be same as that of "Host" for that particular instance, for each of the two instances.

    10. Click the Save button.

    11. Click on Next.

    12. Click the Save button.

    13. Click the Close button in the confirmation window.

Note: In the case of a multitenant database, use the CDB Name as the "Database SID".

Manually Discovering the Oracle E-Business Suite Instance

At this point, manually discover the Oracle E-Business Suite instance by using the steps in the section Using the Discovery Wizard.

Make sure to adhere to the additional steps found in Additional Features for Discovery, especially:

Common Tasks

Creating a Named Credential

  1. Navigate to the Enterprise Manager console. In the Setup menu, select Security.

  2. Select Named Credentials.

  3. Click on the Create button.

  4. Specify a Credential Name (user defined).

  5. Fill in other mandatory fields as required and click the Save button.

Adding an Ingress Rule

  1. Log in to Oracle Cloud Infrastructure console.

  2. Using the menu, navigate to Networking, select Virtual Cloud Networks, and then select your VCN.

  3. Click Security Lists and then select the security list corresponding to the subnet to which you want to create an ingress rule.

  4. Click Edit All Rules.

  5. Click on the + Add Another Ingress Rule button. Specify Source Type, Source CIDR, IP Protocol, Source Port Range, and Destination Port Range:

  6. Click on the Save Security List Rules button.

Adding a Firewall Rule When the Local Firewall Uses "firewalld"

  1. Log in to the node on which the firewall rule is to be created as the root user.

  2. Execute the following commands:

    1. firewall-cmd --zone=public --add-rich-rule 'rule family=ipv4 source address=<source CIDR> port port=<port number> protocol=tcp accept' --permanent 
    2. firewall-cmd --zone=public --add-rich-rule 'rule family=ipv4 source address==<source CIDR> port port=<port number> protocol=tcp accept'

      If you want to specify a <port range>, use a format like <first port in range>-<last port in range>. For example, port=7001-7003; (both ports are inclusive).

Adding a Firewall Rule When Local Firewall Uses "iptables"

  1. Log into the node on which the firewall rule is to be created as the root user.

  2. Execute the following commands:

    1. iptables -I INPUT 1 -s <source cidr> -p tcp -m state --state NEW -m tcp --dport <port number> -j ACCEPT

      If you want to specify a <port range> use format like --dport <first port in range> :<last port in range>. For example, --dport 1521:1523; (both ports are inclusive).

    2. service iptables save
    3. service iptables restart

Deploying a Hybrid Cloud Agent

  1. From the Enterprise Manager console, in the Setup menu, select Add Target, and then select Add Targets Manually.

  2. On the Add Targets Manually page, click the Install Agent on Host button.

  3. Click the + Add button.

  4. Enter the FQDN of the host on which the agent is being installed. Select a platform.

  5. Click the Next button.

  6. Specify Installation Base Directory and Instance Directory.

  7. Select the Configure Hybrid Cloud Agent checkbox.

  8. Select the Hybrid Cloud Gateway Agent.

  9. Select an appropriate Named Credential.

  10. Leave the Privileged Delegation Setting field blank (blank value).

  11. Click on Next.

  12. Click on Deploy Agent.

  13. After the agent is installed successfully, run "<Installation Base Directory>/agent_<em version>/root.sh" as the root user.

Adding a Database Instance Target

  1. From the Enterprise Manager console, in the Setup menu, select Add Target, and then select Add Targets Manually.

  2. On the Add Targets Manually page, select Add Target Manually.

  3. In the Add Target Manually dialog box, select "Database Instance" as Target Type.

  4. For Host, choose the host on which the database is running.

  5. Click Add ….

  6. Specify all required properties and add the target.

Adding a Cluster Target

  1. From the Enterprise Manager console, in the Setup menu, select Add Target, and then select Add Targets Manually.

  2. On the Add Targets Manually page, select Add Target Manually.

  3. In the Add Target Manually dialog box, select "Cluster" as the Target Type.

  4. For Host, choose or enter the first node in the cluster.

  5. Click Add ….

  6. Fill in all the values, using the steps described in My Oracle Support Knowledge Document 1908635.1, EM 13c, 12c: How to Discover the Cluster and Cluster Database (RAC) Target in EM Cloud Control, in section (c), "Discover the Cluster Target and Cluster Database Target manually," under "How to determine the values which need to be supplied."

    Note: To determine "CRS_HOME" on OCI, execute the command ps -ef | grep tns. The output of the command will have the grid infrastructure home.

  7. In the "Cluster Host and High Availability Services Targets" section, add the second host in the cluster.

  8. Click the Save button.

  9. Click the Close button in the confirmation window.

  10. Wait for the cluster target status to be "Up".