Skip to content

Transition Mechanics

Tom Mitchell edited this page Jan 17, 2017 · 7 revisions

Things to do on the big day:

AWS Portal & Clearinghouse

  1. Snapshot both AWS hosts - Done.

  2. Set maintenance mode

  • N.B. This is a manual process on the AWS clearinghouse host

    # Portal:
    sudo geni-manage-maintenance --set-outage \
        "18-Jan-2017 3:00 p.m. UTC: The GENI Portal is down for scheduled maintenance."
    
    # Clearinghouse:
    sudo sh -c 'echo "18-Jan-2017 3:00 p.m. UTC: The GENI Portal is down for scheduled maintenance." > /etc/geni-chapi/geni_maintenance_outage.msg'
    

GPO (nye.gpolab.bbn.com)

  1. Enter maintenance mode

    sudo geni-manage-maintenance --set-outage \
        "18-Jan-2017 3:00 p.m. UTC: The GENI Portal is down for scheduled maintenance."
    
    sudo geni-manage-maintenance --clear-alert
    
  2. Shutdown and Snapshot

  • As always
  1. Start DNS transition
  • ch.geni.net: 52.207.161.119
  • portal.geni.net: 54.80.225.141
  1. Disable apache service

    # This should do it:
    update-rc.d -f apache2 remove
    
  1. Export databases

AWS Portal & Clearinghouse

  1. Import databases

  2. Test, Test, Test

  3. Clear maintenance mode

  • N.B. This is a manual process on the AWS clearinghouse host

    # Portal:
    sudo geni-manage-maintenance --clear-outage
    
    # Clearinghouse:
    sudo rm /etc/geni-chapi/geni_maintenance_outage.msg
    
Clone this wiki locally