Commit 80343b16 authored by Anton Agapov's avatar Anton Agapov

Quotes are very important, changed in glusterupdate.sh

parent c3ccbed2
...@@ -24,7 +24,7 @@ do ...@@ -24,7 +24,7 @@ do
} }
gfs_stop(){ gfs_stop(){
run_on_hosts umount /var/ftp/*; killall glusterfs run_on_hosts 'umount /var/ftp/*; killall glusterfs'
run_on_hosts monit stop glusterd run_on_hosts monit stop glusterd
run_on_hosts killall glusterd run_on_hosts killall glusterd
run_on_hosts killall glusterfsd run_on_hosts killall glusterfsd
...@@ -76,7 +76,7 @@ case $1 in ...@@ -76,7 +76,7 @@ case $1 in
gfs_stop gfs_stop
gfs_start gfs_start
run_on_hosts mount -a run_on_hosts mount -a
run_on_clients umount /var/ftp/*; killall glusterfs; epmi glusterfs3-client; mount /var/ftp/* run_on_clients 'umount /var/ftp/*; killall glusterfs; epmi glusterfs3-client; mount /var/ftp/*'
gfs_mount_plus gfs_mount_plus
exit 0 exit 0
;; ;;
...@@ -116,11 +116,11 @@ case $1 in ...@@ -116,11 +116,11 @@ case $1 in
exit 0 exit 0
;; ;;
policy) policy)
run_on_hosts apt-get update; apt-get policy glusterfs3-server run_on_hosts 'apt-get update; apt-cache policy glusterfs3-server'
exit 0 exit 0
;; ;;
client) client)
run_on_clients umount /var/ftp/*; killall glusterfs; epmi glusterfs3-client; mount /var/ftp/* run_on_clients 'umount /var/ftp/*; killall glusterfs; epmi glusterfs3-client; mount /var/ftp/*'
exit 0 exit 0
;; ;;
*) *)
......
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