After you have installed OEM Cloud Control 13c, you should know how to start and stop the OEM
components. Here I will explain the sequence of starting and stopping OEM 13c
components and same steps could be used for starting and stopping OEM cloud
control 12c. For this example, my $ORACLE_HOME (OEM repository database home)
is /u01/app/oracle/product/12.1.0/db, $OMS_HOME is /u01/software/em/middleware,
and $AGENT_HOME is
/u01/software/em/agent/agent_13.1.0.0.0
Starting OEM 13c Components
/u01/software/em/agent/agent_13.1.0.0.0
Starting OEM 13c Components
1)
Start the listener.
Start the listener.
[oracle@salman11 ~]$ $ORACLE_HOME/bin/lsnrctl
start
LSNRCTL for Linux: Version 12.1.0.2.0 - Production
on 02-JUN-2016 16:44:07
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Starting
/u01/app/oracle/product/12.1.0/db/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 12.1.0.2.0 - Production
System parameter file is
/u01/app/oracle/product/12.1.0/db/network/admin/listener.ora
Log messages written to
/u01/app/oracle/diag/tnslsnr/salman11/listener/alert/log.xml
Listening on:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=salman11.salman.com)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=salman11.asalman.com)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 12.1.0.2.0 -
Production
Start Date 02-JUN-2016 16:44:07
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File
/u01/app/oracle/product/12.1.0/db/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/salman11/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=salman11.salman.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
|
2)
Start the repository database.
[oracle@salman11 ~]$ $ORACLE_HOME/bin/sqlplus
/nolog
SQL*Plus: Release 12.1.0.2.0 Production on Thu Jun
2 16:48:18 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
SQL> conn sys as sysdba
Enter password:
Connected to an idle instance.
SQL>startup
ORACLE instance started.
Total System Global Area 3003121664 bytes
Fixed Size 2928920 bytes
Variable Size 771755752 bytes
Database Buffers 2214592512 bytes
Redo Buffers 13844480 bytes
Database mounted.
Database opened.
|
3) Start the OMS
[oracle@salman11 ~]$ $OMS_HOME/bin/emctl start oms
Oracle Enterprise Manager Cloud Control 13c
Release 1
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Starting Oracle Management Server...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up
JVMD Engine is Up
Starting BI Publisher Server ...
BI Publisher Server Successfully Started
BI Publisher Server is Up
|
4) Start the agent
[oracle@salman11 ~]$ $AGENT_HOME/bin/emctl start
agent
Oracle Enterprise Manager Cloud Control 13c
Release 1
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Starting agent
.................................................started.
|
Stoping OEM 13c Components
1)
Stop the OMS
Stop the OMS
[oracle@salman11 ~]$ $OMS_HOME/bin/emctl stop oms
-all
Oracle Enterprise Manager Cloud Control 13c
Release 1
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Stopping Oracle Management Server...
WebTier Successfully Stopped
Oracle Management Server Successfully Stopped
Oracle Management Server is Down
JVMD Engine is Down
Stopping BI Publisher Server...
BI Publisher Server Successfully Stopped
AdminServer Successfully Stopped
BI Publisher Server is Down
|
2)
Stop the agent.
[oracle@salman11 ~]$ $AGENT_HOME/bin/emctl stop
agent
Oracle Enterprise Manager Cloud Control 13c
Release 1
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Stopping agent ... stopped.
|
3) Stop repository database
[oracle@salman11 ~]$ $ORACLE_HOME/bin/sqlplus
/nolog
SQL*Plus: Release 12.1.0.2.0 Production on Thu Jun
2 16:41:31 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
SQL> conn sys as sysdba
Enter password:
Connected.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
|
4) Stop the listener
[oracle@salman11 ~]$ $ORACLE_HOME/bin/lsnrctl stop
LSNRCTL for Linux: Version 12.1.0.2.0 - Production
on 02-JUN-2016 16:43:15
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=salman11.salman.com)(PORT=1521))
|
Related Documents
No comments:
Post a Comment