- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have configured vCenter HA in different subnets and it is working all fine
However I have question about dns resolution on this
for example i have vCenter.domain.com and it resolves to 192.168.0.50 Active
Then I have the same DNS A record for vCenter.domain.com for passive and it is 192.168.1.50 which means that passive is in different subnet
Now when active node fails what happens with DNS. DNs will still point me to 192.168.0.50 cause DNS just gives back IP address but it doesnt know that nothing on active doesnt respond on port 443
How did you resolve this thing. I know that load balancers do https probing and they can do it but DNS will just give IP address
What was your implementation for DNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If your DNS is supporting LB it will will give active IP and passive IP alternatively, otherwise it random. So in your current scenario it can resolve IP to any one of the active or passive.
So instead of having the same domain for active and passive use different domain like vcenter-a and vcenter-b respectively.
Regards,
Sachchidanand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ya i may probably do that like create another DNS record calling it vcenter-passive.domain.com and just put second IP address so we would have to choose passive if we see active down
Because DNS will not be able to see that nothing responds on https port 192.168.0.50 for active DNS as far as I know cannot do probing for https and detect that no answer on 443 on active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, DNS doesn't have any such intelligence about end server. It just resolve domain to IP or vice-versa, so the best way is to choose different domain for active and passive.
Regards,
Sachchidanand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI
This would be ok to tell users to use another DNS entry.
However what happens when failover happens will hosts know that IP address is now not the same. Hosts depend on FQDN to know which vCenter they belong
SO if active is 192.168.0.50 and passive is 192.168.1.150 how hosts will resolve this new IP address to FQDN. If they dont they will disconnect
What would be mechanism that will tell hosts that vCenter IP is now 192.168.1.150
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I understand your concern and I also gone through the following KB https://kb.vmware.com/s/article/85579
What I was trying to say in my previous post is the behavior of DNS. Even if your active node is up and running and DNS resolves the passive node IP during lookup if you have same FQDN for both active and passive, you will redirect to passive node.
Regards,
Sachchidanand