Commit bdbe1dd3 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit initial gluster update script

parent 944e687c
#!/bin/bash
hosts="snail lin-test cellar windsor nun lav vbox asu multi space1"
# builder builder64"
#!/bin/bash
. config.sh
for i in $hosts; do
echo $i
ssh $i $SUDO 'bash -s' <<< "epm --auto Install glusterfs3 && serv glusterd condrestart"
#ssh $i sudo 'bash -s' <<< "service glusterd status"
#ssh $i sudo 'bash -s' <<< "mount -a"
#ssh $i sudo 'bash -s' <<< "monit restart glusterd"
#ssh $i sudo 'bash -s' <<< "/root/gfs/glusterupdate.sh"
#ssh $i sudo 'bash -s' <<< "monit start glusterd"
#ssh $i sudo 'bash -s' <<< "ls /root/gfs"
#ssh $i sudo 'bash -s' <<< "/var/ftp/tmp/agapov/glusterdownload.sh"
#ssh $i sudo 'bash -s' <<< "apt-cache policy glusterfs3-server"
#ssh $i sudo 'bash -s' <<< "/root/gfs/glusterupdate.sh"
#ssh $i sudo 'bash -s' <<< "cp -f /var/ftp/tmp/agapov/glusterupdate.sh /root/gfs"
#pcConfig.sh
done
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