Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Information

Once a test tag has been made /wiki/spaces/UCDSAKAI/pages/120456414, it should be deployed.

As of this writing, smartsite-test has two nodes:

  • littlejohn (headnode)
  • braddock

Setup of deployment

  • Start the deployment by building the test tag as follows on the headnode:
  1. Code Block
    ~/config-staging/tomcatclean.sh
    
  2. Code Block
    cd ~/src
    
  3. Code Block
    svn co https://mware.ucdavis.edu/svn/ucd-sakai/sakai/tags/sakai_2-4-x-HEAD-test-XYZ
    
  4. Code Block
    cd sakai_2-4-x-HEAD-test-XYZ
    
  5. Code Block
    patches/scripts/apply-patches.pl
    
  6. Code Block
    maven sakai
    
  • Next step is to deploy the tag in the staging area
  1. Code Block
    cd $HOME/config-staging
    
  2. Delete any old tag directories
  3. Code Block
    svn export https://mware.ucdavis.edu/svn/ucd-sakai/sakai-properties/tags/intg-sakai-2-4-x-HEAD-test-ABC
    
  4. Code Block
    cp intg-sakai-2-4-x-HEAD-test-ABC/sakai.properties .
    

Deployment

  • Stop all nodes in the cluster by ~/bin/stop.sh and make sure all tomcat processes are dead (eg ps -ef | grep java| grep sakai)
  • On each node do(starting with the head node):
  1. Code Block
    cd $HOME
    
  2. Code Block
    ./setup-sakai-node.sh
    
  3. Code Block
    cd $CATALINA_HOME/logs
    
  4. Code Block
    ~/bin/start.sh ; tail -f catalina.out
    
  5. Once sakai is fully up, test login and continue with the next node

After Deployment

  • Make sure all JIRAs associated with the tag have a fix rev of the tag, and that they are all in proper state.