Failing Over the Edge Pool Used for XMPP Federation
Topic Last Modified: 2012-10-19
In your organization, there is one Edge pool designated as the pool to use for XMPP federation. If this pool goes down, you must fail over XMPP federation to use a different Edge pool before XMPP federation can work again.
When you first install Edge pools and enable XMPP Federation, you can simplify the disaster recovery process by setting up external DNS SRV records for all of your Edge pools for XMPP federation, instead of just one. Each of these SRV records must have a different priority set. All XMPP federation traffic goes through the pool with the SRV record with the highest priority. For more information on enabling and setting up XMPP federation, see Setting Up XMPP Federation.
In the following procedure, EdgePool1 is the pool which originally hosted XMPP federation, and EdgePool2 is the pool which will now host XMPP federation.
If you don’t already have another Edge pool deployed (besides the one which is currently down), deploy that pool. For details, see Deploying External User Access.
On each Edge Server in the new Edge pool which will now host XMPP federation (EdgePool2), run the following cmdlet:
Run the following cmdlet to repoint the XMPP federation route to EdgePool2:
Set-CsSite Site2 -XmppExternalFederationRoute EdgeServer2.contoso.com
In this example, Site2 is the site containing the Edge pool which will now host the XMPP federation route, and EdgeServer2.contoso.com is the FQDN of an Edge Server in that pool.
On the external DNS server, change the DNS A record for XMPP federation to point to EdgeServer2.contoso.com.
If you do not already have a DNS SRV record for XMPP federation which resolves to the Edge pool which will now host XMPP federation, you must add it, as in the following example. This SRV record must have a port value of 5269.
Verify that the Edge pool which will now host XMPP federation has port 5269 open externally.
Start the services on all Edge Servers in the Edge pool which will now host XMPP federation: