Commit Graph
21 Commits
Author SHA1 Message Date
Axel Uhl 127af0d037 in imageupgrade_functions.sh offer function for upgrading SAP JVM 8; using this in imageupgrade.sh for application instance 2022-02-17 12:53:19 +01:00
EC2 Server d2c6774d09 qualify reference to image_upgrade_functions with dirname $0 2021-03-24 17:23:50 +00:00
Axel Uhl 571e780702 bug4811: split imageupgrade.sh script into functions and execution and share with MongoDB image upgrade script 2021-03-02 15:38:20 +01:00
Axel Uhl 77dedafa52 bug4811: don't run refreshInstance.sh during image upgrade because we're not keeping server subdirectories 2021-02-10 18:20:14 +01:00
Axel Uhl 95c18d10e6 bug4811: in imageupgrade.sh script clean /tmp/image-upgrade-finished upon shutdown to have it gone when re-booting an image created this way 2021-02-10 09:04:13 +01:00
Axel Uhl b8047e85f0 bug4811: no need to clean the sailing server logs if afterwards all sailing server directories are removed during image upgrade 2021-02-10 00:47:06 +01:00
Axel Uhl f09f26df3b bug4811: added cleaning of /home/sailing/servers/* to imageupgrade.sh script 2021-02-08 15:10:35 +01:00
EC2 Server 33d8f25e5a bug4811: added updating root's crontab to the imageupgrade.sh script 2021-02-04 16:23:24 +00:00
Axel Uhl 1023a85961 bug4811: the imageupgrade.sh script will now clean /root/.ssh before shutdown 2021-01-27 18:35:10 +01:00
Axel Uhl 80621b4c21 bug4811: wait for image upgrade to finish (/tmp/image-upgrade-finished) before continuing with httpd start etc. 2020-12-03 00:00:59 +01:00
Axel Uhl 63615f6c2e bug4811: during image upgrade, pull the branch currently checked out under /home/sailing/code, not necessarily master 2020-11-20 16:05:50 +01:00
Axel Uhl 30ddc2784e bug4811: remove 001-internals.conf during imageupgrade 2020-11-20 11:35:54 +01:00
EC2 Server 0d1b7e40ab bug4811: started to refactor the "sailing" init.d script, affecting also the imageupgrade.sh and refreshInstance.sh scripts 2020-11-19 12:00:59 +00:00
Axel Uhl d78bd5625b bug4811: explicitly try to "service httpd stop" during image upgrade before clearing logs;
this will enable running httpd as systemd service unit automatically, removing the service's management
from the /etc/init.d/sailing script
2020-11-18 12:18:18 +01:00
Axel Uhl fd91af7030 fixed no-shutdown option implementation for imageupgrade.sh 2020-10-06 17:59:41 +02:00
Axel Uhl 78134e384b Merge remote-tracking branch 'server/master' 2020-10-06 17:47:33 +02:00
Axel Uhl ca1443f62b don't shutdown during image-upgrade if "no-shutdown" is provided 2020-10-06 17:47:08 +02:00
Axel Uhl 62c03dbfed added cleaning logrotate-target to imageupgrade.sh script 2020-10-06 14:13:51 +02:00
EC2 Server e70d3e98ce let imageupgrade.sh log its steps to /var/log/sailing.err 2020-10-05 17:10:07 +00:00
EC2 Server 17958bf1bc added clean-up of start-up logs to imageupgrade.sh script 2020-10-05 16:37:34 +00:00
EC2 Server 6aca1c3671 added imageupgrade.sh that can be trigger with a single line "image-upgrade" in EC2 user data 2020-10-05 16:24:50 +00:00