webspherewsadminrollout

IBM Websphere deployment using wsadmin to rollout updates in High availability environment


We are currently deploying applications to cluster via WAS admin console. After updating the Application we Rollout updates instead of Saving the configurations. This rolls out the application server by server so that the application is continuously available. Now we need to automate this deployment using wsadmin command line tool. I am not sure how to do it.

A simple AppAdmin.update command with AdminConfig.save updates applications on the servers simultaneously producing downtime.


Solution

  • Looking at the docs here - https://www.ibm.com/docs/en/was-nd/9.0.5?topic=scripting-updating-installed-applications-using-wsadmin-tool there is no "automatic" rollout via wsadmin scripting.

    So probably you could write your script to do following: