Oracle Rac clusterware startup sequence (11gR2)
2014-06-29 23:34
423 查看
ohasd -> orarootagent -> ora.cssdmonitor : Monitors CSSD and node health (along with the cssdagent). Try to restart the node if the node is unhealthy.
-> ora.ctssd : Cluster Time Synchronization Services Daemon
-> ora.crsd -> oraagent -> ora.LISTENER.lsnr
-> ora.LISTENER_SCAN.lsnr
-> ora.ons
-> ora.eons
-> ora.asm
-> ora.DB.db
->orarootagent -> ora.nodename.vip
-> ora.net1.network
-> ora.gns.vip
-> ora.gnsd
-> ora.SCANn.vip
-> cssdagent -> ora.cssd : Cluster Synchronization Services
-> oraagent -> ora.mdnsd : Used for DNS lookup
-> ora.evmd
-> ora.asmd
-> ora.gpnpd : Grid Plug and Play = adding a node to the cluster is easier (we need less configuration for the new node)
If a resource is written using blue & bold font => resource owned by root. The other resources are owner by oracle. (all this on UNIX environment)
When a resource is managed by root, we need to run the command crsctl as root or oracle.
Clusterware Resource Status Check
$ crsctl status resource -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.LISTENER.lsnr
ONLINE ONLINE tzdev1rac
ONLINE ONLINE tzdev2rac
ora.asm
OFFLINE OFFLINE tzdev1rac
OFFLINE OFFLINE tzdev2rac
ora.eons
ONLINE ONLINE tzdev1rac
ONLINE ONLINE tzdev2rac
ora.gsd
OFFLINE OFFLINE tzdev1rac
OFFLINE OFFLINE tzdev2rac
ora.net1.network
ONLINE ONLINE tzdev1rac
ONLINE ONLINE tzdev2rac
ora.ons
ONLINE ONLINE tzdev1rac
ONLINE ONLINE tzdev2rac
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE tzdev1rac
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE tzdev2rac
ora.LISTENER_SCAN3.lsnr
1 ONLINE ONLINE tzdev2rac
ora.oc4j
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE tzdev1rac
ora.scan2.vip
1 ONLINE ONLINE tzdev2rac
ora.scan3.vip
1 ONLINE ONLINE tzdev2rac
ora.trezor.db
1 ONLINE ONLINE tzdev1rac Open
2 ONLINE ONLINE tzdev2rac
ora.tzdev1rac.vip
1 ONLINE ONLINE tzdev1rac
ora.tzdev2rac.vip
1 ONLINE ONLINE tzdev2rac
crsctl start has -> start all the clusterware services/ resources (including the database server and the listener);
crsctl stop has -> stop all the clusterware services/ resources (including the database server and the listener);
crsctl check has -> to check if ohasd is running/ stopped
crsctl check has
CRS-4638: Oracle High Availability Services is online
>> the ohasd daemon is running => the clusterware is (must be) up and running (if no error occur).
crsctl check has
CRS-4639: Could not contact Oracle High Availability Services
>> the ohasd daemon is NOT running => the clusterware is DOWN (stopped).
crsctl enable has -> enable Oracle High Availability Services autostart
crsctl disable has -> disable Oracle High Availability Services autostart
crsctl config has -> check if Oracle High Availability Services autostart is enabled/ disabled.
crsctl config has
CRS-4622: Oracle High Availability Services autostart is enabled.
Useful information you can get from Metalink ID 1053147.1: 11gR2 Clusterware and Grid Home - What You Need to Know
-> ora.ctssd : Cluster Time Synchronization Services Daemon
-> ora.crsd -> oraagent -> ora.LISTENER.lsnr
-> ora.LISTENER_SCAN.lsnr
-> ora.ons
-> ora.eons
-> ora.asm
-> ora.DB.db
->orarootagent -> ora.nodename.vip
-> ora.net1.network
-> ora.gns.vip
-> ora.gnsd
-> ora.SCANn.vip
-> cssdagent -> ora.cssd : Cluster Synchronization Services
-> oraagent -> ora.mdnsd : Used for DNS lookup
-> ora.evmd
-> ora.asmd
-> ora.gpnpd : Grid Plug and Play = adding a node to the cluster is easier (we need less configuration for the new node)
If a resource is written using blue & bold font => resource owned by root. The other resources are owner by oracle. (all this on UNIX environment)
When a resource is managed by root, we need to run the command crsctl as root or oracle.
Clusterware Resource Status Check
$ crsctl status resource -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.LISTENER.lsnr
ONLINE ONLINE tzdev1rac
ONLINE ONLINE tzdev2rac
ora.asm
OFFLINE OFFLINE tzdev1rac
OFFLINE OFFLINE tzdev2rac
ora.eons
ONLINE ONLINE tzdev1rac
ONLINE ONLINE tzdev2rac
ora.gsd
OFFLINE OFFLINE tzdev1rac
OFFLINE OFFLINE tzdev2rac
ora.net1.network
ONLINE ONLINE tzdev1rac
ONLINE ONLINE tzdev2rac
ora.ons
ONLINE ONLINE tzdev1rac
ONLINE ONLINE tzdev2rac
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE tzdev1rac
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE tzdev2rac
ora.LISTENER_SCAN3.lsnr
1 ONLINE ONLINE tzdev2rac
ora.oc4j
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE tzdev1rac
ora.scan2.vip
1 ONLINE ONLINE tzdev2rac
ora.scan3.vip
1 ONLINE ONLINE tzdev2rac
ora.trezor.db
1 ONLINE ONLINE tzdev1rac Open
2 ONLINE ONLINE tzdev2rac
ora.tzdev1rac.vip
1 ONLINE ONLINE tzdev1rac
ora.tzdev2rac.vip
1 ONLINE ONLINE tzdev2rac
crsctl start has -> start all the clusterware services/ resources (including the database server and the listener);
crsctl stop has -> stop all the clusterware services/ resources (including the database server and the listener);
crsctl check has -> to check if ohasd is running/ stopped
crsctl check has
CRS-4638: Oracle High Availability Services is online
>> the ohasd daemon is running => the clusterware is (must be) up and running (if no error occur).
crsctl check has
CRS-4639: Could not contact Oracle High Availability Services
>> the ohasd daemon is NOT running => the clusterware is DOWN (stopped).
crsctl enable has -> enable Oracle High Availability Services autostart
crsctl disable has -> disable Oracle High Availability Services autostart
crsctl config has -> check if Oracle High Availability Services autostart is enabled/ disabled.
crsctl config has
CRS-4622: Oracle High Availability Services autostart is enabled.
Useful information you can get from Metalink ID 1053147.1: 11gR2 Clusterware and Grid Home - What You Need to Know
相关文章推荐
- Oracle Rac clusterware startup sequence (11gR2)
- Oracle 11gR2 clusterware startup sequence
- Clusterware Startup Sequence--11gR2 Clusterware and Grid Home - What You Need to Know [ID 1053147.1]
- 11gR2 Clusterware Startup Sequence
- 在VMWare ESX4.1中以Oracle Linux5.5(x64)安装 3 节点 Oracle 11gr2 RAC
- Oracle 11gR2 2节点 RAC 搭建实录
- Oracle 11gR2 RAC 进程说明
- Openfiler + Redhat 5.4 Oracle 11gR2 RAC 安装文档
- 安装oracle 11gr2 rac on solaris
- Oracle 11gR2 RAC 新特性说明
- Deleting a Cluster Node In Oracle 11gR2 RAC
- Customizing How Oracle Clusterware Manages Oracle RAC Databases
- Openfiler + Redhat 5.4 Oracle 11gR2 RAC 安装文档
- ID 810394.1 --RAC and Oracle Clusterware Starter Kit and Best Practices
- 今日,ORACLE 11gR2 RAC大功告成
- Openfiler + Redhat 5.4 Oracle 11gR2 RAC 安装文档
- Linux DNS Server 配置 -- for Oracle 11gR2 RAC SCAN IP
- oracle 11gR2 RAC 安装
- Openfiler + Redhat 5.4 Oracle 11gR2 RAC 安装文档
- oracle 11gr2 RAC安装中在node 2节点再次执行root.sh遇到的问题