Monday, September 17, 2012

Fresh Install OEM12C on Linux X86-64 (OEL 6.2)

Fresh Install OEM12C on Linux X86-64 (OEL 6.2)

12C OMS Certification Matrix




 12C OMS Certification Matrix

 Requirements:

Pre-Installation Tasks

1. Do not install Weblogic before installing in OEM12C. For OEM11g this is PRE-REQ.
However from OEM12C the weblogic binaries are bundled along with the installer and the installation automatically installs from the binaries.

If you install weblogic before the installation you will get the below error:

WLSTException: "Error occured while performing nmConnect : Cannot connect to Node Manager.Access to domain '<domain name>' for user 'weblogic' denied Use dumpStack() to view the full stacktrace"

The node manager port 7403 will be busy causing this error. Workaround would be to stop the existing instance of weblogic or reconfigure the existing weblogic to use a different set of ports.

2. Install database & examples

 DB Home Installation:


















DB Examples installation: 





Creating Database:

























Creating listener












3. Perform Post DB Install steps.
    a. remove the db console using 
emca -deconfig dbcontrol db -repos drop -SYS_PWD <sys password> -SYSMAN_PWD <sysman password>
     b. Ensure the Processes are 300 or above
Alter system set processes=300 scope=SPFILE;
     c. Ensure the session_cached_cursors parameter is 200 or above
alter system set session_cached_cursors=200 scope=SPFILE;
     d. Set the below db parameters
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;






OEM Istallation
   Install OEM application 



Ignore the warning for glibc i386 (This looks like a bug in installer.)
















 Post installation steps
  1. Login and add hosts
  2. Perform Agent Installation
  3. Create startup and shutdown scripts

Startup Script

#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
export OMS_HOME=/u01/app/oracle/Middleware/oms
export AGENT_HOME=/u01/app/oracle/Middleware/agent/core/12.1.0.1.0
# Start everything
$ORACLE_HOME/bin/dbstart $ORACLE_HOME
$OMS_HOME/bin/emctl start oms
$AGENT_HOME/bin/emctl start agent

Stop Script
#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
export OMS_HOME=/u01/app/oracle/Middleware/oms
export AGENT_HOME=/u01/app/oracle/Middleware/agent/core/12.1.0.1.0
# Stop everything
$OMS_HOME/bin/emctl stop oms -all
$AGENT_HOME/bin/emctl stop agent
$ORACLE_HOME/bin/dbshut $ORACLE_HOME


No comments:

Post a Comment

Please feel free to post your queries here