Deprecate a relay

Is there anything special to do when deprecating a relay? I can think of removing it from any installation config files, and making sure endpoints aren’t statically assign to it… anything else?

That’s all we do!

You could leave it on for a while and monitor the connection log to make sure no clients report into it.

1 Like

If nothing is statically pointing to it, removing the relay service will mean anything that is dynamically trying to get to that relay will re-select another relay so as long as something else is present there. The client should attempt to re-select a relay if it is unable to post reports for a while (depends on your settings)

I’d always remove the relay and let the agent report that the relay is gone however, don’t just remove both or the relays.dat file will still contain the relay

2 Likes

I’m curious, why are you deprecating the relay?

Also, you could create a CNAME record for that relay that points to another relay that still exists in a similar location. This would allow any client trying to select that relay to still get a relay.