Repair accidental corruption of persistence.properties file in Aria Operation
search cancel

Repair accidental corruption of persistence.properties file in Aria Operation

book

Article ID: 342843

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

The Aria Operation cluster might become stalled, waiting for analytics to come online. The problem can occur for different reasons, one of which is that persistence.properties has become corrupted.

Environment

Aria Operation 8.16 and later

Resolution

To check and repair persistence.properties, take the following steps.
 
  1. Make a note of the IP addresses of the master and replica nodes.
     
  2. Use the administration interface to take the cluster offline.
     
  3. Log in to the console of the master node.
     
  4. Open the following file in a text editor.

    $ALIVE_BASE/user/conf/persistence/persistence.properties
     
  5. Verify that the following values are set:

    repl.db.role = MASTER
    repl.jdbc.url = jdbc:postgresql://{master-ip-address}:5433/vcopsdb
    repl.db.replicator.url=jdbc:postgresql://{master-ip-address}:5433/vcopsdb

     
  6. Save and close persistence.properties.
     
  7. Log in to the console of the replica node.
     
  8. Open the following file in a text editor.

    $ALIVE_BASE/user/conf/persistence/persistence.properties
     
  9. Verify that the following values are set:

    repl.db.role = REPLICA
    repl.jdbc.url = jdbc:postgresql://{master-ip-address}:5433/vcopsdb
    repl.db.replicator.url=jdbc:postgresql://{replica-ip-address}:5433/vcopsdb

     
  10. Save and close persistence.properties.
     
  11. Log in to the console of each data node.
     
  12. Open the following file in a text editor.

    $ALIVE_BASE/user/conf/persistence/persistence.properties
     
  13. Verify that the following values are set:

    repl.db.role=CLIENT
    repl.jdbc.url=jdbc:postgresql://{master-ip-address}:5433/vcopsdb

     
  14. Save and close persistence.properties.
     
  15. Use the administration interface to bring the cluster online.

Additional Information

In a Continuous Availability Enabled Cluster, both the Primary and Replica nodes should be set to the Master role.