(Show Contents)
Running the Package and Deploy Wizard for Workgroup Deployments
If you have a single-user or workgroup deployment, all of your project and application files are on one computer. Workstation deployments also do not change the stock ARCHIBUS applications. For these deployments, you can use the wizard to upgrade your deployment in one step.
Prerequisites
- Back up your files: The wizard sequence creates a new
archibus.war
file. When you deploy this file, it will change the workstations configuration; therefore, it is important to back up the workstation files, including the following before running the wizard:- \archibus\schema
- \archibus\projects
- Project database data, such as Sybase .db files, SQL Server .MDF files, or Oracle .dmp backup files
- Copy the new
archibus.war
file from your DVD or download to the production server to replace the older version of archibus.war
. This file is typically in the \webapps
, \webapps\archibus
, \Users\Public\ARCHIBUS
, or C:\Documents and Settings\All Users\ARCHIBUS\
folder.
Workgroup Upgrade Procedure
To upgrade a Workgroup deployment:
- From the Web Central Process Navigator, select System Administration/System Administrator/Package and Deploy Wizard.
- Verify Backup: Back up your data and , click Next.
- Specify Deployment Type: Select the Single-user or Workgroup option and click Next.
- 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
-
Specify Update Type: Workstation deployments have created their own data, their own drawings, their own My Favorites views using the View Definition Wizard, and their own dashboards using the Dashboard Definition Wizard. However, they typically do not modify the stock ARCHIBUS applications.
- Select "All ARCHIBUS" to preserve your data, drawings, and personalizations, while updating the ARCHIBUS programs.
- Click Next.
- Preserve Data: The wizard lists 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 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.
- Preserve Extensions: Workstation deployments can skip this tab by clicking Next.
- Package Deployment: Press the Package Deployment File action to create a new
archibus.war
file.
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:
- Stop your application server.
- Stop your database server.
- Back up the database stored under \projects\hq\data before deleting the contents of the ARCHIBUS folder.
- Delete all files beneath the
\ARCHIBUS
subfolders except for the WAR files and the projects folder.
- Use WinZip to unzip the
archibus.war
file beneath the \ARCHIBUS
folder.
- Copy the database to
\ARCHIBUS\projects\hq\data
from the back-up location defined at Step 3;
- 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:
- Stop your application server.
- Delete all files beneath the
\ARCHIBUS subfolders
except for the WAR files.
- Move the war file that was created to
\\tools\\tomcat\webapps
.
- Restart Tomcat.
Redeploying when Running IBM WebSphere
To redeploy when running WebSphere:
- Stop the archibus application running on your application server;
- Copy or move the generated a
rchibus.war file
from the \ARCHIBUS folder
to another folder;
- Uninstall the archibus application using the WebSphere Administrative console;
- Install the new archibus application using the WebSphere Administrative console. For instructions, see Installing ARCHIBUS Web Central with IBM WebSphere.
- Start the ARCHIBUS application.
Redeploying when Running WebLogic
To redeploy when running WebLogic:
- Stop the ARCHIBUS application running on your application server.
- Copy or move the generated
archibus.war file
from the \ARCHIBUS folder
to another folder.
- Create the ear file using the WebLogic management console. For instructions, see Installing ARCHIBUS Web Central with Oracle WebLogic.
- Uninstall the ARCHIBUS application using the WebLogic management console.
- Install the new ARCHIBUS application using the WebLogic management console. For instructions, see Installing ARCHIBUS Web Central with Oracle WebLogic.
- Start the ARCHIBUS application.