Reference > How to Use the cpVersion Attribute to Verify Content Update

How to Use the cpVersion Attribute to Verify Content Update

The cpVersion attribute is included in the portNumberToPortName.xml file, and indicates in which Content Pack release a port has been discovered. For example, the following code defines that the LDAP port 389 has been discovered in Content Pack 11.00:

<portInfo portProtocol="tcp" portNumber="389" portName="ldap" discover="11" cpVersion="11"/>

During a Content Pack upgrade, DFM uses this attribute to perform a smart merge between the existing portNumberToPortName.xml file (which may include user-defined ports) and the new file. Entries previously added by the user are not removed and entries previously deleted by the user are not added.

For details about the portNumberToPortName.xml file, see portNumberToPortName.xml File.

To verify that a Content Pack is successfully deployed:

  1. Install the latest Service Pack release.

  2. Start the UCMDB Server.

  3. Verify that all services are running. For details, see the section about HPE Universal CMDB Services in the HPE Universal CMDB Administration Guide.

  4. Install and deploy the latest Content Pack release. For details, refer to the Content Pack installation guide.

  5. In the Adapter Management window, access the portNumberToPortName.xml file.

  6. Verify that no user-defined ports have been deleted and that any ports deleted by the user have not been added.