Polling Tentacle: Register multiple servers only last one take effect

Hi,

We met a block issue in polling tentacle when try to register multiple servers. we have added these server addresses into Tentacle.config, by following this guideline: http://docs.octopusdeploy.com/display/OD/Configuring+Octopus+for+High+Availability

But only the last server address can take effect. (We are using 3.2.8-x64 version, also tried latest 3.2.13 version, the same problems)

Could someone please help give some hints? Thanks.

Thanks,
Lynn

Hi Lynn,

Thanks for getting in touch. I’m terribly sorry but that documentation was misleading, and you were correct, the last entry wins. You will need to configure each server in your HA cluster as part of a JSON array in a single XML element:

<set key="Tentacle.Communication.TrustedOctopusServers">
[
  {"Thumbprint":"77751F90F9EEDCEE0C0CD84F7A3CC726AD123FA6","CommunicationStyle":2,"Address":"https://10.0.255.160:10943","Squid":null,"SubscriptionId":"poll://g3662re9njtelsyfhm7t/"},
  {"Thumbprint":"77751F90F9EEDCEE0C0CD84F7A3CC726AD123FA6","CommunicationStyle":2,"Address":"https://10.0.255.161:10943","Squid":null,"SubscriptionId":"poll://g3662re9njtelsyfhm7t/"},
  {"Thumbprint":"77751F90F9EEDCEE0C0CD84F7A3CC726AD123FA6","CommunicationStyle":2,"Address":"https://10.0.255.162:10943","Squid":null,"SubscriptionId":"poll://g3662re9njtelsyfhm7t/"}
]
</set>

I have confirmed that this works as expect and updated the documentation to suit.

When you start the tentacle you should see log entries something like this (in my case a two-node cluster):

Agent will poll Octopus server at https://localhost:10943/ for subscription poll://rm6z2ejsx32nuyytht24/ expecting thumbprint B2F3A3E997063902F0BB0116BE6F0B6323
5552BD
Agent will poll Octopus server at https://localhost:10945/ for subscription poll://rm6z2ejsx32nuyytht24/ expecting thumbprint B2F3A3E997063902F0BB0116BE6F0B6323
5552BD

If you have any other problems don’t hesitate to reach out for help.

Happy Deployments!
Mike

Hi Mike,

Thanks for your prompt response, great that it works now.
Will let you know if we meet any other questions.

And, Marry Christmas~

Thanks,
Lynn

Hi Lynn,

Thanks for getting back to me, and I’m glad that worked out.

Happy Deployments!
Mike