10.2.0.1.1 Start and Stop Grid Control

Source: Internet
Author: User
1. Stopping grid control and all its components
1. stop the OMS service [[email protected] oms10g] $ CD/u01/APP/Oracle/oraclehomes/oms10g/bin/[[email protected] bin] $. /emctl stop omsoracle Enterprise Manager 10g Release 10.2.0.1.0 copyright (c) 1996,200 5 Oracle Corporation. all rights reserved. oracle Management Server is down. [[email protected] bin] $2. stop Application Server control console [[email protected] bin] $. /emctl stop iasconsoleoracle Enterprise Manager 10g Release 10.2.0.1.0 copyright (c) 1996,200 5 Oracle Corporation. all rights reserved.
Stopping Oracle 10g Application Server Control ...... stopped. [[email protected] bin] $3. switch the directory to OPMN and stop application server components [[email protected] oms10g] $ cd opmn/[[email protected] OPMN] $ CD bin/[[email protected] bin] $ pwd /u01/APP/Oracle/oraclehomes/oms10g/OPMN/bin [[email protected] bin] $. /opmnctl stopallopmnctl: Stopping OPMN and all managed processes... [[email protected] bin] $4. switch directory and stop agent
[[Email protected] bin] $ PWD/u01/APP/Oracle/oraclehomes/agent10g/bin [[email protected] bin] $. /emctl stop agentoracle Enterprise Manager 10g Release 10.2.0.1.0. copyright (c) 1996,200 5 Oracle Corporation. all rights reserved. stopping agent... stopped. [[email protected] bin] $5. stop the repository database [[email protected] bin] $ sqlplus "/As sysdba"
SQL * Plus: Release 10.2.0.2.0-production on TUE Jul 22 18:15:48 2014
Copyright (c) 1982,200 5, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0-productionwith the partitioning, Oracle Label Security, OLAP and Data Mining options
[Email protected]> shutdown immediatedatabase closed. database dismounted. oracle instance shut down. [email protected]> exitdisconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0-productionwith the partitioning, Oracle Label Security, OLAP and Data Mining options [[email protected] bin] $6. stop the repository Database Listener [[email protected] bin] $ LSNRCTL stop
LSNRCTL for Linux: Version 10.2.0.2.0-production on 22-jul-2014 18:17:53
Copyright (c) 1991,200 5, Oracle. All rights reserved.
Connecting to (description = (address = (Protocol = TCP) (host = ocm2.localdomain) (Port = 1521) The command completed successfully [[email protected] bin] $ stop the end


2. starting grid control and all its components
1. Start the listener and database corresponding to the repository database (note Sid) [[email protected] bin] $ LSNRCTL start
LSNRCTL for Linux: Version 10.2.0.2.0-production on 22-jul-2014 18:20:06
Copyright (c) 1991,200 5, Oracle. All rights reserved.
Starting/u01/APP/Oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...
Tnslsnr for Linux: Version 10.2.0.2.0-productionsystem parameter file is/u01/APP/Oracle/product/10.2.0/db_1/Network/admin/listener. oralog messages written to/u01/APP/Oracle/product/10.2.0/db_1/Network/log/listener. loglistening on: (description = (address = (Protocol = TCP) (host = ocm2.localdomain) (Port = 1521) listening on: (description = (address = (Protocol = IPC) (Key = extproc0 )))
Connecting to (description = (address = (Protocol = TCP) (host = ocm2.localdomain) (Port = 1521) Status of the listener -------------------- alias listenerversion tnslsnr for Linux: version 10.2.0.2.0-productionstart date 22-jul-2014 18: 20: 06 uptime 0 days 0 HR. 0 min. 0 sectrace level offsecurity on: Local OS authenticationsnmp offlistener parameter file/u01/APP/Oracle/product/10.2.0/db_1/Network/admin/listener. oralistener log file/u01/APP/Oracle/product/10.2.0/db_1/Network/log/listener. loglistening endpoints summary... (description = (address = (Protocol = TCP) (host = ocm2.localdomain) (Port = 1521) (description = (address = (Protocol = IPC) (Key = extproc0) Services summary... service "plsextproc" has 1 instance (s ). instance "plsextproc", status unknown, has 1 handler (s) for this service... the command completed successfully [[email protected] bin] $ sqlplus "/As sysdba"
SQL * Plus: Release 10.2.0.2.0-production on TUE Jul 22 18:20:30 2014
Copyright (c) 1982,200 5, Oracle. All rights reserved.
Connected to an idle instance.
[Email protected]> startuporacle instance started.
Total system global area 285212672 bytesfixed size 1260420 bytesvariable size 125830268 bytesdatabase buffers 155189248 bytesredo buffers 2932736 bytesdatabase mounted. database opened. [email protected]> exitdisconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0-productionwith the partitioning, Oracle Label Security, OLAP and Data Mining options [[email protected] bin] $2. switch the path and start OMS [[email protected] bin] $ CD/u01/APP/Oracle/oraclehomes/oms10g/bin/[[email protected] bin] $ PWD/u01/APP /Oracle/oraclehomes/oms10g/bin [[email protected] bin] $. /emctl start omsoracle Enterprise Manager 10g Release 10.2.0.1.0 copyright (c) 1996,200 5 Oracle Corporation. all rights reserved. opmnctl: OPMN startedstarting HTTP server... starting Oracle management server... checking Oracle management server status... oracle Management Server is up. [[email protected] bin] $3. start oracleas Web Cache [[email protected] bin] $ PWD/u01/APP/Oracle/oraclehomes/oms10g/OPMN/bin [[email protected] bin] $. /opmnctl status
Processes in instance: enterprisemanager0.ocm2. localdomain alias + -------------------- + --------- IAS-component | process-type | PID | status indication + -------------------- + --------- DSA | N/A | down http_server | 17072 | alive logloader | logloaderd | N/A | down DCM-daemon | 17039 | alive productname | home | N/A | down productname | oc4j_emprov | N/A | down productname | oc4j_em | 17116 | alive webcache | N/A | down webcache | webcacheadmin | N/A | down
[[Email protected] bin] $./opmnctl startproc IAS-Component = webcacheopmnctl: Starting OPMN managed processes... [[email protected] bin] $./opmnctl status
Processes in instance: enterprisemanager0.ocm2. localdomain alias + -------------------- + --------- IAS-component | process-type | PID | status indication + -------------------- + --------- DSA | N/A | down http_server | 17072 | alive logloader | logloaderd | N/A | down DCM-daemon | 17039 | alive productname | home | N/A | down productname | oc4j_emprov | N/A | down productname | oc4j_em | 17116 | alive webcache | 17205 | AliveWebcache | webcacheadmin | 17197 | Alive
[[Email protected] bin] $4. Switch the path and start the agent
[[Email protected] bin] $ PWD/u01/APP/Oracle/oraclehomes/agent10g/bin [[email protected] bin] $. /emctl start agentoracle Enterprise Manager 10g Release 10.2.0.1.0. copyright (c) 1996,200 5 Oracle Corporation. all rights reserved. starting agent ..... started. [[email protected] bin] $ finally confirm that IAS-component has all started [[email protected] bin] $ CD/u01/APP/Oracle/oraclehomes/oms10g/OPMN/bin/ [[email protected] bin] $. /opmnctl status
Processes in instance: enterprisemanager0.ocm2. localdomain alias + -------------------- + --------- IAS-component | process-type | PID | status indication + -------------------- + --------- DSA | N/A | down http_server | 17072 | alive logloader | logloaderd | N/A | down DCM-daemon | 17039 | alive productname | home | N/A | down productname | oc4j_emprov | N/A | down productname | oc4j_em | 17116 | alive webcache | 17205 | alive webcache | webcacheadmin | 17197 | alive
[[Email protected] bin] $. /opmnctl startproc IAS-Component = dsaopmnctl: Starting OPMN managed processes... [[email protected] bin] $. /opmnctl startproc IAS-Component = logloaderopmnctl: Starting OPMN managed processes... [[email protected] bin] $. /opmnctl startproc IAS-Component = oc4jopmnctl: Starting OPMN managed processes... [[email protected] bin] $. /opmnctl status
Processes in instance: enterprisemanager0.ocm2. localdomain alias + -------------------- + --------- IAS-component | process-type | PID | status indication + ---------------------- + --------- DSA | 18173 | alive http_server | 17072 | logloader | logloaderd | 18197 | alive DCM-daemon | 17039 | alive productname | home | 18326 | alive productname | oc4j_emprov | 18324 | alive productname | oc4j_em | 17116 | alive webcache | webcache | 17205 | alive webcache | webcacheadmin | 17197 | alive
[[Email protected] bin] $









Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.