- 论坛徽章:
- 1
|
这次由于客户的要求,要对sun 6140的firmware 进行降级:从10.25.10.27 降到06。60。11。20,由于这个东西sun要求是由他们自己工程师现场操作,因此要求也比较高,sun工作人员说,实际操作起来,也没有那么复杂,先将我做的过程贴出来,大家一起学习学习!
1,根据要求,在sunsolve上下载相对应的CAM软件,因为firmware的版本在cam里,如6.1.2.8的版本里就有06。60。11。20的版本
2.环境的搭建:将管理主机的网口,6140的两个raid控制器的网口,都连接到交换机,同时使用两跟6140的串口线分别连接到两个终端,或两台笔记本。根据要求,将6140的网口ip和管理主机上的ip要设置为一致。目的是让后面能ftp文件。
3.准备所要的软件。
操作步骤如下:
A. 将6.1.2.8的tar文件传到/var/tmp/firmware
B. # gunzip host_sw_solaris_6.1.2.8.tar.gz
C. # tar xvf host_sw_solaris_6.1.2.8.tar
D. cd HostSoftwareCD_6.1.2.8/
E. # ./RunMe.bin –c 安装cam软件
bash-3.00# ./RunMe.bin -c
Initializing Wizard........
Launching InstallShield Wizard........
-------------------------------------------------------------------------------
Sun StorageTek(TM) Common Array Manager 6.1.2
The InstallShield Wizard will install Sun StorageTek(TM)
Common Array Manager on your computer.
To continue, choose Next.
Sun StorageTek(TM) Common Array Manager 6.1.2
Sun Microsystems, Inc.
http://www.sun.com
Press 1 for Next, 3 to Cancel or 5 to Redisplay [1]
-------------------------------------------------------------------------------
Sun StorageTek(TM) Common Array Manager 6.1.2
Please read the following license agreement carefully.
Sun StorageTek(TM) Common Array Manager
Copyright (C) 2008 Sun Microsystems, Inc. All rights reserved.
Sun Microsystems, Inc. has intellectual property rights relating to technology
embodied in the product that is described in this document. In particular, and
without limitation, these intellectual property rights may include one or more
of the U.S. patents listed at http://www.sun.com/patents and one or more
additional patents or pending patent applications in the U.S. and in other
countries.
U.S. Government Rights - Commercial software. Government users are subject to
the Sun Microsystems, Inc. standard license agreement and applicable provisions
of the FAR and its supplements.
Use is subject to license terms.
This distribution may include materials developed by third parties.
Portions may be derived from Berkeley BSD systems, licensed from U. of CA. Sun,
Sun Microsystems, the Sun logo, Java, Solaris and Sun StorageTek are trademarks
or registered trademarks of Sun Microsystems, Inc. in the U.S. and other
countries. All SPARC trademarks are used under license and are trademarks or
registered trademarks of SPARC International, Inc. in the U.S. and other
countries.
Please choose from the following options:
[ ] 1 - I accept the terms of the license agreement.
[X] 2 - I do not accept the terms of the license agreement.
To select an item enter its number, or 0 when you are finished: [0] 1
[X] 1 - I accept the terms of the license agreement.
[ ] 2 - I do not accept the terms of the license agreement.
To select an item enter its number, or 0 when you are finished: [0]
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]
-------------------------------------------------------------------------------
Sun StorageTek(TM) Common Array Manager 6.1.2
Choose the installation type that best suits your needs.
[X] 1 - Typical
The program will be installed with the suggested configuration.
Recommended for most users.
[ ] 2 - Custom
The program will be installed with the features you choose.
Recommended for advanced users.
Select the number corresponding to the type of install you would like: [0]
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]
-------------------------------------------------------------------------------
Checking current system ...
|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||
-------------------------------------------------------------------------------
Sun StorageTek(TM) Common Array Manager 6.1.2
Software To Be Installed:
Full Install
* Browser User Interface (BUI)
* Local and Remote CLI
* Array Firmware
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]
Preparing for installation ...
Pre Uninstall Old Action ...
Removing old features ...
-------------------------------------------------------------------------------
Sun StorageTek(TM) Common Array Manager 6.1.2
Installing Sun StorageTek(TM) Common Array Manager 6.1.2. Please wait...
|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||
Installing Java 2 Standard Edition
|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||
-------------------------------------------------------------------------------
Sun StorageTek(TM) Host Software Installation Summary
View results:
Info:
Installation success.
The following have been installed: Browser User Interface (BUI), Local and
Remote CLI, and Array Firmware.
To access the Browser User Interface point a browser at:
https://installation_host:6789
The logs may be found in /var/sadm/install/se6000/
Press 3 to Finish or 5 to Redisplay [3]
F. 切换到/opt/SUNWstkcam/share/fw/images/nge这个目录下
bash-3.00# ls
esm0186.esm
esm9330.s3r
esm9565.dl
esm9566.dl
esm9643.s3r
esm9673.s3r
esm9726.dl
esm9728.dl
esm98B4.esm
N133X-670843-001.dlp
N133X-670843-901.dlp
N1532-670843-001.dlp
N1532-670843-901.dlp
N1932-670843-001.dlp
N1932-670843-901.dlp
N288X-660843-003.dlp
N288X-660855-003.dlp
N399X-660843-003.dlp
N399X-710843-006.dlp
N588X-660855-003.dlp
N6091-660843-003.dlp
N6091-660855-003.dlp
N6091-710843-005.dlp
N6091-710855-005.dlp
RC_06601110_chromium2_apollo_288x.dlp
RC_06601110_chromium2_apollo_399x.dlp
RC_06601110_chromium2_apollo_6091.dlp
RC_06601120_chromium2_silverado_288x.dlp
RC_06601120_chromium2_silverado_588x_06600100.dlp
RC_06601120_chromium2_silverado_6091.dlp
RC_06705411_desperado_apollo_133x.dlp
RC_06705411_desperado_apollo_1532.dlp
RC_06705411_desperado_apollo_1932.dlp
RC_07102510_crystal_apollo_399x.dlp
RC_07102510_crystal_apollo_6091.dlp
G. 根据要求,我们需要两个firmware的文件 这个要查相关文件的。
N399X-660843-003.dlp
RC_06601110_chromium2_apollo_399x.dlp
H. 到这里主机的准备工作结束,接着对6140进行ip配置。对两个raid controneer分别进行ip配置(使用cam软件)
I. 以上工作准备好后,使用两个终端分别连接6140的串口。
按ctrl + break建,然后按Esc键 进入如下状态:
Press within 5 seconds: <S> for Service Interface, <BREAK> for baud rate
VxWorks login:
VxWorks login:
VxWorks login
输入用户名和密码,由于这是sun的内部帐号,这里我也就不方便透露了,如果有需要的同志,可以联系我。
下面全是降级的步骤:
J.在两台终端上同时执行 sysWipe的命令 ///////注意,以下的命令都是在两台终端上同时执行的。
-> sysWipe
04/17/09-13:04:31 (GMT) (tRAID): NOTE: WWN baseName 000200a0-b8560c5e (valid==>SoftRst)
04/17/09-13:04:31 (GMT) (IOSched): NOTE: FC speed negotiation initiated on chip 2
04/17/09-13:04:31 (GMT) (tRAID): NOTE: IonMgr: Host Interface Enabled
04/17/09-13:04:31 (GMT) (tRAID): NOTE: SOD: Pre-Initialization Phase Complete
04/17/09-13:04:31 (GMT) (IOSched): NOTE: FC speed negotiation complete on chip 2
04/17/09-13:04:32 (GMT) (utlTimer): NOTE: fcnChannelReport ==> 0 1 ~2 -3 -4 -5
04/17/09-13:04:37 (GMT) (tRAID): NOTE: Auto Code Sync (ACS) initializing...
04/17/09-13:04:37 (GMT) (tRAID): NOTE: ACS: autoCodeSync(): Process start. Comm Mode: 0, Status: 1
04/17/09-13:04:37 (GMT) (iacTask4): NOTE: ACS: Acs Needed on Alt: No, StateCode: 4, ReasonCode = 8
04/17/09-13:04:37 (GMT) (tRAID): NOTE: SOD: Code Synchronization Initialization Phase Complete
04/17/09-13:04:37 (GMT) (utlTimer): NOTE: fcnChannelReport ==> 0 1 ~2 =3 =4 =5
04/17/09-13:04:38 (GMT) (tRAID): NOTE: CheckInMonitor: Check-in failed (NoUnmarshalFuncException Error)
04/17/09-13:04:40 (GMT) (NvpsPersistentSyncM): NOTE: NVSRAM Persistent Storage updated successfully
04/17/09-13:04:42 (GMT) (tRAID): WARN: USM Creating USM header
04/17/09-13:04:42 (GMT) (tRAID): NOTE: USM Mgr initialization complete with 0 records.
04/17/09-13:04:43 (GMT) (tRAID): NOTE: UTM: no records found: creating...
04/17/09-13:05:02 (GMT) (utlTimer): NOTE: fcnChannelReport ==> 0 1 2 =3 =4 =5
04/17/09-13:05:26 (GMT) (tRAID): NOTE: dvc: initialize
04/17/09-13:05:26 (GMT) (tRAID): NOTE: SNR processDatabase
04/17/09-13:05:26 (GMT) (tRAID): WARN: spm: unable to exchange features, assuming none
04/17/09-13:05:26 (GMT) (tRAID): NOTE: Reserializing the SPM database
04/17/09-13:05:27 (GMT) (tRAID): NOTE: DBRead 0.474 secs
04/17/09-13:05:27 (GMT) (iacTask2): NOTE: RTDev::getPersistentRecords count: 0 - found: 0
04/17/09-13:05:28 (GMT) (utlTimer): NOTE: fcnChannelReport ==> 0 1 +2 =3 =4 =5
04/17/09-13:05:28 (GMT) (tRAID): NOTE: fcn: Peering Disabled (Alt in SOD)
04/17/09-13:05:28 (GMT) (tRAID): NOTE: ion: Peering Disabled (Alt in SOD)
04/17/09-13:05:29 (GMT) (iacTask6): NOTE: fcn: checkInAlt Peering Enabled
04/17/09-13:05:29 (GMT) (iacTask2): NOTE: ion: checkInAlt Peering Enabled
04/17/09-13:05:29 (GMT) (tRAID): NOTE: Creating Volume Transfer Manager header
04/17/09-13:05:29 (GMT) (utlTimer): NOTE: fcnChannelReport ==> 0 1 2 =3 =4 =5
04/17/09-13:05:30 (GMT) (tRAID): WARN: mlm::readDatabaseMelHeader DBM_REC_NOT_FOUND, returning false
04/17/09-13:05:30 (GMT) (tRAID): NOTE: MEL Header initialized
04/17/09-13:05:30 (GMT) (tRAID): NOTE: MEL Events initialization started
04/17/09-13:05:31 (GMT) (utlTimer): WARN: Extended Link Down Timeout on channel 3
04/17/09-13:05:31 (GMT) (utlTimer): WARN: Extended Link Down Timeout on channel 4
04/17/09-13:05:31 (GMT) (utlTimer): WARN: Extended Link Down Timeout on channel 5
DHCP failed to obtain a lease for interface esmc1
Network Ready
4/17/09-13:06:56 (GMT) (tRAID): NOTE: MEL Events initialization completed
04/17/09-13:06:56 (GMT) (tRAID): WARN: mlm::readDatabaseSyslogConfig() returning DBM_REC_NOT_FOUND
04/17/09-13:06:57 (GMT) (iacTask4): NOTE: fbm:altValidateSubModelID: Sub-Model IDs Validated
04/17/09-13:06:57 (GMT) (tRAID): ERROR: CacheStore read error: Unable to find record
04/17/09-13:06:57 (GMT) (tRAID): NOTE: CCM: readAndValidateCacheStore() CacheStore record not found
04/17/09-13:06:57 (GMT) (tRAID): NOTE: CCM: readAndValidateCacheStore() creating default CacheStore
04/17/09-13:06:57 (GMT) (tRAID): NOTE: CCM: readAndValidateCacheStore() partitioning for no mirroring
04/17/09-13:06:57 (GMT) (tRAID): NOTE: CCM: Changing default demand cache flush values
04/17/09-13:06:57 (GMT) (tRAID): NOTE: CCM: validateCacheMem() cache memory is invalid
04/17/09-13:06:57 (GMT) (tRAID): NOTE: CCM: validateCacheMem() Initializing my partition
04/17/09-13:07:04 (GMT) (tRAID): NOTE: CCM: initialize(): Configuring cache
04/17/09-13:07:05 (GMT) (tRAID): NOTE: Writing persistent reservation manager header
04/17/09-13:07:06 (GMT) (tRAID): NOTE: Starting UWManager::initialize, entries 510, invalid index -1
04/17/09-13:07:06 (GMT) (tRAID): NOTE: Size of NVSRAM IW Queue is 0
04/17/09-13:07:17 (GMT) (tRAID): NOTE: drdac: Exception caught in DiagServiceManager::initialize:NoUnmarshalFuncException Error
04/17/09-13:07:17 (GMT) (tRAID): NOTE: SofdDwnldMgr, DownloadDOMIMgr - DOMI Initialized
04/17/09-13:07:18 (GMT) (tRAID): NOTE: SOD: Initialization Phase Complete
==============================================
Title: Disk Array Controller
Copyright 2004-2008 LSI Logic Corporation, All Rights Reserved.
Name: RC
Version: 07.10.25.10
Date: 03/20/2008
Time: 17:25:59 CDT
Models: 3992 3994
Manager: devmgr.v1010api33.Manager
==============================================
04/17/09-13:07:18 (GMT) (tRAID): NOTE: sodMain sequence finished, elapsed time = 235 seconds
04/17/09-13:07:18 (GMT) (tRAID): NOTE: sodMain complete
04/17/09-13:07:18 (GMT) (EventGateManager): NOTE: CheckInMonitor: Check-in failed (NoUnmarshalFuncException Error)
04/17/09-13:07:18 (GMT) (iacTask2): NOTE: Updating Ctlr TrayId due to Alt Request from id= 85 to id=85
04/17/09-13:07:19 (GMT) (ProcessHandlers): NOTE: SYMbol available
K. 接着在两个终端上输入netCfgSet
,配置ftp servers
->
Serial Port shell started.
->
-> netCfgSet
Please wait...
'.' = clear field; '-' = to previous field
^D = quit (keep changes); ESC = quit (discard changes)
==== STORED NETWORK CONFIGURATION ====
My Host Name :
IP Address if0 : 192.168.33.150
Subnet Mask if0 : 255.255.255.240
IP Address if1 :
Subnet Mask if1 :
Server Host Name : wzcumain1
Server IP Address : 192.168.33.4
Gateway IP Address : 192.168.33.158 192.168.33.14
Network Init Flags : 0x00
User Name : root
User Password : root
Network Configuration successfully written to NVSRAM.
value = 0 = 0x0
-> cd "wzcumain1:/opt/SUNWstkcam/share/fw/images/nge/"
value = 0 = 0x0
-> ls
N133X-670843-001.dlp
N133X-670843-901.dlp
N1532-670843-001.dlp
N1532-670843-901.dlp
N1932-670843-001.dlp
N1932-670843-901.dlp
N288X-660843-003.dlp
N288X-660855-003.dlp
N399X-660843-003.dlp
N399X-710843-006.dlp
N588X-660855-003.dlp
N6091-660843-003.dlp
N6091-660855-003.dlp
N6091-710843-005.dlp
N6091-710855-005.dlp
RC_06601110_chromium2_apollo_288x.dlp
RC_06601110_chromium2_apollo_399x.dlp
RC_06601110_chromium2_apollo_6091.dlp
RC_06601120_chromium2_silverado_288x.dlp
RC_06601120_chromium2_silverado_588x_06600100.dlp
RC_06601120_chromium2_silverado_6091.dlp
RC_06705411_desperado_apollo_133x.dlp
RC_06705411_desperado_apollo_1532.dlp
RC_06705411_desperado_apollo_1932.dlp
RC_07102510_crystal_apollo_399x.dlp
RC_07102510_crystal_apollo_6091.dlp
esm0186.esm
esm9330.s3r
esm9565.dl
esm9566.dl
esm9643.s3r
esm9673.s3r
esm9726.dl
esm9728.dl
esm98B4.esm
value = 0 = 0x0
-> fileDownload "N399X-660843-003.dlp"
value = 0 = 0x0
->
Opening file 'N399X-660843-003.dlp'...
Reading file...
DOWNLOAD TO FLASH
Type Name Version Download Status
==== ============ ============ ===============
Cfg MfgConfig 06.60.00.00 Complete: 100% -- Ok
Download stream processing complete (no errors)
->
->
-> fileDownload "RC_06601110_chromium2_apollo_399x.dlp"(这一步用时间比较长点,耐心等待。)
value = 0 = 0x0
->
Opening file 'RC_06601110_chromium2_apollo_399x.dlp'...
Reading file...
DOWNLOAD TO FLASH
Type Name Version Download Status
==== ============ ============ ===============
File PkgInfo 06.60.11.10 Complete: 100% -- Ok
Boot Boot 06.60.11.10 Installed Ok
File System 06.60.11.10 Complete: 100% -- Ok
File MENU 06.60.11.10 Complete: 100% -- Ok
File Diagnostics 06.60.11.10 Complete: 100% -- Ok
File RAID 06.60.11.10 Complete: 100% -- Ok
File DEBUG 06.60.11.10 Complete: 100% -- Ok
File MAPI 06.60.11.10 Complete: 100% -- Ok
File TAPI 06.60.11.10 Complete: 100% -- Ok
File SPY 06.60.11.10 Complete: 100% -- Ok
File FBDT 06.60.11.10 Complete: 100% -- Ok
File MfgConfig 06.60.11.10 Attempt to overwrite system config file
Download stream processing complete (no errors)(出现这个就表示结束了)
再一次执行,等待两分钟,就会结束:
- |
评分
-
查看全部评分
|