...
Ensure that all vm's do not autostart on each infra node (infra0, 1 and 2)
Code Block |
---|
# List all vm's with autostart, should be none. virsh list --all --name --autostart # If any instances are set with autostart, disable it. virsh autostart <vm> --disable |
...
Code Block |
---|
# Oneliner to find which are the master for a in $(seq 0 2); do [ $(ssh postgres$a ip addr show | grep -c inet) -eq 5 ] && echo postgres$a is master; done |
Note which are the master
Shut down the non masters
Shut down the master
4 - mysql
5 Verify no io on cephmon
6 Shut down storage nodes
Code Block |
---|
for a in $(seq 1 5); do ssh storage0$a hostname ; done |
7 Shut down cephmon