1825611 Members
3179 Online
109683 Solutions
New Discussion

Can you help update in iMC ......?

 
MohammadH
Regular Advisor

Can you help update in iMC ......?

Hi

can you help update switch 4800 from iMC ? I now the how to it but there two file .bin .btm my problem is the second file .btm how to replace it from iMC I have 70 switch so I need to update them all at once.

 

thank you

25 REPLIES 25
LindsayHill
Honored Contributor

Re: Can you help update in iMC ......?

Import the files into IMC.  When importing, you can select either device software, or Boot Manager. Import the files separately.

 

Then go through the software deployment process, selecting both device software, and Boot ROM. 

 

Don't deploy it to all 70 devices at once. Do it in batches, and test it out thoroughly first.

MohammadH
Regular Advisor

Re: Can you help update in iMC ......?

Hi

thank you for replay I tired that but the old Boot Manager will not delete I must login the switch and delete it,

I want ask do you mean  Boot ROM = .btm file ??

If the the case I can't find the  Boot ROM when I click select ? How can I make the iMC see it ??

 

Thank you

LindsayHill
Honored Contributor

Re: Can you help update in iMC ......?

Yes, the Boot ROM is the *.btm file.

I don't understand " I tired that but the old Boot Manager will not delete I must login the switch and delete it"

What were the EXACT steps you went through to get to that point?
MohammadH
Regular Advisor

Re: Can you help update in iMC ......?

Hi

I now what was wrong never mind the " I tired that but the old Boot Manager will not delete I must login the switch and delete it,

 

but I now have another Problem when I update the switch it say Failed you can see it in the attachment file

it say ((The device cannot recognize the uploaded device software.)) I pretty sure I have the right software my switch is JD010A HP 4800-48G SWITCH

 I download from this link:

-----------------------------

https://h10145.www1.hp.com/Downloads/DownloadSoftware.aspx?SoftwareReleaseUId=10373&ProductNumber=JD007A&lang=en&cc=uk&prodSeriesId=&SerialNumber=&PurchaseDate=

-----------------------------

so what is the Problem ??

 

Thank you

LindsayHill
Honored Contributor

Re: Can you help update in iMC ......?

Try manually installing the software on a switch, and see what happens. You might have a corrupted download, or some other issue.

MohammadH
Regular Advisor

Re: Can you help update in iMC ......?

Hi

I try manually  installing and work fine

 

Thank you

LindsayHill
Honored Contributor

Re: Can you help update in iMC ......?

Next step is probably to try deploying it, and then look at the logs under <imc>/server/conf/log, to work out what's going on, and why it's failing.

MohammadH
Regular Advisor

Re: Can you help update in iMC ......?

Hi

Sorry for late replay I was busy then there was holiday,

I want ask which I check there is many file ?

LindsayHill
Honored Contributor

Re: Can you help update in iMC ......?

Look for imccfgupdm* - it might be worth trying the update again, and then looking at the latest output.

MohammadH
Regular Advisor

Re: Can you help update in iMC ......?

Hi

I can't find the file imccfgupdm in <imc>/server/conf/log ?

 

LindsayHill
Honored Contributor

Re: Can you help update in iMC ......?

Sorry, typo there, look for imcupgdm* 

MohammadH
Regular Advisor

Re: Can you help update in iMC ......?

HI

I have the file in the attachment can you check ?

 

thank you

LindsayHill
Honored Contributor

Re: Can you help update in iMC ......?

Looking at it, it seems to go through these steps:
1/ Delete the old firmware - works OK
2/ Transfer the Boot Manager - all works OK
3/ Transfer the new firmware - transfer seems to be working, but then at the end it's saying that it can't find the file on the switch. Here's the relevant output:
013-07-29 10:05:42.820 [INFO (0)] [THREAD(8904)] dev id: 47, dev ip: 172.20.0.25. File operator end, result code: 100
2013-07-29 10:05:42.820 [INFO (0)] [THREAD(8904)] dev id: 47, dev ip: 172.20.0.25. CTransferProtocol::transfer end ......
2013-07-29 10:05:42.820 [INFO (0)] [THREAD(8904)] [CPolicyUpload::exec()] dev id: 47, ip: 172.20.0.25. Transfer file to device, end .......
2013-07-29 10:05:42.820 [INFO (0)] [THREAD(8904)] [CPolicyUpload::exec()] iDetailErrorCode = 5500
2013-07-29 10:05:42.853 [INFO (0)] [THREAD(8904)] dev id: 47 dev ip: 172.20.0.25. image: A5500EI-CMW520-R2220P07.bin, location: flash:/, not found in sysImageTable.
2013-07-29 10:05:42.853 [INFO (0)] [THREAD(8904)] [CPolicyUpload::exec()] dev id: 47, ip: 172.20.0.25. Get image index of A5500EI-CMW520-R2220P07.bin from device failed, result code: -100
2013-07-29 10:05:42.867 [INFO (0)] [THREAD(8904)] [CExecuter::exec()] Step failed, break !


If you look at the flash on that switch, can you see the new image there?

If it was my network, I'd probably be using Wireshark, and looking at the traffic between IMC and that switch, to better understand where it's failing. You may prefer to log a case - it's up to you.
MohammadH
Regular Advisor

Re: Can you help update in iMC ......?

hi

yes i can see the file there in the switch ?!

LindsayHill
Honored Contributor

Re: Can you help update in iMC ......?

And the file size on the switch looks correct? If it is, the transfer is completing successfully,

Do you have working SNMP read-write configured for this device?
MohammadH
Regular Advisor

Re: Can you help update in iMC ......?

Hi

the file size is 13991278 kb so it correct and so the  SNMP read-write it work fine.

LindsayHill
Honored Contributor

Re: Can you help update in iMC ......?

Just saw a couple of other things that look a bit odd:

2013-07-29 09:22:06.650 [ERROR (0)] [THREAD(6052)] [CQvDBConnADP::CQvDBConnADP]Database has not connect!
2013-07-29 09:22:06.650 [ERROR (0)] [THREAD(6052)] [CQvDBConnADP::status] Isconnected failed, errorMsg:Cannot open database "icc_db" requested by the login. The login failed.
2013-07-29 09:22:06.743 [ERROR (106)] [THREAD(6052)] CQvDBConnMgrInst::instance: Mgr cant correctly init, exit. DBInfo Class Name:class CUpgradeDBInfo
2013-07-29 09:22:06.743 [INFO (0)] [THREAD(6052)] exitAppError: serious error, exit...
2013-07-29 09:22:24.870 [INFO (0)] [THREAD(9412)] [CQvApplication::start] call globalInit().

I'm not sure what's causing that - it might be nothing to worry about, as it's not really causing your problem here.

And it looks like SNMP Read-write isn't working:
2013-07-29 10:01:51.968 [INFO (10)] [THREAD(8904)] [CSnmpOper::iCommitOper] send snmp set packge fail.->[172.20.0.25]
2013-07-29 10:01:51.968 [INFO (0)] [THREAD(8904)] Commit snmp operation failed.

Use Wireshark, look at what's going on between IMC and the switch.
MohammadH
Regular Advisor

Re: Can you help update in iMC ......?

Hi

i use the Wireshark one before but i don't now how to use it I'm new to Wireshark very new. can you tell me how to do it.

Peter_Debruyne
Honored Contributor

Re: Can you help update in iMC ......?

Hi,

 

Try the "check access settings" in IMC first, it should test snmp read and write communities and report on the status.

Resource - Batch operation - Check Access settings - Add device, select snmp only (no need for telnet/ssh) and verify the result (with details option).

 

Other option is wireshark, install wireshark on the IMC server (x86/x64), start the capture and use this display filter:

(snmp.data == 2 or snmp.data == 3) and ip.addr == 1.1.1.1

 

Update IP to your switch IP. This filter will only show the snmp SET and RESPONSE packets.

 

When you see a SET packet to the switch, it should reply with a RESPONSE and inside the snmp section of the packet there should be a NOERROR status.

If you do not see an snmp response, there might be:

* acl restricting SNMP access

* wrong community string

Both of these should be checked in the switch config,

 

Best regards,Peter

 

 

MohammadH
Regular Advisor

Re: Can you help update in iMC ......?

Hi

I check it with Wireshark and there is no error you can see it in the attachment.

LindsayHill
Honored Contributor

Re: Can you help update in iMC ......?

OK, so now try running an upgrade again, but this time capturing all traffic with Wireshark.

 

Use a capture filter of "host <IP of switch>"

 

Analyse that output, to see if you can work out where it's failing.

MohammadH
Regular Advisor

Re: Can you help update in iMC ......?

Hi

I check but it give me many error you can see the photo in the attachment.

LindsayHill
Honored Contributor

Re: Can you help update in iMC ......?

You can ignore that type of error.

 

Look at your payload contents. Follow the sessions between the server and device. Work out what it's doing right up to the time it logs errors in IMC and fails.

 

If this is not your sort of thing to do, I STRONGLY recommend you log a case about this.

MohammadH
Regular Advisor

Re: Can you help update in iMC ......?

Hi

I can't find any error, I will it and then search more the log a case about it.

 

thank you for your help.