Start a VM in octopus process

I am facing an issue. We are deploying on production via Octopus and want to deploy in Disaster Recovery VMs as well once deployment to prod completes. But DR vms are in shutdown state, we want to start them up and then deploy automatically. Can this be happen, can we start a VM in octopus process.

Hi Saurabhn,

Thanks for reaching out! This is possible since Octopus 3.4 where we added a step to do a health check in the middle of the deployment which allows you to include machines in the deployment that were not available when it started.

The below guide covers this in more detail. Its not 100% your scenario, but it mentions all the pieces you need for it: http://docs.octopusdeploy.com/display/OD/Deploying+to+transient+targets

As of a way to start/stop the machines, you’re gonna have to do that through scripts.

Hope that helps,
Dalmiro