aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states/openstack_ha
blob: 293273594d71353af844c5aa1bc0306ab15ca336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
salt -I 'keepalived:cluster' state.sls keepalived -b 1

salt -I 'rabbitmq:server' state.sls rabbitmq # maybe twice
salt -I 'rabbitmq:server' cmd.run "rabbitmqctl cluster_status"

salt -I 'glusterfs:server' state.sls glusterfs.server.service
salt -I 'glusterfs:server' state.sls glusterfs.server.setup -b 1
salt -I 'glusterfs:server' cmd.run "gluster peer status; gluster volume status" -b 1

salt -I 'galera:master' state.sls galera
salt -I 'galera:slave' state.sls galera
salt -I 'galera:master' mysql.status | grep -A1 wsrep_cluster_size