Captain
Captain
226 views

Import the Customized Policy from OperationsConnector to OBM

Hi Team,

As part of new release OBM 2020.05,Connector Policies are being maintained by the OBM itself.In order to achieve this functionality

Already I have the customized policy for SCOM  is inplace with Operations Connector .Post this OBM upgrade ,I am planning to migrate the policy from Operations Connector to the OBM policy management since Ops connector UI will not work with Flash

 

1)Do I need to create the policy manually in OBM and deploy them on the Operations Connector server?

2)Can I import the customized policy which is already in place with Operations Connector to OBM?

3)Or Do I need to deploy the Content pack policy which is available with SCOM Content pack on OBM? and to which I need to customize the policy again?

 

Please find the versions of the products as below:

Operations Connector version :2019.05

SCOM Connector:2020.05

OBM :2020.05 Classic Deployment

 

0 Likes
1 Reply
Fleet Admiral Fleet Admiral
Fleet Admiral

Thats not that big thing. there are a few ways to do this.

for me the easiest one is to grap the policy files itself from the Agent. These are under /var/opt/OV/datafiles/polices/TYPE_OF_POLICY on Windows this should be %%OVDATADIR%\datafiles\policies.

Use an Editor to find the correct files you need. The xml files are not needed:

[root@omi-lin1 OpC]# ls -l /var/opt/OV/datafiles/policies
total 72
drwxrwxr-x. 2 root root 4096 Jun 21 14:13 configfile
drwxrwxr-x. 2 root root 4096 Jun 21 14:13 configfiletmpl
drwxrwxr-x. 2 root root 4096 May 27 22:49 configsettings
drwxrwxr-x. 2 root root 4096 Jun 21 13:52 le
drwxrwxr-x. 2 root root 4096 Jun 21 13:52 letmpl
drwxrwxr-x. 2 root root 4096 Jun 21 13:52 metricstruct
drwxrwxr-x. 2 root root 8192 Jun 19 16:13 monitor
drwxrwxr-x. 2 root root 8192 Jun 19 16:13 monitortmpl
drwxrwxr-x. 2 root root 4096 May 27 15:23 msgi
drwxrwxr-x. 2 root root 4096 Jun 21 14:34 sched
drwxrwxr-x. 2 root root 4096 Jun 21 14:34 schedtmpl
drwxrwxr-x. 2 root root 4096 Jun 19 16:13 svcdisc
drwxrwxr-x. 2 root root 4096 Jun 19 16:13 svcdisctmpl
drwxrwxr-x. 2 root root 4096 May 15 22:39 trapi

The Policyfiles look like this:

0d624754-fb06-75b5-1afd-9b41a4351c81_data

copy them to a n empty folder on the OBM server then run the ConfigExchange tool to upload them to OBM.

ConfigExchange.sh -ex shows me this:

Upload OMW|U policies + instrumentation from directory /tmp/myOMDownload:
ConfigExchange.sh -username user -password passwd -uploadOM -input
/tmp/myOMDownload

 

another way is to select the BSMC node in OBM an leftclick -> Syncronice packages. Will upload the policies to OBM. But here is a pitfall, too. Didnt woked for me with older versions of OBM. Polices of BSMC were created but empty. size zero. not deployable.

so be carefull!

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.