Oracle 11g rac difference in about crsctl stop cluster / crs / has the

Reprinted to http://www.oracleplus.net/arch/1203.html , finishing after that.

1 view the contents of cluster / has / crs management through command

[root@11rac1 ~]# 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

[root@11rac1 ~]# crsctl check has

CRS-4638: Oracle High Availability Services is online

[root@11rac1 ~]# crsctl check cluster

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

Here you can see the contents displayed crs = has + cluster displayed content

 

2 respectively execute command to view the results showed 3

2.1 crsctl stop cluster

root@11rac1 ~]# crsctl stop cluster

CRS-2673: Attempting to stop ‘ora.crsd’ on ’11rac1′

CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on ’11rac1′

CRS-2673: Attempting to stop ‘ora.LISTENER.lsnr’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.LISTENER_SCAN1.lsnr’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.CRS.dg’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.power.db’ on ’11rac1′

CRS-2677: Stop of ‘ora.LISTENER.lsnr’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.11rac1.vip’ on ’11rac1′

CRS-2677: Stop of ‘ora.LISTENER_SCAN1.lsnr’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.scan1.vip’ on ’11rac1′

CRS-2677: Stop of ‘ora.scan1.vip’ on ’11rac1′ succeeded

CRS-2672: Attempting to start ‘ora.scan1.vip’ on ’11rac2′

CRS-2677: Stop of ‘ora.11rac1.vip’ on ’11rac1′ succeeded

CRS-2672: Attempting to start ‘ora.11rac1.vip’ on ’11rac2′

CRS-2677: Stop of ‘ora.power.db’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.DATA.dg’ on ’11rac1′

CRS-2676: Start of ‘ora.11rac1.vip’ on ’11rac2′ succeeded

CRS-2676: Start of ‘ora.scan1.vip’ on ’11rac2′ succeeded

CRS-2672: Attempting to start ‘ora.LISTENER_SCAN1.lsnr’ on ’11rac2′

CRS-2677: Stop of ‘ora.DATA.dg’ on ’11rac1′ succeeded

CRS-2676: Start of ‘ora.LISTENER_SCAN1.lsnr’ on ’11rac2′ succeeded

CRS-2677: Stop of ‘ora.CRS.dg’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.asm’ on ’11rac1′

CRS-2677: Stop of ‘ora.asm’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.ons’ on ’11rac1′

CRS-2677: Stop of ‘ora.ons’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.net1.network’ on ’11rac1′

CRS-2677: Stop of ‘ora.net1.network’ on ’11rac1′ succeeded

CRS-2792: Shutdown of Cluster Ready Services-managed resources on ’11rac1′ has completed

CRS-2677: Stop of ‘ora.crsd’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.ctssd’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.evmd’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.asm’ on ’11rac1′

CRS-2677: Stop of ‘ora.evmd’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.ctssd’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.asm’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.cluster_interconnect.haip’ on ’11rac1′

CRS-2677: Stop of ‘ora.cluster_interconnect.haip’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.cssd’ on ’11rac1′

CRS-2677: Stop of ‘ora.cssd’ on ’11rac1′ succeeded

 

[root@11rac1 ~]# crsctl check crs

CRS-4638: Oracle High Availability Services is online

CRS-4535: Cannot communicate with Cluster Ready Services

CRS-4530: Communications failure contacting Cluster Synchronization Services daemon

CRS-4534: Cannot communicate with Event Manager

 

[root@11rac1 ~]# crsctl check has

CRS-4638: Oracle High Availability Services is online

 

[root@11rac1 ~]# crsctl check cluster

CRS-4535: Cannot communicate with Cluster Ready Services

CRS-4530: Communications failure contacting Cluster Synchronization Services daemon

CRS-4534: Cannot communicate with Event Manager

Here you can see stop cluster stopped Clusterware stack, in fact, is the official document of the middle finger Cluster Ready Services Stack.

2.2 crsctl stop has

Continuing with the above operation

[root@11rac1 ~]# crsctl stop has

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ’11rac1′

CRS-2673: Attempting to stop ‘ora.mdnsd’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.crf’ on ’11rac1′

CRS-2677: Stop of ‘ora.crf’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.gipcd’ on ’11rac1′

CRS-2677: Stop of ‘ora.mdnsd’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.gipcd’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.gpnpd’ on ’11rac1′

CRS-2677: Stop of ‘ora.gpnpd’ on ’11rac1′ succeeded

CRS-2793: Shutdown of Oracle High Availability Services-managed resources on ’11rac1′ has completed

CRS-4133: Oracle High Availability Services has been stopped.

 

stop has stopped is the official document of the Oracle High Availability Services Stack, but Oracle High Availability Services Stack belong Cluster Ready Services Stack dependent on the underlying, so stop Oracle High Availability Services Stack will automatically stop Cluster Ready Services Stack, as follows:

 

[root@11rac1 ~]# crsctl stop has

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ’11rac1′

CRS-2673: Attempting to stop ‘ora.crsd’ on ’11rac1′

CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on ’11rac1′

CRS-2673: Attempting to stop ‘ora.CRS.dg’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.power.db’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.LISTENER.lsnr’ on ’11rac1′

CRS-2677: Stop of ‘ora.LISTENER.lsnr’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.11rac1.vip’ on ’11rac1′

CRS-2677: Stop of ‘ora.11rac1.vip’ on ’11rac1′ succeeded

CRS-2672: Attempting to start ‘ora.11rac1.vip’ on ’11rac2′

CRS-2677: Stop of ‘ora.power.db’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.DATA.dg’ on ’11rac1′

CRS-2676: Start of ‘ora.11rac1.vip’ on ’11rac2′ succeeded

CRS-2677: Stop of ‘ora.DATA.dg’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.CRS.dg’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.asm’ on ’11rac1′

CRS-2677: Stop of ‘ora.asm’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.ons’ on ’11rac1′

CRS-2677: Stop of ‘ora.ons’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.net1.network’ on ’11rac1′

CRS-2677: Stop of ‘ora.net1.network’ on ’11rac1′ succeeded

CRS-2792: Shutdown of Cluster Ready Services-managed resources on ’11rac1′ has completed

CRS-2677: Stop of ‘ora.crsd’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.crf’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.ctssd’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.evmd’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.asm’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.mdnsd’ on ’11rac1′

CRS-2677: Stop of ‘ora.crf’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.evmd’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.mdnsd’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.ctssd’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.asm’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.cluster_interconnect.haip’ on ’11rac1′

CRS-2677: Stop of ‘ora.cluster_interconnect.haip’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.cssd’ on ’11rac1′

CRS-2677: Stop of ‘ora.cssd’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.gipcd’ on ’11rac1′

CRS-2677: Stop of ‘ora.gipcd’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.gpnpd’ on ’11rac1′

CRS-2677: Stop of ‘ora.gpnpd’ on ’11rac1′ succeeded

CRS-2793: Shutdown of Oracle High Availability Services-managed resources on ’11rac1′ has completed

CRS-4133: Oracle High Availability Services has been stopped.

Here you can see the time has stopped, the top service automatically stopped.

 

2.3 crsctl stop crs

CRS here actually refers to the entire ORACLE cluster, nor Cluster Ready Services Stack shorthand.

[root@11rac1 ~]# crsctl stop crs

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ’11rac1′

CRS-2673: Attempting to stop ‘ora.crsd’ on ’11rac1′

CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on ’11rac1′

CRS-2673: Attempting to stop ‘ora.CRS.dg’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.power.db’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.LISTENER.lsnr’ on ’11rac1′

CRS-2677: Stop of ‘ora.LISTENER.lsnr’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.11rac1.vip’ on ’11rac1′

CRS-2677: Stop of ‘ora.11rac1.vip’ on ’11rac1′ succeeded

CRS-2672: Attempting to start ‘ora.11rac1.vip’ on ’11rac2′

CRS-2677: Stop of ‘ora.power.db’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.DATA.dg’ on ’11rac1′

CRS-2676: Start of ‘ora.11rac1.vip’ on ’11rac2′ succeeded

CRS-2677: Stop of ‘ora.DATA.dg’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.CRS.dg’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.asm’ on ’11rac1′

CRS-2677: Stop of ‘ora.asm’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.ons’ on ’11rac1′

CRS-2677: Stop of ‘ora.ons’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.net1.network’ on ’11rac1′

CRS-2677: Stop of ‘ora.net1.network’ on ’11rac1′ succeeded

CRS-2792: Shutdown of Cluster Ready Services-managed resources on ’11rac1′ has completed

CRS-2677: Stop of ‘ora.crsd’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.crf’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.ctssd’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.evmd’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.asm’ on ’11rac1′

CRS-2673: Attempting to stop ‘ora.mdnsd’ on ’11rac1′

CRS-2677: Stop of ‘ora.crf’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.evmd’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.mdnsd’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.ctssd’ on ’11rac1′ succeeded

CRS-2677: Stop of ‘ora.asm’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.cluster_interconnect.haip’ on ’11rac1′

CRS-2677: Stop of ‘ora.cluster_interconnect.haip’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.cssd’ on ’11rac1′

CRS-2677: Stop of ‘ora.cssd’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.gipcd’ on ’11rac1′

CRS-2677: Stop of ‘ora.gipcd’ on ’11rac1′ succeeded

CRS-2673: Attempting to stop ‘ora.gpnpd’ on ’11rac1′

CRS-2677: Stop of ‘ora.gpnpd’ on ’11rac1′ succeeded

CRS-2793: Shutdown of Oracle High Availability Services-managed resources on ’11rac1′ has completed

CRS-4133: Oracle High Availability Services has been stopped.

 

By simple test above, we can draw two points:

After 1, crsctl stop crs = crsctl stop cluster + crsctl stop has, provided that the first stop cluster, then stop has

2, crsctl stop crs = crsctl stop has, if not manually stop Oracle cluster before, so as crsctl stop crs and crsctl stop has the effect of

In addition crsctl stop crs and crsctl stop has can only operate the current node, crsctl stop cluster can cluster multiple nodes in a single operation, provided that the HAS service is operating normally.

 

Guess you like

Origin www.cnblogs.com/qgmzhn/p/12398642.html