diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-08-17 16:40:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-17 16:40:38 +0000 |
commit | dc0e2355b21ab954456c9db7af1161359c966d57 (patch) | |
tree | 76da165eccda65852338f1647c8f5ad92aa53e07 /mcp/config/states/openstack_ha | |
parent | 7b217895f7b379d396a9bac9a87590be832dc1cf (diff) | |
parent | 5039d069265df15ed3d8e41f7a1c7f9457a9d58a (diff) |
Merge "Bring in baremetal support"
Diffstat (limited to 'mcp/config/states/openstack_ha')
-rwxr-xr-x | mcp/config/states/openstack_ha | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha new file mode 100755 index 000000000..293273594 --- /dev/null +++ b/mcp/config/states/openstack_ha @@ -0,0 +1,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 |