Who Me Too'd this topic

Who Me Too'd this topic

Micro Focus Expert
Micro Focus Expert
240 views

UCMDB Tip : How to edit/delete a value from an enum system type

This article will explain how to edit/delete an enum value from system type in uCMDB 10.01 and after, using the jmx console.

 

 

One can use the jmx to perform such an operation, after one checked that no CI is having the value we are about to delete set in one attribute, nor that any TQL/enrichment is using it.

 

 

To do so:

1) Log out of the uCMDB UI

 

2) Go to the jmx-console: http(s)://<ucmdbServer>:<port>/jmx-console, and log on as sysadmin

 

3) Go to the URM Services service

 

4) Invoke listResources() with customerID=1 and resourceType = CM_TYPE_DEF

 

5) In the list obtained, click on the enum system type name you want to alter.

 

6) Locate in the xml generated the part you need to modify/delete, and do the necessary changes.

 

7) Click on Save.

 

 

Your system type definition has now be modified in the database. You need however to load the changes in memory. To do so:

 

 

😎 Still on the jmx-console, go to the Class Model Services service

 

9) Invoke reloadClassModelFromPersistency() with customerID=1

 

 

 

 

You are now done. Next time you connect to uCMDB UI, and go to the system type manager, you'll see the changes you made in the modified enum system type.

 

 

 

 

Reference : http://support.openview.hp.com/selfsolve/document/KM00866143

 

 

 

Regards,

Unni

“Micro Focus Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”

Click the KUDOS star to say 'Thanks'
Labels (1)
Who Me Too'd this topic
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.