Windows server 2003 DNS update from UNIX VCS cluster
Hi Everyone,
I want to update a windows DNS record from a UNIX VCS cluster. Is this possible using the VCS DNS agent for Linux/Unix?
This technote maybe points to the right direction:
http://www.symantec.com/business/support/index?page=content&id=TECH159015
Thanks in advance.
WBR,
SW
Suppose your DNS name for your application is sql1.company.com and you have 1 DNS server on each site:
1.1.1.200
1.1.2.200
and sql1 should resolve to
1.1.1.5 at prod site
1.1.2.5 at DR site
Then add static A-records to your DNS server for Prod and DR IPs - example:
1.1.1.5 sql1_prd.company.com
1.1.2.5 sql1_dr.company.com
Then configure your VCS resources like (assuming you are using GCO:
Prod cluster:
DNS sql1_dns (ResRecord = { sql1 = sql1_prd }Domain = "company.com"StealthMasters = { "1.1.1.5", "1.1.2.5" })DR cluster:
DNS sql1_dns (ResRecord = { sql1 = sql1_dr }Domain = "company.com"StealthMasters = { "1.1.1.5", "1.1.2.5" })If you are using an RDC, rather than GCO, then you will need to localise the ResRecord attibute.
What VCS will do is resolve:
sql1 -> sql1_prod (so 1.1.1.5)
or
sq1 -> sql1_dr (so 1.1.2.5)
So VCS does not update A records, it updates the CNAME records
From VCS 5.1, you MAY be able to update A records, but I have always updated CNAME records.
You also need to make sure that your UNIX cluster nodes have permission to update your Windows DNS server - i.e. should be able to update the Windows DNS server using nsupdate command from UNIX (I forget the syntax) which I believe requires you to add the cluster nodes somewhere in the Windows DNS configuration (i.e only nodes you specify should be allowed to update DNS and this is non-secure because hostnames could be spoofed)
Mike