Smarts SAM: How can I restore a Smarts Repository (RPS) file that has been previously saved without restarting the server?
search cancel

Smarts SAM: How can I restore a Smarts Repository (RPS) file that has been previously saved without restarting the server?

book

Article ID: 304130

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

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




You can restore an RPS that has been previously saved without restarting the server with the following command:

./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.

Command usage example
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 get added back without restarting the server.