The table below outlines the current and new hostnames.
2. Create a snapshot of VxRail Manager and vCenter Server.
3. If in use, disable Cluster Health Monitoring
4. Next we can start with the ESXi hostname change. From the VxRail - Hosts View, select the first host and change the hostname by clicking Edit.
5. Once the first host is completed, proceed with all remaining hosts.
6. Navigate to vCenter Server Management interface https://fqdn:5480 and update the vCenter Server hostname.
7. The target hostnames are now visible from vCenter Server, but we have some more work to do.
9. The vCenter Server hostname needs to be updated in VxRail Manager. SSH into VxRail Manager and execute the following API calls.
curl --location --request GET 'http://127.0.0.1/rest/vxm/internal/configservice/v1/configuration/keys/vcenter_host' --header 'Content-Type: application/json' --unix-socket /var/lib/vxrail/nginx/socket/nginx.sock
curl --location --request PUT 'http://127.0.0.1/rest/vxm/internal/configservice/v1/configuration/keys/vcenter_host' --header 'Content-Type: application/json' --unix-socket /var/lib/vxrail/nginx/socket/nginx.sock --data-raw '{"value": "vcsa.demo.local"}'
10. As a next step, the vCenter Server certificates need to be updated in VxRail Manager. Execute the following API call.
curl -k -X POST -H "Content-Type: application/json" --unix-socket /var/lib/vxrail/nginx/socket/nginx.sock -d @- << EOF http://localhost/rest/vxm/internal/operation/v1/vxm/download-vc-certs/execute { "vc_info": { "host": "fqdn", "username": "administrator@vsphere.local", "password": "password", "port": 443 }, "auto_accept_vc_cert": true } EOF
11. Restart VxRail marvin services.
systemctl restart vmware-marvin systemctl restart runjars
echo -n "administrator@vsphere.local:password" | base64
curl --location --request POST 'https://127.0.0.1/rest/vxm/private/pv/cache/' --header 'Content-Type: application/json' --header 'Authorization: Basic your_base64_auth_key' -k
13. VxRail Cluster Monitoring can be enabled again.
14. Clean up old DNS entries.