Server Management - Systems Insight Manager
1748009 Members
4757 Online
108757 Solutions
New Discussion юеВ

Re: License Migration failed during Import. HP Performance Management Pack

 
Lawrence-S
Advisor

License Migration failed during Import. HP Performance Management Pack

I have not been able to upgrade PMP after version 4.02. Have tried every release since 4.02 but always with the same result: "License Migration failed during Import". Reinstall of 4.02 goes with no problem. Have just tried an upgrade from SIM 5.1 to 5.2 with PMP 4.7 with the same result. The PMP installation still returns with тАЬLicense Migration failed during Import".

4.02 doesn't support my G5 servers so I decide its time to do an install from scratch: uninstall the SIM and PMP, remove the SIM and PMP database, clean the registry for SIM and PMP. SIM 5.2 installs OK but PMP 4.7 still comes with the "License Migration failed during Import" and the SIM finds no licenses for PMP, and of course PMP 4.02 does not find the new db on latest release. In with the backup tape and I am now back to SIM 5.1 and a PMP that goes no further than version 4.02.

My SIM server has an old "1 free licence" that came with a very early version of PMP. My other servers have a combination of purchased licences and use of some of the "5 included" licences that came with earlier upgrades of PMP. The SIM licence manager does not allow me to change these licences and the PMP upgrades do not migrate the licenses shown in PMP 4.02.

In one of my attempts I saw that the SIM licence manager acknowledged that I still had licences available (which must be some of the тАЬ5 freeтАЭ that where not used). I applied these again just to try to get a valid upgrade of PMP with a license migration. All I succeeded in doing was registering all the licences as тАЬusedтАЭ in the SIM licence manager that are shown as тАЬavailableтАЭ in PMP 4.02 and all attempts at upgrading the PMP still return with тАЬLicense Migration failed during Import".
10 REPLIES 10
pkrai
Trusted Contributor

Re: License Migration failed during Import. HP Performance Management Pack

License export & import phase requires communication with SIM. May be you want to verify SIM & PMP credential.

Also, it would be more appropriate, if you share PMP installer files, hppmp.log & pmpdb.log, on this forum.

Thanks.
Lawrence-S
Advisor

Re: License Migration failed during Import. HP Performance Management Pack

PMP 4.02

D:\Program Files\HP\Systems Insight Manager\Performance Management Pack 4\Installer Files>dir
Volume in drive D is DATA
Volume Serial Number is 64E8-1AC2

Directory of D:\Program Files\HP\Systems Insight Manager\Performance Management
Pack 4\Installer Files

18.02.2008 11:45 .
18.02.2008 11:45 ..
27.03.2006 16:47 94 208 bcp.exe
27.03.2006 16:47 16 384 bcp.rll
27.03.2006 16:47 249 929 ElmSetup.dll
06.04.2006 11:13 1 188 375 libeay32.dll
06.04.2006 11:13 246 545 libssl32.dll
27.03.2006 16:47 57 904 osql.exe
18.02.2008 11:45 0 pmplog.txt
06.04.2006 11:13 200 704 ssleay32.dll
8 File(s) 2 054 049 bytes
2 Dir(s) 1 943 973 888 bytes free

PMPDB.log
Dettached the database successfully....Attached the database successfully....Database PMP_V3_0 sucessfully created
Tables PMP_v3_0 sucessfully created

hppmp.log
Starting HP Performance Management Pack Installation...
Is earlier versions of PMP found? No
Is the Operating System and Service Pack Valid? Yes
Is the screen resolution valid? Yes
Is HP SIM installed? Yes
Is PMP 4.0.2 already installed? No
Successfully retrieved HP SIM installation path.
Is Disk space sufficient for PMP installation? Yes
Applying PMP schema to the database.
Performing initial database population
Creating PMP Services
Stopping HP SIM service to update GlobalSettings.props file to integrate PF Column
Initializing and configuring menu structure
Updating GlobalSettings.props file...
Starting HP SIM service...
Starting PMP service...
Starting PMP Tools service...
Successfully installed PMP.

PMP 4.7

D:\Program Files\HP\Systems Insight Manager\Performance Management Pack\Installer Files>dir
Volume in drive D is DATA
Volume Serial Number is 64E8-1AC2

Directory of D:\Program Files\HP\Systems Insight Manager\Performance Management
Pack\Installer Files

19.02.2008 11:32 .
19.02.2008 11:32 ..
0 File(s) 0 bytes
2 Dir(s) 1 945 894 912 bytes free

PMPDB.log
Dettached the database successfully....Attached the database successfully....Database PMP_V3_0 sucessfully created
Tables PMP_v3_0 sucessfully createdExecuting cmd /c "hostname > "D:\Program Files\HP\Systems Insight Manager\Systems Insight Manager\pass.txt""
Hostname: srserv04
Local database

MDF FILE:C:\Program Files\Microsoft SQL Server\MSSQL\Data\PMP_V3_0.mdfExecuting: "C:\DOCUME~1\ADMINI~1.NIS\LOCALS~1\Temp\is-J62MR.tmp\osql.exe" -S"SRSERV04" -i"C:\DOCUME~1\ADMINI~1.NIS\LOCALS~1\Temp\is-J62MR.tmp\attachDetachPMPDB.sql" -o"C:\DOCUME~1\ADMINI~1.NIS\LOCALS~1\Temp\is-J62MR.tmp\log.txt" -E
Dettached the database successfully
Executing: "C:\DOCUME~1\ADMINI~1.NIS\LOCALS~1\Temp\is-J62MR.tmp\osql.exe" -S"SRSERV04" -i"C:\DOCUME~1\ADMINI~1.NIS\LOCALS~1\Temp\is-J62MR.tmp\attachDetachPMPDB.sql" -o"C:\DOCUME~1\ADMINI~1.NIS\LOCALS~1\Temp\is-J62MR.tmp\log.txt" -E
Attached the database successfully
Connection string: Provider=sqloledb; Data Source=SRSERV04,1433; Initial Catalog = PMP_V3_0; Integrated Security=SSPI;
SQL: Select count(*) from Supported_Software
Transaction Successful
Executing "D:\Program Files\HP\Systems Insight Manager\Performance Management Pack\Installer Files\osql.exe" -S"SRSERV04" -d"PMP_V3_0" -i"D:\Program Files\HP\Systems Insight Manager\Performance Management Pack\Installer Files\PMP_v4_0.sql" -E
Tables PMP_V3_0 sucessfully created


hppmp.log
Starting HP Performance Management Pack Installation...
PATH = D:\Program Files\HP\Systems Insight Manager\Systems Insight Manager\bin;D:\Program Files\HP\Systems Insight Manager\Systems Insight Manager\lbin;D:\Program Files\HP\Systems Insight Manager\Systems Insight Manager\lib;D:\Program Files\HP\Systems Insight Manager\Systems Insight Manager\j2re\bin\server;D:\Program Files\HP\Systems Insight Manager\Systems Insight Manager\j2re\bin;D:\Program Files\OpenSSH\bin;D:\Program Files\Support Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;D:\PROGRA~1\HP\SYSTEM~1\bin;D:\PROGRA~1\HP\SYSTEM~1\lbin;D:\PROGRA~1\HP\SYSTEM~1\lib;D:\PROGRA~1\HP\SYSTEM~1\j2re\bin;D:\PROGRA~1\HP\SYSTEM~1\j2re\bin\server;C:\Norman\Npm\Bin;C:\Program Files\The Open Group\WMI Mapper\bin;C:\WINDOWS\system32\WindowsPowerShell\v1.0;%NpmLib%
Is earlier versions of PMP found? No
Is the Operating System and Service Pack Valid? Yes
Is the screen resolution valid? Yes
Is HP SIM installed? Yes
Earlier Version is Installed? - Yes
Uninstallation of previous version of PMP...
Successfull
Is PMP 4.7 already installed? No
Domain name: srserv04
Service User name: Administrator
Database type: MSSQL
Database Server Host name: SRSERV04
Database Instance: SRSERV04\\
Database Port: 1433
Successfully retrieved HP SIM installation path.
Is Disk space sufficient for PMP installation? Yes
Applying PMP schema to the database.
LMT Export in Progress...
Successful
Creating SQL database...
Starting transaction...Completed
Creating database...Completed
Deleting the Log data...Completed
Deleting PMP DSN...Completed
Creating PMP DSN...Completed
Performing initial database population
Starting LMT Import...Failed
Creating PMP Services...Successfully
Stopping HP SIM service...Successfully
Initializing and configuring menu structure
Starting HP SIM service...SIM version: 050101
Executing: cmd /c "mxstart > null"...Successfully
Starting PMP service...Successfully
Starting PMP Tools service...Successfully
Successfully installed PMP.

globalsettings.props

WindowsAdminUserName=Administrator
WindowsInstallUserName=srserv04\\Administrator
WindowsServiceUserName=srserv04\\Administrator

SIM and PMP services logon settings: .\Administrator
pkrai
Trusted Contributor

Re: License Migration failed during Import. HP Performance Management Pack

All installer log files are perfect & reflecting no issues, other than the License Import one.

Since license export/import phase requires communication with SIM, you may have to verify this part, by going through pmplog.txt (in PMP installation path). If this file is not there, create an empty file with same name & then restart PMP srvice to get clean log.

Thanks.
Lawrence-S
Advisor

Re: License Migration failed during Import. HP Performance Management Pack

I thank you very much for taking an interest in my problem but this does not make much sense. If both the export (successful) and the import of the licences (the only failure) are dependent on successful authorization to the SIM, why should one succeed and one fail in the course of the same otherwise completely successful installation?

If I understand correctly the pmplog.txt must be created manually. I have already reinstalled PMP 4.02 (for the xxxx time) so I went the installation directory and found that PMP 4.07 created a new directory "Performance Management Pack" as apposed to previous updates that installed to "Performance Management Pack 4".

After my last uninstall of 4.07, there where 2 files remaining in the "Performance Management Pack" directory: pmpdatabase.props and clmlog.txt. The content clmlog.txt was interesting and shows clearly some kind of connection/logon problem:

2008-02-19 11:31:00: Creating Logon Token
2008-02-19 11:31:19: SOAP FAULT: SOAP-ENV:Client
"No connection could be made because the target machine actively refused it.
"
Detail: TCP connect failed in tcp_connect()

2008-02-19 11:31:19: Creating Logon Token
2008-02-19 11:31:33: SOAP FAULT: SOAP-ENV:Client
"No connection could be made because the target machine actively refused it.
"
Detail: TCP connect failed in tcp_connect()

2008-02-19 11:31:33: Creating Logon Token
2008-02-19 11:31:47: SOAP FAULT: SOAP-ENV:Client
"No connection could be made because the target machine actively refused it.
"
Detail: TCP connect failed in tcp_connect()

2008-02-19 11:31:47: Creating Logon Token
2008-02-19 11:32:02: SOAP FAULT: SOAP-ENV:Client
"No connection could be made because the target machine actively refused it.
"
Detail: TCP connect failed in tcp_connect()

2008-02-19 11:32:02: Creating Logon Token
2008-02-19 11:32:16: SOAP FAULT: SOAP-ENV:Client
"No connection could be made because the target machine actively refused it.
"
Detail: TCP connect failed in tcp_connect()

2008-02-19 11:38:16: Creating Logon Token
2008-02-19 11:38:33: SOAP FAULT: "http://xml.apache.org/axis/":Server.NoService
"The AXIS engine could not find a target service to invoke! targetService is MxpiMain5_2"

2008-02-19 11:38:35: Creating Logon Token
2008-02-19 11:38:50: SOAP FAULT: "http://xml.apache.org/axis/":Server.NoService
"The AXIS engine could not find a target service to invoke! targetService is MxpiMain5_2"

2008-02-19 11:38:52: Creating Logon Token
2008-02-19 11:39:07: SOAP FAULT: "http://xml.apache.org/axis/":Server.NoService
"The AXIS engine could not find a target service to invoke! targetService is MxpiMain5_2"
etc.
etc.
etc. and onwards to
2008-02-19 12:23:55: which is probably when I reinstalled 4.02.

Before I go through yet another installation
it would be useful to know if the above file sheds any light on a solution to my problem.
Lawrence-S
Advisor

Re: License Migration failed during Import. HP Performance Management Pack

Here is the pmplog.txt created in an upgrade from PMP 4.02 to 4.7. The installation went as described previously with ├в License Migration failed during Import". After the installation completed the PMP service was restarted 2 times before it was finally uninstalled and reinstalled with PMP 4.02.

The pmplog.txt shows that it takes over 5 minutes before the "HPSIM Service is accessible" and after that the "Login to HPSIM Web Service..." always fails even after the 2 restarts of the PMP service. (I see this also if I try to run the PMP configuration from the SIM, which always returns "web page not found".)

Does the connection for the license import time out during the installation because the HPSIM service takes so long to become accessible?

Is the "Login to HPSIM Web Service" failure a consequence of the failed license import even though all the other aspects of the installation are "successful"?

If so, is there a workaround to make the installation wait for a connection before it kills the license import?

pmplog.txt:

2008-02-21 10:05:42: ================================================================================
2008-02-21 10:05:42: HP Performance Management Pack v 4.7
2008-02-21 10:05:42: ================================================================================
2008-02-21 10:05:42: Service Started
2008-02-21 10:05:43: Number of attempts initially made to Connect to PMP database - 1
2008-02-21 10:05:43: Number of attempts initially made to Connect to HPSIM database - 1
2008-02-21 10:05:44: Checking the status of SIM...
2008-02-21 10:05:46: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:05:52: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:06:00: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:06:11: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:06:18: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:06:26: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:06:32: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:06:39: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:06:47: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:06:53: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:07:00: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:07:07: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:07:14: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:07:20: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:07:27: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:07:34: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:07:41: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:07:48: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:07:54: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:08:01: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:08:07: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:08:15: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:08:22: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:08:30: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:08:36: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:08:43: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:08:49: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:08:55: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:09:03: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:09:09: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:09:16: HPSIM Service Status inaccessible. Trying again...
2008-02-21 10:11:22: HPSIM Service is accessible
2008-02-21 10:11:53: Login to HPSIM Web Service... Failed. Trying again...
2008-02-21 10:11:57: HPSIM Service is accessible
2008-02-21 10:12:28: Login to HPSIM Web Service... Failed. Trying again...
2008-02-21 10:12:32: HPSIM Service is accessible
2008-02-21 10:13:06: Login to HPSIM Web Service... Failed. Trying again...
2008-02-21 10:13:12: HPSIM Service is accessible
2008-02-21 10:13:36: Service control stop event received
2008-02-21 10:13:36: Destroy() called
2008-02-21 10:13:36: Destroy() - Set Event failed - returning false
2008-02-21 10:13:36: Destroy() - EnclosureList ...
2008-02-21 10:13:36: Destroy() - Cleared.
2008-02-21 10:13:36: During the StopELMServer, handle value of ELM is -> 00000000

2008-02-21 10:14:52: ================================================================================
2008-02-21 10:14:52: HP Performance Management Pack v 4.7
2008-02-21 10:14:52: ================================================================================
2008-02-21 10:14:52: Service Started
2008-02-21 10:14:53: Number of attempts initially made to Connect to PMP database - 1
2008-02-21 10:14:53: Number of attempts initially made to Connect to HPSIM database - 1
2008-02-21 10:14:54: Checking the status of SIM...
2008-02-21 10:14:57: HPSIM Service is accessible
2008-02-21 10:15:17: Login to HPSIM Web Service... Failed. Trying again...
ect.
ect.
2008-02-21 10:30:37: HPSIM Service is accessible
2008-02-21 10:30:50: Login to HPSIM Web Service... Failed. Trying again...
2008-02-21 10:30:52: Service control stop event received
2008-02-21 10:30:52: Destroy() called
2008-02-21 10:30:52: Destroy() - Set Event failed - returning false
2008-02-21 10:30:52: Destroy() - EnclosureList ...
2008-02-21 10:30:52: Destroy() - Cleared.
2008-02-21 10:30:52: During the StopELMServer, handle value of ELM is -> 00000000

2008-02-21 10:32:02: ================================================================================
2008-02-21 10:32:02: HP Performance Management Pack v 4.7
2008-02-21 10:32:02: ================================================================================
2008-02-21 10:32:02: Service Started
2008-02-21 10:32:02: Number of attempts initially made to Connect to PMP database - 1
2008-02-21 10:32:02: Number of attempts initially made to Connect to HPSIM database - 1
2008-02-21 10:32:03: Checking the status of SIM...
2008-02-21 10:32:04: HPSIM Service is accessible
2008-02-21 10:32:19: Login to HPSIM Web Service... Failed. Trying again...
ect.
ect.
ect.
2008-02-21 10:37:25: HPSIM Service is accessible
2008-02-21 10:37:39: Login to HPSIM Web Service... Failed. Trying again...
2008-02-21 10:37:40: HPSIM Service is accessible
2008-02-21 10:37:44: Service control stop event received
2008-02-21 10:37:44: Destroy() called
2008-02-21 10:37:44: Destroy() - Set Event failed - returning false
2008-02-21 10:37:44: Destroy() - EnclosureList ...
2008-02-21 10:37:44: Destroy() - Cleared.
2008-02-21 10:37:44: During the StopELMServer, handle value of ELM is -> 00000000
Lawrence-S
Advisor

Re: License Migration failed during Import. HP Performance Management Pack

Now I see that the HPSIM is not restarted until the "finished" button from the PMP installation is pressed. The license import problem during installation therefore seems to have nothing to do with a timeout while waiting for the HPSIM Service to be accessible.
pkrai
Trusted Contributor

Re: License Migration failed during Import. HP Performance Management Pack

License import phase requires SIM communication & it gets failed with the given credential.

Same logic is applied to PMP's behaviour during runtime, where it agian tries to connect to SIM & then failed, as specified in pmplog.txt.

So, can you please verify the SIM & PMP credentials ?

Thanks.
Lawrence-S
Advisor

Re: License Migration failed during Import. HP Performance Management Pack

globalsettings.props

WindowsAdminUserName=Administrator
WindowsInstallUserName=srserv04\\Administrator
WindowsServiceUserName=srserv04\\Administrator

SIM and PMP services logon settings: .\Administrator
Lawrence-S
Advisor

Re: License Migration failed during Import. HP Performance Management Pack

This is the same user and password that I use in the PMP installation and the same user and password that I use to sign on to the SIM when the PMP installation is finished. It works every time I install 4.02 and fails every time when I install any PMP release after 4.02. It even failed in the same way when I uninstalled the SIM and PMP, removed the SIM and PMP database, and cleaned the registry for SIM and PMP and installed SIM 5.2 and PMP 4.7. Everything installed OK except PMP: ├в License Migration failed during Import".
There must be some radical change in the installation procedure after PMP 4.02 that is affected by some setting on my SIM server. Why would the PMP installation have the authority to export the licences (and do everything else), with the only exception of being able to import them again?