Steps to restore Smarts Repository (RPS) file that has been previously saved without restarting the server
search cancel

Steps to restore Smarts Repository (RPS) file that has been previously saved without restarting the server

book

Article ID: 304130

calendar_today

Updated On:

Products

VMware Smart Assurance Network Observability

Issue/Introduction

  • How can I restore a Smarts Repository (RPS) file that has been previously saved without restarting the server?
  • How to restore a Smarts RPS file
  • How to use the Smarts invoke ICF_PersistenceManager::ICF-PersistenceManager restore command

Environment

All supported release of Smarts

Resolution

You can restore an RPS that has been previously saved without restarting the server with the following command run from <BASEDIR_SAM>/smarts/bin

./dmctl -s <SAM-Domain> invoke ICF_PersistenceManager::ICF-PersistenceManager restore

IMPORTANT! This command should be used for testing purposes. This restore command will restore and overwrite current settings but will not remove current settings that no longer exist. Also be aware that this command is not a replacement for restarting a server. There are many other functions that happen when you restart a server which are not done by this restore operation.



Additional Information

The following steps provide an example of how to use the dmctl restore command to restore an RPS file without restarting the server:

  1. Add a user to the domain of a Smarts SAM domain that is already running.
  2. Use the following dmctl command to save the RPS file to disk:
    ./dmctl -s <SAM-Domain> invoke ICF_PersistenceManager::ICF-PersistenceManager save 
     
  3. Delete the user from the Smarts SAM domain (the RPS file in memory will be modified).
  4. Use the dmctl restore command:  
    ./dmctl -s <SAM-Domain> invoke ICF_PersistenceManager::ICF-PersistenceManager restore
     
  5. The deleted user will be added back without restarting the server.