How can I shutdown VCS without shutting down my applications?
Use the "hastop -force" option.
- hastop -all -force (shuts down VCS on all nodes)
- hastop -local -force (shuts down VCS on the local node only)
haconf -dump -makeroIf you force stop a cluster while it is in read-write mode, you will get a stale configuration error upon VCS restart.
To see if your cluster is in read-only mode, run "haclus -display". The "ReadOnly" attribute should have a value of 1. If not, then run "haconf -dump -makero" to make it read-only.
If you start VCS and get a stale configuration error, you have mainly 2 choices.
- Run "hastop -all -force", check main.cf on your nodes for any inconsistencies, remove any .stale files in /etc/VRTSvcs/conf/config/, and restart VCS.
If you see no .stale files, then your main.cf's might have a syntax error. Execute this command to see where the syntax errors are: - Continue to start VCS by running "hasys -force {hostname}". Pick the hostname of the machine you want VCS to load the main.cf from.
cd /etc/VRTSvcs/conf/config/
hacf -verify .
No comments:
Post a Comment