Absent Member.. GTrejos7 Absent Member..
Absent Member..

[Support Tip] OMU 9.10 - During opccfgupld -replace "policy" all policy's are gone


During an upload with opccfgupld -replace "policy name" all the policy's are gone except the one just uploaded with opccfgupld.


The option -replace actually replaces existing configuration entities (Nodes , Message Groups, Node Groups) with the new data but this is different for policies.
Uploading a single policy, even with “-replace” without “-subentity” should not delete all the other policies.

The behavior described here seems a buggy behavior.


use -subentity (opccfgupld -replace -subentity -index ...)

According to the manpages for opccfgupld:

Replace Mode with subentity option: -replace -subentity


                 This  mode does not cause the complete entity to be replaced.

                 Instead, the smallest identifiable objects of the entity  are

                 replaced if new data is available for them.


                 If no data with the identifier specified exists, the new data

                 will be loaded as in Add Mode. Be aware that it is not possible  to delete single subentities

   (e.g., conditions or applications from an application group).


                 Usage:  This mode will be  used  if  minor  changes  happened

                         within  an integrated application and the new version

                         needs to replace e.g., single  applications  from  an

                         application  group  or  messages  to be captured have

                         been changed and  therefore  need  slightly  modified




#/opt/OV/bin/OpC/opccfgupld -replace -subentity  /tmp/opccfg_test

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
If you liked it I would appreciate KUDOs.
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.