Thursday, 29 May 2008

10g GRID CONTROL ENTERPRISE MANAGER INSTALLATION.

Set the env for oracle user.

1. Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.1.0/oms; export ORACLE_HOME
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:/opt/IBMJava2-131/bin:$ORACLE_HOME/bin:$PATH; export PATH
PATH=$PATH:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin; export PATH
PATH=$PATH:$ORACLE_HOME/Apache/Apache/bin; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

2. DISPLAY=:0.0; export DISPLAY

3. ./runInstaller

4. The installation will automatically install an agent in the agent home.

5. Agent installation on another node to connect with this 10g enterprise manager.

6. start and stop services.

To stop all the Grid Control components on a host, follow these steps:

Stop the OMS.

$PROMPT> $ORACLE_HOME/bin/emctl stop oms

Stop the Application Server Control Console, which is used to manage the Oracle Application Server instance used to deploy the Management Service.

$PROMPT> $ORACLE_HOME/bin/emctl stop iasconsole

Stop all the application server components, such as Oracle HTTP Server, OracleAS Web Cache.

$PROMPT> $ORACLE_HOME/opmn/bin/opmnctl stopall

Wait for four to five minutes to ensure that all the OPMN processes are stopped and TCP ports are released.

Change directory to the home directory for the Oracle Management Agent and stop the Management Agent.

$PROMPT> AGENT_HOME/bin/emctl stop agent
----------------------------------------------------------------------------------

To start all the Grid Control components on a host, follow these steps:

$PROMPT> $ORACLE_HOME/bin/emctl start oms

$PROMPT> $ORACLE_HOME/bin/emctl start iasconsole

$PROMPT> $ORACLE_HOME/opmn/bin/opmnctl startall

$PROMPT> AGENT_HOME/bin/emctl start agent

-------------------------------------------------------------------------------------

No comments: