Summary:
After a Disaster Recovery you may have updated polices on the DR DMS database that you need to import back to the production server. The following commands detail how this is done on Windows.
Instructions:
1. Open a command prompt and run 'selang'.
2. In the selang command run 'env pmd'.
3. In the pmd environment run 'pmd DMS__ lock' to lock the database.
4. In the pmd environment run 'backuppmd DMS__' to backup the database.
5. In the pmd environment run 'pmd DMS__ unlock' to unlock it.
Example:
C:\Users\Administrator>selang
Target host: localhost
CA ControlMinder selang v12.80.1432 - CA ControlMinder command line interpreter
Copyright (c) 2013 CA. All rights reserved.
AC> env pmd
AC(pmd)> pmd DMS__ lock
(localhost)
Successfully locked Policy Model DMS__ for backup.
AC(pmd)> backuppmd DMS__
(localhost)
Successfully backup Policy model DMS__ to C:\Program Files\CA\AccessControlServer\APMS\AccessControl\Data\policies_backup.
AC(pmd)> pmd DMS__ unlock
(localhost)
Successfully unlocked Policy Model DMS__ for backup.
6. Move the backed-up DMS__ folder to the Production Enterprise Manager server.
7. Run the following command to restore data from the DR DMS to the Production DMS database.
dmsmgr -restore -dms DMS__ -source "C:\temp\DMS__" -replica [email protected]_ENTM_HOST
Example:
C:\Users\Administrator>dmsmgr -restore -dms DMS__ -source "c:\DMS__" -replica [email protected]
CA ControlMinder dmsmgr v12.80.1432 - dmsmgr utility
Copyright (c) 2013 CA. All rights reserved.
Successfully restored DMS.
Additional Information:
You can find more details in our documentation.
Implementation Guide › Installing a Disaster Recovery Deployment › How to Recover from a Disaster