Jabber and CUCM TFTP Server Site Selection

CUCM TFTP server selection for Cisco phones has been a well known architecture for quite some time. The phone looks up a TFTP server address based on DHCP option 150 and downloads its configuration and files from the published address. Simple enough. Jabber on the other hand works a little differently as it does not use DHCP directly. The underlying PC takes care of addressing and Jabber has to find alternative methods to get to its TFTP server to download its configuration file.

In most cases Jabber uses a SRV records to locate a CUCM server running the User Data Service (UDS). UDS is enabled by default on all your CUCM servers by the way. Once this is located a service profile is returned which has a number of things, but in our case we are most interested in is the TFTP server addresses. Depending on how many TFTP servers you have enabled in your environment your service profile file will list all of them automatically. So if you have turned on TFTP on ever server in your cluster that’s what it will return.  See slide below for a more graphical look at the process.

 

image

Initially this may seem like a good idea to turn TFTP on every CUCM server and you have redundancy but this isn't how Jabber reads the file. Jabber will check to see if the first three TFTP servers are available only and if all three of those TFTP servers happen to be in a data center that is off line the client will not be able to pull down the jabber-config.xml file.

So what is the best practice? Never have more than two CUCM TFTP servers per cluster enabled per data center for Jabber. This will ensure that Jabber will never be stuck looking for a third server in the same datacenter and will need to look else where, hopefully in another datacenter where you have a third TFTP running. This doesn’t affect how a phone retrieves its information though because a phone as we mentioned earlier is using DHCP option 150. This also doesn’t affect how many TFTP servers you can have in your cluster just where you turn the service on if your also running Jabber and what high availability. In saying that ideally three TFTP servers is probably the optimal amount you will want or need there is nothing stopping you having more. I would suggest that if your desire is more than three have a solid engineering reason behind it.

As always, I hope this helps some hapless sole looking for an answer.

VoIPNorm

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.