OEM OVERVIEW:

Oracle Enterprise Manager is management tool, which is used for integrated solution for managing your heterogeneous environment.

It Includes, Graphical console, Agents, Common Services and Tools to provide an integrated, comprehensive systems management platform for managing Oracle products.

 

Create a database with advanced option preferably with 1 GB size of pga_aggregate_target, sga_target and with character set of AL32UTF8, we need to set the following parameters and bounce the database

SQL> alter system set “_allow_insert_with_update_check”=true scope=both;

SQL> alter system set session_cached_cursors=200 scope=spfile;

SQL> alter system set shared_pool_size=600M scope=spfile;

SQL> alter system set processes=600 scope=spfile;

 

Download the required softwares move it to the desired directory

Create the middleware and agent directory, but it has to contain 35 GB of free space to install OEM successfully.

$ mkdir -p /home/oracle/oem/middleware

$ mkdir -p /home/oracle/oem/agent

 

Set the env file variables

ORACLE_BASE=/u01/app/oracle

UNIX_GROUP_NAME=oinstall

ORA_INVENTORY=/u01/app/oraInventory

MW_HOME=/home/oracle/oem/middleware

ORACLE_HOSTNAME=provide_your_name

AGENT_BASE=/home/oracle/oem/agent

WLS_USERNAME=weblogic

WLS_PASSWORD=Welcome1

GC_INST=/home/oracle/oem/gc_inst

SOFTWARE_LIBRARY=$/home/oracle/oem/swlib

DATABASE_HOSTNAME=oem.doyensys.com

LISTENER_PORT=1522

PDB_NAME=oemspark

SYS_PASSWORD=oracle

AGENT_PASSWORD=${WLS_PASSWORD}

ORACLE_SID=oemspark

DATA_DIR=/u01/app/oracle/oradata

OMS_HOME=${MW_HOME}

SYSMAN_PASSWORD=${WLS_PASSWORD}

SOFTWARE_DIR=/u01/app

 

Create a response file for the installation process in the /tmp directory with the file name install.rsp.

RESPONSEFILE_VERSION=2.2.1.0.0

UNIX_GROUP_NAME=oinstall

INVENTORY_LOCATION=/u01/app/oraInventory

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

DECLINE_SECURITY_UPDATES=true

INSTALL_UPDATES_SELECTION=skip

ORACLE_MIDDLEWARE_HOME_LOCATION=/home/oracle/oem/middleware

ORACLE_HOSTNAME=provide_your_hostname

AGENT_BASE_DIR=/home/oracle/oem/agent

WLS_ADMIN_SERVER_USERNAME=weblogic

WLS_ADMIN_SERVER_PASSWORD=Welcome1

WLS_ADMIN_SERVER_CONFIRM_PASSWORD=Welcome1

NODE_MANAGER_PASSWORD=Welcome1

NODE_MANAGER_CONFIRM_PASSWORD=Welcome1

ORACLE_INSTANCE_HOME_LOCATION=/home/oracle/oem/gc_inst

CONFIGURE_ORACLE_SOFTWARE_LIBRARY=true

SOFTWARE_LIBRARY_LOCATION=$/home/oracle/oem/swlib

DATABASE_HOSTNAME=provide_your_hostname

LISTENER_PORT=1522

SERVICENAME_OR_SID=oemspark

SYS_PASSWORD=oracle

SYSMAN_PASSWORD=Welcome1

SYSMAN_CONFIRM_PASSWORD=Welcome1

DEPLOYMENT_SIZE=SMALL

AGENT_REGISTRATION_PASSWORD=Welcome1

AGENT_REGISTRATION_CONFIRM_PASSWORD=Welcome1

PLUGIN_SELECTION={}

b_upgrade=false

EM_INSTALL_TYPE=NOSEED

CONFIGURATION_TYPE=LATER

CONFIGURE_SHARED_LOCATION_BIP=false

MANAGEMENT_TABLESPACE_LOCATION=/u01/app/oracle/oradata/OEMSPARK/mgmt.dbf

CONFIGURATION_DATA_TABLESPACE_LOCATION=/u01/app/oracle/oradata/OEMSPARK/mgmt_ecm_depot1.dbf

JVM_DIAGNOSTICS_TABLESPACE_LOCATION=/u01/app/oracle/oradata/OEMSPARK/mgmt_deepdive.dbf

 

Start the silent software-only installation by running the em13500_linux64.bin file and unset the CLASSPATH.

unset CLASSPATH

${SOFTWARE_DIR}/em13500_linux64.bin -silent -responseFile /tmp/install.rsp

Once the installation completes, run the root scripts as the root user.

 Create a response file for the configuration process.

RESPONSEFILE_VERSION=2.2.1.0.0

UNIX_GROUP_NAME=oinstall

INVENTORY_LOCATION=/u01/app/oraInventory

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

DECLINE_SECURITY_UPDATES=true

INSTALL_UPDATES_SELECTION=skip

ORACLE_MIDDLEWARE_HOME_LOCATION=/home/oracle/oem/middleware

ORACLE_HOSTNAME=provide_your_hostname

AGENT_BASE_DIR=/home/oracle/oem/agent

WLS_ADMIN_SERVER_USERNAME=weblogic

WLS_ADMIN_SERVER_PASSWORD=Welcome1

WLS_ADMIN_SERVER_CONFIRM_PASSWORD=Welcome1

NODE_MANAGER_PASSWORD=Welcome1

NODE_MANAGER_CONFIRM_PASSWORD=Welcome1

ORACLE_INSTANCE_HOME_LOCATION=/home/oracle/oem/gc_inst

CONFIGURE_ORACLE_SOFTWARE_LIBRARY=true

SOFTWARE_LIBRARY_LOCATION=/home/oracle/oem/swlib

DATABASE_HOSTNAME=provide_your_hostname

LISTENER_PORT=1522

SERVICENAME_OR_SID=oemspark

SYS_PASSWORD=oracle

SYSMAN_PASSWORD=Welcome1

SYSMAN_CONFIRM_PASSWORD=Welcome1

DEPLOYMENT_SIZE=SMALL

AGENT_REGISTRATION_PASSWORD=Welcome1

AGENT_REGISTRATION_CONFIRM_PASSWORD=Welcome1

PLUGIN_SELECTION={}

b_upgrade=false

EM_INSTALL_TYPE=NOSEED

CONFIGURATION_TYPE=ADVANCED

CONFIGURE_SHARED_LOCATION_BIP=false

MANAGEMENT_TABLESPACE_LOCATION=/u01/app/oracle/oradata/OEMSPARK/mgmt.dbf

CONFIGURATION_DATA_TABLESPACE_LOCATION=/u01/app/oracle/oradata/OEMSPARK/mgmt_ecm_depot1.dbf

JVM_DIAGNOSTICS_TABLESPACE_LOCATION=/u01/app/oracle/oradata/OEMSPARK/mgmt_deepdive.dbf

 

Run the configuration using the response file we created in the above step, with the CLASSPATH unset.

Note: This might take couple of hours(5) to complete.

unset CLASSPATH

${MW_HOME}/sysman/install/ConfigureGC.sh -silent -responseFile /tmp/config.rsp

Once the installation completes, run the root scripts as the root user.

AgentConfiguration:agent configuration finished with status = true

2023-08-29_10-39-07PM: Configuration Assistant “Agent Configuration Assistant” has Succeeded.

*** The Installation was Successful. ***

 

Start the oracle management server.

 

OEM login URL is https://provide_your_hostname:7803/em

Recent Posts

Start typing and press Enter to search