Basic Clustat and Clusvcadm UsageNov 2, 2016 · 1 minute read
I had to work on one of UKFasts clustered servers today and learnt a few new commands. I wanted to record these here mainly for my future self but hopefully you’ll find them useful too.
This is the first command you’ll want to run (as root) on the server. This will give you the current status of all the cluster nodes and services.
This is the command you’ll use to managage services (such as mysql).
- -r – relocate service. On UKFasts setup this will move the service to the other running node (there are only 2).
- -e – enable service. This is how you manually start services.
- -d – disable service. This is how you manually stop services.