Skip to main content

 VCF 9.0.1

How to update DNS IPs for VCF 9.0.1 environment.

While deploying the VCF, I deployed it with only one Domain Controller which was serving NTP & DNS for the deployment itself.

Post deployment, I had to reboot the DC and realised that there is only one DNS and NTP serving the whole stack, so I had to build a redundant DC and join it as secondary DC. 

Once I finished with secondary DC, I had to update the secondary IP address on all the components, so make the new IP usable on all components, you have to update it on SDDC Manager and follow these steps.

I have used VCF API Explorer in the SDDC Manager's Developer Center.

Step 1: Perform a GET request to view the current configuration.

Step 2: Perform a PUT request with the updated DNS servers in the request body, ensuring the isPrimary flag is set correctly for each server. 

For example:

{
  "dnsServers": [
    {
      "ipAddress": "172.16.128.225",
      "isPrimary": true
    },
    {
      "ipAddress": "172.16.128.226",
      "isPrimary": false
    }
  ]
}
 

Comments

Popular posts from this blog

Renew SSL Certificate for vCloud Director 10.4

Hello There, I would like to give credit for this article to my colleague Muhannad S. Aljaghthami who worked on this task and gave us full insight on how to do. Now lets talk about replacing an expired/ about to expire SSL certificate for the vCloud Director application which is hosted on internet. Prerequisites: Digicert Certificate utility for windows.  Putty/Mobaxterm application for SSH to vCD cells. Winscp to transfer the files to vCD cells. SSH access should be validated on vCD Cells Backup tool to take a backup of vCD cells. Versions & products used while writing this article: vCloud Director 10.4 NSX AVI 22.1.1 Step by step procedure: Initiated a CSR request using Digicert utility for windows and shared the CSR with the team who manages the SSL certificates.  Post submission of CSR,we received the root & SSL certificate for our vCloud Director URL. Using the Digicert utility, we have extracted the pfx file and key file, sample screenshot below.     No...

How to find the physical switch port details from esxcli?

 This article will help you to get the details of the physical switch port details of  ESXi uplinks. Step 1: Login to the ESXi host using root user/ SSO User. Step 2: Enter the below command into the terminal.   vim-cmd hostsvc/net/query_networkhint | grep 'portId\|devId\|vmnic' Output will show the details of the associated physical switch. Note: CDP, LLDP has to be enabled on physical switch. This information is needed when you end up in a troubleshooting session with network team for physical uplinks down/inconsistency of traffic.

JobQueue is full in iDRAC and unable to upgrade firmware??

  Hello There, I was working recently on upgrading the firmware for Dell Power Edge servers due a requirement. As usual, I did the download of the necessary firmware update file and uploaded it in the iDRAC and started the upgrade. Waited for couple of minutes, If I can say, it was almost 15 minutes without any progress. I tried to check the log/job queue in the iDRAC and found it was full of old entries and I tried clearing it but found no option. Later after findings, I managed to find a command which clears the jobqueue, and below is the command I used after logging into iDRAC via SSH. racadm jobqueue delete -i JID_CLEARALL_FORCE Once the above command was executed, I tried to login to iDRAC and check the job queue and found everything was cleared. Whats next?? Tried uploading the file again and then managed to successfully update the firmware.