Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
80343b16
Commit
80343b16
authored
Jul 14, 2015
by
Anton Agapov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quotes are very important, changed in glusterupdate.sh
parent
c3ccbed2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
glusterupdate.sh
gluster/update/glusterupdate.sh
+4
-4
No files found.
gluster/update/glusterupdate.sh
View file @
80343b16
...
@@ -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
;;
;;
*
)
*
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment