home FrontPage

Devdocs main · MNTB wikis main · Up one level (only works on a non-FrontPage)

To put citadel into rotation:

On citadel:

On cnx:

On citadel:

To return citadel to testing mode:

To roll out a change to cnx using citadel temporarily:

  1. Be sure that citadel has no more than the desired changes active

    serverdiff (shell script)

  2. Point citadel's data at depot:

    sudo frontend.sh

  3. Check that the data redirection worked:

    check-servermode.sh

  4. Tell cnx to use citadel as the only front end (log into cnx!):

    rotation set citadel.cnx.rice.edu:8080

    sudo /etc/init.d/squid reload

  5. Verify that cnx is out of rotation:

    tail -f /var/log/squid/access.log (watch for activity)

    tail -f /var/log/zope/cnx/Z2.log (watch for lack of activity)

  6. Make updates to cnx
  7. Restart Zope (if necessary) and hit http://cnx.rice.edu:8080/ in a browser to absorb the first slow page load.
  8. Have cnx use only itself as a front end again

    /usr/local/sbin/rotation set cnx.rice.edu:8080

    sudo /etc/init.d/squid reload

  9. Return citadel to testing mode (and verify, if desired)

    sudo testing.sh