雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 10160|回复: 26

今天把86升级啦

  [复制链接]
发表于 2010-12-13 22:02:14 | 显示全部楼层 |阅读模式
       其实自从第一次跟YL把86升挂掉后,对升级86一直存在心里障碍,嘻嘻,别说我心里素质差哦,实在是故障大条,把一个网络核心给升级挂了,全校断网,老师不找你拼命才怪。此后工作快一年啦,再一次升级86啦,还是那么紧张。说真不是我想紧张啊,前天同事刚把68升挂了,抗了两台57过去,拿回三块板卡。而且经常出现这种类型交换机升挂掉案例,这个东西不让人放心呜呜。好吧啰嗦一大堆,升级开始啦!
     第一步:理所当然确认升级信息
S8610#sh version
S8610#sh ver slots
具体就不写出来啦,对照软件版本发型手册,符合升级要求。不过发现是
Slot-M1 : M8610-CM
    Hardware version : 1.0
    Software version : RGNOS 10.2.00(3), Release(40301)
    BOOT version     : 10.2.34077
    CTRL version     : 10.2.38550

心里疙瘩一下,一代管理引擎,抑闷,这个东西比二代差很多。
    第二步:备份配置,这个是必需的。虽然rj设备升级过程中不会像Cisco设备那样丢失配置,但是保存一下是习惯问题。
S8610#copy flash:config.text xmodem:
   第三步:该拷贝rgos到设备中啦!
先看看flash中有什么东东
S8610#dir
    Mode Link      Size               MTime Name
-------- ---- --------- ------------------- ------------------
   <DIR>    1         0 1970-01-01 08:00:00 dev/
   <DIR>    2         0 2008-10-23 12:02:30 mnt/
   <DIR>    1         0 2010-12-12 22:13:35 ram/
   <DIR>    2         0 2010-05-28 20:07:32 tmp/
   <DIR>    7         0 1970-01-01 08:00:00 proc/
            1   7833056 2008-10-23 12:26:08 lc_82xx.bin
            1   3417344 2008-10-23 12:47:16 install_lc_20070010.bin
            1   7002240 2008-10-23 12:47:08 rgnos.bin
            1   5651232 1970-01-01 08:00:54 rgnos_lc.bin
            1       238 2010-12-12 22:13:01 bin_info.txt
            1     28042 2010-12-07 11:40:00 config.text
--------------------------------------------------------------
没主要看,没发现什么问题。
拷贝吧,
S8610#copy tftp://211.66.90.68/S8600_V10.3(5b1)_R87006_CM.bin flash:rgos.bin
Accessing tftp://211.66.90.68/S8600_V10.3(5b1)_R87006_CM.bin...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*Dec 13 15:22:42: %ARPGUARD-4-DOS_DETECTED: ARP DoS attack was detected.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
% Tftp: the flash space is not enough, or something with flash is wrong!!
% File transmission failure
S8610#
出现错误了,flash空间不足,咋办呢?
仔细看一下,rgnos.bin,而我存放的是rgos.bin。【如果这样拷贝成功,重启应该不会出现故障,我估计没错话应该重启的时候是加载rgnos.bin。而rgos.bin只是被当成其它文件保存在flash,这是一种可能,当然还有另外一种可能,重启时候直接加载rgos.bin,然后升级管理引擎,同步线卡,升级成功。具体没实验过,别学我,小心点,记住rj以前版本的10.x存放的bin文件是rgnos。不然出问题就完啦,写到这里突然有点感谢是一代管理引擎,flash空间不过大,没有传送成功,没有重启
庆幸一下,该解决问题啦,很简单,覆盖以前的rgnos.bin。
S8610#copy tftp://211.66.90.68/S8600_V10.3(5b1)_R87006_CM.bin flash:rgnos.bin
Accessing tftp://211.66.90.68/S8600_V10.3(5b1)_R87006_CM.bin...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*Dec 13 15:28:04: %ARPGUARD-4-DOS_DETECTED: ARP DoS attack was detected.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
% Tftp: the flash space is not enough, or something with flash is wrong!!
% File transmission failure
S8610#
空间还是不足,这下麻烦啦!打电话给二线,给我回了一句话,去看升级手册,NND
看就看吧,有什么了不起的,下载RG-S8600系列交换机升级操作指导.pdf。看了一下,实在是忍不住想“kao”一下
启机后,按 Ctrl + C,  进入
ctrl菜单项,然后再按 ctrl +
q命令到 ctrl命令行下。
详见  3.2.2  进管理板Ctrl命令行
Ctrl>

升级手册那么写的,让我在Ctrl层升级,全学校的核心就这样让我重启,在Ctrl层慢慢升级?????????我都不知道是写给谁看的,让我跟客户说我重启设备,断网2~3小时升级。客户不直接吃了我才怪。
二线那边估计~~啦,指望不上啦,给公司其它升级过同事打电话。没结果,不知道怎么删除flash里面的东东。
只能给区域工程师打电话啦!
行吧,找到结果啦!
还是先备份:
S8610#copy flash:lc_82xx.bin tftp://211.66.90.68/lc_82xx.bin *Dec 13 16:05:45: %ARPGUARD-4-DOS_DETECTED: ARP DoS attack was detected.
Accessing flash:lc_82xx.bin...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success : Transmission success,file length 7833056
S8610#
再备份
S8610#$010.bin tftp://211.66.90.68/install_lc_20070010.bin                  
Accessing flash:install_lc_20070010.bin...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*Dec 13 16:07:40: %ARPGUARD-4-DOS_DETECTED: ARP DoS attack was detected.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success : Transmission success,file length 3417344
S8610#
又是备份
S8610#copy flash:rgnos_lc.bin tftp://211.66.90.68/rgnos_lc.bin
Accessing flash:rgnos_lc.bin...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*Dec 13 16:09:27: %ARPGUARD-4-DOS_DETECTED: ARP DoS attack was detected.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success : Transmission success,file length 5651232
S8610#*Dec 13 16:09:37: %SNMP-3-AUTHFAIL: Authentication failure for SNMP req from host 110.64.129.240
备份这些是为了万一没有升级成功可以进入Ctrl层,把这些文件导回去,预防万一。
删除吧,把不必要的bin文件给删除啦!
S8610#del lc_82xx.bin   【线卡管理程序】
S8610#del
S8610#del install_lc_20070010.bin 【线卡程序】
S8610#del rgnos_lc.bin 【引擎管理程序】
S8610#drir
Translating "drir"...
% Unrecognized host or address, or protocol not running.
S8610#dir
    Mode Link      Size               MTime Name
-------- ---- --------- ------------------- ------------------
   <DIR>    1         0 1970-01-01 08:00:00 dev/
   <DIR>    2         0 2008-10-23 12:02:30 mnt/
   <DIR>    1         0 2010-12-12 22:13:35 ram/
   <DIR>    2         0 2010-05-28 20:07:32 tmp/
   <DIR>    7         0 1970-01-01 08:00:00 proc/
            1   7002240 2008-10-23 12:47:08 rgnos.bin
            1       238 2010-12-12 22:13:01 bin_info.txt
            1     28052 2010-12-13 15:52:42 config.text
--------------------------------------------------------------
3 Files (Total size 7030530 Bytes), 5 Directories.
Total 33488896 bytes (31MB) in this device, 24797184 bytes (23MB) available.
S8610#
好吧空间够大啦。拷贝bin文件吧!
S8610#copy tftp://211.66.90.68/S8600_V10.3(5b1)_R87006_CM.bin flash:rgnos.bin
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Transmission finished, file length 15563328

THE PROGRAM VERSION: RGNOS 10.3.*, Release(21470)
Upgrade Master CM main program OK.

CURRENT PRODUCT INFORMATION :
  PRODUCT ID: 0x20060060
  PRODUCT DESCRIPTION: Ruijie High-density IPv6 10G Core Routing Switch(S8610) By Ruijie Network

SUCCESS: UPGRADING OK.
S8610#

拷贝成功,该重启啦!
S8610#rel
Processed with reload? [no]y
System Reload Now......
Reload Reason:

……
省略无数日志!!!!!!
苦苦等待,一颗心悬着!!!
等等等,系统终于起来啦,show ver
S8610>en
Password:
S8610#sh ver*Dec 13 08:20:31: %SYS-5-WARMSTART: System warmstart.

S8610#sh version
System description      : Ruijie High-density IPv6 10G Core Routing Switch(S8610) By Ruijie Networks
System start time       : 2010-12-13 8:19:41
System uptime           : 0:0:0:51
System hardware version : 1.00
System software version : RGOS 10.3(5b1), Release(87006)
System BOOT version     : 10.3.87006
System CTRL version     : 10.3.87006
Module information:
  Slot-1 : M8600-24SFP/12GT
    Hardware version : 1.00
    Software version : RGNOS 10.2.00(3), Release(40301)
    BOOT version     : 10.2.5211421
    CTRL version     : 10.2.5150358
  Slot-5 : M8600-24GT/12SFP
    Hardware version : 1.00
    Software version : RGNOS 10.2.00(3), Release(40301)
    BOOT version     : 10.2.5211421
    CTRL version     : 10.2.5150358
  Slot-M1 : M8610-CM
    Hardware version : 1.00
    Software version : RGOS 10.3(5b1), Release(87006)
    BOOT version     : 10.3.87006
    CTRL version     : 10.3.87006
S8610#
完啦,线卡都没有升级。瞎说,紧张,只能说过分紧张啦!人家设备还没开始同步线卡呢!
S8610#*Dec 13 08:20:46: %7: Transmitting install package file to slot [1] OK ...
*Dec 13 08:20:46: %7: Transmitting install package file to slot [5] ...
*Dec 13 08:20:46: %7: Transmitting file install_lc_20070010.bin;
S8610#*Dec 13 08:21:07: %7: Transmitting install package file to slot [5] OK ...
*Dec 13 08:21:07: %7: Install package transmission finished, system will reset cards ...
*Dec 13 08:21:07: %7: Reset card in slot [1]
*Dec 13 08:21:08: %7: Reset card in slot [5]
*Dec 13 08:21:08: %7: Software installation is in process, wait please ...
*Dec 13 08:21:08: %7: Installing, wait please !
*Dec 13 08:21:08: %OIR-6-REMCARD: Card removed from slot 5, interfaces disabled.
*Dec 13 08:21:09: %MAC_ADDRESS_LIMIT-4-STATUS_CHANGE:  Dynamic MAC address limit takes effect.
*Dec 13 08:21:09: %OIR-6-REMCARD: Card removed from slot 1, interfaces disabled.
*Dec 13 08:21:18: %7: Installing, wait please !
*Dec 13 08:21:28: %7: Installing, wait please !
*Dec 13 08:21:38: %7: Installing, wait please !
*Dec 13 08:21:48: %7: Installing, wait please !
*Dec 13 08:21:58: %7: Installing, wait please !
*Dec 13 08:22:08: %7: Installing, wait please !
*Dec 13 08:22:18: %7: Installing, wait please !
*Dec 13 08:22:28: %7: Installing, wait please !
*Dec 13 08:22:38: %7: Installing, wait please !
*Dec 13 08:22:48: %7: Installing, wait please !
*Dec 13 08:22:58: %7: Installing, wait please !
*Dec 13 08:23:08: %7: Installing, wait please !
让我等,我就等吧!!!!!!!!!不然能怎么办!!!!!!
S8610#*Dec 13 08:23:13: %MAC_ADDRESS_LIMIT-4-STATUS_CHANGE: Dynamic MAC address limit didn’t take effect because incompatible line card **ed!
*Dec 13 08:23:13: %OIR-6-INSCARD: Card **ed in slot 1, interfaces are now online.
*Dec 13 08:23:22: %AUTO_UPGRADE-6-VER_SYNC_SUCCEED: Version synchronization for line card in slot [1] has been succeeded.
*Dec 13 08:23:22: %AUTO_UPGRADE-6-VER_SYNC_SUCCEED: Version synchronization for line card in slot [5] has been succeeded.
S8610#dir
    Mode Link      Size               MTime Name
-------- ---- --------- ------------------- ------------------
   <DIR>    1         0 1970-01-01 00:00:00 dev/
   <DIR>    2         0 2008-10-23 04:02:30 mnt/
   <DIR>    1         0 2010-12-13 08:19:43 ram/
   <DIR>    2         0 2010-12-13 08:20:04 tmp/
   <DIR>    7         0 1970-01-01 00:00:00 proc/
            1   3736960 2010-12-13 08:16:48 install_lc_20070010.bin
            1   3134656 2010-12-13 08:16:41 install_lc_20070020.bin
            1   8568608 2010-12-13 08:16:27 rgos.bin 【升级后变成rgos,为了统一吧】
            1       238 2010-12-13 08:14:48 bin_info.txt
            1     28052 2010-12-13 07:52:42 config.text
哈哈,终于起来了,升级成功啦,嘻嘻,其实还真的挺吓人的!!!





游客,如果您要查看本帖隐藏内容请回复


发表于 2010-12-13 22:08:52 | 显示全部楼层
let it up
发表于 2010-12-13 22:36:39 | 显示全部楼层
回复 2 # lilf 的帖子

疯哥 好久不见你那伟岸的身影啊···
发表于 2010-12-13 23:21:34 | 显示全部楼层
本帖最后由 zhang5968 于 2010-12-13 23:21 编辑

要淡定!
发表于 2010-12-13 23:39:43 | 显示全部楼层
来自STSC的一线战报。是RQ吧?
发表于 2010-12-14 08:53:54 | 显示全部楼层
发表于 2010-12-14 09:32:57 | 显示全部楼层
RJOS的升级,还是有挺多细节要注意的!
感谢楼主的分享,很详细!
下次碰到就有经验了~
发表于 2010-12-14 11:24:38 | 显示全部楼层
嘻嘻~很详细的说

赞!
发表于 2010-12-14 15:25:16 | 显示全部楼层
很详细给力的介绍
发表于 2010-12-14 15:49:41 | 显示全部楼层
很细节的东西哦~感谢分享~对升级项目又了解一点了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-11-22 14:29 , Processed in 0.091032 second(s), 18 queries , Gzip On.

快速回复 返回顶部 返回列表