How to change DNS entries in a deployed IDPA

           

   Article Number:     537628                                   Article Version: 2     Article Type:    How To 
   

 


Product:

 

Integrated Data Protection Appliance Family

 

Instructions:

 

 

 Procedure for updating DNS servers in a deployed Integrated Data Protection Appliance (IDPA)   
   
    1)    Make sure that the new DNS has exactly the same hostname to IP mapping as the previous DNS. Please verify the hostname in the Active Directory (AD).   
    2)    Verify that the reverse and forward lookup is working for new DNS.   
    3)    Download the “DataProtectionConfig.pdf” as per the below screenshot from the ACM UI to get all the needed VM’s IP addresses.   
     User-added image   
   
    4)    Follow the below steps on all VM’s other than Data Domain, ESXi and VCenter:   

      a)    SSH to every VM via putty     
      b)    Edit the “resolv.conf” file to reflect the new IP of the DNS.   
   
    cd /etc/     
      vi resolv.conf
   
   
    For eg:   
    Old entry:   
    nameserver 10.254.66.23   
   
    New Entry:   
    nameserver 10.254.66.24   
   
    5)    For Data Domain, follow the below steps to update the DNS entries:   
      a)    SSH to data domain using sysadmin credentials.     
     
      b)    Run command “net show dns”.      
      Example output:   
   
      sysadmin@datadomain]# net show dns       
        #   Server       
        -   ------------       
        1   10.254.66.23       
        2   10.254.66.24       
        -   ------------
     
      Showing DNS servers configured manually.     
     
      c)    Run command “net reset dns”.      
      Example output:     
      sysadmin@datadomain]# net reset dns       
        The Name (DNS) server list is empty.       
       
        d)    Run command “net set dns <dns_ip1> <dns_ip2>”. 
     
      Example output:     
      sysadmin@datadomain]# net set dns 10.254.66.23 10.254.66.24       
        The Name (DNS) server list is:       
                10.254.66.23, 10.254.66.24
   
   
    6)    For all the ESXi hosts, follow the below steps to update the DNS entries:   
      a)    SSH to ESXi using root credentials     
     
      b)    Run “esxcli network ip dns server list” command to list down the registered DNS entries.     
      Example output:     
      [root@ledmh085:~] esxcli network ip dns server list       
        DNSServers: 10.254.66.23
     
     
      c)    Run “esxcli network ip dns server remove --server=<old_dns_ip>” command to remove the old DNS IP.      
      Example output:     
      [root@ledmh085:~] esxcli network ip dns server remove --server=10.254.66.23     
     
      d)    Run “esxcli network ip dns server add --server=<new_dns_ip>” command to remove the old DNS IP.     
      Example output:     
      [root@ledmh085:~] esxcli network ip dns server add --server=10.254.66.24   
   
    Note: 6.c and 6.d needs to be done for other nameserver as well if the list command (6.b) lists down a secondary DNS.   
   
    7)    For VCenter, follow the below steps to update the DNS entries:   
      a)    Open Web UI of Vcenter using: https://<vcenter_ip>:5480     
     
      b)    Navigate to Networking > Manage tab     
     
      c)    Locate entries of “Hostname, Name Servers, and Gateways”     
       User-added image     
     
      d)    Click the Edit button as highlighted in the above screenshot and change the entries of DNS server     
     
      8)    SSH to ACM, edit “commonconfig.xml” to reflect the new DNS entries     
      cd /usr/local/dataprotection/var/configmgr/server_data/config/         
          vi commonconfig.xml
     
      edit the below entries with the new DNS IP     
      <primaryDns>10.254.66.23</primaryDns>       
        <secondaryDns>10.254.66.24</secondaryDns>
   
   
    9)    Appliance is ready to be used. There is no need to restart any service on any VM.