Hello,
We use wsadmin scripting (-lang jython) to do deployments to a WAS ND cell. One cell is shared and has multiple applications. We are now facing a problem where we can't issue multiple concurrent deployments. As an example, deploy job #1 needs to do a nodeagent restart on the same node where job #2 is also being deployed, and it causes job #2 to fail.
I am unsure how to proceed with this. I understand that probably the best solution is to prevent nodeagents to restart in any jobs, but we have to do it because we execute the "Test Connection" functionality through scripting after we configure a Data Source. When a Data Source is modified, the nodeagent needs to restart to pick-up the new connection information.
My other thought was to implement some logic that would prevent another job to start in the same cell if one is already running. Does wsadmin have a command to check if such activity is happening?
I am open to any suggestions.
Joey
------------------------------
Joey Cote
------------------------------