MCAF Rollback

Rich Moeser

A tag is created in SVN for each release of MCAF. Although it's possible to grab the tag and rebuild the application, it's much easier to grab the "WAR" file from the Maven repository. This "WAR" file is created for each release and is the same file running on the production machine.

The production version of MCAF is deployed to Tomcat on mc2host. Deploying new versions or rolling back to a previous version is accomplished using the Tomcat Web Application Manager. To deploy a new version you must first undeploy the old version and then deploy the new version.

Undeploy the application.
  1. Point your browser to https://mc2host.evla.nrao.edu/manager/html/
  2. Enter the appropriate user name and password. (See R.Moeser or S.Witz for this information)
  3. Locate the row in the "Applications" table containing /evla-mcaf-production.
  4. Select the "Undeploy" link in the same row, located under the "Commands" header.
  5. A dialog box will appear with the text "Are you sure?"; select the "OK" button.
  6. When the application is successfully undeployed it will be removed from the "Applications" table.

Deploy the application
  1. Point your browser to https://mc2host.evla.nrao.edu/manager/html/
  2. Enter the appropriate user name and password. (See R.Moeser or S.Witz for this information)
  3. Scroll down to the bottom of the page and locate "WAR file to deploy"
  4. Select the "Choose File" button. A file select dialog will appear.
  5. Navigate to /home/asg/www-internal/maven/m2-repo/nrao/evla-mcaf/<version#>, where <version#> is the new version to deploy.
  6. Select the file "evla-mcaf-<version#>.war" and the "OK" button.
  7. Select the "Deploy" button.
  8. Tomcat will now deploy the application and when done the newly deployed application will appear in the "Applications" table.

-- JosephMcMullin - 21 Jul 2010
Topic revision: r1 - 2010-07-21, jmcmulli
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback