Thursday, November 24, 2011

crs_stat deprecated in 11gR2


The most used to command "crs_stat -t" is gone (deprecated) on 11gR2. Instead you

crsctl status resource [the output will be status of all resources]

You can still use the "-t" option to get a tabular report though ;)

crsctl status resource -t

Specify resource name "oracle.mydb.vip" to get the status of any particular resource -
         
crsctl status resource oracle.mydb.vip

In fact, quite a few commands have been deprecated in 11gR2; 

Deprecated Command
Replacement Commands       
crs_stat

                      
crsctl check cluster -all                                   
crsctl stat res -t                                                    
                                                                    
crs_register



crsctl add resource                                                 
crsctl add type                                                     
crsctl modify resource                                              
crsctl modify type                                                   
crs_unregister
crsctl stop resource                                                

crsctl modify resource resource_name -attr
"AUTO_START=never"       
crs_start


crsctl start resource                                               
crsctl start crs                                                    
crsctl start cluster                                                
crs_stop


crsctl stop resource                                                
crsctl stop crs                                                     
crsctl stop cluster                                                 
                      
                                                                    
                      
                                                                    
crs_getperm

crsctl getperm resource                                             
crsctl getperm type                                                 
                      
                                                                    
crs_profile





crsctl add resource                                                 
crsctl add type                                                     
crsctl status resource                                              
crsctl status type                                                   
crsctl modify resource                                              
crsctl modify type                                                  
                      
                                                                     
crs_relocate
crsctl relocate resource                                            
crs_setperm

                      
crsctl setperm resource                                              
crsctl setperm type                                                 
                                                                    
crsctl check crsd
crsctl check crs                                                     
crsctl check cssd
crsctl check css                                                    
crsctl check evmd
crsctl check evm                                                    
                      
                                                                     
                                                                    
crsctl debug res  log resource_name:level
crsctl set log                                                      
                      
                                                                     
crsctl set css votedisk
crsctl add css votedisk                                             

crsctl delete css votedisk                                          

crsctl query css votedisk                                           

crsctl replace css votedisk                                         
                      
                                                                    
crsctl start resources
crsctl start resource -all                                          
crsctl stop resources 
crsctl stop resource -all                                           

No comments: