BSM Connector provides policy editors for different policy types (for example, for XML file policies). You can import policies developed and exported on other servers, for example, HP Operations Manager (HPOM) management servers, HP Network Node Manager i (NNMi) management servers, or other BSM Connector servers.
When you download policies on an HPOM management server, make sure the resulting policy files support the XML-based policy exchange format:
HP Operations Manager for Windows: use the ovpmutil
command-line tool.
HP Operations Manager for UNIX or Linux: use the opccfgdwn
command-line tool.
NNMi provides the nnmopcexport.ovpl
command-line tool, which exports an SNMP trap policy for use with BSM Connector. For more information about running this tool and the NNMi integration in general, see the NNMi Deployment Reference.
You can also import policies developed on other BSM Connector systems, for example, to ensure that the same set of policies is available on multiple BSM Connector systems. This is necessary, for example, when running BSM Connector in a cluster environment.
BSM Connector stores policies in the following folders:
Windows: %OvDataDir%\datafiles\policymanagement\store
Linux: /var/opt/OV/datafiles/policymanagement/store
In the BSM Connector user interface, click in the toolbar. A file selection dialog box opens.
Navigate to the policy files and, for each policy, select both the header (*_header.xml
) and the data (*_data
) files.
Click Open (on Windows) or OK (on Linux) to start the import process.
If the policies with the same policy ID already exist in BSM Connector, you are asked whether you would like to replace them with the newly imported policies.
The imported policies appear in the list of policies in the BSM Connector user interface. They are by default deactivated.
If necessary, edit the imported policies and adapt their contents to the new BSM Connector server.
Optional: Activate the policies.
You can import policies by using the bsmc_policy.[bat|sh]
script. The script is located at:
Windows:
%ovdatadir%installation\HPOprBSMC\bsmc-policy.bat
Linux:
/var/opt/OV/installation/HPOprBSMC/bsmc-policy.sh
Import a policy by using the following command:
bsmc-policy.[bat|sh] -import -header <full path to policy header file> -data <full path to policy data file>