Procedure to export & import escalation policy & actions from one SOI server to another
You can use the WSSamServiceCmd.bat command to import & export escalation policies and escalation actions. This command is actually designed to import & export services, escalation policies etc., but we can edit the .xml file and use it to export only Escalation Policies.
If you only want to export escalation policies to another SOI server, execute the following steps.1- Run ‘WSSamEncryptCmd’ command to generate encrypted password
2- Run WSSamServiceCMD.bat command on the first SOI Manager from which the escalation policies need to be exported to another SOI Manager:Note: command work with http requests only, does not work when SSL is enabled.
C:\CA\SOI\tomcat\bin>WSsamservicecmd.bat -hlocalhost:7090 -usamuser -p"<Encrypted password> “ -aExport -s* -fC:/allservicesimport.xml
3- Edit the .xml file and remove ‘<ns2:InfrastructureService>’ other tags & content, keeping only the Escalation Policy & Action tags as shown below. Add / Edit the policy details if required:
4- Copy / move this file to the destination SOI manager and run the same command with “Import” flag as shown below:
C:\CA\SOI\tomcat\bin>WSsamservicecmd.bat -hlocalhost:7090 -usamuser -p"<Encrypted password> “ -aImport -s* -fC:/allservicesimport.xml
5- The escalation policy / action will be created on the other SOI manager:
WSS commands work with http requests only, does not work when SSL is enabled.
reference: WSS Command Usage