rcbops / ansible-lxc-rpc

Ansible Playbooks to deploy openstack
https://rcbops.github.io/ansible-lxc-rpc/
Apache License 2.0
38 stars 31 forks source link

Powercut procedure #591

Closed hughsaunders closed 9 years ago

hughsaunders commented 9 years ago

Hey Doc team, I thought we should probably have instructions for actions necessary to restore a cluster after a power outage/shutdown of all nodes. This procedure is not necessary for a rolling reboot.

These are the actions I needed to restore my sat6 lab cluster after a recent power failure:

ansible-playbook -e@/root/rpc_deploy/user_variables.yml playbooks/infrastructure/rabbit-startup.yml
ansible-playbook -e@/root/rpc_deploy/user_variables.yml playbooks/infrastructure/galera-startup.yml

The openstack services started without intervention.

I considered adding these actions to a startup script on one of the controllers but that may be dangerous if it runs before all controllers are up.

cloudnull commented 9 years ago

Adding @klevenstein, @Loquacity to this issue for review and delegation.