1753274 Members
4925 Online
108792 Solutions
New Discussion

Rebooting switch in stack

 
SOLVED
Go to solution
declan2777
Frequent Advisor

Rebooting switch in stack

Hi there,

 

I am having an issue regarding rebooting a switch in a stack. It is just a 2 switch stack and I am testing the IRF and member master etc. When I try to reboot slot 1 (Master) I get an error "the specified file does not exist". Can anyone give a litle guidance on this?

I done a dir and all looks good;

Directory of flash:
0 -rw- 18759680 Jun 10 2019 12:00:00 5945-cmw710-boot-r6555p01.bin
1 -rw- 113064960 Jun 10 2019 12:00:00 5945-cmw710-system-r6555p01.bin
2 drw- - Jan 01 2001 01:37:00 diagfile
3 -rw- 735 Jan 01 2001 01:18:24 hostkey
4 -rw- 21997 Dec 15 2020 05:00:13 iccrunning.cfg
5 -rw- 320357 Dec 15 2020 05:00:13 iccrunning.mdb
6 -rw- 4483 Dec 15 2020 16:11:30 ifindex.dat
7 drw- - Jan 01 2001 01:14:02 license
8 drw- - Jan 01 2001 01:20:02 logfile
9 drw- - Jan 01 2001 01:14:04 pki
10 drw- - Jan 01 2001 01:37:00 seclog
11 -rw- 591 Jan 01 2001 01:18:24 serverkey
12 -rw- 22385 Dec 15 2020 16:11:31 startup.cfg
13 -rw- 323223 Dec 15 2020 16:11:31 startup.mdb
14 drw- - Jan 01 2001 01:14:08 versionInfo

9 REPLIES 9
Ivan_B
HPE Pro

Re: Rebooting switch in stack

Hi @declan2777 !

Could you post the output from the following commands:

display irf
display version
display startup
display boot-loader
dir /all /all-file

 

I am an HPE employee

Accept or Kudo

declan2777
Frequent Advisor

Re: Rebooting switch in stack

Hi Ivan, great to hear from you as usual

Here is the output;

dis irf
MemberID Role Priority CPU-Mac Description
*+1 Master 32 00e0-fc0f-8c02 SW-1
2 Standby 28 00e0-fc0f-8c03 SW-2
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.

The bridge MAC of the IRF is: 4cae-a3e7-fcc0
Auto upgrade : yes
Mac persistent : 12 min
Domain ID : 0
<SW>dis version
HPE Comware Software, Version 7.1.070, Release 6555P01
Copyright (c) 2010-2019 Hewlett Packard Enterprise Development LP
HPE FF 5945 4-slot Switch uptime is 27 weeks, 4 days, 7 hours, 0 minutes
Last reboot reason : Cold reboot

Boot image: flash:/5945-cmw710-boot-r6555p01.bin
Boot image version: 7.1.070, Release 6555P01
Compiled Jun 10 2019 11:00:00
System image: flash:/5945-cmw710-system-r6555p01.bin
System image version: 7.1.070, Release 6555P01
Compiled Jun 10 2019 11:00:00


MPU(M) Slot 1:
Uptime is 27 weeks,4 days,7 hours,0 minutes
HPE FF 5945 4-slot Switch MPU(M) with 1 C2538 Processor(s)
BOARD TYPE: FF 5945 4-slot Switch
DRAM: 8192M bytes
FLASH: 3630M bytes
NVRAM: 0K bytes
PCB 1 Version: VER.A
PCB 2 Version: VER.B
PCB 3 Version: VER.A
PCB 4 Version: VER.A
Basic BootWare Version: 105
Extended BootWare Version: 106
CPLD 1 Version: 002
CPLD 2 Version: 004
CPLD 3 Version: 002
CPLD 4 Version: 002
FPGA 1 Version: 255
Release Version: HPE FF 5945 4-slot Switch-6555P01
Patch Version: None
Reboot Cause: ColdReboot
[SubSlot 0] Main Board + 2SFP
[SubSlot 1] LSWM124XG2QL
[SubSlot 2] LSWM18CQ
[SubSlot 3] LSWM124XG2QL
[SubSlot 4] LSWM18CQMSEC

MPU(S) Slot 2:
Uptime is 24 weeks,0 days,5 hours,13 minutes
HPE FF 5945 4-slot Switch LPU with 1 C2538 Processor(s)
BOARD TYPE: FF 5945 4-slot Switch
DRAM: 8192M bytes
FLASH: 3630M bytes
NVRAM: 0K bytes
PCB 1 Version: VER.A
PCB 2 Version: VER.B
PCB 3 Version: VER.A
PCB 4 Version: VER.A
Basic BootWare Version: 105
Extended BootWare Version: 106
CPLD 1 Version: 002
CPLD 2 Version: 004
CPLD 3 Version: 002
CPLD 4 Version: 002
FPGA 1 Version: 255
Release Version: HPE FF 5945 4-slot Switch-6555P01
Patch Version: None
Reboot Cause: IRFMergeReboot
[SubSlot 0] Main Board + 2SFP
[SubSlot 1] LSWM124XG2QL
[SubSlot 2] LSWM18CQ
[SubSlot 3] LSWM124XG2QL
[SubSlot 4] LSWM18CQMSEC
<SW>dis startup
MainBoard:
Current startup saved-configuration file: flash:/startup.cfg(*)
Next main startup saved-configuration file: flash:/startup.cfg
Next backup startup saved-configuration file: NULL
Slot 2:
Current startup saved-configuration file: flash:/startup.cfg(*)
Next main startup saved-configuration file: flash:/startup.cfg
Next backup startup saved-configuration file: NULL


<SW>dis boot-loader
Software images on slot 1:
Current software images:
flash:/5945-cmw710-boot-r6555p01.bin
flash:/5945-cmw710-system-r6555p01.bin
Main startup software images:
usba0:/5945-cmw710-boot-r6555p02.bin
usba0:/5945-cmw710-system-r6555p02.bin
Backup startup software images:
flash:/5945-cmw710-boot-r6555p01.bin
flash:/5945-cmw710-system-r6555p01.bin
Software images on slot 2:
Current software images:
flash:/5945-cmw710-boot-r6555p01.bin
flash:/5945-cmw710-system-r6555p01.bin
Main startup software images:
flash:/5945-cmw710-boot-r6555p01.bin
flash:/5945-cmw710-system-r6555p01.bin
Backup startup software images:
flash:/5945-cmw710-boot-r6555p01.bin
flash:/5945-cmw710-system-r6555p01.bin

<SW>dir /all /all-file
Directory of flash:
0 -rw- 18759680 Jun 10 2019 12:00:00 5945-cmw710-boot-r6555p01.bin
1 -rw- 113064960 Jun 10 2019 12:00:00 5945-cmw710-system-r6555p01.bin
2 drw- - Jan 01 2001 01:37:00 diagfile
3 -rw- 735 Jan 01 2001 01:18:24 hostkey
4 -rw- 21997 Dec 15 2020 05:00:13 iccrunning.cfg
5 -rw- 320357 Dec 15 2020 05:00:13 iccrunning.mdb
6 -rw- 4483 Dec 15 2020 16:11:30 ifindex.dat
7 drw- - Jan 01 2001 01:14:02 license
8 drw- - Jan 01 2001 01:20:02 logfile
9 drw- - Jan 01 2001 01:14:04 pki
10 drw- - Jan 01 2001 01:37:00 seclog
11 -rw- 591 Jan 01 2001 01:18:24 serverkey
12 -rw- 22385 Dec 15 2020 16:11:31 startup.cfg
13 -rw- 323223 Dec 15 2020 16:11:31 startup.mdb
14 drw- - Jan 01 2001 01:14:08 versionInfo
15 -rwh 20 Apr 05 2001 02:45:14 .snmpboots
16 drwh - Apr 16 2001 02:36:48 .trash

3710740 KB total (3579228 KB free)

Directory of slot2#flash:
0 -rw- 18759680 Jan 01 2001 02:21:56 5945-cmw710-boot-r6555p01.bin
1 -rw- 18758656 Jan 01 2001 01:58:58 5945-cmw710-boot-r6555p02.bin
2 -rw- 113064960 Jan 01 2001 02:23:52 5945-cmw710-system-r6555p01.bin
3 -rw- 113130496 Jan 01 2001 02:00:58 5945-cmw710-system-r6555p02.bin
4 drw- - Jan 01 2001 01:36:32 diagfile
5 -rw- 735 Jan 26 2001 02:54:38 hostkey
6 -rw- 2387 Jan 14 2001 22:49:06 ifindex.dat
7 drw- - Jan 01 2001 01:14:16 license
8 drw- - Jan 01 2001 01:19:38 logfile
9 drw- - Jan 26 2001 02:54:38 pki
10 drw- - Jan 01 2001 01:36:32 seclog
11 -rw- 591 Jan 26 2001 02:54:38 serverkey
12 -rw- 22385 Dec 15 2020 16:11:31 startup.cfg
13 -rw- 323223 Dec 15 2020 16:11:32 startup.mdb
14 drw- - Jan 01 2001 01:14:22 versionInfo
15 drwh - Jan 01 2001 02:30:48 .patch
16 -rwh 20 Apr 05 2001 02:45:15 .snmpboots

3710740 KB total (3452740 KB free)

Ivan_B
HPE Pro
Solution

Re: Rebooting switch in stack

This is the reason of the issue:

Software images on slot 1:
...
Main startup software images:
usba0:/5945-cmw710-boot-r6555p02.bin
usba0:/5945-cmw710-system-r6555p02.bin
...

Main s/w image pointer of slot 1 is set to the USB file system that is unavailable right now. In order to fix the issue, run following command:

 

 

boot-loader file boot slot1#flash:/5945-cmw710-boot-r6555p01.bin system slot1#flash:/5945-cmw710-system-r6555p01.bin slot 1 main

 

 

 
Hope this helps!

 

I am an HPE employee

Accept or Kudo

Ivan_B
HPE Pro

Re: Rebooting switch in stack

By the way, just a question, did you try to upgrade from 6555P01 to 6555P02 before the issue happened? Now your IRF stack is running on 6555P01, but at the same time I see that on the flash of the second slot you have files 5945-cmw710-boot-r6555p02.bin and 5945-cmw710-system-r6555p02.bin
If you want to perform an upgrade, then after fixing the boot pointer by the command from my previous message, run the following:

1. Copy both boot and system images from slot2 to slot1:

 

 

copy slot2#flash:/5945-cmw710-boot-r6555p02.bin slot1#flash:/
copy slot2#flash:/5945-cmw710-system-r6555p02.bin slot1#flash:/

 

 


2. Upgrade and reboot:

 

 

save safely force
boot-loader file boot slot1#flash:/5945-cmw710-boot-r6555p02.bin system slot1#flash:/5945-cmw710-system-r6555p02bin slot 1 main
boot-loader file boot slot2#flash:/5945-cmw710-boot-r6555p02bin system slot2#flash:/5945-cmw710-system-r6555p02.bin slot 2 main
reboot

 

 

 

I hope this time the upgrade will work properly

I am an HPE employee

Accept or Kudo

declan2777
Frequent Advisor

Re: Rebooting switch in stack

Excellent Ivan, that was it..Many thanks !!

declan2777
Frequent Advisor

Re: Rebooting switch in stack

Thanks Ivan, just wondering Ive noticed a couple of other 4 switch stacks are booting main image is configured to boot from usb, so that command you sent should fix this also?


Ivan_B
HPE Pro

Re: Rebooting switch in stack

Great news! I am glad my advice was useful. 

Yes, you can fix other switches in the same manner. I guess files on USB were referenced by somebody using "boot-loader flash ..." command, like an attempt to upgrade, but it's not correct procedure. Files from USB should be copied to the flash and then "boot-loader file" should be used to point the boot loader to these local files.

BTW, if next time you use .IPE file for the upgrade it will be easier - just copy it to slot1#flash or slot2#flash and use one simple command: "boot-loader file <ipe-filename> all main". This command will extract boot.bin and system.bin on ALL flash filesystems (all slots) and will set proper boot pointer on all switches. After that it will even ask you if you want to delete the .IPE file as it's not needed after the installation. But I would avoid running the installation of IPE from the USB directly, seems like that was the case and it is not correct procedure. First copy the IPE file from USB and just then start the upgrade using the newly copied file on flash.

Hopefully it will help you to avoid such problems during future upgrades!

 

I am an HPE employee

Accept or Kudo

declan2777
Frequent Advisor

Re: Rebooting switch in stack

Hi Ivan,

Having issues upgrading now??

 

I completed; 

  1. Copy both boot and system images from slot2 to slot1:

copy slot2#flash:/5945-cmw710-boot-r6555p02.bin slot1#flash:/

copy slot2#flash:/5945-cmw710-system-r6555p02.bin slot1#flash:/

Then saved etc

Then tried below and issue;

boot-loader file boot slot1#flash:/5945-cmw710-boot-r6555p02.bin system slot1#flash:/5945-cmw710-system-r6555p02bin slot 1 main

See below

%Dec 16 12:45:43:366 2020 SW-DC-EXTDMZ-STK PKG/5/PKG_BOOTLOADER_FILE_FAILED: -IPAddr=**-User=**: Failed to executed the boot-loader file command

declan2777
Frequent Advisor

Re: Rebooting switch in stack

Sorry got it sorted. it was just .bin ..dot missing before bin!!!