root@tsamp01(/)# stoprpdomain hadr_domain
2632-110 The operation was rejected by one or more nodes, probably because one or more resources are online or there was an error encountered in determining if any resources are online.
tsamp01: 2632-054 The requested operation failed due to the rejection from the resource class IBM.CHARMControl.
Message returned from the resource class: 2621-793 Node "tsamp02" cannot be made offline. System Automation Manager reports that there are resources online on this node..
Answer by Clark Jackson (4396) | Oct 03, 2017 at 01:13 PM
The issue is that there are online resources on both nodes in the cluster.
It states this in the error messages:
System Automation Manager reports that there are resources online on this node..
So you have two choices:
1) Take all resources offline on both nodes and then issue the command again
chrg -o offline -s 1=1
2) Force the domain offline with the force flag.
export CT_MANAGEMENT_SCOPE=2
chrsrc -c IBM.PeerNode CritRsrcProtMethod=5
stoprpdomain -f hadr_domain
This will stop the domain on all nodes in the cluster regardless of whether there are resources online or not.
Please remember to change CritRsrcProtMethod back to 3 when the domain comes back online, we set it to 5 to avoid any errant reboots caused by RSCT daemons exiting abnormally.