This content has been marked as final.
Show 1 reply
-
1. Re: Wildfly domain and separate deploy
jaysensharma Oct 24, 2015 12:46 AM (in response to zizoudan)Seems that you are looking out for "rollout" plan based deployment feature.
Know more about this "rollout" and "rolling-to-servers=true" : Management API reference - WildFly 9 - Project Documentation Editor (Operations with a Rollout Plan)
Example
Create a rollout plan
deploy ProdApp.war --name=ProdApp.war --runtime-name=ProdApp.war --server-groups=ha-server-group --headers={rollout ha-server-group(rolling-to-servers=true)}
Apply the rollout plan to all to all the server-groups
deploy /NotBackedUp/PREVIOUS/ALLWAR/ProdApp.war --name=ProdApp.war --runtime-name=ProdApp.war --server-groups=main-server-group,other-server-group --headers={rollout main-server-group(rolling-to-servers=true),other-server-group(rolling-to-servers=true)}