设为首页 加入收藏

TOP

10.2.0.1.1gridcontrol的启动和关闭(一)
2015-07-24 11:55:07 来源: 作者: 【 】 浏览:9
Tags:10.2.0.1.1gridcontrol 启动 关闭
一、Stopping Grid Control and All Its Components

1.停止OMS服务 [oracle@ocm2 oms10g]$ cd /u01/app/oracle/OracleHomes/oms10g/bin/ [oracle@ocm2 bin]$ ./emctl stop oms Oracle Enterprise Manager 10g Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. Oracle Management Server is Down. [oracle@ocm2 bin]$
2.停止Application Server Control Console [oracle@ocm2 bin]$ ./emctl stop iasconsole Oracle Enterprise Manager 10g Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Stopping Oracle 10g Application Server Control ... ... Stopped. [oracle@ocm2 bin]$
3.切换目录至OPMN并停止Application Server components [oracle@ocm2 oms10g]$ cd opmn/ [oracle@ocm2 opmn]$ cd bin/ [oracle@ocm2 bin]$ pwd /u01/app/oracle/OracleHomes/oms10g/opmn/bin [oracle@ocm2 bin]$ ./opmnctl stopall opmnctl: stopping opmn and all managed processes... [oracle@ocm2 bin]$
4.切换目录并停止agent
[oracle@ocm2 bin]$ pwd /u01/app/oracle/OracleHomes/agent10g/bin [oracle@ocm2 bin]$ ./emctl stop agent Oracle Enterprise Manager 10g Release 10.2.0.1.0. Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. Stopping agent ... stopped. [oracle@ocm2 bin]$
5.停止Repository 数据库 [oracle@ocm2 bin]$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Jul 22 18:15:48 2014
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production With the Partitioning, Oracle Label Security, OLAP and Data Mining options
SYS@EMREP> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. SYS@EMREP> exit Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production With the Partitioning, Oracle Label Security, OLAP and Data Mining options [oracle@ocm2 bin]$
6.停止Repository数据库监听程序 [oracle@ocm2 bin]$ lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.2.0 - Production on 22-JUL-2014 18:17:53
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ocm2.localdomain)(PORT=1521))) The command completed successfully [oracle@ocm2 bin]$
停止结束

二、Starting Grid Control and All Its Components

1.启动Repository数据库对应的监听程序和数据库(注意SID) [oracle@ocm2 bin]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.2.0 - Production on 22-JUL-2014 18:20:06
Copyright (c) 1991, 2005, 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 - Production System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log Listening 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 LISTENER Version TNSLSNR for Linux: Version 10.2.0.2.0 - Production Start Date 22-JUL-2014 18:20:06 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/10.2.0/db_1/network/admin/listener.ora Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listene
首页 上一页 1 2 3 下一页 尾页 1/3/3
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇bufferpool和sharedpool详解(之.. 下一篇android开发,http工具类

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·Announcing October (2025-12-24 15:18:16)
·MySQL有什么推荐的学 (2025-12-24 15:18:13)
·到底应该用MySQL还是 (2025-12-24 15:18:11)
·进入Linux世界大门的 (2025-12-24 14:51:47)
·Download Linux | Li (2025-12-24 14:51:44)