Issue about upgrade ucmdb old version to ucmdb latest version (198 Views)
Reply
Advisor
za_phu
Posts: 47
Registered: ‎05-21-2012
Message 1 of 4 (198 Views)

Issue about upgrade ucmdb old version to ucmdb latest version

Hi Expert,

 

I tried to upgrade ucmdb 8.07 > 9.05 > 10.10 in my lab test.

 

First, I have found error during upgrade ucmdb 8.07 to 9.05.

 

Message detail below :

 

2014-04-10 21:59:58,367 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - ERROR: User class 'location' conflicts with action (ADDED  -> location)
2014-04-10 21:59:58,367 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - ERROR: User class 'business_transaction' conflicts with action (ADDED  -> business_transaction)
2014-04-10 21:59:58,367 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - ERROR: User class 'business_process' conflicts with action (ADDED  -> business_process)
2014-04-10 21:59:58,367 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: Class action (MODIFIED  -> blade_enclosure) was not applied
2014-04-10 21:59:58,367 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: Class action (MODIFIED  -> ibm_hypervisor) was not applied
2014-04-10 21:59:58,539 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: node, attribute: host_last_boot_time, qualifier: ALLOW_VOLATILITY, class where the qualifier exists: host
2014-04-10 21:59:58,539 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: ip_service_endpoint, attribute: network_port_number, qualifier: STATIC, class where the qualifier exists: ipserver
2014-04-10 21:59:58,554 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Remove qualifier" action was not applied. Class: nt, attribute: nt_registrationorg, qualifier: COMPARABLE
2014-04-10 21:59:58,554 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Remove qualifier" action was not applied. Class: running_software, attribute: application_username, qualifier: COMPARABLE
2014-04-10 21:59:58,554 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Remove qualifier" action was not applied. Class: running_software, attribute: application_port, qualifier: COMPARABLE
2014-04-10 21:59:58,554 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: database, attribute: database_dbport, qualifier: HIDDEN_ATTRIBUTE, class where the qualifier exists: database
2014-04-10 21:59:58,570 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: cpu, attribute: cpu_clock_speed, qualifier: ALLOW_VOLATILITY, class where the qualifier exists: cpu
2014-04-10 21:59:58,570 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: cpu, attribute: cpu_clock_speed, qualifier: STATIC, class where the qualifier exists: cpu
2014-04-10 21:59:58,570 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: cpu, attribute: cpu_clock_speed, qualifier: COMPARABLE, class where the qualifier exists: cpu
2014-04-10 21:59:58,570 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: cpu, attribute: cpu_id, qualifier: STATIC, class where the qualifier exists: cpu
2014-04-10 21:59:58,585 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: iiswebsite, attribute: app_pool_id, qualifier: STATIC, class where the qualifier exists: iiswebsite
2014-04-10 21:59:58,585 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: jdbcdatasource, attribute: jdbcdatasource_poolname, qualifier: COMPARABLE, class where the qualifier exists: jdbcdatasource
2014-04-10 21:59:58,585 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: configuration_document, attribute: document_content, qualifier: COMPARABLE, class where the qualifier exists: document
2014-04-10 21:59:58,601 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: jmsdatastore, attribute: jmsdatastore_poolname, qualifier: STATIC, class where the qualifier exists: jmsdatastore
2014-04-10 21:59:58,601 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: iiswebdir, attribute: application_name, qualifier: STATIC, class where the qualifier exists: iiswebdir
2014-04-10 21:59:58,601 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: iiswebdir, attribute: path, qualifier: STATIC, class where the qualifier exists: iiswebdir
2014-04-10 21:59:58,601 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: "Add qualifier" action conflicts with existing attribute qualifier. Class: iiswebdir, attribute: app_root, qualifier: STATIC, class where the qualifier exists: iiswebdir
2014-04-10 21:59:58,617 [Upgrade working thread] (AbstractUpgradeContext.java:36) WARN  - WARN: Conflict resolution file has been created. This file renames classes and attributes of the original class model and will take effect next time you run upgrade. Please review it carefully before you run upgrade again. File location: C:\hp\UCMDB\UCMDBServer\tools\..\runtime\added-class-model-changes.xml
2014-04-10 21:59:58,617 [Upgrade working thread] (OfflineUpgradeLog.java:134) INFO  - ***************************************************
2014-04-10 21:59:58,617 [Upgrade working thread] (OfflineUpgradeLog.java:134) INFO  - * Finished Validating Upgrade Configuration Files *
2014-04-10 21:59:58,617 [Upgrade working thread] (OfflineUpgradeLog.java:134) INFO  - ***************************************************
2014-04-10 22:52:44,798 [AWT-EventQueue-0] (UpgradeServerAPI.java:202) ERROR - upgrade error for [validateClassModelAndUpgrade]
java.lang.IllegalArgumentException: Upgrade configuration files are not valid. Please see details in logs. These problems must be fixed before continuation of upgrade process.

 at com.hp.ucmdb.upgrade.upgraders.ClassModelUpgrader.upgrade(ClassModelUpgrader.java:42)
 at com.hp.ucmdb.upgrade.UpgradeExecutor.upgrade(UpgradeExecutor.java:200)
 at com.hp.upgrade.backend.api.UpgradeServerAPI.upgrade(UpgradeServerAPI.java:148)
 at com.hp.upgrade.ui.pages.UpgradePage$2.run(UpgradePage.java:518)

 

For more information my old ucmdb 8.07 have data integration with BAC 8.05, SM 9.30, AM 5.22.

 

Please help me to solve this issue.

 

Regards,

za_phu

HP Expert
Dima Gomel
Posts: 924
Registered: ‎03-09-2010
Message 2 of 4 (185 Views)

Re: Issue about upgrade ucmdb old version to ucmdb latest version

It's a bit hard to solve the upgrade problem in forum format.

I'd suggest to check that 9.05 you're upgrading to has latest CUP installed on it. Just to be sure that all previous problems are excluded.

Regards
-Dima, HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Click the Like button at bottom to say 'Thanks'
I'll be happy to be in touch at LinkedIn .
HP Expert
Dima Gomel
Posts: 924
Registered: ‎03-09-2010
Message 3 of 4 (184 Views)

Re: Issue about upgrade ucmdb old version to ucmdb latest version

Check this part of the message:

Conflict resolution file has been created. This file renames classes and attributes of the original class model and will take effect next time you run upgrade. Please review it carefully before you run upgrade again. File location: C:\hp\UCMDB\UCMDBServer\tools\..\runtime\added-class-model-changes.xml

 

known issue documented in deployment guide 
Class or attribute conflict. The new class or attribute name defined by the user is allocated to
a new out-of-the-box class or attribute. If this occurs, a new transformation file is automatically
generated and saved in C:\hp\UCMDB\UCMDBServer\runtime\added-class-modelchanges.
xml and the upgrade process fails. The new transformation file defines an additional
transformation aimed at solving the conflicts by renaming your classes and attributes. Run the
upgrade again to include these new transformations and allow the upgrade to proceed. Before rerunning
the upgrade, you can also manually modify these actions, for example, by choosing new
names.
Note: If a conflict resolution file has been created or if you edit it via the UI, you must close
the upgrade wizard completely and re-open it to correctly reload these changes. 

 

Hope this helps.

Regards
-Dima, HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Click the Like button at bottom to say 'Thanks'
I'll be happy to be in touch at LinkedIn .
Advisor
za_phu
Posts: 47
Registered: ‎05-21-2012
Message 4 of 4 (176 Views)

Re: Issue about upgrade ucmdb old version to ucmdb latest version

Hello Dima,

 

2 questions.

 

1. You mean close upgrade wizard and then re-run upgrade wizard again right? not edit or revise anything before? if not, about mentioned of you. i still not understand, please help explain example to me. i will try to solve.  

 

"Before rerunning
the upgrade, you can also manually modify these actions, for example, by choosing new
names.
Note: If a conflict resolution file has been created or if you edit it via the UI, you must close
the upgrade wizard completely and re-open it to correctly reload these changes." 

 

2. I just tried to close upgrade wizard and then re-run upgrade wizard again and then run validate and upgrade the class model passed. but, show WARN message. about WARN message it have any impact or problem about data during upgrade process?

 

Regards,

za_phu

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.