# OL 5.x only Rpm Uvh glibc-devel.i686 Rpm Uvh setarch Rpm Uvh rng-utils-2* Rpm Uvh libXtst-1* Rpm Uvh xorg-x11-utils
After the database installation, deconfigure Enterprise Manager Database Control. Run the following command as the "oracle" user
# emca -deconfig dbcontrol db -repos drop -SYS_PWD <sys pasword> -SYSMAN_PWD <sysman password>
Make the following initialization parameter changes and restart the instance.
# sqlplus / AS SYSDBA # ALTER SYSTEM SET processes=300 SCOPE=SPFILE; # ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE; # ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE; # ALTER SYSTEM SET shared_pool_size=600M SCOPE=SPFILE; # ALTER SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE; # ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;
May be required if using older versions of DB.
# ALTER SYSTEM SET log_buffer=10485760 SCOPE=SPFILE; # ALTER SYSTEM SET open_cursors=300 SCOPE=SPFILE;
Restart the instance.
# SHUTDOWN IMMEDIATE # STARTUP
For Cloud Control 12c Installation, make the following directories
After executing ./runInstaller command, Installation screen will occur write your email address or click next to proceed further
Click on Skip and then Click on next button
Succeeded status show all the prerequisite checks are accurate, click next to proceed
Select create a new EM and simple
Write hostname, directory location
Write the administrator password and database connection details
Click yes on disable the stats gathering job
View the installation review and click next
After viewing the installation process, now installation is going on
In between the installation a popup screen will appear in which you will ask to run configuration script
After completing the installation, final screen will appear showing the url of 12c enterprise manager console
logon to the url of 12c EM, login with sysman username & password
Startup/Shutdown Process
After installing Oracle 12c EM use the following commands for startup process # export ORACLE_HOME=/u/app/oracle/product/11.2.0/db_1 # export OMS_HOME=/u/app/oracle/oms12cr2/oms # export AGENT_HOME=/u/app/oracle/agent12cr2/core/12.1.0.2.0 # $ORACLE_HOME/bin/dbstart $ORACLE_HOME # $OMS_HOME/bin/emctl start oms # $AGENT_HOME/bin/emctl start agent
Steps are same as Configuring Target Database Agent Deployment
Add the host name of target machine in server machine in etc/hosts file
Add the host name of server machine in target machine in etc/hosts file
Add the Oracle user in target machine in /etc/sudoers file
Remark default requiretty option in /etc/sudoers file
Visiblepw option is set in the /etc/sudoers file
Give chmod 440 permission to /etc/sudoers
Give chomod 4775 permission to /usr/bin/sudo
Reboot the target machine
Go to server machine and and edit the /u1/app/oracle/oms12cr2/oms/sysman/prov/agentpush.properties file and set the value of oracle.sysmanprov.agentpush.enablePty to true
Now login to EM 12c https://132.147.157.41:7803/em and connect with sysman user
Configure and Add Target Host
Go to setup Add targets Add targets manually
Select Add Host Targets and click on Add Host
Click add, enter the host name and choose platform and then click next
Make a directory named agent in u drive
Enter directory details in installation details, then click next Review the details and click deploy agent