10.2.0.1.1 grid control的启动和关闭

一、Stopping Grid Control and All Its Components


1.停止OMS服务

[[email protected] oms10g]$ cd /u01/app/oracle/OracleHomes/oms10g/bin/

[[email protected] 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.

[[email protected] bin]$


2.停止Application Server Control Console

[[email protected] 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.

[[email protected] bin]$


3.切换目录至OPMN并停止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 stopall

opmnctl: stopping opmn and all managed processes...

[[email protected] bin]$


4.切换目录并停止agent

[[email protected] bin]$ pwd

/u01/app/oracle/OracleHomes/agent10g/bin

[[email protected] 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.

[[email protected] bin]$


5.停止Repository数据库

[[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, 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

[email protected]> shutdown immediate

Database closed.

Database dismounted.

ORACLE instance shut down.

[email protected]> 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

[[email protected] bin]$


6.停止Repository数据库监听程序

[[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, 2005, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ocm2.localdomain)(PORT=1521)))

The command completed successfully

[[email protected] bin]$


停止结束

二、Starting Grid Control and All Its Components


1.启动Repository数据库对应的监听程序和数据库(注意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, 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/listener.log

Listening 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, 2005, Oracle.  All Rights Reserved.

Connected to an idle instance.

[email protected]> startup

ORACLE instance started.

Total System Global Area  285212672 bytes

Fixed Size                  1260420 bytes

Variable Size             125830268 bytes

Database Buffers          155189248 bytes

Redo Buffers                2932736 bytes

Database mounted.

Database opened.

[email protected]> 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

[[email protected] bin]$


2.切换路径并启动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 oms

Oracle Enterprise Manager 10g Release 10.2.0.1.0

Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.

opmnctl: opmn started

Starting HTTP Server ...

Starting Oracle Management Server ...

Checking Oracle Management Server Status ...

Oracle Management Server is Up.

[[email protected] bin]$


3.切换路径启动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

-------------------+--------------------+---------+---------

ias-component      | process-type       |     pid | status

-------------------+--------------------+---------+---------

DSA                | DSA                |     N/A | Down

HTTP_Server        | HTTP_Server        |   17072 | Alive

LogLoader          | logloaderd         |     N/A | Down

dcm-daemon         | dcm-daemon         |   17039 | Alive

OC4J               | home               |     N/A | Down

OC4J               | OC4J_EMPROV        |     N/A | Down

OC4J               | OC4J_EM            |   17116 | Alive

WebCache           | WebCache           |     N/A | Down

WebCache           | WebCacheAdmin      |     N/A | Down

[[email protected] bin]$ ./opmnctl startproc ias-component=WebCache

opmnctl: starting opmn managed processes...

[[email protected] bin]$ ./opmnctl status

Processes in Instance: EnterpriseManager0.ocm2.localdomain

-------------------+--------------------+---------+---------

ias-component      | process-type       |     pid | status

-------------------+--------------------+---------+---------

DSA                    | DSA                |     N/A | Down

HTTP_Server        | HTTP_Server        |   17072 | Alive

LogLoader          | logloaderd         |     N/A | Down

dcm-daemon         | dcm-daemon         |   17039 | Alive

OC4J                   | home               |     N/A | Down

OC4J                   | OC4J_EMPROV        |     N/A | Down

OC4J                   | OC4J_EM            |   17116 | Alive

WebCache           | WebCache           |   17205 | Alive

WebCache           | WebCacheAdmin      |   17197 | Alive 

[[email protected] bin]$


4.切换路径并启动agent

[[email protected] bin]$ pwd

/u01/app/oracle/OracleHomes/agent10g/bin

[[email protected] bin]$ ./emctl start agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0.

Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.

Starting agent ..... started.

[[email protected] bin]$



最后确认ias-component全部已经启动

[[email protected] bin]$ cd /u01/app/oracle/OracleHomes/oms10g/opmn/bin/

[[email protected] bin]$ ./opmnctl status

Processes in Instance: EnterpriseManager0.ocm2.localdomain

-------------------+--------------------+---------+---------

ias-component      | process-type       |     pid | status

-------------------+--------------------+---------+---------

DSA                | DSA                |     N/A | Down

HTTP_Server        | HTTP_Server        |   17072 | Alive

LogLoader          | logloaderd         |     N/A | Down

dcm-daemon         | dcm-daemon         |   17039 | Alive

OC4J               | home               |     N/A | Down

OC4J               | OC4J_EMPROV        |     N/A | Down

OC4J               | OC4J_EM            |   17116 | Alive

WebCache           | WebCache           |   17205 | Alive

WebCache           | WebCacheAdmin      |   17197 | Alive

[[email protected] bin]$ ./opmnctl startproc ias-component=DSA

opmnctl: starting opmn managed processes...

[[email protected] bin]$  ./opmnctl startproc ias-component=LogLoader

opmnctl: starting opmn managed processes...

[[email protected] bin]$ ./opmnctl startproc ias-component=OC4J

opmnctl: starting opmn managed processes...

[[email protected] bin]$ ./opmnctl status

Processes in Instance: EnterpriseManager0.ocm2.localdomain

-------------------+--------------------+---------+---------

ias-component      | process-type       |     pid | status

-------------------+--------------------+---------+---------

DSA                | DSA                |   18173 | Alive

HTTP_Server        | HTTP_Server        |   17072 | Alive

LogLoader          | logloaderd         |   18197 | Alive

dcm-daemon         | dcm-daemon         |   17039 | Alive

OC4J               | home               |   18326 | Alive

OC4J               | OC4J_EMPROV        |   18324 | Alive

OC4J               | OC4J_EM            |   17116 | Alive

WebCache           | WebCache           |   17205 | Alive

WebCache           | WebCacheAdmin      |   17197 | Alive

[[email protected] bin]$

10.2.0.1.1 grid control的启动和关闭,布布扣,bubuko.com

时间: 2024-08-07 00:14:53

10.2.0.1.1 grid control的启动和关闭的相关文章

OEM无法启动:oracle/product/10.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_localhost.localdomain_orcl not found.

配置OEM环境变量 ORACLE_UNQNAME=$ORACLE_SID 要想打开OEM的web管理程序,必须先启动Database listener,再启动Datebase Control端口监控程序,但是碰到下面的情况          问题:    [[email protected] OC4J_DBConsole]$ emctl start dbconsole    TZ set to PRC    OC4J Configuration issue. /u01/app/oracle/pr

Grid Control Agent无法配置成功的案例分享

最近在做GC的实验,在GC服务器上软件都顺利安装成功,OMS和自己上面的AGENT也都能够顺利启动,但是就是DB服务器的agent死活配置不成功,一直报错,找了半天也没有发现是什么原因.下面是部分实验过程: GC服务器: [[email protected] ~]# su - oracle [[email protected] ~]$ emctl status oms Oracle Enterprise Manager 10g Release 10.2.0.1.0 Copyright (c) 1

ORA-600 [kcblasm_1] In 10.2.0.5

In this Document ***Checked for relevance on 18-Jul-2013***Information in this document applies to any platform.Oracle Database - Enterprise Edition - Version 10.2.0.5.0 to 10.2.0.5.0 [Release 10.2]APPLIES TO: SYMPTOMS Hitting ORA-600 [kcblasm_1] in

11g Grid Control安装过程的一些“坑”

Oracle提供的图形化管理工具目前主要有三个版本: EMDC:Enterprise Manager Database Control EMGC:Enterprise Manager Grid Control EMCC:Enterprise Manager Cloud Control DC需要为每个实例创建一套,而GC则可以统一管理多实例,CC则运用了很火的"云"概念来做统一管理数据库,可谓是增强版的GC. Oracle官网上已经删除了几乎所有11g GC下载链接,主推12c和13c的

MFC Grid control 2.27

MFC Grid control author:songyanwu MFC Grid control属性介绍: The control features: Cell selection using the mouse, with optional Control and Shift key combinations. Selection can be disabled. Row and Column resizing. Sizing can be disabled for row, column

Oracle 10.2.0.5 RMAN迁移并升级11.2.0.4一例

一.环境介绍 1. 源数据库环境 操作系统版本: OEL 5.4 x64数据库版本  : 10.2.0.5 x64数据库sid名 : orcl Oracle 10g 10.2.0.5(64bit)安装目录如下: 数据库软件:/u01/app/oracle/product/10.2.0/db_1数据库文件:/u01/app/oracle/oradata/orcl 归档目录:/u01/archivelog RMAN目录:/backup/dbbak/orabak 背景:一个老oracle10g数据库,

Oracle Linux 5.8安装Oracle 10.2.0.5 x64

一.正常方式全新安装 1. oracle安装环境准备 (1) 确认安装以下包 # rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}  (%{ARCH})\n' binutils compat-libstdc++-33 compat-gcc-34-c++ elfutils-libelf elfutils-libelf-devel elfutils-libelf-devel-static gcc gcc-c++ glibc glibc-common glibc-d

oracle 10g rac环境升级到10.2.0.5

升级oracle rac环境,以前是oracle 是10.2.0.1版本,现在要10.2.0.5的版本.首先必须安装oracle cluster集群软件,然后下载oracle 10.2.0.5软件包进行打补丁. oracle cluster安装地址: oracle 10.2.0.5下载地址: 1.查看当前的crs版本(两个节点都看一下) [[email protected] ~]$ crsctl query crs softwareversion CRS software version on

RAC分解步骤之一,在oracle linux 4u4上安装oracle 10.2.0.1.0操作日志

练习oracle的rac组建过程,第一步,先练习4u4上安装oracle 10.2.0.1.0.直接安装rac,有些难度.从简单的做起.总RAC步骤,参照小布老师的RAC组建. 1. 启动vc,登陆vsphere 5.1 , 2. 新建一个虚拟机,Redhat 4 32bit 兼容的虚拟机,内存1G,硬盘30G.移除软驱,把光驱选择为ISO镜像文件. 3. 启动虚拟机,选择英文,选择美式键盘,选择custom,选择自己手动分区.分区为2个,一个swap,2100M,强制主分区,另一个为ext3,