5 Installing Oracle Enterprise Manager Cloud Control

This chapter describes how you can install a new Enterprise Manager system while utilizing an existing, certified Oracle Database to store Oracle Management Repository (Management Repository).

In particular, this chapter covers the following:

Note:

This chapter is only for installing a complete Enterprise Manager system (with a Management Repository). If you want to install an additional Oracle Management Service (OMS), then see Adding Additional Oracle Management Services.

WARNING:

Do not install Enterprise Manager Cloud Control 13c on servers of SPARC series: T1000, T2000, T5xx0, and T3-*. For more information, see My Oracle Support note 1590556.1.

Introduction to Installing an Enterprise Manager System

Before you start installing Enterprise Manager Cloud Control, you must understand the fundamentals of Enterprise Manager installation, the various installation types you can use, the components that are installed by default, and so on. This section introduces you to the installation process, and covers the following:

Note:

For information on the releases Enterprise Manager Cloud Control has had so far, see Procuring the Software in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

Overview of the Installation Types Offered for Enterprise Manager Cloud Control

You can install Enterprise Manager Cloud Control with either simple or advanced configuration. Table 5-1 describes the basic differences between the two installation types.

Note:

  • If you want to install Enterprise Manager Cloud Control for evaluation or demo purposes, then use the Simple installation type.

  • If you want to install only the software binaries of Enterprise Manager Cloud Control with plug-ins at one point in graphical mode and configure the installation at a later point, you may do it by using the Software Only installation type. For more information on this, see Installing an Enterprise Manager System Using Software Only Install Along With Plugins and Configuring Later in the Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

Table 5-1 Differences Between Simple and Advanced Installation

Simple Installation Advanced Installation

Meant for demonstration or evaluation purposes, and small deployments, and when you do not want to worry about the granular control of the installer and want to install the Enterprise Manager system quickly, with less memory, and for monitoring fewer targets in their environment

Meant for small, medium, and large deployments, and when you want to customize your installation with custom locations, directory names, and passwords.

Installs with minimal, default configuration settings and preferences that you need for a complete Enterprise Manager system. Does not offer too many options to customize your installation.

Offers custom or advanced configuration options that you can select to suit your environment and customize your installation.

Configures with less memory to monitor up to 30 targets, with 2 Oracle Management Agents (Management Agent) and 2 concurrent user sessions for handling about 10 jobs per day.

Offers an option to select the deployment size (small, medium, or large) of your choice, and depending on the deployment size you select, configures with the required memory.

The deployment size essentially indicates the number of targets you plan to monitor, the number of Management Agents you plan to have, and the number of concurrent user sessions you plan to have. The prerequisite checks are run regardless of the selection you make, but the values to be set for the various parameters checked depend on the selection you make

For more information on deployment sizes, the prerequisite checks that are run, the database parameters that are set, and how you can modify the deployment size after installation, see What is a Deployment Size for Enterprise Manager Cloud Control in an Advanced Configuration? in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

Sets lower values for database parameters.

For information about the database initialization parameters to be set for various deployment sizes, refer to Software Configurations in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

Sets higher values for database parameters.

For information about the database parameters set for different deployment sizes, see Sizing Your Enterprise Manager Deployment in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

Allows you to use a database where the Management Repository is preconfigured using the database templates offered by Oracle.

Allows you to use a database where the Management Repository is preconfigured using the database templates offered by Oracle.

Installs mandatory plug-ins such as Oracle Database plug-in, Oracle Fusion Middleware plug-in, Oracle Exadata plug-in, Oracle Cloud Framework plug-in, and Oracle System Infrastructure plug-in.

  • Installs mandatory plug-ins such as Oracle Database plug-in, Oracle Fusion Middleware plug-in, Oracle Exadata plug-in, Oracle Cloud Framework plug-in, and Oracle System Infrastructure plug-in.

  • Installs any other plug-in you select in the installation wizard.

Creates a default user account weblogic for the WebLogic domain GCDomain.

Allows you to change the name of the default user account weblogic for the WebLogic domain GCDomain.

Prompts for a common password for WebLogic Server administration, Node Manager, SYSMAN user account, and Management Agent registration.

Prompts for separate, distinct passwords for WebLogic Server administration, Node Manager, SYSMAN user account, and Management Agent registration.

Creates a default OMS instance base directory (gc_inst) outside the Middleware home.

Allows you to change the name of the default OMS instance base directory (gc_inst) to a name of your choice, and creates that directory outside the Middleware home.

Creates tablespaces for management, configuration data, and JVM diagnostics data in default locations.

Allows you to change the locations of the tablespaces for management, configuration data, and JVM diagnostics data.

Installs with default ports.

Allows you to customize the ports according to your environment.

Has only a few interview screens to fill in the Enterprise Manager Cloud Control Installation Wizard.

Has many interview screens to fill in the Enterprise Manager Cloud Control Installation Wizard

Overview of the Core Components Installed and Configured with an Enterprise Manager System

As part of a new Enterprise Manager system, the installation wizard does the following:

  • Installs Oracle WebLogic Server 12c Release 2 (12.2.1.4.0).

  • Installs Java Development Kit (JDK) 1.8.0_261.

  • Installs Oracle Management Service 13c Release 5.

  • Installs Oracle Management Agent 13c Release 5 in the agent base directory you specify (outside the middleware home).

  • Installs Oracle JRF 12c Release 2 (12.2.1.4.0).

  • Installs Oracle Web Tier 12c Release 2 (12.2.1.4.0).

  • Creates a plug-in directory and installs the following default plug-ins.

    • Oracle Database Plug-in

    • Oracle Fusion Middleware Plug-in

      Note:

      Starting with 13c Release 1, as part of the Oracle Fusion Middleware Plug-in deployment, one Java Virtual Machine Diagnostics (JVMD) Engine is installed by default on the OMS. For every additional OMS you deploy, you receive one JVMD Engine by default with that OMS.

      JVMD enables administrators to diagnose performance problems in Java applications in the production environment. By eliminating the need to reproduce problems, it reduces the time required to resolve these problems, thus improving application availability and performance.

      While JVMD Engine is installed by default on the OMS host, you will still need JVMD Agents to be manually deployed on the targeted JVMs. For instructions to deploy the JVMD Agent, see Installing JVM Diagnostic Agents.

    • Oracle Exadata Plug-in

    • Oracle Cloud Framework Plug-in

    • Oracle System Infrastructure Plug-in

    • Any other additional plug-ins you choose to deploy

  • Creates an Oracle WebLogic domain called GCDomain. For this WebLogic Domain, a default user account, weblogic, is used as the administrative user. In advanced installation, you can choose to change this if you want.

  • Creates a Node Manager user account called nodemanager. A Node Manager enables you to start, shut down, or restart an Oracle WebLogic Server instance remotely, and is recommended for applications with high availability requirements.

    Note:

    On Microsoft Windows, a Node Manager service is NOT created. This is an expected behavior.

  • Configures an Oracle Management Service Instance Base location (gc_inst) outside the Oracle Middleware home (Middleware home), for storing all configuration details related to the OMS. In advanced installation, you can choose to change this location if you want.

    For example, if the Middleware home is /u01/software/em13c/oraclehome, then the instance base location is /u01/software/em13c/gc_inst. You can choose to change this, if you want, in the installer. However, you can change it for only advanced installation and not for simple installation.

  • Configures Oracle Management Repository in the existing, certified Oracle Database. If the database instance is created using the database template offered by Oracle, then this step is skipped.

    Note:

    The existing, certified Oracle Database must be one of the certified databases listed in the Enterprise Manager certification matrix available on My Oracle Support, or a database instance created with a preconfigured Oracle Management Repository (Management Repository) using the database templates offered by Oracle.

    To access the Enterprise Manager certification matrix, follow the steps outlined in Accessing the Enterprise Manager Certification Matrix.

    For information about creating a database instance with a preconfigured Management Repository using the database templates offered by Oracle, refer to Creating a Database Instance with Preconfigured Repository Using Database Templates.

    The database can be on a local or remote host, and if it is on a remote host, it must be monitored by Oracle Management Agent. However, Oracle Real Application Clusters (Oracle RAC) databases must only be on a shared disk.

  • Runs the following configuration assistants to configure the installed components for simple as well as advanced installation:

    • Plug-ins Prerequisites Check

    • Repository Configuration

      Note:

      If you use a database instance that was created with a preconfigured Management Repository using the database templates offered by Oracle, then Repository Out-of-Box Configuration is run instead of Repository Configuration.

    • MDS Schema Configuration

      Note:

      If you use a database instance that was created with a preconfigured Management Repository using the database templates offered by Oracle, then MDS Schema Configuration is not run.

    • OMS Configuration

    • Plug-ins Deployment and Configuration

    • Start Oracle Management Service

    • Agent Configuration Assistant

Overview of the Directories Created for an Enterprise Manager System

This section describes the following:

Overview of the Directories Created for OMS Installation

Figure 5-1 shows the contents of the Middleware home for this type of installation.

Figure 5-1 Middleware Home Contents for a Fresh Installation


Middleware Home Contents for a Fresh Installation

Note:

The OMS instance base directory (typically, gc_inst) is maintained outside the middleware home directory, and that is why it is not shown in Figure 5-1.

Overview of the Directories Created for Management Agent Installation (Central Agent)

The following are the contents of the agent base directory for the central agent (Management Agent installed with the OMS).

<agent_base_directory>
    |_____agent_13.5.0.0.0
    |_____agent_inst
   

Figure 5-2 shows the contents of the agent home that is within the agent base directory.

Figure 5-2 Contents of the Agent Home


Contents of the Agent Home within the Agent Base Directory

Before You Begin Installing an Enterprise Manager System

Before you begin installing Enterprise Manager Cloud Control, keep these points in mind:

  • You must ensure that you have the latest Enterprise Manager Cloud Control software.

    For information about downloading the latest software, see Procuring the Software in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

  • Ensure that there are no white spaces in the name of the directory where you download and run the Enterprise Manager Cloud Control software from. For example, do not download and run the software from a directory titled EM Software because there is a white space between the two words of the directory name.

  • You can install Enterprise Manager Cloud Control using the installation wizard only on a single host, that is, locally on the server where the wizard is invoked. You cannot install on multiple or remote hosts.

  • You can only deploy Oracle Management Agents 13c Release 5 (13.5.0.0.0) using the Enterprise Manager Cloud Control 13c Release 5 (13.5.0.0.0). It's not supported to do fresh deployment of older Oracle Management Agents versions post OMS upgrade to 13c Release 5.

  • Oracle Management Service 13c Release 5 can communicate only with the following Oracle Management Agents versions you may have deployed from earlier Enterprise Manager Cloud Control versions: 13.4.0.0.0 and 13.3.0.0.0.

    Table 5-2 Compatibility Between OMS and Management Agents Across 13c and 12c Releases

    - Oracle Management Agent 12c Release 5 (12.1.0.5) Oracle Management Agent 13c Release 1 Oracle Management Agent 13c Release 2 Oracle Management Agent 13c Release 3 Oracle Management Agent 13c Release 4

    Oracle Management Service 13c Release 5

    No

    No

    No

    Yes

    Yes

  • If you are installing Enterprise Manager on Windows platform, reset PERL5LIB if it is a new installation.
  • Do not install on a symlink. Installing in such a location may impact life cycle operations such as patching and scaling out. Also, it will impact the functioning of your additional OMS.

  • You must not set the ORACLE_HOME and ORACLE_SID environment variables. You must ensure that the Oracle directories do NOT appear in the PATH.

  • (Only for Graphical Mode) You must set the DISPLAY environment variable.

    • In bash terminal, run the following command:

      export DISPLAY=<hostname>:<vnc port>.0

      For example, export DISPLAY=example.com:1.0

    • In other terminals, run the following command:

      setenv DISPLAY <hostname>:1.0

      For example, setenv DISPLAY example.com:1.0

  • The Enterprise Manager Cloud Control Installation Wizard installs Java Development Kit (JDK) 1.8.0_261 and Oracle Fusion Middleware 12c (12.2.1.4.0) by default. A preinstalled JDK or Oracle WebLogic Server is not supported from 13c Release 1 onwards.

  • You must ensure that the Oracle WebLogic Server 12c Release 2 (12.2.1.4.0) installed by the Enterprise Manager Cloud Control Installation Wizard is dedicated for Enterprise Manager Cloud Control. You must not have any other Oracle Fusion Middleware product installed in that Middleware home.

    Enterprise Manager Cloud Control cannot coexist with any Oracle Fusion Middleware product in the same Middleware home because the ORACLE_COMMON property is used by both the products.

  • As a prerequisite, you must have an existing Oracle Database to configure the Management Repository.

  • If you install the OMS and the Oracle Database, which houses the Management Repository, on the same host, then when you reboot the host, the OMS and the Management Agent installed with it will not automatically start up. You will have to manually start them.

  • You can optionally use the database templates offered by Oracle to create a database instance with a preconfigured Management Repository. To do so, refer to Creating a Database Instance with Preconfigured Repository Using Database Templates. You can use such a database instance for simple as well as advanced installation.

    However, note that the database templates are essentially designed for simple installation, although they can be used for advanced installation. Therefore, while performing an advanced installation (possibly with small, medium, or large deployment size selection), when you provide the details of such a database, you will be prompted that the database parameters need to be modified to suit the deployment size you selected. You can confirm the message to proceed further. The installation wizard will automatically set the database parameters to the required values.

  • If you want to optionally follow the configuration guidelines for deploying the Management Repository so that your management data is secure, reliable, and always available, refer to the Oracle Enterprise Manager Cloud Control Administrator's Guide.

  • Enterprise Manager is not affected when you enable or disable features such as XML DB on the Oracle Database in which you plan to configure the Management Repository. Therefore, you can enable or disable any feature in the database because Enterprise Manager does not rely on them.

  • In addition to the mandatory plug-ins, you can optionally install other plug-ins available in the software kit (DVD, downloaded software). The installer offers a screen where you can select the optional plug-ins and install them. However, if you want to install some plug-ins that are not available in the software kit (DVD, downloaded software), then refer to Advanced Options Supported for Installing an Enterprise Manager System for a Production Site (Advanced Install).

  • If you are installing on an NFS-mounted drive and creating the OMS instance base directory (gc_inst) on that NFS-mounted drive, then after you install, move the lock files from the NFS-mounted drive to a local file system location. Modify the lock file location in the httpd.conf file to map to a location on a local file system. For instructions, refer to Performing Postinstallation Tasks After Installing an Enterprise Manager System.

  • If you are installing in, or will be converting in the future to, a high-availability or a disaster-recovery configuration, then review and become familiar with the contents in the following chapters in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide before continuing with this installation:

    Once you have reviewed the information in the aforementioned chapters, follow the best practices referenced in Best Practices for Configuring the Cloud Control OMS to be Compatible with Disaster Recovery using Alias Host Names and Storage Replication, in order to best prepare your installation for high availability or disaster recovery.

  • Oracle offers bug fixes for a product based on the Oracle Lifetime Support Policy. When the license period expires for a particular product, the support for bug fixes offered by Oracle also ends. For more information, see the Oracle Lifetime Support Policy available at:

    http://www.oracle.com/support/library/brochure/lifetime-support-technology.pdf

    When determining supportability and certification combinations for an Enterprise Manager Cloud Control installation, you must consider Enterprise Manager Cloud Control's framework components as well as the targets monitored by Enterprise Manager Cloud Control. Oracle recommends keeping your Cloud Control components and targets updated to the latest certified versions in order to receive code fixes without having to purchase an Extended Support license.

  • You can find the OMS and Management Agent entries in the /etc/oragchomelist file for all UNIX platforms except HPUNIX, HPia64, Solaris Sparc.

    On HPia64, Solaris Sparc platforms, the entries are present in /var/opt/oracle/oragchomelist.

  • The locale-specific data is stored in the <OMS_Oracle_Home>/nls/data directory. Oracle strongly recommends that you either set the environment variable ORA_NLS10 to <OMS_Oracle_Home>/nls/data or do not set at all.

  • Enforcing option is supported for Security-Enhanced Linux (SELinux).

  • Do not discover any Oracle ZFS Storage Appliance target in 13c environment.

Prerequisites for Installing an Enterprise Manager System

Table 5-3 lists the prerequisites you must meet before installing Enterprise Manager Cloud Control.

Table 5-3 Prerequisites for Installing Enterprise Manager System

Requirement Description

Hardware Requirements

Ensure that you meet the hard disk space and physical memory requirements as described in Hardware Requirements for Enterprise Manager Cloud Control.

Operating System Requirements

Ensure that you install Enterprise Manager Cloud Control only on certified operating systems as mentioned in the Enterprise Manager certification matrix available on My Oracle Support. To access the Enterprise Manager certification matrix, follow the steps outlined in Accessing the Enterprise Manager Certification Matrix.

For information about platforms receiving future support, refer to My Oracle Support note 793512.1.

Note:

  • OMS on Solaris 11 local zone is not supported.

  • If you are installing or upgrading the Enterprise Manager Cloud Control on AIX or HPUX, you need to have an executable bin/bash file.

Package, Kernel Parameter, and Library Requirements

Ensure that you install all the operating system-specific packages, kernel parameters, and libraries as described in Package, Kernel Parameter, and Library Requirements for Enterprise Manager Cloud Control.

Operating System Groups and Users Requirements

Ensure that you create the required operating system groups and users as described in Creating Operating System Groups and Users for Enterprise Manager Cloud Control.

Browser Requirement

Ensure that you use a certified browser as mentioned in the Enterprise Manager certification matrix available on My Oracle Support. To access the Enterprise Manager certification matrix, follow the steps outlined in Accessing the Enterprise Manager Certification Matrix.

Database Version and Configuration Type Requirements

Ensure that the existing database is a certified database as mentioned in the Enterprise Manager certification matrix available on My Oracle Support. To access the Enterprise Manager certification matrix and identify whether your database is a certified database, follow these steps in Accessing the Enterprise Manager Certification Matrix.

Alternatively, the database can be a database instance created with a preconfigured Management Repository using the database templates offered by Oracle. For information about creating a database instance with a preconfigured Management Repository using the database templates offered by Oracle, refer to Creating a Database Instance with Preconfigured Repository Using Database Templates. Ensure that this database is dedicated to Enterprise Manager.

The supported database configuration types are: pluggable database (PDB) and non-container database (non-CDB).

Note:

For multitenant architecture, when creating multiple PDBs in a CDB as Enterprise Manager repositories, for example individual PDBs as repositories for multiple Enterprise Manager sites, you must use a non-SYS user to deploy the Enterprise Manager software. The SYS user is not supported. For more details on how to create and use a non-SYS user when installing Enterprise Manager, see Evaluate LCM User Creation in the Enterprise Manager Advanced Installation and Configuration Guide.

TDE support: Transparent data encryption (TDE) enabled repository is supported when installing, patching or upgrading Enterprise Manager. There is no need to decrypt or encrypt TDE on the repository database before or after patching Enterprise Manager.

Database Patch Requirements

Ensure that you apply the latest PSU on the supported database.

Database Connection Set the parameter _allow_insert_with_update_check=true.

Database Optimizer Adaptive Features Requirements

Oracle recommends to reset the optimizer adaptive features parameters by connecting to the database as SYSDBA and running the following:
alter system reset "_optimizer_nlj_hj_adaptive_join" scope=both sid='*';
alter system reset "_optimizer_strans_adaptive_pruning" scope=both sid='*';
alter system reset "_px_adaptive_dist_method" scope=both sid='*';
alter system reset "_sql_plan_directive_mgmt_control" scope=both sid='*';
alter system reset "_optimizer_dsdir_usage_control" scope=both sid='*';
alter system reset "_optimizer_use_feedback" scope=both sid='*';
alter system reset "_optimizer_gather_feedback" scope=both sid='*';
alter system reset "_optimizer_performance_feedback" scope=both sid='*';

NFS Mount Point Location Requirements

If you are installing onto an NFS-mounted location, then ensure that you do the following:

  • Ensure that root squash is enabled with execute permission on that host where you want to perform the installation.

  • Ensure that the Access Control List processing is disabled for the NFS mount point. In other words, the mount point must be defined with the noacl option in the /etc/fstab file. Otherwise, the installation can fail.

    To verify this, run the following command as the install user to check the contents of the /etc/fstab file. Verify if the mount point on which you plan to install Enterprise Manager has the noacl option set.

    cat /etc/fstab

    For example, in the following output, the mount point /u01/app/share1 has the noacl option set. In this case, you are ready to proceed with the installation.

    nas.example.com:/export/share1 /u01/app/share1 nfs rw,bg,rsize=32768,wsize=32768,hard,nointr,tcp,noacl,vers=3,timeo=600 0 0

    If you do not have the noacl option set, then contact your System Administrator to make the required changes in the /etc/fstab file.

If you are installing on an NFS-shared middleware location, and if that location is mounted with the option concurrent I/O (CIO), which allows multiple reads and writes to a file at the same time, then the installation will fail reporting linking errors.

If you verify the mounted file system, you will see the following CIO option enabled. If you have the CIO option enabled, then unmount the drive, disable the CIO option, and then re-mount the drive.

node mounted mounted over vfs date options

/dev/host1 /host1/oracle jfs2 Feb 14 18:20 rw,cio,log=/dev/xd891loglv

Middleware Home Path Requirements

Ensure that the number of characters in the middleware home path does not exceed 70 characters for Unix platforms and 25 characters for Microsoft Windows platforms.

For example, the middleware home path C:\Oracle\MW\EM containing only 15 characters is acceptable. However, C:\OracleSoftware\OracleMiddleware\OracleEnterpriseManager\OMS\newrelease\oms containing more than 25 characters is not acceptable on Microsoft Windows platforms.

Agent Base Directory Path Requirements

(Only for Microsoft Windows) Ensure that the number of characters in the agent base directory path does not exceed 25 characters.

For example, the agent base directory path C:\Oracle\Agent\ containing only 16 characters is acceptable. However, C:\Oracle\ManagementAgent\13c\new containing more than 25 characters is not acceptable.

Unique Host Name and Static IP Address Requirements

Ensure that you check the network configuration to verify that the host on which you are installing resolves to a unique host name and a static IP address that are visible to other hosts in the network.

Note:

Oracle recommends that you use static IP address. If you use dynamic IP address, and if the host is rebooted, then the host might receive a new IP, and as a result, the OMS startup will fail.

Temporary Directory Space Requirements

Ensure that you allocate 14 GB of hard disk space for the temporary directory.

Central Inventory Requirements

  • Ensure that you allocate 100 MB of space for the central inventory directory.

  • For a typical non-HA environment, the Central Inventory (oraInventory) can be in a shared or non-shared location. If you use a shared location, then ensure that only one shared location is maintained per host, and no two hosts update the same shared location. One inventory file is meant only for one host, so it must not be shared and edited by other hosts. When you use the /etc/oraInst.loc file, ensure that the inventory location specified there is not pointing to such a location. If you have configured a shared location that is common for two or more hosts, then switch over to a non-shared location.

  • For a typical HA environment with primary and standby disaster recovery sites using storage replication and alias host names, the Central Inventory (oraInventory) for software installed on the shared storage using the alias host name should be located in a shared location that is common between the OMS host in the primary site and the OMS host in the standby site. This shared location should be located on the replicated storage so that the oraInventory can be accessed from the active site for software maintenance activities.

UMASK Value Requirements

Ensure that you set the default file mode creation mask (umask) to 022 in the shell startup file.

For example:

  • Bash Shell

    $ . ./.bash_profile

  • Bourne or Korn Shell

    $ . ./.profile

  • C Shell

    % source ./.login

CLASSPATH Environment Variable Requirements

Ensure that you unset the CLASSPATH environment variable. You can always reset the variable to the original value after the installation is complete.

File Descriptor Requirements

  • Ensure that the max user processes parameter and the open files parameter are set to 30000.

  • Ensure that you set the file descriptor limit to a minimum of 65536.

  • Ensure that the ip_local_port_range parameter is set between 11000 to 65000.

Host File Requirements

Ensure that the host name specified in the /etc/hosts file is unique, and ensure that it maps to the correct host name or IP address of that host. Otherwise, the installation can fail on the product-specific prerequisite check page.

In some platforms, the installer does not validate the host name mentioned in the /etc/hosts file, therefore make sure the host names or IP addresses are correct.

Ensure that localhost is pingable and resolves to 127.0.0.1 (or resolves to ::1 for IPv6 hosts).

The following is the recommended format of the /etc/hosts file:

<ip> <fully_qualified_host_name> <short_host_name>

For example,

127.0.0.1 localhost.localdomain localhost

172.16.0.0 myhost.example.com myhost

According to RFC 952, the following are the assumptions: A name (Net, Host, Gateway, or Domain name) is a text string up to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus sign (-), and period (.). Note that periods are only allowed when they serve to delimit components of domain style names. No blank or space characters are permitted as part of a name. No distinction is made between upper and lower case. The first character must be an alpha character.

Also, if DNS server is configured in your environment, then you should be able to use DNS to resolve the name of the host on which you want to install the OMS.

For example, all these commands must return the same output:

nslookup myhost

nslookup myhost.example.com

nslookup 172.16.0.0

If alias host names are implemented in /etc/hosts, then it is not necessary to be able to use DNS to resolve the alias host name on which you want to install the OMS.

Installing User Requirements

Ensure that you meet the following requirements:

  • (For UNIX only) The installation must NOT be run by a root user.

  • (For Microsoft Windows only) User must be part of the ORA-DBA group and have administrator permissions.

  • (For Microsoft Windows only) User must belong to the DBA group, and have permissions to perform the following: Act as part of the operating system, Create a token object, Log on as a batch job, and Adjust memory quotas for a process.

    To verify whether the install user has these rights, from the Start menu, click Settings and then select Control Panel. From the Control Panel window, select Administrative Tools, and from the Administrative Tools window, select Local Security Policy. In the Local Security Settings window, from the tree structure, expand Local Policies, and then expand User Rights Assignment.

Permission Requirements

  • Ensure that you have write permission in the Middleware home and the Oracle Management Service Instance Base location.

  • Ensure that you have write permission in the temporary directory where the executables will be copied. For example, /tmp or c:\Temp.

  • Ensure that you have write permission in the location where you want to create the Central Inventory (oraInventory) if it does not already exist. If the Central Inventory already exists, then ensure that you have write permission in the inventory directory.

  • Ensure that the user who installed the existing Oracle Database has write permission in the data file locations where the data files for the new tablespaces will be copied.

    These tablespaces and data files are created while configuring Enterprise Manager Cloud Control. While installing with simple configuration (Installing an Enterprise Manager System for a Demonstration Site (Simple Install)), the installer automatically honors the default locations so you are not prompted for them. However, while installing with custom configuration (Installing an Enterprise Manager System for a Production Site (Advanced Install)), the installer prompts you to validate or enter the locations explicitly.

Proximity Requirements

Ensure that the host on which the OMS is being installed and the host on which the Management Repository is being configured are located in close proximity to each other. Ideally, the round trip network latency between the two should be less than 1 millisecond.

Port Requirements

Ensure that the ports you assign (within the given range) to the core components of Enterprise Manager Cloud Control are free and available. For information on the core components and their port ranges, see What Ports Are Used for Installation? in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

To verify if a port is free, run the following command:

  • On Unix:

    netstat -an | grep <port no>

  • On Microsoft Windows:

    netstat -an|findstr <port_no>

Internet Connection Requirements

Oracle recommends that the host from where you are running the installer have a connection to the Internet so that the configuration information can be automatically collected and uploaded to My Oracle Support.

Using the Internet connection, you can also search and download software updates from My Oracle Support using the installer. For installations that do not have access to the Internet, see What Are the Enterprise Manager Cloud Control Software Updates? in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

These updates should be obtained before starting the 13c installation so they can be available to the installer at the proper time.

Installing an Enterprise Manager System for a Demonstration Site (Simple Install)

To install Enterprise Manager Cloud Control for evaluation or demonstration purposes, use the Simple installation type. This installation type installs with default configuration settings and preferences that you need for a complete Enterprise Manager system. It does not offer too many options to customize your installation. For example, only the default plug-ins are deployed with the installation, and you are not provided with a separate screen to manually select the other plug-ins you want to deploy.

Therefore, this installation type is primarily meant for demonstration or evaluation purposes, and small deployments, and when you do not want to worry about the granular control of the installer and want to install the Enterprise Manager system quickly, with less memory, and for monitoring fewer targets in their environment.

To install Enterprise Manager Cloud Control for evaluation or demonstration purposes, follow these steps:

Note:

Oracle recommends you to run the EM Prerequisite Kit before invoking the installer to ensure that you meet all the repository requirements beforehand. Even if you do not run it manually, the installer anyway runs it in the background while installing the product. However, running it manually beforehand sets up your Management Repository even before you can start the installation or upgrade process. For information on the kit, to understand how to run it, and to know about the prerequisite checks it runs, see Overview of the EM Prerequisite Kit.

However, if you plan to use a database instance that was created with a preconfigured Management Repository using the database templates offered by Oracle, then make sure you pass the following parameter while invoking the EM Prerequisite Kit.

-componentVariables repository:EXECUTE_CHECKS_NOSEED_DB_FOUND:false

  1. Invoke the Enterprise Manager Cloud Control Installation Wizard.

    Invoke the installation wizard as a user who belongs to the oinstall group you created following the instructions in Creating Operating System Groups and Users for Enterprise Manager Cloud Control.

    For Linux platforms:

    <Software_Location>/em13500_<platform>.bin

    For example, run /u01/software/em/em13500_linux64.bin.

    For Microsoft Windows platforms:

    <Software_Location>/setup_em13500_win64.exe

    Note:

    • To invoke the installation wizard on UNIX platforms, run em13500_<platform>.bin. To invoke on Microsoft Windows platforms, run setup_em13500_win64.exe.

    • The installer requires about 14 GB of hard disk space in the temporary directory. If your temporary directory does not have this space, then pass the -J-Djava.io.tmpdir parameter and provide an alternative directory where there is 14 GB of space.

      The directory specified by this parameter will also be used as the location for the Provisioning Advisor Framework (PAF) staging directory, which is used for copying the Software Library entities related to the deployment procedures. The PAF staging directory is used only for provisioning activities — entities are copied for a deployment procedure, and then, deleted once the deployment procedure ends.

      For example,

      ./em13500_linux64.bin -J-Djava.io.tmpdir=/u01/software/em13c/stage/

    • Ensure that there are no white spaces in the name of the directory where you download and run the Enterprise Manager Cloud Control software from. For example, do not download and run the software from a directory titled EM Software because there is a white space between the two words of the directory name.

  2. Click Next.

  3. Select Installation Type.


    Installation Types Screen for Simple Installation

    On the Installation Types screen, select Create a new Enterprise Manager system, then select Simple install.

  4. Click Next.

  5. (Recommended) Install Software Updates.


    Install Software Updates

    On the Software Updates screen, select Search for Updates, and then select one of the following options to apply the latest software updates:

    • Local Directory, if you do not have Internet connectivity on your host, and want to download the updates in offline mode and apply them while performing the installation.

    • My Oracle Support, if you have Internet connectivity on your host, and want to connect to My Oracle Support directly via the installer to download the updates in online mode and apply them while performing the installation.

    For more information on these options, and for instructions to download and apply the software updates using these options, see Are the Software Updates Applied Automatically Even for Databases That Have Oracle Management Repository Preconfigured? in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

    Note:

    The Software Updates screen uses the built-in feature Auto Update to automatically download and deploy the latest recommended patches while installing or upgrading Enterprise Manager Cloud Control. This way, you do not have to keep a manual check on the patches released by Oracle. All patches required by the installer for successful installation and upgrade are automatically detected and downloaded from My Oracle Support, and applied during the installation or upgrade, thus reducing the known issues and potential failures. Oracle strongly recommends using this feature, and applying the software updates while the installation is in progress. For more information, see What Is a Software Update? in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

    Note:

    During installation, you will be prompted for the details of a database where Oracle Management Repository can be configured. If you plan to provide the details of a database that already has an Oracle Management Repository preconfigured using the database templates offered by Oracle, then the software updates selected on this screen cannot be automatically applied. In such a case, you must manually download and apply these software updates after the installation.

    Note:

    Despite providing the My Oracle Support credentials, if you are unable to download the software updates, then exit the installer, and invoke the installer again passing the SHOW_PROXY parameter in the following way:

    <Software_Location>/em13500_<platform>.bin SHOW_PROXY=true

    To invoke the installer on Microsoft Windows, run setup_em13500_win64.exe SHOW_PROXY=true.

  6. Click Next.

    If Enterprise Manager Cloud Control is the first Oracle product you are installing on the host that is running on UNIX operating system, then the Oracle Inventory screen appears. For details, see step (6). Otherwise, the Check Prerequisites screen appears. For details, see step (8).

    If Enterprise Manager Cloud Control is the first Oracle product you are installing on the host that is running on Microsoft Windows operating system, then the Oracle Inventory screen does not appear. On Microsoft Windows, the following is the default inventory directory:

    <system drive>\Program Files\Oracle\Inventory

  7. Enter Oracle Inventory Details.

    On the Oracle Inventory screen, do the following. You will see this screen only if this turns out to be your first ever installation of an Oracle product on the host.

    1. Enter the full path to a directory where the inventory files and directories can be placed.

      Note:

      • If this is the first Oracle product on the host, then the default central inventory location is <home directory>/oraInventory. However, if you already have some Oracle products on the host, then the central inventory location can be found in the oraInst.loc file. The oraInst.loc file is located in the /etc directory for Linux and AIX, and in the /var/opt/oracle directory for Solaris, and Tru64.

      • Ensure that you have read, write, and execute permissions on the default inventory directory. If you do not have the required permissions, then exit the installer, invoke the installer again with the INVENTORY_LOCATION parameter, and pass the absolute path to the alternative inventory location.

        For example,

        <Software_Location>/em13500_<platform>.bin INVENTORY_LOCATION=<absolute_path_to_inventory_directory>

        Alternatively, invoke the installer with the -invPtrLoc parameter, and pass the absolute path to the oraInst.loc file that contains the alternative inventory location.

        For example,

        <Software_Location>/em13500_<platform>.bin -invPtrLoc <absolute_path_to_oraInst.loc>

        However, note that these parameters are supported only on UNIX platforms, and not on Microsoft Windows platforms.

    2. Select the appropriate operating system group name that will own the Oracle inventory directories. The group that you select must have write permissions on the Oracle Inventory directories.

  8. Click Next.

  9. Check Prerequisites.


    Check Prerequisites

    On the Prerequisite Checks screen, check the status of the prerequisite checks run by the installation wizard, and verify whether your environment meets all the minimum requirements for a successful installation.

    The installation wizard runs the prerequisite checks automatically when you come to this screen. It checks for the required operating system patches, operating system packages, and so on.

    The status of the prerequisite check can be either Warning, Failed, Succeeded, Not Executed, In Progress, or Pending.

    • If some checks result in Warning or Failed status, then investigate and correct the problems before you proceed with the installation. The screen provides details on why the prerequisites failed and how you can resolve them. After you correct the problems, return to this screen and click Rerun to check the prerequisites again.

    • However, all package requirements must be met or fixed before proceeding any further. Otherwise, the installation might fail.

  10. Click Next.

    Note:

    If a prerequisite check fails reporting a missing package, then make sure you install the required package, and click Rerun. The installation wizard validates the package name as well as the version, so make sure you install the packages of the minimum versions mentioned in Package, Kernel Parameter, and Library Requirements for Enterprise Manager Cloud Control. To understand the logic the installation wizard uses to verify these packages, see About the Logic Used by the Enterprise Manager Cloud Control Installation Wizard to Verify the Packages.

  11. Enter Installation Details.


    Installation Details Screen for Simple Installation

    On the Installation Details screen, do the following:

    1. Enter the Middleware home where you want to install the OMS and other core components.

      For example, /u01/software/em13c/oraclehome

      Note:

      • The Enterprise Manager Cloud Control Installation Wizard installs Oracle WebLogic Server 12c Release 2 (12.2.1.4.0) and JDK 1.8.0_261 by default in this middleware home directory you enter here. A preinstalled JDK or Oracle WebLogic Server is not supported from 13c Release 1 onwards.

      • Ensure that the number of characters in the middleware home path does not exceed 70 characters for Unix platforms and 25 characters for Microsoft Windows platforms.

        For example, the middleware home path C:\Oracle\MW\EM containing only 15 characters is acceptable. However, C:\OracleSoftware\OracleMiddleware\OracleEnterpriseManager\OMS\newrelease\oms containing more than 25 characters is not acceptable for Microsoft Windows platforms.

      • By default, the OMS instance base directory (gc_inst) is created outside the middleware home, and at the same parent level as the middleware home. For example, if you enter u01/software/oracle/middleware as the middleware home, then the instance base directory is created as u01/software/oracle/gc_inst.

        However, if you are installing on an NFS-mounted drive and creating the OMS instance base directory (gc_inst) on that NFS-mounted drive, then after you install, move the lock files from the NFS-mounted drive to a local file system location. Modify the lock file location in the httpd.conf file to map to a location on a local file system. For instructions, refer to Performing Postinstallation Tasks After Installing an Enterprise Manager System.

    2. Enter the absolute path to the agent base directory, a location outside the Oracle Middleware home where the Management Agent can be installed. For example, if the middleware home is /u01/software/em13c/oraclehome, then you can specify the agent base directory as /u01/software/em13c/agentbasedir.

      Ensure that this location is empty and has write permission. Also ensure that it is always maintained outside the middleware home.

      Note:

      Ensure that the number of characters in the middleware home path does not exceed 70 characters for Unix platforms and 25 characters for Microsoft Windows platforms.

      For example, the middleware home path C:\Oracle\MW\EM containing only 15 characters is acceptable. However, C:\OracleSoftware\OracleMiddleware\OracleEnterpriseManager\OMS\newrelease\oms containing more than 25 characters is not acceptable for Microsoft Windows platforms.

    3. Validate the name of the host where you want to configure the OMS.

      The host name appears as a fully qualified name. The host name can also appear as a virtual host name if your host is configured with virtual machine.

      You can choose to accept the default host name and proceed with the installation. Alternatively, you can change the name if it is incorrect, or enter another host name for this host. Ensure that the host name you enter is accessible from other hosts in the network (other hosts must be able to ping this host).

      The host name appears as a fully qualified name, or as a virtual host name if your host is configured with virtual machine. If the installation wizard was invoked with a value for ORACLE_HOSTNAME, then this field is prepopulated with that name.

      Accept the default host name, or enter a fully qualified domain name that is registered in the DNS and is accessible from other network hosts, or enter an alias host name that is defined in the /etc/hosts file on all the OMS instances at this site.

      Note:

      The host name must resolve to the local host or virtual host because the host name is used for the local Oracle WebLogic Server as well as the Oracle Management Service. Do not provide a remote host or a load balancer virtual host in this field. Do not enter an IP address. Do not use underscores in the name. Short names are allowed, but you will see a warning, so Oracle recommends that you enter a fully qualified domain name instead.

  12. Click Next.

  13. Enter Configuration Details.

    On the Configuration Details screen, do the following:

    1. Enter an administrator password, which can be used as a common password for configuring the Enterprise Manager Cloud Control.

      Note:

      The passwords used here must follow the conventions required for the SYSMAN account. The SYSMAN account password must begin with a letter, and can only contain uppercase or lowercase letters, numbers and the following characters: $, # , _

      Table 5-4 describes what the administrator password is used for.

      Table 5-4 Usage of Administrator Password

      Purpose Description

      Creates SYSMAN User Account

      The user account is used as the super administrator for configuring the SYSMAN schema in the Management Repository.

      Creates Default WebLogic User Account weblogic

      The user account is used as the administrator for creating the default WebLogic domain GCDomain.

      Creates Default Node Manager User Account nodemanager

      The user account is automatically created during the configuration of Enterprise Manager Cloud Control.

      A Node Manager enables you to start, shut down, or restart an Oracle WebLogic Server instance remotely, and is recommended for applications with high availability requirements.

      Authenticates New Management Agents

      The agent registration password is used for authenticating new Management Agents that join Enterprise Manager system, where the communication between the OMS and the Management Agent is secure.

    2. Provide details of the existing, certified database where the Management Repository needs to be created. If you have already created a database instance with a preconfigured Management Repository using the database templates offered by Oracle, then provide details about that database instance.

      The installer uses this information to connect to the existing database for creating the SYSMAN schema and plug-in schemas. If you provide details of a database that already has a preconfigured Management Repository, then the installer only creates plug-in schemas.

      Note:

      • For information about creating a database instance with a preconfigured Management Repository using the database templates offered by Oracle, refer to Creating a Database Instance with Preconfigured Repository Using Database Templates.

      • If you connect to a database instance that was created using the database template offered by Oracle, then the password assigned to user accounts SYSMAN, SYSMAN_MDS, SYSMAN_APM, and SYSMAN122140_OPSS, which were created while preconfiguring the Management Repository, are automatically reset with the administrator password you enter here on this screen. We also unlock all these user accounts.

        Starting with Enterprise Manager 13c Release 4, SYSMAN_OPSS user no longer exists. It has been replaced by SYSMAN<WebLogic_Server_Version>_OPSS user, in this case SYSMAN122140_OPSS user.

      • To identify whether your database is a certified database listed in the certification matrix, follow the steps outlined in Accessing the Enterprise Manager Certification Matrix.

      • If you are providing the details of a pluggable database (PDB), then use the full service name instead of the alias. For example, pdb.example.com. If you are providing the details of a lone-pluggable database (Lone-PDB), then use the full service name. For example, pdb.example.com. If you are providing the details of a non-container database (Non-CDB), then use the SID.

      • If you are providing the details of an Oracle RAC database that is configured with Single Client Access Name (SCAN), then enter the SCAN name as the host name.

      • For information on all the database initialization parameters that are set, and all the prerequisite checks that are run, and for instructions to run the prerequisite checks manually if they fail, see Repository Prerequisite Checks Run by the EM Prerequisite Kit.

  14. Click Next.

    Note:

    • If you are connecting to an Oracle RAC database, and if you have specified the virtual IP address of one of its nodes, then the installation wizard prompts you with a Connection String dialog and requests you to update the connection string with information about the other nodes that are part of the cluster. Update the connection string and click OK. If you want to test the connection, click Test Connection.

    • Starting from DB version 18.X or higher, if the RAC database is configured with Single Client Access Name (SCAN) listener, then you can enter a connection string using the SCAN listener.

    • If you are connecting to an Oracle Database that is configured with CDB or PDB, then make sure you open the PDB before you provide the PDB details on this screen.

    • If you see an error stating that the connection to the database failed with ORA-01017 invalid user name/password, then follow these steps to resolve the issue:

      (1) Verify that SYS password provided is valid.

      (2) Verify that the database initialization parameter REMOTE_LOGIN_PASSWORDFILE is set to Shared or Exclusive.

      (3) Verify that password file with the file name orapw<SID> exists in the <ORACLE_HOME>/dbs directory of the database home. If it does not, create a password file using the ORAPWD command.

  15. Check Database Prerequisites.


    Check Database Prerequisites

    Review the results and check the prerequisites with status Failed.
    • If the Auto Fixable column is Yes, you can click on Auto Fix and the installer will fix the issue automatically.
    • If the Correction Type is Manual, you need to fix the issue manually.

    For information on all the database initialization parameters that are set, and all the prerequisite checks that are run, and for instructions to run the prerequisite checks manually if they fail, see Repository Prerequisite Checks Run by the EM Prerequisite Kit.

  16. Click Next.

  17. Configure Shared Locations.


    Shared Locations Details Screen

    Note:

    When you invoke the installer on Microsoft Windows, the Enterprise Manager Shared Location Details screen does not show the Config Volume and Cluster Volume options. This is an expected behavior.

    On the Enterprise Manager Shared Location Details screen, do the following:

    1. (Optional) Configure Oracle Software Library.

      Oracle Software Library (Software Library) is a feature within Enterprise Manager Cloud Control that acts as a repository to store software entities such as software patches, virtual appliance images, reference gold images, application software, and their associated directive scripts. You require the Software Library for operations such as provisioning, patching, and so on.

      Select Configure Oracle Software Library, and enter the absolute path leading up to a unique directory name. By default, the storage location that is configured is the OMS Shared File System location, so Oracle strongly recommends that the location you enter is a mounted location on the OMS host. This helps when you install additional OMS instances that can use the same mounted Software Library location.

      Note:

      Software Library supports two types of storage locations, mainly OMS Shared File System location and OMS Agent File System location. To understand these storage locations, see Upload File Locations in the Oracle Enterprise Manager Cloud Control Administrator's Guide.

      For some reason, if you are unable to configure an OMS Shared File System location, then configure an OMS Agent Storage location. For instructions, see the section on configuring an OMS Agent file system location in Configuring an OMS Agent File system Location in the Oracle Enterprise Manager Cloud Control Administrator's Guide.

      Note:

      • Configuring the Software Library at the time of installation is optional. Even if you do not select this option and configure it now, your installation will succeed. You always have the option of configuring the Software Library later using the Initial Setup Console or the Software Library Administration Console (available within the Enterprise Manager Cloud Control Console). However, Oracle strongly recommends that you select this option and configure it at the time of installation so that the installer can automatically configure it for you. This saves time and effort, and enables you to install an additional OMS, immediately after the first OMS, and configure it to use the same Software Library location.

      • Once the Software Library is configured, you can view the location details in the Software Library Administration Console. To access this console, from the Setup menu, select Provisioning and Patching, then select Software Library.

  18. Click Next.

  19. Review and Install.

    On the Review screen, review the details you provided for the selected installation type.

    • If you want to change the details, click Back repeatedly until you reach the screen where you want to make the changes.

    • After you verify the details, if you are satisfied, click Install to begin the installation process.

  20. Track the Progress.

    On the Install Progress screen, view the overall progress (in percentage) of the installation and the status of each of the configuration assistants. Configuration assistants are run for configuring the installed components of Enterprise Manager Cloud Control.

    Note:

    • If a configuration assistant fails, the installer stops and none of the subsequent configuration assistants are run. Resolve the issue and retry the configuration assistant.

      For more information, see Troubleshooting Configuration Data Collection Tools in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

    • If you accidently exit the installer before clicking Retry, then do NOT restart the installer to reach the same screen; instead, invoke the runConfig.pl script from the Oracle home to rerun the Configuration Assistant in silent mode. For Microsoft Windows platforms, invoke runConfig.pl script.

      $<ORACLE_HOME>/oui/bin/runConfig.pl <absolute_path_to_Middleware_home>

      If the runConfig.pl script fails, then clean up your environment and redo the installation.

  21. Run Scripts.

    Once the software binaries are copied and configured, you are prompted to run the allroot.sh script, and the oraInstRoot.sh script if this is the first Oracle product installation on the host. Open another window, log in as root, and manually run the scripts.

    If you are installing on Microsoft Windows operating system, then you will NOT be prompted to run this script.

  22. End the Installation.

    On the Finish screen, you should see information pertaining to the installation of Enterprise Manager. Review the information and click Close to exit the installation wizard.

    For more information about this installation, refer to the following file in the Oracle home of the OMS:

    $<ORACLE_HOME>/install/setupinfo.txt

Note:

If a Server Load Balancer (SLB) is configured in your environment, and the upload port is locked, then configure the SLB for JVMD Engines, and then secure the OMS.

If an SLB is configured in your environment, but the upload port is unlocked, then decide whether you want to route the JVMD traffic through the SLB. If you do, then configure the SLB for JVMD Engines, and then secure the OMS.

To secure the OMS, run the following command:

<ORACLE_HOME>/bin/emctl secure oms -host <SLB host>-slb_jvmd_http_port <JVMD_SLB_HTTP_Port> -slb_jvmd_https_port <JVMD_SLB_HTTPS_Port> -sysman_pwd <system_password> -reg_pwd <agent_registration_password>

Note:

If the installation fails for some reason, review the log files. For more information, see Overview of the Installation and Configuration Log Files in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

Note:

If you have run the installation wizard and let the installation wizard take corrective actions to correct the repository settings, and if you have exited the wizard without completing the installation process, then remember that the repository settings might not reset to their original values because you abruptly ended the installation. In this case, before invoking the installation wizard again, run the EM Prerequisite Kit to manually reset the values. To do so, see Overview of the EM Prerequisite Kit.

Installing an Enterprise Manager System for a Production Site (Advanced Install)

To install Enterprise Manager Cloud Control in a production environment, use the Advanced installation type. This installation type offers custom or advanced configuration options that enable you to customize your installation to suit your needs.

This installation type provides the following benefits:

  • Offers an option to select the deployment size (small, medium, or large) of your choice, and depending on the deployment size you select, configures with the required memory. The deployment size essentially indicates the number of targets you plan to monitor, the number of Management Agents you plan to have, and the number of concurrent user sessions you plan to have.

  • Allows you to use a database where the Management Repository is preconfigured using the database templates offered by Oracle.

  • Deploys the mandatory plug-ins such as Oracle Database plug-in, Oracle Fusion Middleware plug-in, Oracle Exadata plug-in, Oracle Cloud Framework plug-in, and Oracle System Infrastructure plug-in. In addition, enables you to select and deploy other optional plug-ins of your choice.

  • Allows you to change the name of the default user account weblogic for the WebLogic domain GCDomain.

  • Prompts for separate, distinct passwords for WebLogic Server administration, Node Manager, SYSMAN user account, and Management Agent registration.

  • Allows you to change the name of the default OMS instance base directory (gc_inst) to a name of your choice, and creates that directory outside the Middleware home.

  • Allows you to change the locations of the tablespaces for management, configuration data, and JVM diagnostics data.

  • Allows you to customize the ports according to your environment.

To install Enterprise Manager Cloud Control for a production site, follow these steps:

Note:

Oracle recommends you to run the EM Prerequisite Kit before invoking the installer to ensure that you meet all the repository requirements beforehand. Even if you do not run it manually, the installer anyway runs it in the background while installing the product. However, running it manually beforehand sets up your Management Repository even before you can start the installation or upgrade process. For information on the kit, to understand how to run it, and to know about the prerequisite checks it runs, see Repository Prerequisite Checks Run by the EM Prerequisite Kit.

However, if you plan to use a database instance that was created with a preconfigured Management Repository using the database templates offered by Oracle, then make sure you pass the following parameter while invoking the EM Prerequisite Kit.

-componentVariables repository:EXECUTE_CHECKS_NOSEED_DB_FOUND:false

  1. Invoke the Enterprise Manager Cloud Control Installation Wizard.

    Invoke the installation wizard as a user who belongs to the oinstall group you created following the instructions in Creating Operating System Groups and Users for Enterprise Manager Cloud Control.

    <Software_Location>/em13500_<platform>.bin

    For example, for Linux platform, run /u1/software/em/em13500_linux64.bin.

    Note:

    • To invoke the installation wizard on UNIX platforms, run em13500_<platform>.bin. To invoke on Microsoft Windows platforms, run setup_em13500_win64.exe.

    • The installer requires about 14 GB of hard disk space in the temporary directory. If your temporary directory does not have this space, then pass the -J-Djava.io.tmpdir parameter and provide an alternative directory where there is 14 GB of space.

      The directory specified by this parameter will also be used as the location for the Provisioning Advisor Framework (PAF) staging directory, which is used for copying the Software Library entities related to the deployment procedures. The PAF staging directory is used only for provisioning activities — entities are copied for a deployment procedure, and then, deleted once the deployment procedure ends.

      For example,

      ./em13500_linux64.bin -J-Djava.io.tmpdir=/u01/software/em13c/stage/

    • Ensure that there are no white spaces in the name of the directory where you download and run the Enterprise Manager Cloud Control software from. For example, do not download and run the software from a directory titled EM Software because there is a white space between the two words of the directory name.

  2. Click Next.

  3. Select Installation Type.


    Installation Types Screen for Advanced Installation

    On the Installation Types screen, select Create a new Enterprise Manager system, then select Advanced Install.

  4. Click Next.

  5. (Recommended) Install Software Updates.


    Install Software Updates

    On the Software Updates screen, select Search for Updates, and then select one of the following options to apply the latest software updates:

    • Local Directory, if you do not have Internet connectivity on your host, and want to download the updates in offline mode and apply them while performing the installation.

    • My Oracle Support, if you have Internet connectivity on your host, and want to connect to My Oracle Support directly via the installer to download the updates in online mode and apply them while performing the installation.

    For more information on these options, and for instructions to download and apply the software updates using these options, see Are the Software Updates Applied Automatically Even for Databases That Have Oracle Management Repository Preconfigured? in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

    Note:

    The Software Updates screen uses the built-in feature Auto Update to automatically download and deploy the latest recommended patches while installing or upgrading Enterprise Manager Cloud Control. This way, you do not have to keep a manual check on the patches released by Oracle. All patches required by the installer for successful installation and upgrade are automatically detected and downloaded from My Oracle Support, and applied during the installation or upgrade, thus reducing the known issues and potential failures. Oracle strongly recommends using this feature, and applying the software updates while the installation is in progress. For more information, see What Is a Software Update? in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

    Note:

    During installation, you will be prompted for the details of a database where Oracle Management Repository can be configured. If you plan to provide the details of a database that already has an Oracle Management Repository preconfigured using the database templates offered by Oracle, then the software updates selected on this screen cannot be automatically applied. In such a case, you must manually download and apply these software updates after the installation.

    Note:

    Despite providing the My Oracle Support credentials, if you are unable to download the software updates, then exit the installer, and invoke the installer again passing the -showProxy parameter in the following way:

    <Software_Location>/em13500_<platform>.bin SHOW_PROXY=true

  6. Click Next.

    If Enterprise Manager Cloud Control is the first Oracle product you are installing on the host that is running on UNIX operating system, then the Oracle Inventory screen appears. For details, see step (7). Otherwise, the Prerequisite Checks screen appears. For details, see step (9).

    If Enterprise Manager Cloud Control is the first Oracle product you are installing on the host that is running on Microsoft Windows operating system, then the Oracle Inventory screen does not appear. On Microsoft Windows, the following is the default inventory directory:

    <system drive>\Program Files\Oracle\Inventory
    
  7. Enter Oracle Inventory Details.

    On the Oracle Inventory screen, do the following. You will see this screen only if this turns out to be your first ever installation of an Oracle product on the host.

    1. Enter the full path to a directory where the inventory files and directories can be placed.

      Note:

      • If this is the first Oracle product on the host, then the default central inventory location is <home directory>/oraInventory. However, if you already have some Oracle products on the host, then the central inventory location can be found in the oraInst.loc file. The oraInst.loc file is located in the /etc directory for Linux and AIX, and in the /var/opt/oracle directory for Solaris, HP-UX, and Tru64.

      • Ensure that you have read, write, and execute permissions on the default inventory directory. If you do not have the required permissions, then exit the installer, invoke the installer again with the INVENTORY_LOCATION parameter, and pass the absolute path to the alternative inventory location.

        For example,

        <Software_Location>/em13500_<platform>.bin INVENTORY_LOCATION=<absolute_path_to_inventory_directory>

        Alternatively, invoke the installer with the -invPtrLoc parameter, and pass the absolute path to the oraInst.loc file that contains the alternative inventory location.

        For example,

        <Software_Location>/em13500_<platform>.bin -invPtrLoc <absolute_path_to_oraInst.loc>

        However, note that these parameters are supported only on UNIX platforms, and not on Microsoft Windows platforms.

    2. Select the appropriate operating system group name that will own the Oracle inventory directories. The group that you select must have write permissions on the Oracle Inventory directories.

  8. Click Next.

  9. Check Prerequisites.


    Check Prerequisites

    On the Prerequisite Checks screen, check the status of the prerequisite checks run by the installation wizard, and verify whether your environment meets all the minimum requirements for a successful installation.

    The installation wizard runs the prerequisite checks automatically when you come to this screen. It checks for the required operating system patches, operating system packages, and so on.

    The status of the prerequisite check can be either Warning, Failed, Succeeded, Not Executed, In Progress, or Pending.

    If some checks result in Warning or Failed status, then investigate and correct the problems before you proceed with the installation. The screen provides details on why the prerequisites failed and how you can resolve them. After you correct the problems, return to this screen and click Rerun to check the prerequisites again.

    Note:

    You can choose to ignore the checks with Warning status by clicking Ignore. However, all package requirements must be met or fixed before proceeding any further.

    Note:

    If a prerequisite check fails reporting a missing package, then make sure you install the required package, and click Rerun. The installation wizard validates the package name as well as the version, so make sure you install the packages of the minimum versions mentioned in Package, Kernel Parameter, and Library Requirements for Enterprise Manager Cloud Control. To understand the logic the installation wizard uses to verify these packages, see About the Logic Used by the Enterprise Manager Cloud Control Installation Wizard to Verify the Packages.

  10. Click Next.

    Note:

    If a prerequisite check fails reporting a missing package, then make sure you install the required package, and click Rerun. The installation wizard validates the package name as well as the version, so make sure you install the packages of the minimum versions mentioned in Package, Kernel Parameter, and Library Requirements for Enterprise Manager Cloud Control. To understand the logic the installation wizard uses to verify these packages, see About the Logic Used by the Enterprise Manager Cloud Control Installation Wizard to Verify the Packages.

  11. Enter Installation Details.


    Installation Details Screen for Advanced Installation

    On the Installation Details screen, do the following:

    1. Enter the Middleware home where you want to install the OMS and other core components. This is essentially the Oracle home.

      Note:

      • The Enterprise Manager Cloud Control Installation Wizard installs Oracle WebLogic Server 12c Release 2 (12.2.1.4.0) and JDK 1.8.0_261 by default in this middleware home directory you enter here. A preinstalled JDK or Oracle WebLogic Server is not supported from 13c Release 1 onwards.

      • Ensure that the number of characters in the middleware home path does not exceed 70 characters for Unix platforms and 25 characters for Microsoft Windows platforms.

        For example, the middleware home path C:\Oracle\MW\EM containing only 15 characters is acceptable. However, C:\OracleSoftware\OracleMiddleware\OracleEnterpriseManager\OMS\newrelease\oms containing more than 25 characters is not acceptable for Microsoft Windows platforms.

    2. Enter the absolute path to the agent base directory, a location outside the middleware home where the Management Agent can be installed. For example, if the middleware home is /u01/software/em13c/oraclehome, then you can specify the agent base directory as /u01/software/em13c/agentbasedir.

      Ensure that this location is empty and has write permission. Also ensure that it is always maintained outside the Oracle Middleware home.

      Note:

      Ensure that the number of characters in the middleware home path does not exceed 70 characters for Unix platforms and 25 characters for Microsoft Windows platforms.

      For example, the middleware home path C:\Oracle\MW\EM containing only 15 characters is acceptable. However, C:\OracleSoftware\OracleMiddleware\OracleEnterpriseManager\OMS\newrelease\oms containing more than 25 characters is not acceptable for Microsoft Windows platforms.

    3. Validate the name of the host where you want to configure the OMS.

      The host name appears as a fully qualified name, or as a virtual host name if your host is configured with virtual machine. If the installation wizard was invoked with a value for ORACLE_HOSTNAME, then this field is prepopulated with that name.

      Accept the default host name, or enter a fully qualified domain name that is registered in the DNS and is accessible from other network hosts, or enter an alias host name that is defined in the /etc/hosts file on all the OMS instances at this site.

      Note:

      The host name must resolve to the local host or virtual host because the host name is used for the local Oracle WebLogic Server as well as the Oracle Management Service. Do not provide a remote host or a load balancer virtual host in this field. Do not enter an IP address. Do not use underscores in the name. Short names are allowed, but you will see a warning, so Oracle recommends that you enter a fully qualified domain name instead.

  12. Click Next.

  13. Select Plug-Ins.


    Plug-In Deployment Screen

    On the Plug-In Deployment screen, select the optional plug-ins you want to install from the software kit (DVD, downloaded software) while installing the Enterprise Manager system.

    Plug-Ins are pluggable entities that offer special management capabilities customized to suit specific target types or solution areas.

    The pre-selected rows are mandatory plug-ins that will be installed by default. Select the optional ones you want to install.

    Note:

    If you select a deprecated plug-in that is supported only in the current version and not in any of the future releases, then you are prompted to evaluate your selection and decide whether or not you want to proceed with the deployment of such plug-ins.

    Note:

    During installation, if you want to install a plug-in that is not available in the software kit, then refer to Advanced Options Supported for Installing an Enterprise Manager System for a Production Site (Advanced Install) for the point that describes how you can install additional plug-ins.

  14. Click Next.

  15. Enter WebLogic Server Configuration Details.


    WebLogic Server Configuration Details screen

    On the WebLogic Server Configuration Details screen, enter the credentials for the WebLogic Server user account and the Node Manager user account, and validate the path to the Oracle Management Service instance base location. Ensure that the Oracle Management Service instance base location is outside the middleware home. By default, the WebLogic user name is weblogic. If you want, you can modify it.

    Note:

    Ensure that your password contains at least 8 characters without any spaces, begins with a letter, and includes at least one numeric value.

    Note:

    • Ensure that the Oracle Management Service instance base location is outside the middleware home.

    • If you are installing on an NFS-mounted drive and creating the OMS instance base directory (gc_inst) on that NFS-mounted drive, then after you install, move the lock files from the NFS-mounted drive to a local file system location. Modify the lock file location in the httpd.conf file to map to a location on a local file system. For instructions, see Performing Postinstallation Tasks After Installing an Enterprise Manager System.

    By default, the WebLogic Domain name is GCDomain, and the Node Manager name is nodemanager. These are non-editable fields. The installer uses this information for creating Oracle WebLogic Domain and other associated components such as the admin server, the managed server, and the node manager. A Node Manager enables you to start, shut down, or restart an Oracle WebLogic Server instance remotely, and is recommended for applications with high availability requirements.

    Note:

    On Microsoft Windows, a Node Manager service is NOT created. This is an expected behavior.

  16. Click Next.

  17. Enter Database Connection Details.


    Database Connection Details Screen

    On the Database Connection Details screen, do the following:

    1. Provide details of the existing, certified database where the Management Repository needs to be created. If you have already created a database instance with a preconfigured Management Repository using the database templates offered by Oracle, then provide details about that database instance.

      The installer uses this information to connect to the existing database for creating the SYSMAN schema and plug-in schemas. If you provide details of a database that already has a preconfigured Management Repository, then the installer only creates plug-in schemas.

      Note:

      • If you connect to a database instance that was created using the database template offered by Oracle, then note that the password assigned to the user accounts SYSMAN_MDS, SYSMAN_APM, and SYSMAN122140_OPSS, which were created while preconfiguring the Management Repository, are automatically reset with the SYSMAN password you enter on the Enterprise Manager Configuration Details screen.

        Starting with Enterprise Manager 13c Release 4, SYSMAN_OPSS user no longer exists. It has been replaced by SYSMAN<WebLogic_Server_Version>, in this case SYSMAN122140_OPSS user.

      • If you are providing the details of a pluggable database (PDB), then use the full service name instead of the alias. For example, pdb.example.com. If you are providing the details of a lone-pluggable database (Lone-PDB), then use the full service name. For example, pdb.example.com. If you are providing the details of a non-container database (Non-CDB), then use the SID.

      • For more information on creating a database instance with Preconfigured Repository using database templates for CDB and PDB, refer Creating a Database Instance with Preconfigured Repository Using Database Templates for CDB and PDB.

      • If you are providing the details of an Oracle RAC database that is configured with Single Client Access Name (SCAN), then enter the SCAN name as the host name.

    2. Select the deployment size from the Deployment Size list to indicate the number of targets you plan to monitor, the number of Management Agents you plan to have, and the number of concurrent user sessions you plan to have.

      Table 5-5 describes each deployment size.

      Table 5-5 Deployment Size

      Deployment Size Targets Count Management Agents Count Concurrent User Session Count

      Small

      Up to 999

      Up to 99

      Up to 10

      Medium

      Between 1000 and 9999

      Between 100 and 999

      Between 10 and 24

      Large

      10,000 or more

      1000 or more

      Between 25 and 50

      Note:

      If the database you are connecting to is a database instance created with a preconfigured Management Repository using the database templates offered by Oracle (as described in Creating a Database Instance with Preconfigured Repository Using Database Templates), then make sure the deployment size you select on this screen matches with the deployment size you selected in the Oracle Database Configuration Assistant (DBCA) while creating the database instance.

      If you want to select a deployment size different from the deployment size you had selected while creating the database instance using DBCA, then do one of the following:

      Note:

      For more information on deployment sizes, the prerequisite checks that are run, the database parameters that are set, and how you can modify the deployment size after installation, see What is a Deployment Size for Enterprise Manager Cloud Control in an Advanced Configuration? in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

  18. Click Next.

    Note:

    • If you are connecting to an Oracle RAC database, and if you have specified the virtual IP address of one of its nodes, then the installation wizard prompts you with a Connection String dialog and requests you to update the connection string with information about the other nodes that are part of the cluster. Update the connection string and click OK. If you want to test the connection, click Test Connection.

    • If your Oracle RAC Database is configured with Single Client Access Name (SCAN) listener, then you can enter a connection string using the SCAN listener.

    • If you are connecting to an Oracle Database that is configured with CDB or PDB, then make sure you open the PDB before you provide the PDB details on this screen.

    • If you see an error stating that the connection to the database failed with ORA-01017 invalid user name/password, then follow these steps to resolve the issue:

      (1) Verify that SYS password provided is valid.

      (2) Verify that the database initialization parameter REMOTE_LOGIN_PASSWORDFILE is set to Shared or Exclusive.

      (3) Verify that password file with the file name orapw<SID> exists in the <ORACLE_HOME>/dbs directory of the database home. If it does not, create a password file using the ORAPWD command.

  19. Check Database Prerequisites.


    Check Database Prerequisites

    On the Database Prerequisites Checks screen, check the status of the database prerequisites.

    Review the results and check the prerequisites with status Failed.
    • If the Auto Fixable column is Yes, you can click on Auto Fix and the installer will fix the issue automatically.
    • If the Correction Type is Manual, you need to fix the issue manually.

    For information on all the database initialization parameters that are set, and all the prerequisite checks that are run, and for instructions to run the prerequisite checks manually if they fail, see Repository Prerequisite Checks Run by the EM Prerequisite Kit.

  20. Click Next.

  21. Enter Enterprise Manager Configuration Details.


    Enterprise Manager Configuration Details Screen

    On the Enterprise Manager Configuration Details screen, do the following:

    1. For SYSMAN Password, enter a password for creating the SYSMAN user account. The SYSMAN user account is used for creating the SYSMAN schema, which holds most of the relational data used in managing Enterprise Manager Cloud Control. SYSMAN is also the super administrator for Enterprise Manager Cloud Control.

      Note:

      • The SYSMAN account password must begin with a letter. It can only contain uppercase or lowercase letters, numbers and the following special characters: $, #, _

      • If you connect to a database instance that was created using the database template offered by Oracle, then note that the password assigned to the user accounts SYSMAN_MDS, SYSMAN_APM, and SYSMAN122140_OPSS, which were created while preconfiguring the Management Repository, are automatically reset with the SYSMAN password you enter on this screen.

    2. For Registration Password, enter a password for registering the new Management Agents that join the Enterprise Manager system.

      Note:

      Ensure that your password contains at least 8 characters without any spaces, begins with a letter, and includes at least one numeric value.

    3. For Management Tablespace, enter the full path to the location where the data file for management tablespace (mgmt.dbf) can be stored. The installer uses this information for storing data about the monitored targets, their metrics, and so on. Ensure that the specified path leads up to the file name.

      For example, /u01/oracle/prod/oradata/mgmt.dbf

      If the database is on Oracle Automatic Storage Management (Oracle ASM), then the path must look like: +<disk_group>/<sid>/<subdir_path_if_any>/<datafilename>.dbf.

      For example, +DATA/oemrsp01d/datafile/mgmt.dbf

    4. For Configuration Data Tablespace, enter the full path to the location where the data file for configuration data tablespace (mgmt_ecm_depot1.dbf) can be stored. This is required for storing configuration information collected from the monitored targets. Ensure that the specified path leads up to the file name.

      For example, /u01/oracle/prod/oradata/mgmt_ecm_depot1.dbf

      If the database is on Oracle Automatic Storage Management (Oracle ASM), then the path must look like: +<disk_group>/<sid>/<subdir_path_if_any>/<datafilename>.dbf

      For example, +DATA/oemrsp01d/datafile/mgmt_ecm_depot1.dbf

    5. For JVM Diagnostics Data Tablespace, enter the full path to a location where the data file for JVM Diagnostics data tablespace (mgmt_deepdive.dbf) can be stored. Ensure that the specified path leads up to the file name. Enterprise Manager Cloud Control requires this data file to store monitoring data related to JVM Diagnostics and Application Dependency Performance (ADP).

      For example, /u01/oracle/prod/oradata/mgmt_deepdive.dbf.

      If the database is on Oracle Automatic Storage Management (Oracle ASM), then the path must look like: +<disk_group>/<sid>/<subdir_path_if_any>/<datafilename>.dbf

      For example, +DATA/oemrsp01d/datafile/mgmt_deepdive.dbf.

  22. Click Next.

  23. Configure Shared Locations.


    Shared Locations Details Screen

    On the Enterprise Manager Shared Location Details screen, do the following:

    1. Configure Oracle Software Library. Oracle Software Library (Software Library) is a feature within Enterprise Manager Cloud Control that acts as a repository to store software entities such as software patches, virtual appliance images, reference gold images, application software, and their associated directive scripts. You require the Software Library for operations such as provisioning, patching, and others.

      Check the Configure Oracle Software Library. and enter the absolute path to a unique directory name under the Software Library Location. By default, the storage location that is configured is the OMS Shared File System location, therefore Oracle strongly recommends that the location you enter is a mounted location on the OMS host. This helps when you install additional OMS instances that can use the same mounted Software Library location.

      Note:

      Software Library supports two types of storage locations, mainly OMS Shared File System location and OMS Agent File System location. To understand these storage locations, see Upload File Locationsin the Oracle Enterprise Manager Cloud Control Administrator's Guide.

      For some reason, if you are unable to configure an OMS Shared File System location, then configure an OMS Agent Storage location. For instructions, see the section on configuring an OMS Agent file system location in Configuring an OMS Agent File system Location in the Oracle Enterprise Manager Cloud Control Administrator's Guide.

      Note:

      • Configuring the Software Library at the time of installation is optional. Even if you do not select this option and configure it now, your installation will succeed. You always have the option of configuring the Software Library later using the Initial Setup Console or the Software Library Administration Console (available within the Enterprise Manager Cloud Control Console). However, Oracle strongly recommends that you select this option and configure it at the time of installation so that the installer can automatically configure it for you. This saves time and effort, and enables you to install an additional OMS, immediately after the first OMS, and configure it to use the same Software Library location.

      • Once the Software Library is configured, you can view the location details in the Software Library Administration Console. To access this console, from the Setup menu, select Provisioning and Patching, then select Software Library.

  24. Click Next.

  25. Customize Ports.


    Port Configuration Details Screen

    On the Port Configuration Details screen, customize the ports to be used for various components.

    Note:

    If all the ports on this screen appear as -1, then it indicates that the installer is unable to bind the ports on the host. To resolve this issue, exit the installer, verify the host name and the IP configuration of this host (ensure that the IP address of the host is not being used by another host), restart the installer, and try again.

    You can enter a free custom port that is either within or outside the port range recommended by Oracle.

    To verify if a port is free, run the following command:

    • On Unix:

      netstat -an | grep <port no>

    • On Microsoft Windows:

      netstat -an|findstr <port_no>

    However, the custom port must be greater than 1024 and lesser than 65535. Alternatively, if you already have the ports predefined in a staticports.ini file and if you want to use those ports, then click Import staticports.ini file and select the file.

    Note:

    If the staticports.ini file is passed during installation, then by default, the ports defined in the staticports.ini file are displayed. Otherwise, the first available port from the recommended range is displayed.

    The staticports.ini file is available in the following location:

    <Software_Extracted_Location>/response

  26. Click Next.

  27. Review and Install.

    On the Review screen, review the details you provided for the selected installation type.

    • If you want to change the details, click Back repeatedly until you reach the screen where you want to make the changes.

    • After you verify the details, if you are satisfied, click Install to begin the installation process.

  28. Track the Progress.

    On the Install Progress screen, view the overall progress (in percentage) of the installation and the status of each of the Configuration Assistants. Configuration Assistants are run for configuring the installed components of Enterprise Manager Cloud Control.

    Note:

    • If a configuration assistant fails, the installer stops and none of the subsequent configuration assistants are run. Resolve the issue and retry the configuration assistant.

      For more information, see Troubleshooting Configuration Data Collection Tools in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

    • If you accidently exit the installer before clicking Retry, then do NOT restart the installer to reach the same screen; instead, invoke the runConfig.pl script from the Oracle home to rerun the Configuration Assistant in silent mode. For Microsoft Windows platforms, invoke runConfig.pl script.

      $<ORACLE_HOME>/oui/bin/runConfig.pl <absolute_path_to_Middleware_home>

      If the runConfig.pl script fails, then clean up your environment and redo the installation.

  29. Run Scripts.

    Once the software binaries are copied and configured, you are prompted to run the allroot.sh script, and the oraInstRoot.sh script if this is the first Oracle product installation on the host. Open another window, log in as root, and manually run the scripts.

    If you are installing on Microsoft Windows operating system, then you will NOT be prompted to run this script.

  30. End the Installation.

    On the Finish screen, you should see information pertaining to the installation of Enterprise Manager. Review the information and click Close to exit the installation wizard.

    For more information about this installation, refer to the following file available in the Oracle home:

    $<ORACLE_HOME>/install/setupinfo.txt

Note:

If a Server Load Balancer (SLB) is configured in your environment, and the upload port is locked, then configure the SLB for JVMD Engines, and then secure the OMS.

If an SLB is configured in your environment, but the upload port is unlocked, then decide whether you want to route the JVMD traffic through the SLB. If you do, then configure the SLB for JVMD Engines, and then secure the OMS.

To secure the OMS, run the following command:

<ORACLE_HOME>/bin/emctl secure oms -host <SLB host>-slb_jvmd_http_port <JVMD_SLB_HTTP_Port> -slb_jvmd_https_port <JVMD_SLB_HTTPS_Port> -sysman_pwd <system_password> -reg_pwd <agent_registration_password>

Note:

If the installation fails for some reason, review the log files listed in Overview of the Installation and Configuration Log Files in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

Note:

If you have run the installation wizard and let the installation wizard take corrective actions to correct the repository settings, and if you have exited the wizard without completing the installation process, then remember that the repository settings might not reset to their original values because you abruptly ended the installation. In this case, before invoking the installation wizard again, run the EM Prerequisite Kit to manually reset the values. To do so, see Overview of the EM Prerequisite Kit

Advanced Options Supported for Installing an Enterprise Manager System for a Production Site (Advanced Install)

The following are some additional, advanced options you can pass while invoking the Enterprise Manager Cloud Control installer:

  • By default, GCDomain is the default name used for creating the WebLogic Domain. Custom WebLogic Domain name, is not supported.

  • By default, a Provisioning Advisor Framework (PAF) staging directory is created for copying the Software Library entities related to the deployment procedures. By default, this location is the scratch path location (/tmp). The location is used only for provisioning activities—entities are copied for a deployment procedure, and then, deleted once the deployment procedure ends.

    If you want to override this location with a custom location, then invoke the installer with the -J-Djava.io.tmpdir option, and enter a unique custom location.

    For example,

    ./em13500_linux64.bin -J-Djava.io.tmpdir=/u00/install/em/STAGE/

  • During installation, if you want to install some plug-ins that are not in the software kit (DVD, downloaded software), then do the following:

    1. Manually download the required plug-ins from the following location:

      http://www.oracle.com/technetwork/oem/enterprise-manager/downloads/index.html

      In addition, if you want to download any partner or customer plug-ins, then download from the following location:

      https://apex.oracle.com/pls/apex/f?p=53891:1

    2. Invoke the installer with the following option and pass the location where the additional plug-ins have been downloaded:

      On UNIX platforms:

      ./em13500_<platform>.bin PLUGIN_LOCATION=<absolute_path_to_plugin_software_location>

      On Microsoft Windows platforms:

      setup_em13500_win64.exe PLUGIN_LOCATION=<absolute_path_to_plugin_software_location>

      This displays a list of plug-ins available in the software kit (DVD, downloaded software) as well as the plug-ins available in this custom location. You can choose the ones you want to install.

  • After the installation ends successfully, the OMS and the Management Agent start automatically. If you do not want them to start automatically, then invoke the installer with START_OMS and START_AGENT options, and set them to true or false depending on what you want to control.

    For example, if you do not want the Management Agent to start automatically, then run the following command:

    ./em13500_<platform>.bin START_OMS=true START_AGENT=false

    To understand the limitations involved with this advanced option, see Limitations with the Advanced Options Supported for Installing an Enterprise Manager System for a Production Site (Advanced Install).

Limitations with the Advanced Options Supported for Installing an Enterprise Manager System for a Production Site (Advanced Install)

When you use START_OMS and START_AGENT as advanced options to control the way the OMS and the Management Agent start up automatically, sometimes the Management Agent and the host on which it was installed do not appear as targets in the Cloud Control console.

Table 5-6 lists the different combinations of these advanced options, and describes the workaround to be followed for each combination:

Table 5-6 Advanced Options and Workarounds

Advanced Option Workaround

START_OMS=false

START_AGENT=false

  1. Start the OMS:

    $<ORACLE_HOME>/bin/emctl start oms

  2. Secure the Management Agent:

    $<AGENT_HOME>/bin/emctl secure agent

  3. Start the Management Agent:

    $<AGENT_HOME>/bin/emctl start agent

  4. Add the targets:

    $<AGENT_HOME>/bin/emctl config agent addinternaltargets

  5. Upload the targets:

    $<AGENT_HOME>/bin/emctl upload agent

START_OMS=true

START_AGENT=false

Start the Management Agent:

$<AGENT_HOME>/bin/emctl start agent

START_OMS=false

START_AGENT=true

  1. Start the OMS:

    $<ORACLE_HOME>/bin/emctl start oms

  2. Secure the Management Agent:

    $<AGENT_HOME>/bin/emctl secure agent

  3. Add the targets:

    $<AGENT_HOME>/bin/emctl config agent addinternaltargets

  4. Upload the targets:

    $<AGENT_HOME>/bin/emctl upload agent

Automatically Setting Database Parameters and Converting the Management Repository to Support a Deployment Size (Large, Medium, or Small)

If the database you are connecting to is a database instance created with a preconfigured Management Repository using the database templates offered by Oracle (as described in Creating a Database Instance with Preconfigured Repository Using Database Templates), then you should make sure the deployment size you select on the Database Connection Details screen of the installer matches with the deployment size you selected in the Oracle Database Configuration Assistant (DBCA) while creating the database instance.

If you want to select a deployment size different from the deployment size you had selected while creating the database instance using DBCA, then you must first fix the parameters in the database, then return to the Database Connection Details screen of the installer to continue with the installation.

To automatically set the parameters using the Oracle-supplied SQL scripts, follow these steps:

  1. Sign in to SQL Plus as SYSMAN.
  2. Depending on the deployment size for which you want to install Enterprise Manager, run one of the following scripts. To download these scripts, follow Step (2) and Step (3) outlined in Creating a Database Instance with Preconfigured Repository Using Database Templates.

    Table 5-7 Scripts for Deployment Sizes for DB 19.X

    Deployment Size Scripts

    Small

    <DB_HOME>/assistance/dbca/templates/set_repo_param_<Database Version>_Database_SQL_for_<EM Version>_Small_deployment.sql

    Medium

    <DB_HOME>/assistance/dbca/templates/set_repo_param_<Database Version>_Database_SQL_for_<EM Version>_Medium_deployment.sql

    Large

    <DB_HOME>/assistance/dbca/templates/set_repo_param_<Database Version>_Database_SQL_for_<EM Version>_Large_deployment.sql

  3. Restart the database.

Note:

For information on deployment sizes, the prerequisite checks that are run, the database parameters that are set, and how you can modify the deployment size after installation, see What is a Deployment Size for Enterprise Manager Cloud Control in an Advanced Configuration? in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.

Enabling Hybrid Cloud Management

Enterprise Manager Cloud Control provides you with a single pane of glass for monitoring and managing both your on-premise and Oracle Cloud deployments, all from the same management console. By deploying Hybrid Cloud Agents onto the Oracle Cloud virtual hosts serving your Oracle Cloud services, you are able to manage Oracle Cloud targets just as you would any other.

For more information on Hybrid Cloud Management and for instructions to enable the feature, see Enabling Hybrid Cloud Management in the Oracle Enterprise Manager Cloud Control Administrator's Guide.

Performing Postinstallation Tasks After Installing an Enterprise Manager System

After you install an Enterprise Manager system, perform the following postinstallation tasks:

  1. (Only for UNIX Operating Systems) If you did not run the allroot.sh script when the installer prompted you to do so, then run it manually now:
    • If this is the first Oracle product you just installed on the host, then run the oraInstroot.sh script from the inventory location specified in the oraInst.loc file that is available in the Management Agent home.

      For example, if the inventory location specified in the oraInst.loc file is $HOME/oraInventory, then run the following command:

      $HOME/oraInventory/oraInstRoot.sh

      Note:

      If you are not a root user, then use SUDO to change to a root user. For example, run the following command:

      /usr/local/bin/sudo $HOME/oraInventory/oraInstRoot.sh

    • Run the allroot.sh script from the Oracle home:

      $<ORACLE_HOME>/allroot.sh

      Note:

      If you are not a root user, then use SUDO to change to a root user. For example, run the following command:

      /usr/local/bin/sudo $<ORACLE_HOME>/allroot.sh

  2. Verify the installation:
    1. Navigate to the Oracle home and run the following command to see a message that confirms that OMS is up and running.

      $<ORACLE_HOME>/bin/emctl status oms

      Alternatively, run the above command with the -details option.

      $<ORACLE_HOME>/bin/emctl status oms -details

      Oracle Enterprise Manager Cloud Control 13c Release 5  
      Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved. 
      Console Server Host : abc.example.com 
      HTTP Console Port : 27832 
      HTTPS Console Port : 25446 
      HTTP Upload Port : 27684 
      HTTPS Upload Port : 24503 
      EM Instance Home : /u01/oracle/work/em/EMGC_OMS1 
      OMS Log Directory Location : /u01/oracle/work/em/EMGC_OMS1/sysman/log 
      OMS is not configured with SLB or virtual hostname 
      Agent Upload is locked. 
      OMS Console is unlocked. 
      Active CA ID: 1 
      Console URL: https://abc.example.com:25446/em 
      Upload URL: https://abc.example.com:24503/empbs/upload
      
      WLS Domain Information 
      Domain Name : EMGC_DOMAIN 
      Admin Server Host : abc.example.com 
      Admin Server HTTPS Port: 27052 
      Admin Server is RUNNING
      
      Oracle Management Server Information 
      Managed Server Instance Name: EMGC_OMS1 
      Oracle Management Server Instance Host: abc.example.com 
      WebTier is Up 
      Oracle Management Server is Up 
      JVMD Engine is Up
    2. Navigate to the Management Agent home and run the following command to see a message that confirms that the Management Agent is up and running.

      $<AGENT_HOME>/bin/emctl status agent

    3. Navigate to the Management Agent home and run the following command to see a message that confirms that EMD upload completed successfully.

      $<AGENT_HOME>/bin/emctl upload agent

    Note:

    By default, you can access Enterprise Manager Cloud Control only using the HTTPS protocol. If you want to use the HTTP protocol, then unlock it by running the following command from the Oracle home of the OMS:

    emctl secure unlock -console

  3. Verify if all the plug-ins were installed successfully. To do so, access the following log file from the Management Agent home, and make sure the sentence WARN:Plugin configuration has failed is not present in the file. If the sentence is not present, it is an indication that all plug-ins were installed successfully.

    $<AGENT_INSTANCE_HOME>/install/logs/agentplugindeploy_<timestamp>.log

    For example,

    /u01/software/em13c/agentbasedir/agent_13.5.0.0.0/cfgtoollogs/cfgfw/CfmLogger-<timestamp>.log

    If you find the sentence, then it is an indication that the plug-in installed failed for some plug-ins. In this case, resolve the issue by running the AgentPluginDeploy.pl script from the Management Agent home.

    $<AGENT_HOME>/perl/bin/perl <AGENT_HOME>/bin/AgentPluginDeploy.pl -oracleHome <AGENT_HOME> -agentDir <AGENT_BASE_DIR> -pluginIdsInfoFile <AGENT_BASE_DIR>/plugins.txt -action configure -emStateDir <AGENT_INSTANCE_HOME>

    For example,

    /u01/software/em13c/agentbasedir/agent_13.5.0.0.0/perl/bin/perl /u01/software/em13c/agentbasedir/agent_13.5.0.0.0/bin/AgentPluginDeploy.pl -oracleHome /u01/software/em13c/agentbasedir/agent_13.5.0.0.0/ -agentDir /u01/software/em13c/agentbasedir -pluginIdsInfoFile /u01/software/em13c/agentbasedir/plugins.txt -action configure -emStateDir /u01/agent/agent_inst

  4. (Optional) If the repository prerequisites had failed, and if you had manually run the EM Prerequisite Kit and taken corrective actions to meet the repository requirements, then run the kit again to reset the repository settings to what it had originally. To do so, run the EM Prerequisite Kit from the Oracle home of the OMS host (that is, the middleware home).

    <ORACLE_HOME>/install/requisites/bin/emprereqkit executionType=install prerequisiteXMLRootDir=<prereq_xmlrootdir_location> connectString="<connect_string>" dbUser=SYS dbPassword=password reposUser=sysman dbRole=sysdba runPrerequisites=true runPostCorrectiveActions=true

    Note:

    If you had run the installation wizard and let the installation wizard take corrective actions to correct the repository settings, and if you had exited the wizard without completing the installation process, then remember that the repository settings might not reset to their original values because you abruptly ended the installation. In this case, before invoking the installation wizard again, run the aforementioned command to manually reset the values.

  5. By default, the following targets get automatically discovered and monitored in the Enterprise Manager Cloud Control Console:
    • Oracle WebLogic Domain (for example, GCDomain)

    • Oracle WebLogic AdminServer

    • Oracle WebLogic Server

    • Oracle Web Tier

    • Application deployments, one for the Enterprise Manager Cloud Control console and one for the platform background services.

    • Oracle Management Service

    • Oracle Management Repository

    • Oracle Management Agent

    • The host on which you installed Enterprise Manager Cloud Control

    However, the other targets running on that host and other hosts do not get automatically discovered and monitored. To monitor the other targets, you need to add them to Enterprise Manager Cloud Control either using the Auto Discovery Results page, the Add Targets Manually page, or the discovery wizards offered for the targets you want to monitor.

    For information about discovering targets in Enterprise Manager Cloud Control, see Discovering and Adding Host and Non-Host Targets in the Oracle Enterprise Manager Cloud Control Administrator's Guide.

  6. If you installed on an NFS-mounted drive and created the OMS instance base directory (gc_inst) on that NFS-mounted drive, then move the lock files from the NFS-mounted drive to a local file system location. To do so, modify the lock files location in the httpd.conf file to map to a location on a local file system.
    1. Stop the OMS:

      <ORACLE_HOME>/bin/emctl stop oms

    2. Open the following file in the staging directory:

      Note:

      Oracle recommends you to take a backup of this file before editing it.

      <WEBTIER_INSTANCE_HOME>/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/ohs<#>/httpd.conf

      For example,

      /u01/software/em13c/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/ohs1/httpd.conf

    3. Search for sections related to the modules mpm_prefork_module and mpm_worker_module. In both these sections, modify the value for the Mutex sysvsem parameter so that the path leads to a location on the local file system. If the directory does not already exist, then create it first, and then provide the path to that directory.
      <IfModule mpm_prefork_module>
      StartServers 5
      MinSpareServers 5
      MaxSpareServers 10
      MaxRequestWorkers 250       
      MaxConnectionsPerChild 0
      Mutex sysvsem:/u01/em/ohs_locks/http_lock
      </IfModule>
      ....
      <IfModule mpm_worker_module>
      StartServers 3
      MinSpareThreads 75             
      MaxSpareThreads 250            
      ThreadsPerChild 25             
      MaxRequestWorkers 400            
      MaxConnectionsPerChild 0
      Mutex sysvsem:/u01/em/ohs_locks/http_lock
      </IfModule>
      
    4. Save the changes.
    5. Copy the httpd.conf file from the staging directory to the runtime directory:

      cp <WEBTIER_INSTANCE_HOME>/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/ohs<#>/httpd.conf <WEBTIER_INSTANCE_HOME>/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/instances/ohs<#>/httpd.conf

      For example,

      cp /u01/software/em13c/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/ohs1/httpd.conf /u01/software/em13c/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/instances/ohs1/httpd.conf

    6. Start the OMS:

      <ORACLE_HOME>/bin/emctl start oms

  7. Configure your proxy as described in Configuring Proxies for OMS and Management Agent Communication in the Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide.
  8. (Optional) If you want to change the SYSMAN password, then shut down the OMS, run the following command from the Oracle home of the OMS, and then start the OMS. You will be prompted to enter the old and the new password.

    <ORACLE_HOME>/bin/emctl config oms -change_repos_pwd

    Note:

    This command concurrently changes the passwords in both the OMS configuration and the database for these affected user accounts. Therefore, it is sufficient to run this command just once.

    After running the command, do not connect to SQL Plus and update the new password for the SYSMAN user. The command updates the SYSMAN password in the Management Repository for you.

  9. An encryption key is generated to encrypt sensitive data in the Management Repository. If this key is lost, all encrypted data in the Management Repository become unusable. Therefore, back up the Management Service configuration including the emkey, and maintain the backup on another host.

    To back up the Management Service configuration including the emkey, run the following command:

    <ORACLE_HOME>/bin/emctl exportconfig oms -dir <path_to_backup_location>

  10. Before accessing the Enterprise Manager Cloud Control Console in a browser, install a security certificate from a trusted certification authority on the browser.

    This is to ensure that the Enterprise Manager Cloud Control Console that you are accessing over HTTPS protocol is recognized as a genuine and secure Web site.

    For instructions to install a security certificate on your browser and avoid security certificate alerts, see EMCTL Secure Commands in the Oracle Enterprise Manager Cloud Control Administrator's Guide.

  11. After installing Enterprise Manager Cloud Control 13c Release 5, you can configure OMS high availability using a Server Load Balancer (SLB). For details, see My Oracle Support Doc ID 2616062.1.
    If you are using F5 Server Load Balancer, refer to Oracle White Paper Configuring OMS High Availability with F5 BIG-IP Local Traffic Manager .