The cluster name can be changed via the CASA REST API.
- On a system with curl installed (most Linux systems or any of the vRealize Operations Manager vApp nodes), run the following command to verify the current cluster name:
curl -ik -u 'admin:<password>' https://<master node IP/FQDN>/casa/deployment/cluster/info
Note: Replace <password> with the admin account password and replace <master node IP/FQDN> with the IP address or fully qualified domain name of the vRealize Operations Manager 6.0 master node.
Output similar to the following will be returned:
cal/casa/deployment/cluster/info
Date: Fri, 19 Dec 2014 15:58:32 GMT
Transfer-Encoding: chunked
Content-Type: application/json
{"cluster_name":"vRealize Cluster Node","installation_state":"DONE","ha_state":"ENABLED","ha_state_info":{"ha_state":"ENABLED","ha_details":{"is_ha_degraded":false}},"remove_node_state":"NONE","initialization_state":"NONE",
"online_state":"ONLINE","online_state_time":1418160200560,"online_state_reason":"",
"is_pak_instal
Note: The entry in quotes, immediately after "cluster_name" is the current cluster name. In the previous output, the cluster name is vRealize Cluster Node.
- Run the following curl command to update the cluster name:
curl -ik -u 'admin:<password>' -X PUT https://<master node IP/FQDN>/casa/deployment/cluster/info -d '{"cluster_name":"<new cluster name>"}' -H 'Content-Type:application/json'
Note: Replace <password> with the admin account password and replace <master node IP/FQDN> with the IP address or fully qualified domain name of the vRealize Operations Manager 6.0 master node.
Output similar to the following will be returned:
Date: Fri, 19 Dec 2014 16:01:20 GMT
Set-Cookie: JSESSIONID=8713DB07E8D4F82B4FF3ED725EA7CEC2; Path=/casa/; Secure; HttpOnly
- Re-run the curl command from Step 1 to verify that cluster name has been updated.