hello anand
(trying to help)
ur infrastructure right now is : (cmiiw)
Server-a.openfire.domain.com : with sample ip : 1.1.1.2
Server-b.openfire.domain.com : with sample ip : 1.1.1.3
Server-a.openfire.domain.com CNAME to chat.domain.com
Server-b.openfire.domain.com CNAME to chat.domain.com
ur user address is user@chat.domain.com
---- try my schema :
ip address : 1.1.1.2 (server-a) : point to chat.domain.com ( do not cname please use roundrobin way )
ip address : 1.1.1.3 (server-b) : point to chat.domain.com ( do not cname please use roundrobin way )
and if someone or ur self try to nslookup chat.domain.com, u will get the result like :
chat.domain.com resolve to 1.1.1.2
chat.domain.com resolve to 1.1.1.3
and then if you dont want to using ip address for administrator access you can point another subdomain to each ip address for ur xmpp server.
ip address : 1.1.1.2 : point to server-a.openfire.domain.com
ip address : 1.1.1.3 : point to server-b.openfire.domain.com