wiki:access/Accessdevupgrade

Task list for upgrade of Accessdev on 6/5/2014

  1. Email notification of downtime Friday 2nd of May.
  2. System message on accessdev notifying users of shutdown.
  3. Prevent users from logging in
    echo "System upgrade" >/etc/nologin
    
  4. Stop services that may lead to data modification (any others?)
    service crond stop
    service httpd stop
    service rosa stop
    # Stop UMUI
    killall -u access
    
  5. 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
    
  6. Change file permissions to use new system ldap accounts
    chown -R ju7_umui:ju7 /home/umui_DBSE
    
  7. Delete old UMUI cron entry
    crontab -e -u access
    
  8. Shutdown VM
    rm /etc/nologin
    poweroff
    
  9. 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
    
  10. 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
    
  11. 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.r16 \
      --security-groups ssh,http,umui,ping
    
  12. 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
    
  13. Testing of new accessdev system as per AccessDevQAChecklist
  14. Related tasks on other systems
Last modified 6 years ago Last modified on Feb 3, 2015 4:32:42 PM