Smarts SAM: How do I stop the automatic repository save in SAM so I can schedule it myself?
search cancel

Smarts SAM: How do I stop the automatic repository save in SAM so I can schedule it myself?

book

Article ID: 303808

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

How do I stop the automatic repository save in Smarts SAM so I can schedule it myself?



The following sections of this Fix statement explain how to stop the automatic repository save in Smarts SAM and how to manually initiate a repository save.

Stopping the automatic repository save in Smarts SAM
To stop the automatic repository save in SAM, add the autoSave = FALSE parameter in the bootstrap.conf configuration file found here:

<BASEDIR>/SAM/smarts/local/conf/ics/bootstrap.conf  

The autoSave = FALSE parameter should be added to the "persistentClasses" section under the default defined checkpointPeriod = 3600 parameter so that it looks like the following example:

                "Map_ConfType",             # Config Map Types
                "TopoBuilder",              # Topo Builder class
                "ICS_ConsoleOperation",     # Class representing UI operation
                "ICS_ConsoleOperationGroup",# A group of UI operations
                "ICS_FeatureVersion"        # Versioning objects
        }
        checkpointPeriod = 3600
        autoSave = FALSE
}

Manually initiating the repository save
After making and saving the change to the bootstrap.conf configuration file described in the preceding section, you can use the following command to manually initiate the repository save:

dmctl -s SAM put ICF_PersistenceManager::ICF-PersistenceManager::autoSave FALSE