jinmaodao 发表于 2008-03-26 16:52

sunfire 3800 SC升级总结


1:为什么需要升级3800的固件:
以前固件版本只能安装solaris 8的系统;没法子安装solaris9的系统。
通过solaris9光盘引导之后报如下信息:
Rebooting with command: boot cdrom
SunOS Release 5.9 Version Generic_117171-07 64-bit
Copyright 1983-2003 Sun Microsystems, Inc.All rights reserved.
Use is subject to license terms.
/
panic/thread=140a000: BAD TRAP: type=31 rp=1409430 addr=7000007dff8 mmu_fsr=0
sun官方网站上的说明:
安装 Solaris 9 4/04 软件之前需要知道的错误
以下是安装 Solaris 9 4/04 软件之前应该了解的安装错误。
SPARC: 在安装前先升级 Sun Fire 和 Netra 服务器上的固件 (4747307, 4799331)
要在特定的 Sun Fire 和 NetraTM 服务器上安装 Solaris 9 4/04 软件,必须首先更新服务器上的固件。 如果不在安装 Solaris 9 4/04 软件之前更新固件,则服务器将无法正常运行。 此问题将影响以下服务器:

[*]
Sun Fire 3800 服务器
[*]
Sun Fire 4800 服务器
[*]
Sun Fire 4810 服务器
[*]
Sun Fire 6800 服务器
[*]
Sun Fire V1280 服务器
[*]
Netra 1280 服务器

如果发生此问题,会显示以下错误消息:
panic/thread=140a000: BAD TRAP: type=34 rp=147e9e0
       addr=5586ee326973add3 mmu_fsr=0
将显示 ok 提示符。
解决方法:通过应用相应的固件修补程序更新固件。

[*]
对于 Sun Fire 3800、4800、4810 或 6800 服务器,应用以下修补程序之一:

[*]
修补程序 ID 112883-05(5.14.4 固件更新)
[*]
修补程序 ID 112884-01(5.15.0 固件更新)

[*]
对于 Sun Fire V1280 或 Netra 1280 服务器,应用修补程序 ID 113751-03(5.13.0013 固件更新)。

2、通过sun网站下载固件升级程序114525-07.zip。在sun中检索找到资源之后再点开download页面进行下载。
   将该升级程序包传到同一网段的机器上;该机器ftp服务开启。
升级3800的的时候主从都得具有局域网IP地址;通过ftp的方式获取升级包程序。
3、由于该机器是主从sc;首先得先升级从的sc之后再升级主的sc。
注升级固件时:
所有Domain 内OS得全部关闭。
从solaris系统中执行init 0 关机命令,注意不要执行setkeyswitch off命令,因升级是要求各主板、IO板之类全部处于通电状态。


   从sc口信息核实:
db1:SC> showsc
SC: SSC1
SC date: Sun Mar 23 20:58:07 PST 2008
SC uptime: 3 days 23 hours 28 minutes 30 seconds
ScApp version: 5.12.6
RTOS version: 19
db1:SC> help
Platform Shell commands:
connections      -- show connections to the system controller or a domain
disconnect       -- disconnect this connection or a specified connection
dumpconfig       -- save the system controller configuration to a server
flashupdate      -- update firmware
help             -- show help for a command or list commands
history          -- show command history
password         -- set the platform or domain password
reboot         -- reboot the system controller
restoreconfig    -- restore the system controller configuration from a server
setupplatform    -- configure the platform
showplatform   -- show platform configuration, information and domain status
showsc         -- show system controller version and uptime
给sc设置了telnet 的IP地址之后得重新启动reboot 控制器
1)备份sc的信息:解释172.18.20.97是有升级包的机器
db1:SC> dumpconfig -f
ftp://root:zsedc(&@172.18.20.97/export/home/3800s

Created:
ftp://root:zsedc(&@172.18.20.97/export/home/3800s/db1.nvci
Created:
ftp://root:zsedc(&@172.18.20.97/export/home/3800s/db1.tod
telnet从sc的IP地址进行升级。同时通过sc串口监控整个升级过程:从的只需升级控制器的固件版本
db1:SC> flashupdate -f ftp://root:zsedc(&@172.18.20.97//114525-07 scapp rtos
Do you want to continue? yes   #选YES
Waiting for critical processes to finish.This may take a while.
Critical processes have finished.
No boards can be updated.
Rebooting the SC to automatically complete the upgrade.
Rebooting. All telnet connections closed. Reestablish any needed connections.
然后系统会重启,接着连接FTP服务器读取文件,升级firmware。
Flashupdate
Connecting to 172.18.20.97...
Transferring sgrtos.flash via FTP : 4380
Transferring sgrtos.flash via FTP : 9652
Transferring sgrtos.flash via FTP : 16384
Transferring sgrtos.flash via FTP : 23684
升级成功从sc之后查看:
db1:sc> showsc
SC: SSC1
Spare System Controller
SC Failover: enabled but not active.
SC date: Sun Mar 23 23:01:35 PDT 2008
SC uptime: 3 minutes 17 seconds
ScApp version: 5.18.6 Build_01
RTOS version: 45
2)升级主sc的固件:
备份主sc口信息:
dumpconfig -f
ftp://root:zsedc(&@172.18.20.97/export/home/3800
Created:
ftp://root:zsedc(&@172.18.20.97/export/home/3800/db1.nvci
Created:
ftp://root:zsedc(&@172.18.20.97/export/home/3800/db1.tod
核查原先sc信息:
db1:SC> showkeyswitch
Domain A keyswitch is: on
Domain B keyswitch is: off
Domain C keyswitch is: off
Domain D keyswitch is: off
db1:SC> showsc -v
SC: SSC0
SC date: Mon Mar 24 14:38:54 CST 2008
         CSTGMT-6   Central Standard Time   
SC uptime: 4 days 44 minutes 12 seconds
ScApp version: 5.12.6
RTOS version: 19
SC POST diag level: min
Clock source is: 75MHz
db1:SC> showboards -p version -v
Component Device    TypeVersionDate       TimeInfo                     
--------- ------    ---------------       --------                     
SSC0                ScApp 5.12.6   11/29/2001 12:44                           
SSC0                Info5.12.6   11/29/2001 12:44 Sun_Fire_Version_5.12.6_05
/N0/IB6   SBBC 0    iPOST 5.12.6   11/29/2001 12:41                           
/N0/IB6   SBBC 0    Info5.12.6   11/29/2001 12:42 Sun_Fire_Version_5.12.6_05
/N0/IB8   SBBC 0    iPOST 5.12.6   11/29/2001 12:41                           
/N0/IB8   SBBC 0    Info5.12.6   11/29/2001 12:42 Sun_Fire_Version_5.12.6_05
/N0/SB2   SBBC 0    POST5.12.6   11/29/2001 12:41                           
/N0/SB2   SBBC 0    OBP   5.12.6   11/29/2001 12:41                           
/N0/SB2   SBBC 0    Info5.12.6   11/29/2001 12:41 Sun_Fire_Version_5.12.6_05
/N0/SB2   SBBC 1    POST5.12.6   11/29/2001 12:41                           
/N0/SB2   SBBC 1    OBP   5.12.6   11/29/2001 12:41                           
/N0/SB2   SBBC 1    Info5.12.6   11/29/2001 12:41 Sun_Fire_Version_5.12.6_05
通过tlenet方式升级sc口相关固件;串口进行监控
db1:SC> flashupdate -f
ftp://root:zsedc(&@172.18.20.97//export/home/114525-07
all rtos
As part of this update, the system controller will automatically reboot.
RTOS will be upgraded automatically during the next boot.
ScApp will be upgraded automatically during the next boot.
After this update you must reboot each active domain that was upgraded.
Do you want to continue? yes
Retrieving:
ftp://root:zsedc(&@172.18.20.97//export/home/114525-07/sgcpu.flash
Validating................ Done
Current firmware version: 5.12.6
New firmware version: 5.18.6
Programming /N0/SB2 PROM 0
Erasing   ............... Done
Programming ............... Done
Verifying   ............... Done
Programming /N0/SB2 PROM 1
Erasing   ............... Done
Programming ............... Done
Verifying   ............... Done
Retrieving:
ftp://root:zsedc(&@172.18.20.97//export/home/114525-07/sgpci.flash
Validating..... Done
Current firmware version: 5.12.6
New firmware version: 5.18.6
Programming /N0/IB6 PROM 0
Erasing   ..... Done
Programming ..... Done
Verifying   ..... Done
Programming /N0/IB8 PROM 0
Erasing   ..... Done
Programming ..... Done
Verifying   ..... Done
Rebooting the SC to automatically complete the upgrade.
Rebooting. All telnet connections closed. Reestablish any needed connections.
sc口监控的信息显示:
Mar 24 14:43:40 db1 Platform.SC: All services on this SC have been stopped.
Software Reset...
@(#) SYSTEM CONTROLLER(SC) POST 19 2001/08/08 14:42
PSR = 0x044010e5
PCR = 0x04004000
      SelfTest running at DiagLevel:0x20

SC Boot PROM             Test
      BootPROM CheckSum               Test
IU      Test
      IU instruction set            Test
      Little endian access            Test
......
ERI Device Present
Getting MAC address for SSC0
MAC address is 0:3:ba:d:6d:b
Hostname: db1
Address: 172.18.20.67
Netmask: 255.255.255.0
Attached TCP/IP interface to eri unit 0
Attaching interface lo0...done
Gateway: 172.18.20.1
Invalid DNS server ("0.0.0.0"); ignoring
Invalid DNS server ("0.0.0.0"); ignoring
interrupt: 100 Mbps full duplex link up
Adding 2854 symbols for standalone.
Flashupdate
Connecting to 172.18.20.97...
          Copyright 2001 Sun Microsystems, Inc.All rights reserved.
Sun Fire 3800-6800 System Controller
RTOS version: 19
ScApp version: 5.12.6
SC POST diag level: min
The date is Monday, March 24, 2008, 2:45:51 PM CST.
Mar 24 14:45:51 db1 Platform.SC: Boot: ScApp 5.12.6, RTOS 19
Mar 24 14:45:55 db1 Platform.SC: Clock Source: 75MHz
Mar 24 14:45:57 db1 Platform.SC: Master System Controller
Mar 24 14:46:01 db1 Platform.SC: Chassis is in single partition mode.
Firmware incompatability. Expected: 5.12.6 Observed: 5.18.6 on SB2 PROM 0
Use flashupdate (platform shell) to update the board.
Firmware incompatability. Expected: 5.12.6 Observed: 5.18.6 on SB2 PROM 1
Use flashupdate (platform shell) to update the board.
Firmware incompatability. Expected: 5.12.6 Observed: 5.18.6 on IB6 PROM 0
Use flashupdate (platform shell) to update the board.
Firmware incompatability. Expected: 5.12.6 Observed: 5.18.6 on IB8 PROM 0
Use flashupdate (platform shell) to update the board.
查看升级的信息
db1:SC> showboards -p version -v
Component Device    TypeVersionDate       TimeInfo                     
--------- ------    ---------------       --------                     
SSC0                ScApp 5.12.6   11/29/2001 12:44                           
SSC0                Info5.12.6   11/29/2001 12:44 Sun_Fire_Version_5.12.6_05
/N0/IB6   SBBC 0    iPOST 5.18.6   03/30/2006 18:53                           
/N0/IB6   SBBC 0    Ver   5.18.6   03/30/2006 18:54                           
/N0/IB8   SBBC 0    iPOST 5.18.6   03/30/2006 18:53                           
/N0/IB8   SBBC 0    Ver   5.18.6   03/30/2006 18:54                           
/N0/SB2   SBBC 0    POST5.18.6   03/30/2006 18:50                           
/N0/SB2   SBBC 0    OBP   5.18.6   03/30/2006 18:49                           
/N0/SB2   SBBC 0    Ver   5.18.6   03/30/2006 18:52                           
/N0/SB2   SBBC 1    POST5.18.6   03/30/2006 18:50                           
/N0/SB2   SBBC 1    OBP   5.18.6   03/30/2006 18:49                           
/N0/SB2   SBBC 1    Ver   5.18.6   03/30/2006 18:52
发现sc的固件程序没有升级上去:
再次执行升级命令之后重启控制器出现如下错误[此种仅作个信息记录;正确的操作间3)]
Flashupdate
Connecting to 172.18.20.97...
          Copyright 2001 Sun Microsystems, Inc.All rights reserved.
Sun Fire 3800-6800 System Controller
RTOS version: 19
ScApp version: 5.12.6
SC POST diag level: min
如下应该进入sc登录界面但是出现如下的错误记录:
The date is Monday, March 24, 2008, 3:03:54 PM CST.
Mar 24 15:03:54 db1 Platform.SC: Boot: ScApp 5.12.6, RTOS 19
Mar 24 15:03:59 db1 Platform.SC: Clock Source: 75MHz
Mar 24 15:04:00 db1 Platform.SC: Master System Controller
Mar 24 15:04:04 db1 Platform.SC: Chassis is in single partition mode.
Firmware incompatability. Expected: 5.12.6 Observed: 5.18.6 on SB2 PROM 0
Use flashupdate (platform shell) to update the board.
Firmware incompatability. Expected: 5.12.6 Observed: 5.18.6 on SB2 PROM 1
Use flashupdate (platform shell) to update the board.
Firmware incompatability. Expected: 5.12.6 Observed: 5.18.6 on IB6 PROM 0
Use flashupdate (platform shell) to update the board.
Firmware incompatability. Expected: 5.12.6 Observed: 5.18.6 on IB8 PROM 0
Use flashupdate (platform shell) to update the board.
****Signal Dispatch: signal 10 in thread 0x897f30
SIGBUS    10*bus error
Full thread dump Classic VM (SC-1.2.2-010809, native threads):
    "
TelnetServer@5004
" (TID:0xe77448, sys_thread_t:0x7b1500, state:R, native ID:0x710008) prio=5
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at sun.serengeti.console.TelnetService$TelnetServer.run(Unknown Source)
    "
TelnetServer@5003
" (TID:0xe77238, sys_thread_t:0x7acbb0, state:R, native ID:0x71f218) prio=5
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at sun.serengeti.console.TelnetService$TelnetServer.run(Unknown Source)
    "
TelnetServer@5002
" (TID:0xe772d0, sys_thread_t:0x7ac2d8, state:R, native ID:0x72e428) prio=5
。。。。。。
Registered Monitor Dump:
    PCMap lock:
    utf8 hash table:
    JNI pinning lock:
    JNI global reference lock:
    BinClass lock:
    Class linking lock:
    System class loader lock:
    Code rewrite lock:
    Heap lock:
    Monitor cache lock: owner "MasterThread" (0x1a9a320) 1 entry
    Thread queue lock: owner "MasterThread" (0x1a9a320) 1 entry
Waiting to be notified:
   "Thread-1" (0x1d4a7a8)
    Monitor registry: owner "MasterThread" (0x1a9a320) 1 entry
通过前面面板的reset主控制器;故障消息。串口能正常工作。
      
3)如下操作升级未升上去的sc固件
以telnet方式进行升级命令操作;串口进行升级信息监控
db1:SC> flashupdate -f
ftp://root:zsedc(&@172.18.20.97//export/home/114525-07
scapp rtos

As part of this update, the system controller will automatically reboot.
RTOS will be upgraded automatically during the next boot.
ScApp will be upgraded automatically during the next boot.
Do you want to continue? yesMar 23 21:08:58 db1 Platform.SC: Stopping all services on this SC
Mar 23 21:08:58 db1 Platform.SC: All services on this SC have been stopped.
No boards can be updated.
Rebooting the SC to automatically complete the upgrade.
Rebooting. All telnet connections closed. Reestablish any needed connections.
Software Reset...
串口信息记录:
@(#) SYSTEM CONTROLLER(SC) POST 19 2001/08/08 14:42
PSR = 0x044010e5
PCR = 0x04004000
.......
POST Complete.
ERI Device Present
Getting MAC address for SSC0
MAC address is 0:3:ba:d:6d:b
Hostname: db1
Address: 172.18.20.67
Netmask: 255.255.255.0
Attached TCP/IP interface to eri unit 0
Attaching interface lo0...done
Gateway: 172.18.20.1
Invalid DNS server ("0.0.0.0"); ignoring
Invalid DNS server ("0.0.0.0"); ignoring
interrupt: 100 Mbps full duplex link up
Adding 2854 symbols for standalone.
Flashupdate
Connecting to 172.18.20.97...
Transferring sgrtos.flash via FTP : 695584
Comparing image and flash...
Image and flash are different. Proceeding with update.
Erasing flashprom sectors at address 0x20000000: 11/11 = 100%
Programming: 11/11 = 100%
Connecting to 172.18.20.97...
Transferring sgsc.flash via FTP : 6357779
Comparing image and flash...
Image and flash are different. Proceeding with update.
Erasing flashprom sectors at address 0x36000000: 98/98 = 100%
Programming: 98/98 = 100%
Software Reset...
.......
Copyright 2006 Sun Microsystems, Inc.All rights reserved.
          Use is subject to license terms.
Sun Fire System Firmware
RTOS version: 45
ScApp version: 5.18.6 Build_01
SC POST diag level: min
The date is Monday, March 24, 2008, 4:36:01 PM CDT.
Mar 24 16:36:02 db1 Platform.SC: Boot: ScApp 5.18.6, RTOS 45
Mar 24 16:36:02 db1 Platform.SC: WARNING: Unknown Platform loghost.Logger failed to dispatch message to: none
Mar 24 16:36:03 db1 Platform.SC: SBBC Reset Reason(s): Peer Reset, SC Reset Button
Mar 24 16:36:07 db1 Platform.SC: Clock Source: 75MHz
Mar 24 16:36:42 db1 Platform.SC: Chassis is in single partition mode.
Mar 24 16:37:01 db1 Platform.SC: Main System Controller
Mar 24 16:37:10 db1 Platform.SC: SC Failover: enabled but not active.
System Controller 'db1':
    Type0for Platform Shell
    Type1for domain A console
    Type2for domain B console
    Type3for domain C console
    Type4for domain D console
    Input: Mar 24 16:37:21 db1 Platform.SC: Clock failover enabled.
查询之后固件升级成功。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/52244/showart_508942.html
页: [1]
查看完整版本: sunfire 3800 SC升级总结