Thursday, 4 October 2018

BPMConfig - Validation of a Deployment Environment

So this is a new one to me ….

In the context of changing WAS / BPM passwords, and then validating the changes, the IBM Knowledge Center has this to say: -



Having documented the password change process for my client, I thought I'd give the validation a try 

/opt/ibm/WebSphere/AppServer/bin/BPMConfig.sh -validate -profile Dmgr02 -de De1 -outputDir /tmp/val

The output was: -

ls -R -al /tmp/val/

/tmp/val/:
total 4
drwxr-xr-x   3 wasadmin wasadmins   17 Oct  4 09:04 .
drwxrwxrwt. 19 root     root      4096 Oct  4 09:34 ..
drwxr-xr-x   3 wasadmin wasadmins   54 Oct  4 09:04 html

/tmp/val/html:
total 36
drwxr-xr-x 3 wasadmin wasadmins    54 Oct  4 09:04 .
drwxr-xr-x 3 wasadmin wasadmins    17 Oct  4 09:04 ..
-rw-r--r-- 1 wasadmin wasadmins 34573 Oct  4 09:04 configValidationReport_De1.html
drwxr-xr-x 3 wasadmin wasadmins    51 Oct  4 09:04 css

/tmp/val/html/css:
total 12
drwxr-xr-x 3 wasadmin wasadmins   51 Oct  4 09:04 .
drwxr-xr-x 3 wasadmin wasadmins   54 Oct  4 09:04 ..
drwxr-xr-x 2 wasadmin wasadmins 4096 Oct  4 09:04 images
-rw-r--r-- 1 wasadmin wasadmins 1966 Oct  4 09:04 style.css
-rw-r--r-- 1 wasadmin wasadmins  849 Oct  4 09:04 table.css

/tmp/val/html/css/images:
total 40
drwxr-xr-x 2 wasadmin wasadmins 4096 Oct  4 09:04 .
drwxr-xr-x 3 wasadmin wasadmins   51 Oct  4 09:04 ..
-rw-r--r-- 1 wasadmin wasadmins  155 Oct  4 09:04 error.gif
-rw-r--r-- 1 wasadmin wasadmins  157 Oct  4 09:04 ibm-logo-white.gif
-rw-r--r-- 1 wasadmin wasadmins  142 Oct  4 09:04 part_start.gif
-rw-r--r-- 1 wasadmin wasadmins  146 Oct  4 09:04 part_stop.gif
-rw-r--r-- 1 wasadmin wasadmins  145 Oct  4 09:04 running.gif
-rw-r--r-- 1 wasadmin wasadmins  146 Oct  4 09:04 stop.gif
-rw-r--r-- 1 wasadmin wasadmins  297 Oct  4 09:04 success.gif
-rw-r--r-- 1 wasadmin wasadmins  149 Oct  4 09:04 unknown.gif
-rw-r--r-- 1 wasadmin wasadmins  158 Oct  4 09:04 warning.gif

and the HTML page looked like this: -


Nice !

No comments:

Note to self - use kubectl to query images in a pod or deployment

In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...