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
e6d41522
Commit
e6d41522
authored
Dec 17, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add gluster_check script
parent
bbd53b77
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
gluster_check_grep.sh
gluster/update/gluster_check_grep.sh
+13
-0
gluster_check_rda-cache-limit.sh
gluster/update/gluster_check_rda-cache-limit.sh
+13
-0
No files found.
gluster/update/gluster_check_grep.sh
0 → 100755
View file @
e6d41522
#!/bin/bash
.
config.sh
for
i
in
$personal
$Cclients
$Chosts
;
do
echo
echo
$i
ssh
$i
bash
-s
<<<
'echo "Arch: $(distr_info -a)" && grep '
$1
' /var/lib/glusterd/vols/ftp-*/*'
#ssh $i $SUDO 'bash -s' <<< "epm --auto Install glusterfs3 && serv glusterd condrestart"
#ssh $i $SUDO 'bash -s' <<< "epm update ; epm update-kernel"
#ssh $i $SUDO 'bash -s' <<< "reboot"
#ssh $i $SUDO 'bash -s' <<< "killall glusterd && sleep 1 && service glusterd restart"
done
gluster/update/gluster_check_rda-cache-limit.sh
0 → 100755
View file @
e6d41522
#!/bin/bash
.
config.sh
for
i
in
$personal
$Cclients
$Chosts
;
do
echo
echo
$i
ssh
$i
bash
-s
<<<
'echo "Arch: $(distr_info -a)" && grep rda-cache-limit /var/lib/glusterd/vols/ftp-pvt/*'
#ssh $i $SUDO 'bash -s' <<< "epm --auto Install glusterfs3 && serv glusterd condrestart"
#ssh $i $SUDO 'bash -s' <<< "epm update ; epm update-kernel"
#ssh $i $SUDO 'bash -s' <<< "reboot"
#ssh $i $SUDO 'bash -s' <<< "killall glusterd && sleep 1 && service glusterd restart"
done
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