Repair accidental corruption of persistence.properties
search cancel

Repair accidental corruption of persistence.properties

book

Article ID: 342843

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

The vRealize Operations Manager 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

VMware vRealize Operations Manager (Standalone) 5.8.x
VMware vRealize Operations Manager 6.6.x
VMware vRealize Operations Manager 6.1.x
VMware vRealize Operations Manager 6.2.x
VMware vRealize Operations Manager 6.0.x
VMware vRealize Operations Manager 6.5.x
VMware vRealize Operations Manager 6.3.x
VMware vRealize Operations Manager 6.4.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.

Additional Information