BSM Connector enables you to import policies developed on other servers, for example, HP Operations Manager (HPOM) management servers, HP Network Node Manager i (NNMi) management servers, or other BSM Connector servers. Most policies can simply be copied from the source BSM Connector server and imported in the target server. However, some policies may contain information that does not apply to the target BSM Connector server. Policies may also contain sensitive information such as user names and passwords that must be secured before the distribution.
The following table describes policy content that should be modified or removed before the distribution. In addition to the items listed, you may need to adapt other content to prepare your policies for distribution, for example policy conditions.
Policy Type | Policy Field | Recommended Action |
---|---|---|
Database policies | Connect string |
If necessary, enter placeholders for the database server name and port, for example enter:
|
Username | Enter a placeholder for the database user name, for example: <db user name> . |
|
Password |
Remove the password from the policy. |
|
Structured log file policies | Log File Path / Name | If necessary, change the path or file name. |
Scheduled task policies | Password | Remove the password from the policy. |
Username | Remove the user name from the policy. | |
Password in commands, Perl, or VBScript |
Remove the password from the policy. Alternatively, use the ExecuteCommand method |
|
REST Web Service listener policies | Path | Part of the Effective URL for the REST Web Service Topology policy |
XML file policies | Log File Path / Name |
If necessary, change the path or file name. Tip: You can use Windows environment variables or call a command or script that returns the log file name and path. For details, see Policy Source Page |
Topology XML File | Path to the source file for the XML Topology policy. |
Prepare the policies for distribution:
Create copies of the policies.
Edit the copied policies and modify them as suggested in Policy content that should be modified or removed before distribution.
Identify the policy ID of each policy you want to export:
In the toolbar, click to open the Options dialog box.
In the Options dialog box, select Policy ID and click OK.
The policy list now shows the ID of each policy in an additional column.
On the BSM Connector server, navigate to the policy store:
Windows: "%OvDataDir%\datafiles\policymanagement\store"
Linux: /var/opt/OV/datafiles/policymanagement/store
Copy the header (<policyID>_header.xml
) and the data (<policyID>_data
) files to a temporary location on the target BSM Connector server and import them.