Hi Vishal,
Thanks for getting back! I’m sorry for the delay in responding to you.
It looks like I have miss-communicated in my initial response and created some confusion here. By default, Octopus will deploy each to all targets simultaneously, in parallel, the rolling deployment is for controlling how many targets are deployed to simultaneously. For the most part, this is used for when you want to remove a target from a load balancer, run the step, then enter it back into the load balancer.
Running your steps in parallel will cause them to deploy based on the window size, so if you have step 3
and 4
all as a rolling deployment, with a window size of 1
, they will deploy to one target at a time. Your deployment will still deploy step by step, the window size will just affect the rate in which it deploys to the targets in an environment.
If you would like each of your steps to run in parallel then you do not need to configure a rolling deployment. Octopus will, by default, run each step completely and simultaneously in the order you have them. However, Octopus can not deploy more than one step at a time.
-1. Database (DatabaseServer1) [Prerequisite Steps: None]
|_2. WindowsApplication1 (WindowsApplicationServer1, WindowsApplicationServer2, WindowsApplicationServer3, WindowsApplicationServer4) [Prerequisite Steps: 1]
|_3. WindowsApplication2 (WindowsApplicationServer5, WindowsApplicationServer6) [Prerequisite Steps: 1]
|_4. WindowsApplication3 (WindowsApplicationServer7, WindowsApplicationServer8) [Prerequisite Steps: 1]
|_5. Webservice1 (WebServiceServer1, WebServiceServer2) [Prerequisite Steps: 1]
|_6. WebSite11 (WebSiteServer1, WebSiteServer2) [Prerequisite Steps: 5]
|_7. WebSite12 (WebSiteServer1, WebSiteServer2) [Prerequisite Steps: 5]
|_8. Webservice2 (WebServiceServer1, WebServiceServer2) [Prerequisite Steps: 1]
|_9. WebSite21 (WebSiteServer1, WebSiteServer2) [Prerequisite Steps: 8]
|_10. WebSite22 (WebSiteServer1, WebSiteServer2) [Prerequisite Steps: 9]
|_11. Webservice3 (WebServiceServer3, WebServiceServer4) [Prerequisite Steps: 1]
|_12. WebSite31 (WebSiteServer3, WebSiteServer4) [Prerequisite Steps: 11]
|_13. WebSite32 (WebSiteServer3, WebSiteServer4) [Prerequisite Steps: 8, 11]
It looks like the order you have given me will work fine, if you are receiving any errors here, please attach a deployment log, I would be happy to investigate.
Instructions on retrieving the deployment log:
Sorry if I caused any confusion here, please let me know if you have any further questions here, or if I have something wrong.
Best regards,
Daniel