Demo time, deployment of PFS and WfPS runtimes
Now let's move on to the most interesting part, the deployment of one PFS and two WfPS runtimes
Configure and deploy the PFS instance
When the PFS deployment is ready you may deploy the two WfPS instances.
Configure and deploy the WfPS instances
Remember to modify the namespaces of the various configuration files in order to have the three components in same location.
Update also WFPS_FEDERATE=true
, with value of 'true' the WfPS operator automatically federate the runtime to PFS running in same namespace.
Installations verification
To verify the status of PFS and WfPS installations you may use OCP console in browser or from command line
oc get pfs pfs-demo -n [your-namespace] -o jsonpath='{.status}' | jq .
oc get wfps wfps-1 -n [your-namespace] -o jsonpath='{.status}' | jq .
./pfs-show-federated.sh -c ../configs/pfs1.properties
To list all details of federated servers you can query against PFS server using command
./pfs-show-federated.sh -c ../configs/pfs1.properties -d
When installed and after few seconds you can query against PFS server the list federated contents using the following commands
# only tasks
./pfs-show-contents.sh -c ../configs/pfs1.properties -t
# only processes
./pfs-show-contents.sh -c ../configs/pfs1.properties -p
# only launchable entities
./pfs-show-contents.sh -c ../configs/pfs1.properties -l
# all
./pfs-show-contents.sh -c ../configs/pfs1.properties -a
Next steps
In the next and final post 'CP4BA Workflow Process Service (WfPS) deep dive part 3' I will guide you on how to install a 'production' type CP4BA deployment within which we will see the complete deployment scenario with PFS, WfPS and BAW running the ProcessPortal for federated systems.
Stay tuned.
References
Planning for a CP4BA Process Federation Server production deployment
Installing a CP4BA Process Federation Server production deployment
Administering and operating IBM Process Federation Server Containers
My GitHub repositories (see cp4ba- prefix)