Some notes about 11gR2 Grid Infrastructure

In 11gR2, crsctl has been exetended to include "cluster-aware commands".

TRXQAC2 > crsctl check cluster -all
**************************************************************
lltcind01:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
lltcind02:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
lltcind02.fnf.com:/apps/oracle
You need to be root to stop / start cluster, or you need to sudo it.
sudo -u root crsctl stop cluster -all
sudo -u root crsctl start cluster -all


To view current status for all resouces:
 crsctl status res -t


crsctl status resouce command doesn't list the daemons of the high availability services stack.  You need to include -init (initially undocumented) to see it.


crsctl stat res -t -init


--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
      1        ONLINE  ONLINE       lltcind02                Started            
ora.crsd
      1        ONLINE  ONLINE       lltcind02                                   
ora.cssd
      1        ONLINE  ONLINE       lltcind02                                   
ora.cssdmonitor
      1        ONLINE  ONLINE       lltcind02                                   
ora.ctssd
      1        ONLINE  ONLINE       lltcind02                OBSERVER           
ora.diskmon
      1        ONLINE  ONLINE       lltcind02                                   
ora.drivers.acfs
      1        ONLINE  ONLINE       lltcind02                                   
ora.evmd
      1        ONLINE  ONLINE       lltcind02                                   
ora.gipcd
      1        ONLINE  ONLINE       lltcind02                                   
ora.gpnpd
      1        ONLINE  ONLINE       lltcind02                                   
ora.mdnsd
      1        ONLINE  ONLINE       lltcind02           


To give oracle the ability to startup a resource:

+ASM2 > sudo -u root crsctl setperm resource ora.trxqac.qac11g_rac.svc -o oracle
lltcind02.fnf.com:/apps/oracle
 

To check resource permission:

+ASM2 > crsctl getperm resource ora.trxqac.qac11g_rac.svc
Name: ora.trxqac.qac11g_rac.svc
owner:oracle:rwx,pgrp:oinstall:rwx,other::r--

      

to be continued..

No comments:

Post a Comment