Hello,
I'm looking for a way to leverage PowerCLI to update DNS Servers on multiple vROps nodes.
I understand we would need to do this manually. Please correct if I missed anything in the below steps, However I'm looking for a way to do this through PowerCLI.
1. SSH to the node using root
2. cd /opt/vmware/share/vami/
3. /opt/vmware/share/vami/ # ./vami_dns
Output: current DNS Servers configured
4. /opt/vmware/share/vami/ # ./vami_set_dns DNSIP1 DNSIP2
Output: DNS Server Settings Updated
5. Validate: /opt/vmware/share/vami/ # /vami_dns
Check the output, must show new DNS Servers.
Regards,
Uman