Migrating a monitoring policy between KM versions
A monitoring policy that was defined in a previous KM version is not automatically migrated to a new KM version.
To migrate the monitoring policy from the old KM version to the new version, the user can complete the following procedure on the TrueSight Presentation Server host using the TrueSight Presentation Server as an admin user. .
To migrate a monitoring policy
- From a supported browser, log on to the TrueSight console and from the menu select Configuration>Infrastructure Policies.
- From the list of configured policies, copy the policy name that you want to migrate to the new KM version.
- Log on to the TrueSight host by one of the following methods.
- For Windows: Use RDP to connect to the host system and open a command prompt window.
- For Linux: Use an SSH command line terminal to connect to the host system
From the system where the KM policy is configured, got to the Truesight Presentation Server's bin directory:
cd <TrueSight Presentation Directory>\truesightpserver\bin
Enter the following command to export the policy .bat file:
cmapolicymigration.bat export -d <location of the policy .mo file> -p <policy name>
For example:
cmapolicymigration.bat export -d c:\tmp\AM -p AM_KM
With a text editor, open the .mo file with the policy name and replace all string occurrences of the old KM version to the new version.
For example, change 10.7.00 to 10.7.00.01.Save and close the .mo file.
Import the updated .mo file to TrueSight Presentation Server's bin directory using the following commands
cmapolicymigration.bat import -d <directory location for mo file export> -f
For example:
cmapolicymigration.bat import -d c:\tmp\AM –f
Comments
Log in or register to comment.