Running the Package and Deploy Wizard for Enterprise Deployments

If you have an enterprise deployment, your procedure has several different considerations that distinguish it from the workgroup deployment:

To use the wizard, you will run it twice:

The diagram below overviews the process and the procedures follow.

Prerequisites

You do not need to back up your project database data (Sybase, SQL Server, or Oracle data) if they are running on a separate database server, as the upgrade process does not affect the database server.

Staging Server Procedure

To package extensions:

  1. First run the wizard on the staging server. Select System Administration/ARCHIBUS System Administration/System Administrator/Package and Deploy Wizard .
  2. Verify Backup: Back up your data and click Next.
  3. Specify Deployment Type: Choose Enterprise Deployment and Staging Server and click Next.
  4. Specify Update Type:
  5. Preserve Data: The wizard will list the project locations it finds in your active projects in your projects list (\config\afm-projects.xml). If this list is incorrect, stop the wizard, and correct your projects list. You can do so by editing the afm-projects.xml file directly, or by using the Smart Client Projects dialog to edit the project list. Click Next.
  6. Preserve Extensions: If you have created additional extensions that do not reside in the subfolders that hold the stock ARCHIBUS applications (that is, extensions that are not beneath the \schema\ab-products folder), then use the Add Folder action to add those folders so that they will also be preserved. Click Next.
  7. Package Deployment: Click the Package Deployment File action to create a new my-site-extensions.war file.
  8. Copy this mysite-extensions.war file to your production server. Place it in the same folder containing the archibus.warfile.

Production Server Procedure

After performing the staging server procedure, run the Package and Deploy Wizard on the production server.

  1. Verify Backup. Back up your data and click Next.
  2. Specify Deployment Type. Choose Enterprise Deployment and Production Server and click Next.
  3. Verify Archive. Select Yes-Next to indicate that you have updated your archibus.war distribution file to the one from the newer version of ARCHIBUS.
  4. Specify Update Type. Make the same selections that you did for the staging server, and click Next.
  5. Preserve Data. The wizard will list the project locations it finds in your active projects in your projects list (config\afm-projects.xml). If this list is incorrect, stop the wizard, and correct your projects list. You can do so by editing the afm-projects.xml file directly, or by using the Smart Client Projects dialog to edit the project list. Click Next.
  6. Package Deployment. Press the Package Deployment File action to create a new archibus.warfile.

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.
Copyright © 1984-2014, ARCHIBUS, Inc. All rights reserved.