Node Address in Cluster Management shows a different format than the rest of the cluster
search cancel

Node Address in Cluster Management shows a different format than the rest of the cluster

book

Article ID: 430372

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • A newly added node to the Aria Operations cluster can show the node's FQDN address or its IP address under Node Address in the Cluster Management page.
  • The rest of the cluster shows the Node Address in different format for the newly added node. E.g. the other nodes show their IPs, the new node shows its FQDN, or vice versa.
  • You would like to have a consistent format displayed for all the nodes.

Environment

Aria Operations 8.18.x

Cause

This is due to the way the node was deployed and its parameters entered.

Resolution

You can modify the Node Address by amending the casa.db.script file.

NOTE: Before attempting the steps below, ensure that you have taken snapshots of each node in the cluster as per Snapshot Creation in VMware Aria Operations. You can delete the snapshots when you have verified that Aria Operations is working as expected after the procedure.

Follow these steps on each node (Primary, Replica, Data):

  1. Log in to all the nodes as the root user via SSH or console.

    You can notice the difference of ip_address format by running this command on each node (casa.db.script in readable view):

    sed -nre "/clusterMembership/ s/^[^']+'([^']+)','([^']+)'.*/\2/p" /storage/db/casa/webapp/hsqldb/casa.db.script | python -m json.tool 

  2. Back up the existing file:

    cd /storage/db/casa/webapp/hsqldb/
    cp casa.db.script casa.db.script.BAK

     

  3. Stop the CASA service:

    service vmware-casa stop 

    Note: Make sure, casa service is stopped on all the nodes before you make the changes.

     

  4. Edit the script file:

    • Open /storage/db/casa/webapp/hsqldb/casa.db.script in a text editor.

    • Search for "ip_address" inside INSERT INTO CASA_DOCS VALUES and look for the occurrence you would like to change.

    • Replace it with the new node format.

    • Save and exit the file.

  5. Start the CASA service again:

    service vmware-casa start


    Once the service is up, you can log in to the UI and the changes will be reflected in the Cluster Management page.

Additional Information

クラスタ管理のノードアドレスが、クラスタ内の他のノードと異なるフォーマットで表示される(434206)