Friday, 28 November 2014

IBM BPM - Deleting a Deployment Environment

Not sure why this happens but, when I'm trying to delete an IBM BPM 8.5.5 Deployment Environment: -

/opt/IBM/WebSphere/AppServer/bin/BPMConfig.sh -delete -de ProcessServer -profile Dmgr01

I get this: -

Logging to file /opt/IBM/WebSphere/AppServer/logs/config/BPMConfig_20141128-063539.log.

Do you want to delete deployment environment?
1. yes
2. no
Input option number: 1
Before executing command to delete a deployment environment, it must at least stop the deployment environment.
Checking the state of deployment environment ProcessServer...
The deployment manager is started.
The node AppSrv01Node is started.
The node AppSrv02Node is started.
The deployment environment ProcessServer is stopped.
Deleting deployment environment ProcessServer...
CWMCB1151E: The application(s) HTM_PredefinedTasks_V8000_AppCluster, HTM_PredefinedTaskMsg_V8000_AppCluster must be uninstalled manually before deleting the deployment environment ProcessServer.
The 'BPMConfig.sh -delete -profile Dmgr01 -de ProcessServer' command failed. For more information, see the log file /opt/IBM/WebSphere/AppServer/logs/config/BPMConfig_20141128-063539.log.


So I deleted the two offending applications, and I was then able to delete the DE: -

/opt/IBM/WebSphere/AppServer/bin/BPMConfig.sh -delete -de ProcessServer -profile Dmgr01

Logging to file /opt/IBM/WebSphere/AppServer/logs/config/BPMConfig_20141128-063934.log.

Do you want to delete deployment environment?
1. yes
2. no
Input option number: 1
Before executing command to delete a deployment environment, it must at least stop the deployment environment.
Checking the state of deployment environment ProcessServer...
The deployment manager is started.
The node AppSrv01Node is started.
The node AppSrv02Node is started.
The deployment environment ProcessServer is stopped.
Deleting deployment environment ProcessServer...
The action of deleting the deployment environment does not delete the authentication aliases, or the users used by ProcessServer, or the folder '/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/dbscripts/ProcessServer'.
The 'BPMConfig.sh -delete -profile Dmgr01 -de ProcessServer' command completed successfully.


For the record, I could've also chosen to add the parameter: -

-acceptDeletionPrompt

to my command to avoid the Do you want to delete deployment environment? prompt.

No comments:

Reminder - installing podman and skopeo on Ubuntu 22.04

This follows on from: - Lest I forget - how to install pip on Ubuntu I had reason to install podman  and skopeo  on an Ubuntu box: - lsb_rel...