Skills for oracle grid infrastructure clusterware

Source: Internet
Author: User

Skills for oracle grid infrastructure clusterware The article records some skills for oracle crs. oracle version 11.2.0.1 To find out cluster and daemon status

[sql] 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
[sql] crsctl start resource ora.asm -init  

 

To manually start or stop oracle clusterware for all nodes by executing the following commands:
[sql] 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, Solaris, servers, server pools, asm diskgroups and asm file systems. srvctl provides alternative commands ofenable, 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
[sql] 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 can use the following to find out which IP addressesare used for the SCAN: srvctl config scan

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.