You can install a process application snapshot with a generic installation package onto
an offline IBM® Process
Server by using wsadmin
commands in a set of scripts. A generic installation package does not include server information so
that you can use the same package on different Process Servers. You can also use the same steps to install
a generic package to a connected server.
Before you begin
See the prerequisites in
Installing process applications and snapshots.
If
you plan to migrate running instances, check that there is a migration
policy for the snapshot. The migration policy defines how to handle
orphaned tokens if any exist. If a migration policy is not listed
for the source snapshot, notify the owner of the snapshot that your
are installing to create the migration policy. The snapshot owner
can use the Process Center console
to generate the migration policy file and use the migration policy
editor to modify it. For information, see Defining the migration policy.
Procedure
- On the IBM Process
Center server, create the
installation package for the snapshot for a specific server by running the
BPMExportInstallPackage command in the
profile_root/bin directory. For
example:
AdminTask.BPMExportInstallPackage('[
-containerAcronym "HSS"
-containerTrackAcronym "Main"
-containerSnapshotAcronym "S1"
-outputFile "C:\SnapS1.zip"]')
For information about the command, see BPMExportInstallPackage command.
- Optional: For each server and snapshot pair
that you are installing the process application onto, associate the
installation package with the server: For example:
AdminTask.BPMUpdateInstallationInformation('[
-containerAcronym "TOLPC"
-containerTrackAcronym "Main"
-containerSnapshotAcronym "S1"
-serverName "InstallPackageServer1"]')
For information about the command, see BPMUpdateInstallationInformation command.This step is not necessary for
connected servers because Process Center is
automatically updated with the association.
- For each snapshot you want to migrate instances from, export
the migration policy by running the BPMExtractMigrationPolicy command. The migration policy file is a standard XML file that you can
open and edit if necessary. For example:
AdminTask.BPMExtractMigrationPolicy('[-containerAcronym HSS -containerSourceSnapshotAcronym V1 -containerTargetSnapshotAcronym V2 -outputFile C:\migrationPolicy\V1_to_V2.xml]')
For information about the command, see BPMExtractMigrationPolicy command.
- Using FTP or a similar utility, transfer the installation
package (.zip) and the migration policy file
(.xml) to the server that hosts the new snapshot
or to a central location that the server can access.
- On the Process Server, install the snapshot by
running the BPMInstallPackage command in the
profile_root/bin directory. For
example:
BPMInstallPackage('[-inputFile "C:\SnapS1.zip"]')
For information about the command, see BPMInstallPackage command.
- To migrate running instances to the new snapshot, run the BPMMigrateInstances command
on the server. In the command, identify an old snapshot
as the source and the new snapshot as the target. If you exported
a migration policy file for the source snapshot, add the path to that
file as the orphanTokenPolicyFile parameter.
For information about the command, see BPMMigrateInstances command.
Tip: You can
also delete all orphaned tokens in Process Inspector. However, with
Process Inspector, you cannot choose to delete individual orphaned
tokens or move any tokens.
For example: AdminTask.BPMMigrateInstances(’[-containerAcronym HSS -sourceContainerSnapshotAcronym V1 -targetContainerSnapshotAcronym V2 C:\logFiles\V1_to_SHSV856.xml]')
- Optional: If necessary, set
environment variables. For example, the correct value
for a particular environment (such as test or production) might not
be known during the process design. In those cases, you must provide
the value after installing the process application in the new environment. For information, see BPMSetEnvironmentVariable command or Configuring runtime environment variables.
- Optional: If necessary, establish
runtime teams. For example, after you install a snapshot
in a new environment (such as test or production), you might need
to add or remove users in the teams for that process application.
That is, users in the test environment might not have been available
in the development environment. For information, see Configuring runtime teams.
- Optional: If necessary,
control exposed processes and services. For example,
after you install a snapshot in a new environment (such as test or
production), you might need to disable a particular exposed process
or service within that process application For information,
see Configuring exposed processes and services.
What to do next
If you experience problems with your installation, check
the process-installer.log file. For more information
about what issues can occur, see Troubleshooting snapshot installations.