Commit Graph

20 Commits

Author SHA1 Message Date
Jeremy Gardais 70e7c27c72
Improve script
Move code to functions.
Manage arguments.
debug and error dedicated messages.
Exit with error message if a command fails.
2022-08-02 16:51:03 +02:00
Jeremy Gardais ea792f4d43
Ceph: Fix the Debian version comparison 2021-03-24 06:38:36 +01:00
Jeremy Gardais d6aff5233d
Exit when found the new OSD ID 2019-11-26 10:45:36 +01:00
Jeremy Gardais 4d1a881339
Use vars for color definition 2019-11-26 10:40:50 +01:00
Jeremy Gardais 778231eff5
Add a function to get osd's host 2019-11-26 10:32:46 +01:00
Jeremy Gardais 3bdaa0e451
Directly check exit code 2019-11-26 09:55:26 +01:00
Jeremy Gardais a1f811540f
New script to get the next OSD ID 2019-11-26 09:53:30 +01:00
Jeremy Gardais c1ef1fd291
Add some pattern to get more ceph related packages 2019-07-31 15:00:00 +02:00
Jeremy Gardais b28910e4bd
Use aptitude before Debian Stretch 2019-07-30 11:27:04 +02:00
Jeremy Gardais f18b54a572 Add a DEBUG var to print messages 2019-07-24 11:46:37 +02:00
Jeremy Gardais baaf251c00 Exit script if some commands return error 2019-07-24 11:26:09 +02:00
Jeremy Gardais 969fa130e0 Fix purpose of the script 2019-07-24 11:12:40 +02:00
Jeremy Gardais fc7b154907 Dl deb files of all related Ceph pkg on the system 2019-07-22 16:25:08 +02:00
Jeremy Gardais 9bb404e23c [WIP]: use `ceph` to get the verion in use 2019-07-22 13:26:04 +02:00
Jeremy Gardais 0e55dbb9be [WIP]: Create archive if none with the same version exists 2019-07-22 11:58:43 +02:00
Jeremy Gardais 3a48690e4d [WIP]: Script to backup deb files related to Ceph 2019-07-22 11:43:59 +02:00
Jeremy Gardais 76f307bd1f Add ceph recovery script 2019-07-22 11:15:31 +02:00
Jeremy Gardais 484486a2c2 Add ceph production script 2019-07-19 14:51:31 +02:00
Jeremy Gardais bab4ea547e Add +x permissions to the ceph-osd temp script 2019-07-03 10:12:46 +02:00
Jeremy Gardais 32bab13c7b Add a script to generate command to remove lvm-osd 2019-07-03 10:05:56 +02:00