The WebSphere® administrative (wsadmin) scripting program is a powerful, non-graphical command interpreter environment that you can use to run administrative operations in a scripting language. You can use the wsadmin tool in connected mode to install, manage, and undeploy snapshots.
In a network deployment environment, an application cluster member runs the Process Server and Process Center applications. Therefore, you must run these wsadmin commands on the node that contains that application cluster member. Do not run the commands from the deployment manager profile.
Command | Description | Available for Process Center server or a process server? |
---|---|---|
Commands for installing and undeploying snapshots (connected and offline servers) | ||
BPMInstall | Installs a snapshot on a connected process server. | Process Center server only |
BPMUndeploy | Undeploys a process application snapshot from a process server. If the snapshot is active, this command stops the snapshot and allows all processing to complete before removing the snapshot. | Process Center server only |
BPMCreateOfflinePackage | Use this set of commands to create an installation package for a snapshot, extract it to a .zip file on a local file system, and install the package on an offline process server. | Process Center server only |
BPMExtractOfflinePackage | Process Center server only | |
BPMInstallOfflinePackage | Offline process server only | |
Commands for viewing process applications and artifacts | ||
BPMListProcessApplications | Lists all process application snapshots on a given server. | Process Center server and any running process server instance |
BPMShowProcessApplication | Lists information about a process application on a given server. | Process Center server and any running process server instance |
BPMListServers | Lists all process server instances that are federated into the Process Center server. | Process Center server only |
BPMShowServer | Lists information about a specific server. | Process Center server and any running process server instance |
BPMShowSnapshot | Lists information about a process application or toolkit snapshot on a given server. | Process Center server and any running process server instance |
Commands for administering snapshots | ||
BPMActivate | Activates a snapshot on a server. | Process Center server and any running process server instance |
BPMDeactivate | Deactivates a snapshot that is running on a server. | Process Center server and any running process server instance |
BPMStop | Stops a snapshot that is running on the Process Center server or that is deactivated on a process server. | Any running process server instance |
Commands for exporting and importing | ||
BPMExport | Exports a process application snapshot to a .twx file so that it can be imported on another Process Center server. | Process Center server only |
BPMImport | Imports a process application snapshot that has been exported from another Process Center server. | Process Center server only |
All wsadmin commands for managing process applications must be run in connected mode and the server must be running. Use the -contype argument to indicate what connection type you want to use (SOAP or RMI).
In the following syntax example, ProcessCenterServer01.mycompany.com is the name of the host in the wsadmin.properties file that is specified by the com.ibm.ws.scripting.port property. Make sure to substitute your own port, host name, user name, and password when creating a connection.
wsadmin -conntype SOAP -port 4080 -host ProcessCenterServer01.mycompany.com -user admin -password admin