Поиск по этому блогу

25.05.2010

Обновление стека по частям

Рассматривается обновление IOS с c3750-ipservicesk9-mz.122-53.SE до c3750-ipservicesk9-mz.122-53.SE2 на стеке из трех коммутаторов.
Обновляем софт
ST-01#archive download-sw /imageonly ftp://10.0.0.10/c3750-ipservicesk9-tar.122-53.SE2.tar 
Loading c3750-ipservicesk9-tar.122-53.SE2.tar !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 15851520/4096 bytes]

Loading c3750-ipservicesk9-tar.122-53.SE2.tar !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
examining image...
extracting info (110 bytes)
extracting c3750-ipservicesk9-mz.122-53.SE2/info (698 bytes)
extracting info (110 bytes)

Stacking Version Number: 1.43

System Type: 0x00000000
Ios Image File Size: 0x00C1EA00
Total Image File Size: 0x00F1BA00
Minimum Dram required: 0x08000000
Image Suffix: ipservicesk9-122-53.SE2
Image Directory: c3750-ipservicesk9-mz.122-53.SE2
Image Name: c3750-ipservicesk9-mz.122-53.SE2.bin
Image Feature: IP|LAYER_3|PLUS|SSH|3DES|MIN_DRAM_MEG=128

Old image for switch 1: flash:c3750-ipservicesk9-mz.122-53.SE
Old image will be deleted before download.
Old image for switch 2: flash2:c3750-ipservicesk9-mz.122-53.SE
Old image will be deleted before download.
Old image for switch 3: flash3:c3750-ipservicesk9-mz.122-53.SE
Old image will be deleted before download.

Deleting `flash:c3750-ipservicesk9-mz.122-53.SE' to create required space
Deleting `flash2:c3750-ipservicesk9-mz.122-53.SE' to create required space
Deleting `flash3:c3750-ipservicesk9-mz.122-53.SE' to create required space

extracting c3750-ipservicesk9-mz.122-53.SE2/c3750-ipservicesk9-mz.122-53.SE2.bin (12700373 bytes)
extracting c3750-ipservicesk9-mz.122-53.SE2/info (698 bytes)
extracting info (110 bytes)

extracting c3750-ipservicesk9-mz.122-53.SE2/c3750-ipservicesk9-mz.122-53.SE2.bin (12700373 bytes)
extracting c3750-ipservicesk9-mz.122-53.SE2/info (698 bytes)
extracting info (110 bytes)

extracting c3750-ipservicesk9-mz.122-53.SE2/c3750-ipservicesk9-mz.122-53.SE2.bin (12700373 bytes)
extracting c3750-ipservicesk9-mz.122-53.SE2/info (698 bytes)
extracting info (110 bytes)
Installing (renaming): `flash:update/c3750-ipservicesk9-mz.122-53.SE2' ->
`flash:/c3750-ipservicesk9-mz.122-53.SE2'
New software image installed in flash:/c3750-ipservicesk9-mz.122-53.SE2

Installing (renaming): `flash2:/update/c3750-ipservicesk9-mz.122-53.SE2' ->
`flash2:/c3750-ipservicesk9-mz.122-53.SE2'
New software image installed in flash2:/c3750-ipservicesk9-mz.122-53.SE2

Installing (renaming): `flash3:/update/c3750-ipservicesk9-mz.122-53.SE2' ->
`flash3:/c3750-ipservicesk9-mz.122-53.SE2'
New software image installed in flash3:/c3750-ipservicesk9-mz.122-53.SE2


All software images installed.



Перезагружаем последний коммутатор
ST-01#reload slot 3
Proceed with reload? [confirm]
ST-01#ter mon
ST-01#
May 25 02:12:10.703: %STACKMGR-4-SWITCH_REMOVED: Switch 3 has been REMOVED from the stack
ST-01#
May 25 02:12:10.728: %STACKMGR-4-SWITCH_REMOVED: Switch 3 has been REMOVED from the stack (ST-01-2)
ST-01#
May 25 02:12:12.708: %LINK-3-UPDOWN: Interface GigabitEthernet3/0/1, changed state to down
May 25 02:12:13.714: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet3/0/1, changed state to down
ST-01#sh switch
Switch/Stack Mac Address : 04fe.7f73.1e00
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 04fe.7f73.0000 3 0 Ready
2 Member 04fe.7fbd.0000 1 0 Ready
3 Member 0000.0000.0000 0 0 Removed


ST-01#
May 25 02:13:38.213: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 2 Switch 2 has changed to state UP
May 25 02:13:38.716: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 1 Switch 1 has changed to state UP
May 25 02:14:28.452: %STACKMGR-4-SWITCH_ADDED: Switch 3 has been ADDED to the stack
May 25 02:14:28.419: %STACKMGR-4-SWITCH_ADDED: Switch 3 has been ADDED to the stack (ST-01-2)
May 25 02:14:35.876: %STACKMGR-5-SWITCH_READY: Switch 3 is READY
May 25 02:14:35.876: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 1 Switch 3 has changed to state UP
May 25 02:14:35.876: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 2 Switch 3 has changed to state UP
*Mar 1 00:00:57.789: %STACKMGR-4-SWITCH_ADDED: Switch 1 has been ADDED to the stack (Switch-3)
*Mar 1 00:00:57.789: %STACKMGR-4-SWITCH_ADDED: Switch 2 has been ADDED to the stack (Switch-3)
*Mar 1 00:00:57.789: %STACKMGR-4-SWITCH_ADDED: Switch 3 has been ADDED to the stack (Switch-3)
*Mar 1 00:01:01.018: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan (Switch-3)
*Mar 1 00:01:05.296: %STACKMGR-5-SWITCH_READY: Switch 1 is READY (Switch-3)
*Mar 1 00:01:05.347: %STACKMGR-5-MASTER_READY: Master Switch 1 is READY (Switch-3)
*Mar 1 00:01:05.347: %STACKMGR-5-SWITCH_READY: Switch 2 is READY (Switch-3)
*Mar 1 00:01:05.447: %STACKMGR-5-SWITCH_READY: Switch 3 is READY (Switch-3)
*Mar 1 00:01:05.707: %SYS-5-RESTART: System restarted -- (Switch-3)
Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3) (ST-01-2)
Technical Support: http://www.cisco.com/techsupport (ST-01-3)
Copyright (c) 1986-2010 by Cisco Systems, Inc. (ST-01-3)
Compiled Wed 21-Apr-10 04:49 by prod_rel_team (ST-01-3)
May 25 02:14:36.631: %STACKMGR-5-SWITCH_READY: Switch 3 is READY (ST-01-2)
Смотрим версии IOS
ST-01#sh ver | in IPSERVICES
Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(53)SE, RELEASE SOFTWARE (fc2)
* 1 12 WS-C3750G-12S 12.2(53)SE C3750-IPSERVICESK9-M
2 24 WS-C3750G-24T 12.2(53)SE C3750-IPSERVICESK9-M
3 24 WS-C3750G-24T 12.2(53)SE2 C3750-IPSERVICESK9-M
Через некоторое время начинается самое интересное
May 25 02:16:07.522: %Error 9, Failed to open the file c2509-CONS>ST-0SWITCH_READY:
ST-01#
May 25 02:16:09.485: %Error 9, Failed to open the file 4-STACK_LINK_CHANGE:
ST-01#
May 25 02:16:24.089: %Error 9, Failed to open the file TACKNK_CHANGE:
ST-01#
May 25 02:16:33.560: %Error 9, Failed to open the file INK_CHANGE:
ST-01#
May 25 02:18:44.204: %Error 9, Failed to open the file $OCK_LINK_CHANGE:
ST-01#
May 25 02:18:45.488: %Error 9, Failed to open the file 789:
ST-01#
May 25 02:20:10.439: %Error 9, Failed to open the file $nput789:
ST-01#
May 25 02:20:13.031: %Error 9, Failed to open the file %9:
Таким же образом перезагружается второй коммутатор
May 25 06:04:15.456: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 2 Switch 1 has changed to state UP
May 25 06:04:15.725: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 1 Switch 3 has changed to state UP
May 25 06:04:29.935: %Error 9, Failed to open the file $2:49.758:
May 25 06:05:05.436: %STACKMGR-4-SWITCH_ADDED: Switch 2 has been ADDED to the stack
May 25 06:05:05.461: %STACKMGR-4-SWITCH_ADDED: Switch 2 has been ADDED to the stack (ST-01-3)
May 25 06:05:18.279: %STACKMGR-5-SWITCH_READY: Switch 2 is READY
May 25 06:05:18.279: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 1 Switch 2 has changed to state UP
May 25 06:05:18.279: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 2 Switch 2 has changed to state UP
*Mar 1 00:00:57.906: %STACKMGR-4-SWITCH_ADDED: Switch 1 has been ADDED to the stack (Switch-2)
*Mar 1 00:00:57.906: %STACKMGR-4-SWITCH_ADDED: Switch 2 has been ADDED to the stack (Switch-2)
*Mar 1 00:00:57.906: %STACKMGR-4-SWITCH_ADDED: Switch 3 has been ADDED to the stack (Switch-2)
*Mar 1 00:01:01.161: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan (Switch-2)
*May 25 06:05:16.291: %SYS-6-CLOCKUPDATE: System clock has been updated from 06:05:16 UTC Tue May 25 2010 to 13:05:16 KRSK Tue May 25 2010, configured from console by console. (Switch-2)
*May 25 06:05:16.291: %SYS-6-CLOCKUPDATE: System clock has been updated from 13:05:16 KRSK Tue May 25 2010 to 14:05:16 KRSK Tue May 25 2010, configured from console by console. (Switch-2)
*May 25 06:05:17.557: %SW_VLAN-6-VTP_DOMAIN_NAME_CHG: VTP domain name changed to XEX. (Switch-2)
May 25 06:05:17.826: %STACKMGR-5-SWITCH_READY: Switch 2 is READY (ST-01-3)
*May 25 06:05:17.641: %SYS-5-CONFIG_I: Configured from memory by console (ST-01-2)
*May 25 06:05:17.666: %STACKMGR-5-SWITCH_READY: Switch 1 is READY (ST-01-2)
*May 25 06:05:17.968: %STACKMGR-5-MASTER_READY: Master Switch 1 is READY (ST-01-2)
*May 25 06:05:18.187: %STACKMGR-5-SWITCH_READY: Switch 3 is READY (ST-01-2)
*May 25 06:05:18.380: %STACKMGR-5-SWITCH_READY: Switch 2 is READY (ST-01-2)
*May 25 06:05:18.547: %SYS-5-RESTART: System restarted -- (ST-01-2)
Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3) (ST-01-2)
Technical Support: http://www.cisco.com/techsupport (ST-01-2)
Copyright (c) 1986-2010 by Cisco Systems, Inc. (ST-01-2)
Compiled Wed 21-Apr-10 04:49 by prod_rel_team (ST-01-2)

ST-01#sh ver | in IPSERVICES
Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(53)SE, RELEASE SOFTWARE (fc2)
* 1 12 WS-C3750G-12S 12.2(53)SE C3750-IPSERVICESK9-M
2 24 WS-C3750G-24T 12.2(53)SE2 C3750-IPSERVICESK9-M
3 24 WS-C3750G-24T 12.2(53)SE2 C3750-IPSERVICESK9-M

Перезагружать первый коммутатор отдельно желания не возникло по нескольким причинам:
1. Возникшие ошибки не приведут ни к чему хорошему.
2. Коммутатор имеет наивысший приоритет и после перезагрузки он снова станет мастером, а текущий мастер (в данном случае это был бы второй коммутатор) уйдет в перезагрузку.

UPDATE:
Error 9, Failed to open the file %9
Ошибка возникает при подключенной консоли. Так же консоль может вызвать рост CPU на 10-20 процентов.