How to change the name of a vRealize Operations Manager 6.x cluster
search cancel

How to change the name of a vRealize Operations Manager 6.x cluster

book

Article ID: 313587

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This document will provide instructions for changing the name of a vRealize Operations Manager 6.x cluster.

Environment

VMware vRealize Operations 8.1.x
VMware vRealize Operations 8.0.x

Resolution

The cluster name can be changed via the CASA REST API.
  1. 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
HTTP/1.1 200 OK
Date: Fri, 19 Dec 2014 15:58:32 GMT
Server: Apache
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.
  1. 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:

HTTP/1.1 200 OK
Date: Fri, 19 Dec 2014 16:01:20 GMT
Server: Apache
Set-Cookie: JSESSIONID=8713DB07E8D4F82B4FF3ED725EA7CEC2; Path=/casa/; Secure; HttpOnly
Content-Length: 0
Content-Type: text/plain
  1. Re-run the curl command from Step 1 to verify that cluster name has been updated.



Additional Information

Impact/Risks:
The CASA REST API is not officially supported and the steps noted in this article might not work as expected in future versions of vRealize Operations Manager.