Skills for oracle grid infrastructure clusterware
2013-08-20 22:33
417 查看
The article records some skills for oracle crs.
oracle version 11.2.0.1
To find out cluster and daemon status
To start one offline daemon if ora.asm offline
crsctl start resource ora.asm -init
To manually start or stop oracle clusterware for all nodes by executing the following commands:
crsctl start cluster -all
crsctl stop cluster -all
And we can manage resources with srvctl tool.
srvctl manages six objects types which are asm, database, instance, services, node applications and listeners. And oracle 11gR2 adds an additional ten object types which are GNS, VIPAddresses, scan vip addresses, scan listeners, oracle homes, oc4j, servers,
server pools, asm diskgroups and asm file systems.
srvctl provides alternative commands of
enable,disable,
start,
stop,
relocate,
status,
add,
remove,
modify,
config,
getenv,
setenv, and
unsetenv to manager oracle grid infrastructure clusterware. And we can know these commands details by srvctl --h on operation system.
For example:
to start a service name raymond
srvctl start service -d ray -s raymond -n rac1
Another useful command to know is
srvctl’s
config
option. This option retrieves information abouta system, reporting all database resources if no additional arguments are provided. If an object such as adatabase, asm, scans, or scan listener is
passed, then this option provides detailed information about thespecified resource. This functionality is essential for deployments that GNS where DHCP is responsiblefor assigning network addresses. For example, you could use the following to find out which
IP addressesare used for the SCAN:
srvctl config scan
oracle version 11.2.0.1
To find out cluster and daemon status
su - grid $GRID_HOME/bin/crsctl check crs CRS-4638: Oracle High Availability Services is online CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online $GRID_HOME/bin/crsctl stat res -t -init -------------------------------------------------------------------------------- NAME TARGET STATE SERVER STATE_DETAILS -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.asm 1 ONLINE ONLINE rac1 Started ora.crsd 1 ONLINE ONLINE rac1 ora.cssd 1 ONLINE ONLINE rac1 ora.cssdmonitor 1 ONLINE ONLINE rac1 ora.ctssd 1 ONLINE ONLINE rac1 OBSERVER ora.diskmon 1 ONLINE ONLINE rac1 ora.drivers.acfs 1 ONLINE ONLINE rac1 ora.evmd 1 ONLINE ONLINE rac1 ora.gipcd 1 ONLINE ONLINE rac1 ora.gpnpd 1 ONLINE ONLINE rac1 ora.mdnsd 1 ONLINE ONLINE rac1
To start one offline daemon if ora.asm offline
crsctl start resource ora.asm -init
To manually start or stop oracle clusterware for all nodes by executing the following commands:
crsctl start cluster -all
crsctl stop cluster -all
And we can manage resources with srvctl tool.
srvctl manages six objects types which are asm, database, instance, services, node applications and listeners. And oracle 11gR2 adds an additional ten object types which are GNS, VIPAddresses, scan vip addresses, scan listeners, oracle homes, oc4j, servers,
server pools, asm diskgroups and asm file systems.
srvctl provides alternative commands of
enable,disable,
start,
stop,
relocate,
status,
add,
remove,
modify,
config,
getenv,
setenv, and
unsetenv to manager oracle grid infrastructure clusterware. And we can know these commands details by srvctl --h on operation system.
For example:
to start a service name raymond
srvctl start service -d ray -s raymond -n rac1
Another useful command to know is
srvctl’s
config
option. This option retrieves information abouta system, reporting all database resources if no additional arguments are provided. If an object such as adatabase, asm, scans, or scan listener is
passed, then this option provides detailed information about thespecified resource. This functionality is essential for deployments that GNS where DHCP is responsiblefor assigning network addresses. For example, you could use the following to find out which
IP addressesare used for the SCAN:
srvctl config scan
相关文章推荐
- Oracle Linux6.3 Package Requirements for Oracle Grid Infrastructure and Oracle RAC
- Requirements for Creating an Oracle Grid Infrastructure Home Directory
- Oracle Grid Infrastructure Installation Guide for Linux 以debug模式安装并记录日志
- Install Grid Infrastructure and Oracle Database SW for Standalone
- configuration Oracle Grid Infrastructure for a Standalone Server
- ORACLE Clusterware/Grid Infrastructure/RAC 12c architecture
- 安装Oracle Grid Infrastructure Patch Set Update(GI PSU)的主要步骤
- Using Diagwait as a diagnostic to get more information for diagnosing Oracle Clusterware Node evicti
- DNS and DHCP Setup Example for Grid Infrastructure GNS (Doc ID 946452.1)
- Oracle Grid Infrastructure包含哪些组件及其新特性?
- Oracle WebLogic ActiveGridLink for RAC介绍 (视频)
- Oracle WebLogic Server Active GridLink for Oracle Real Application Clusters (RAC) - 2
- Oracle grid infrastructure 卸载 grid卸载
- root.sh Fails on the First Node for 11gR2 Grid Infrastructure Installation
- oracle 12c GI安装详细步骤(oracle 12C + Grid Infrastructure(GI) + UDEV + ASM +centos6.4)
- Oracle grid infrastructure 卸载
- oracle enterprise Linux 4下安装cluster问题 :The location /ocfs/clusterware/ocr ,entered for the Oracle CLuster Registry(OCR) is not s
- Oracle Grid Infrastructure SCAN(单一客户访问名称)
- 在单节点上安装 Oracle Grid Infrastructure
- 在单节点上安装 Oracle Grid Infrastructure