AN!Cluster Recovery
Alteeve Wiki :: How To :: AN!Cluster Recovery |
![]() |
Note: This tutorial is designed for users and customers who are running AN!Clusters, based on the 2-Node Red Hat KVM Cluster Tutorial tutorial. |
This tutorial is designed to provide very basic, to the point steps to guide you through recovery of an AN!Cluster after a fault. It is not designed as a primary education on this topic. For a proper understanding of the steps below, please take the time to study the main tutorial.
Node Was Rebooted Uncleanly Rebooted, VM(s) Offline
If a node was rebooted using the reboot command, then it is possible for the VMs to have crashed in such a manner to leave them in the failed state. Once a VM goes into a failed state, it will not recover without human intervention. This section checks for and recovers from this scenario.
{{note|1=This section assumes you have a dedicate "cluster monitor" machine. If you don't, then use a machine running linux with virt-manager installed.
Recovery Steps When Both Nodes Are Running
This recovery procedure assumes that the rebooted node was restored.
- Log into your cluster monitor machine (or a workstation with virt-manager) installed.
- Open up four terminals as described here.
- On the top two terminals, ssh into the first node in the cluster.
- On the bottom two terminals, ssh into the second node in the cluster.
- On the top and bottom right terminals, run clear; tail -f -n 0 /var/log/messages.
- Run clustat on the top and bottom left windows.
- Examine each VM (vm:vmXXXX-desc.
- For each VM whose state is failed, you need to disable and then enable it. The disable step is critical as that is how you tell the cluster that you have examined the problem and determined that the service is safe to recover.
- Run: clusvcadm -d vm:vmXXXX-desc, then re-run clustat. Ensure the new state is stopped.
- Run: clusvcadm -e vm:vmXXXX-desc, then re-run clustat. Ensure the new state is started.
Any questions, feedback, advice, complaints or meanderings are welcome. | |||
Alteeve's Niche! | Alteeve Enterprise Support | Community Support | |
© 2025 Alteeve. Intelligent Availability® is a registered trademark of Alteeve's Niche! Inc. 1997-2025 | |||
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions. |