Upgrade CMDB license (592 Views)
Reply
Valued Contributor
ctruong
Posts: 334
Registered: ‎11-29-2011
Message 1 of 7 (592 Views)

Upgrade CMDB license

I just an advance ucmdb license and want to upgrade my from basic. I copy the license.xml to dps/mam_lib/server and rename to ucmdb_license.xml. I then go to GW JMX console, under MAM>>UCMDB UI and invoke the getcustomerLicense mbean. I got null return. WHen i look under the topaz_all.ejb log i got the following:

 

2012-05-30 16:42:18,398 [http-0.0.0.0-8080-2] (CMSCMDBApi.java:181) ERROR - CoreOperationGetLicense threw an exception -
appilog.framework.shared.manage.impl.MamResponseException: CMDB Operation Internal Error: class com.mercury.topaz.cmdb.shared.base.CmdbException : Cannot parse XML string into an instance of class appilog.common.license.UcmdbMutableLicense : operation CoreOperationGetLicense : class appilog.framework.shared.manage.impl.MamResponseException :
CMDB Internal Error: Error while handling request: {request: ID='e53cf95867c30fc61e957f6d27e3f8be' Message='General CMDB request' Operation='appilog.framework.shared.core.operation.query.impl.CoreOperationGetLicense@188b41' Customer ID='1'
Context='CMDB Context: Customer id = '1' , User ID = '-1' , Caller Application = 'mamWeb''}

 

Caused by: appilog.framework.shared.manage.impl.MamResponseException: CMDB Operation Internal Error: class com.mercury.topaz.cmdb.shared.base.CmdbException : Cannot parse XML string into an instance of class appilog.common.license.UcmdbMutableLicense : operation CoreOperationGetLicense


Caused by: com.mercury.topaz.cmdb.shared.base.CmdbException: Cannot parse XML string into an instance of class appilog.common.license.UcmdbMutableLicense

 

Caused by: org.jibx.runtime.JiBXException: Expected "ucmdb-license" end tag, found "number-of-os-instances" start tag (line 10, col 2)

 

Any idea how to get pass this? Im using BAC 7.55

Honored Contributor
Sujith Kumar C.S
Posts: 868
Registered: ‎04-07-2010
Message 2 of 7 (584 Views)

Re: Upgrade CMDB license

You need to apply the UCMDB license through UCMDB JMX console not through BSM. Remove that UCMDB license file you copied in DPS.

 

--Sujith

Close the thread if your issue is resolved to make the thread meaningful and complete. Do show gratitude to people who helped you by assigning points.
Valued Contributor
ctruong
Posts: 334
Registered: ‎11-29-2011
Message 3 of 7 (577 Views)

Re: Upgrade CMDB license

the manual say to go to http://<server_name>:8080/jmx-console and Under MAM, click service=UCMDB UI to open the JMX MBEAN View page.

 

what is the port for ucmdb jmx?

Honored Contributor
Sujith Kumar C.S
Posts: 868
Registered: ‎04-07-2010
Message 4 of 7 (575 Views)

Re: Upgrade CMDB license

You have only mentioned the port 8080. On UCMDB server open JMX console http://<UCMDB
Server Host Name or IP>:8080/jmx-console and use your login crededntials. Once there

 

a. Under UCMDB, click service=Server Services to open the Operations page.
b. Locate getLicense and enter the following information:
In the Value box for the customerID parameter, enter 1.
c. Click Invoke.

 

These instructions are for UCMDB 9.05. if its different refer to the corresponding product manual.

 

--Sujith

Close the thread if your issue is resolved to make the thread meaningful and complete. Do show gratitude to people who helped you by assigning points.
Honored Contributor
Sujith Kumar C.S
Posts: 868
Registered: ‎04-07-2010
Message 5 of 7 (572 Views)

Re: Upgrade CMDB license

I think you are following this procedure which is for uCMDB which is part of BAC

 

http://support.openview.hp.com/selfsolve/document/KM315935?searchIdentifier=56546fde%3a137a2c1030a%3...

 

--Sujith

Close the thread if your issue is resolved to make the thread meaningful and complete. Do show gratitude to people who helped you by assigning points.
Valued Contributor
ctruong
Posts: 334
Registered: ‎11-29-2011
Message 6 of 7 (571 Views)

Re: Upgrade CMDB license

We dont have a ucmdb server. We are using the ucmdb that come with bac. But BAC only have UCMDB Foundation license which lock the following:

 

License type: BASIC Customer
Name: Basic UCMDB customer Permitted packages:
Blocked applications: discovery discovery.probes discovery.discoveryjobserrors discovery.modules discovery.configuration discovery.portlet discovery.discoveryjobsreport compliancy.compare.cis compliancy.goldmaster

 

So following the manual I've gone to http://gw-server:8080/jmx-console and invoke the license from there to unlock the discovery module in BAC. This is where i get the error. When i invoke the new license from here i get a null return but when i switch back to the basic license and invoke it work fine.

 

Sorry If I've confuse you.

Honored Contributor
Sujith Kumar C.S
Posts: 868
Registered: ‎04-07-2010
Message 7 of 7 (558 Views)

Re: Upgrade CMDB license

Follow the same thread http://support.openview.hp.com/selfsolve/document/KM315935?searchIdentifier=56546fde%3a137a2c1030a%3... which I posted earlier to apply the license.

 

If the license what you got is not working means, then license file what you have got is incorrect

Else, clear out the existing licenses through JMX console and reapply them. This should do the job.

 

--Sujith

Close the thread if your issue is resolved to make the thread meaningful and complete. Do show gratitude to people who helped you by assigning points.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.