Upgrading Workgroup Deployments Using the Deployment Packager Actions

A workgroup deployment:

If you have a different application server, a different database server, or, if you divide or cluster your application or database servers, see Running the Deployment Packager Actions for Enterprise Deployments.

Flowchart of the Workgroup Upgrade Process

The following flow chart shows the process for deploying a new version of Web Central, including updated core and updated applications, without losing any extensions (new or altered views and workflow rules), or the production user data (users’ My Favorites, and graphic files).

Procedure

Note: The following procedure is for advanced users who prefer to directly run the deployment packager actions rather than using the Package and Deploy Wizard. Using the wizard is the simplest way to upgrade. See Using the Package and Deploy Wizard.

To upgrade a workstation deployment to a new version of ARCHIBUS Web Central, do the following on your application server:

  1. Back up the server: Run your usual backups on your application server and database data to guard against any errors in creating the packager preferences or in compressing the Web Archive (WAR) files.
  2. Edit the application-update.properties file: Edit this file to reflect the location of your extensions and project data. See Editing Your Application Update Properties.
  3. Package Extensions: Select the System Administration/System Administrator/Package Extensions action. Click the Start Job action to run the Package Extensions action. This action creates the mysite-extensions.war file.
  4. Package Data: Select the System Administration/System Administrator/Package Data action. Click the Start Job action to run the Package Data action. Use the Package Data action to back up your database and data files to the mysite-data.war file.
  5. Copy the new stock ARCHIBUS deployment:
  6. Package Deployment: Select the System Administration/System Administrator/Package Deployment task. Click the Start Job action to run the Package Deployment action. This action merges the mysite-data.war and the mysite-extensions.war into the stock archibus.war file. This creates an updated archibus.war file that contains all the files needed to re-establish your application server.

You can now redeploy ARCHIBUS using the updated archibus.war file. The following sections provide instructions for redeploying when running Jetty, Apache Tomcat, Oracle WebLogic, or IBM WebSphere.

Redeploying When Running Jetty

To redeploy when running Jetty:

  1. Stop your application server.
  2. Stop your database server.
  3. Back up the database stored under \projects\hq\data before deleting the contents of the ARCHIBUS folder.
  4. Delete all files beneath the \ARCHIBUS subfolders except for the WAR files and the projects folder.
  5. Use WinZip to unzip the archibus.war file beneath the \ARCHIBUS folder.
  6. Copy the database to \ARCHIBUS\projects\hq\data from the back-up location defined at Step 3;
  7. Restart your database server and your application server.

Redeploying when Running Apache Tomcat

If you are running Tomcat Web server, redeploy using the following steps:

  1. Stop your application server.
  2. Delete all files beneath the \ARCHIBUS subfolders except for the WAR files.
  3. Move the war file that was created to \\tools\\tomcat\webapps.
  4. Restart Tomcat.

Redeploying when Running IBM WebSphere

To redeploy when running WebSphere:

  1. Stop the archibus application running on your application server;
  2. Copy or move the generated archibus.war file from the \ARCHIBUS folder to another folder;
  3. Uninstall the archibus application using the WebSphere Administrative console;
  4. Install the new archibus application using the WebSphere Administrative console. For instructions, see Installing ARCHIBUS Web Central with IBM WebSphere.
  5. Start the ARCHIBUS application.

Redeploying when Running WebLogic

To redeploy when running WebLogic:

  1. Stop the ARCHIBUS application running on your application server.
  2. Copy or move the generated archibus.war file from the \ARCHIBUS folder to another folder.
  3. Create the ear file using the WebLogic management console. For instructions, see Installing ARCHIBUS Web Central with Oracle WebLogic.
  4. Uninstall the ARCHIBUS application using the WebLogic management console.
  5. Install the new ARCHIBUS application using the WebLogic management console. For instructions, see Installing ARCHIBUS Web Central with Oracle WebLogic.
  6. Start the ARCHIBUS application.

See Also

Upgrading Only the Web Central Core

Copyright © 1984-2014, ARCHIBUS, Inc. All rights reserved.