Commit 9fa92ed3 authored by Anton Agapov's avatar Anton Agapov

AUTO and order correction in epmi in glusterupdate.sh

parent c285548a
......@@ -71,11 +71,11 @@ gfs_mount_plus(){
case $1 in
all)
run_on_hosts epmi glusterfs3-server
run_on_hosts epmi --auto glusterfs3-server
gfs_stop
gfs_start
run_on_hosts mount -a
run_on_clients 'umount /var/ftp/*; killall glusterfs; epmi glusterfs3-client; mount -a'
run_on_clients 'epmi --auto glusterfs3-client; umount /var/ftp/*; killall glusterfs; mount -a'
gfs_mount_plus
exit 0
;;
......@@ -84,7 +84,7 @@ case $1 in
exit 0
;;
install)
run_on_hosts epmi glusterfs3-server
run_on_hosts epmi --auto glusterfs3-server
exit 0
;;
noinstall)
......@@ -120,7 +120,7 @@ case $1 in
exit 0
;;
clients)
run_on_clients 'umount /var/ftp/*; killall glusterfs; epmi glusterfs3-client; mount -a'
run_on_clients 'epmi --auto glusterfs3-client; umount /var/ftp/*; killall glusterfs; mount -a'
exit 0
;;
remount)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment