Commit Graph

24 Commits

Author SHA1 Message Date
Jeremy Gardais a4c49e9f85
Accept options 2022-07-11 11:34:47 +02:00
Jeremy Gardais 15992d9393
Ignore error message for qconf result 2021-12-22 10:53:33 +01:00
Jeremy Gardais 1cd20da9b6
Use localhost as default master to allow host lookup 2021-12-15 05:59:02 +01:00
Jeremy Gardais 1d1bf88bd6
Get SGE master from config file 2021-12-09 15:33:27 +01:00
Jeremy Gardais 123f5afaa2
Also verify that node is a SGE submit host 2021-11-16 10:18:59 +01:00
Jeremy Gardais 194d488340
Test earlier if SGE Master is reachable 2021-04-20 07:41:38 +02:00
Jeremy Gardais ba359c4f75
Exit if sge_qmaster host is not reachable 2021-03-11 14:50:25 +01:00
Jeremy Gardais 9617abc968
Test is_sge_host earlier 2021-01-26 20:02:22 +01:00
Jeremy Gardais 259fbd8531
Exit if SGE isn't available on a host 2021-01-26 18:23:01 +01:00
Jeremy Gardais 3795fcbeea
Reboot after successful upgrade 2021-01-06 11:46:19 +01:00
Jeremy Gardais c1d23c04f6
debug func return 0 to allow chain function 2020-08-20 10:02:11 +02:00
Jeremy Gardais 34db514091
Update repositories before upgrading packages 2020-07-18 16:28:34 +02:00
Jeremy Gardais dc271d73ee
Disable DEBUG_MODE 2020-06-24 16:03:33 +02:00
Jeremy Gardais 78be3391b0
Prepare the host before upgrade (forbid SSH,…) 2020-06-22 11:13:03 +02:00
Jeremy Gardais 2257ab7742
Ensure to don't have any SGE queue enable 2020-06-19 10:43:10 +02:00
Jeremy Gardais 23325d2060
Finish by rebooting the system 2020-06-19 10:10:13 +02:00
Jeremy Gardais 6af24258ad
Clean temp data if upgrade succeed 2020-06-19 09:28:12 +02:00
Jeremy Gardais d133af4fed
Exit with code 50 if upgrade fail 2020-06-18 17:03:57 +02:00
Jeremy Gardais 8daa80803d
Check if any Maco upgrade is present
To allow the upgrade before applying any required reboot,…
2020-06-18 17:02:39 +02:00
Jeremy Gardais c3cd76960c
Upgrade system 2020-06-18 16:39:14 +02:00
Jeremy Gardais 04b4befbc6
Check slots_used on all SGE queues 2020-06-18 12:23:17 +02:00
Jeremy Gardais 35b9846c80
Use RED color for found procs
Also remove non-breaking space character.
2020-06-18 12:14:45 +02:00
Jeremy Gardais 27ef7256a0
Watch for temp APT file if APT upgrade is available 2020-06-18 11:51:48 +02:00
Jeremy Gardais 448f71d4cc
Prepare script to apply APT upgrades 2020-06-17 16:35:11 +02:00