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

Repair accidental corruption of the persistence.properties file in Aria Operations

book

Article ID: 342843

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

The Aria Operations cluster might fail to go online, waiting for analytics services. The problem can occur for different reasons, one of which is that persistence.properties might have become corrupted.

Environment

Aria Operations 8.x
vRealize Operations 8.x

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.