access_Accessdevupgrade - ACCESS-NRI/accessdev-Trac-archive GitHub Wiki
Task list for upgrade of Accessdev on 6/5/2014
- Email notification of downtime Friday 2nd of May.
- System message on accessdev notifying users of shutdown.
- Prevent users from logging in
echo "System upgrade" >/etc/nologin
- Stop services that may lead to data modification (any others?)
service crond stop
service httpd stop
service rosa stop
# Stop UMUI
killall -u access
- Back up UMUI database, rosie database, trac (anything else?)
tar cvzf /g/data1/access.dev/backups/umui_DBSE_bkp_20140506.tar.gz -C /home umui_DBSE
svnadmin dump /home/access-svn/roses_au_svn /g/data1/access.dev/backups/rosa_dbse_bkp_20140506
tar cvzf /g/data1/access.dev/backups/trac_bkp_20140506.tar.gz -C /home trac
- Change file permissions to use new system ldap accounts
chown -R ju7_umui:ju7 /home/umui_DBSE
- Delete old UMUI cron entry
crontab -e -u access
- Shutdown VM
rm /etc/nologin
poweroff
- Delete floating ip from accessdev (leaving old accessdev intact)
nova remove-floating-ip accessdev.nci.org.au 130.56.244.72
nova rename accessdev.nci.org.au old-accessdev.nci.org.au
- Fast forward chris's changes into the master branch
git checkout master
git pull --ff-only origin cma900/dev
pushd modules
rm -fr augeas concat epel firewall inifile postgresql \
stdlib vcsrepo
popd
git submodule sync
git submodule update --init
git push origin master
- Boot up the new instance of accessdev
./tools/nova-boot \
--name accessdev.nci.org.au \
--ip 130.56.244.72 \
--install-updates \
-- \
--flavor m1.large.2.c5305d7812b797de8d3d2d0b40147b7b87036fc0 \
--security-groups ssh,http,umui,ping
- Fix broken Postfix service state caused by RPM update (on VM):
kill $(pgrep -f /usr/libexec/postfix/master)
service postfix start
puppet apply /puppet/manifests/site.pp
- Testing of new accessdev system as per AccessDevQAChecklist
- Related tasks on other systems
- Upgrade cylc to version 5.4.12 on raijin, twister and ngamai.
- For Raijin: UpgradingRoseCylc
- For Bureau machines: UpgradingRoseCylc