How to Update Octopus Deploy Tentacle to Restart Automatically

Seen this too many times before, where the users (Developers were unaware of a server reboot that caused their Tentacle to stop. Here is a defensive way to make sure your Tentacles start consistently.

Here is how to update the Octopus Tentacle in the case that the server is scheduled for downtime or just in general to avoid Tentacles being or considered offline within the Octopus Deploy server UI. Typically during installation of a tentacle on a destination server you don’t have the ability to recover gracefully if something goes wrong. This can be troublesome during patching or long server reboot times. Hmmm. For some automation here.

Open PowerShell as Administrator:

clip_image002

Open services.msc

clip_image004

Scroll to OctopusDeploy Tentacle service:

Right click and select properties:

clip_image006

Change Startup type to: Automatic (Delayed Start)

Switch to the Recovery tab:

clip_image008

Change the 1st, 2nd, Subsequent failures to Restart the service

clip_image010

Click apply or OK and you will now have a tentacle service that will be more stable after your machine boots from either a scheduled or maintenance reboot.

Advertisements

One thought on “How to Update Octopus Deploy Tentacle to Restart Automatically

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s