Logs and steps:
\\cybertech02\home\cybertech\special_request\20110722_downgrade_8.1.1.06_to_8.1.0.016
# Upgrade from UBOOT
date +"%Y%m%d_%H%M%S"
cmmget -l chassis -t fru -d all
ifconfig
cmmget -d version
rsys-ipmitool hpm check
uname -r
cmmget -d healthevents
cmmget -d healthevents > /usr/local/data/healthevents_before.txt
cmmget -d redundancy
cmmget -l system -d listpresent
cat /etc/cmm/scripts/pre_cmm_startup
cat /etc/cmm/scripts/post_cmm_startup
cat /etc/cmm/scripts/post_cmm_startup
cat /etc/cmm/scripts/post_cmm_shutdown
# check for CDM FRU info inside CMM1
rsys-ipmitool -t 0x20 -m 0x10 -v fru print 1 | grep "Product FRU ID"
# check for CDM FRU info inside CMM2
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 1 | grep "Product FRU ID"
# check for CMM FRU info inside CMM1
rsys-ipmitool -t 0x20 -m 0x10 -v fru print 0 | grep "Product FRU ID"
# check for CMM FRU info inside CMM2
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 0 | grep "Product FRU ID"
## Upgrade UBOOTl
## uboot
reset
ctrl-x then ctrl-w
version
# Flashing Uboot & Flashing JB/WR Linux
goto Ctrl-x then Ctrl-w
version
setenv ipaddr 128.0.10.54
setenv serverip 128.0.10.1
setenv sfile Wildwood/8.1.1.06/UBoot/u-boot-spi.bin
setenv bootfile Wildwood/8.1.1.06/Linux/Linux.bin
printenv ipaddr
printenv serverip
printenv sfile
printenv bootfile
saveenv
run fspicur
run flinuxcur
run fspialt
run flinuxalt
# to make UBoot effectively written
reset
# check version after reset
version
boot
swflash
goto Ctrl-x then Ctrl-w
version
boot
# failed CMM start up
cmmget -d version
ifconfig
## ISSUE (UBOOT is corrupted, please reflash UBOOT)
U-Boot 2009.11 (Jul 14 2011 - 02:12:33) 2009.11.CMM3-14_WR3.0_rsys
NAND FPGA version: 80.a6
IPMC Selected Flash Bank: 1
LMP Selected Flash Bank: 0
# Flashing IPMI (both bank)
**SETUP network to download binaries
ifconfig eth0 120.0.10.54
ifconfig eth1 121.0.10.54
ifconfig eth2 128.0.10.54
ifconfig eth3 123.0.10.54
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/cmm3_all.hpm /usr/local/data
cd /usr/local/data
rsys-ipmitool hpm check cmm3_all.hpm
# first bank 0
rsys-ipmitool hpm upgrade cmm3_all.hpm activate
y
[press enter]
rsys-ipmitool hpm check
# second bank 1
rsys-ipmitool hpm upgrade cmm3_all.hpm activate
y
[press enter]
rsys-ipmitool hpm check
# 3. Flashing IPMC FRU data
## To STOP CMM
/etc/init.d/cmm stop
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Wildwood_FRU_Data/A6K-RSM-J-FRU-v01-00.bin /usr/local/data
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Wildwood_FRU_Data/A6K-RSM-J-FRU-v01-00.cfg /usr/local/data
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Wildwood_FRU_Data/A6K-RSM-J-VFRU-v01-00.bin /usr/local/data
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Wildwood_FRU_Data/A6K-RSM-J-VFRU-v01-00.cfg /usr/local/data
## CMM FRU
# From CMM1
cd /usr/local/data
fru_update "-t 0x10 -m 0x10" A6K-RSM-J-FRU-v01-00.cfg A6K-RSM-J-FRU-v01-00.bin
# recommended clean install
rsys-ipmitool -t 0x10 -m 0x10 fru write 0 A6K-RSM-J-FRU-v01-00.bin
# From CMM2
cd /usr/local/data
fru_update "-t 0x12 -m 0x12" A6K-RSM-J-FRU-v01-00.cfg A6K-RSM-J-FRU-v01-00.bin
# recommended clean install
rsys-ipmitool -t 0x12 -m 0x12 fru write 0 A6K-RSM-J-FRU-v01-00.bin
## CMM VFRU
# From CMM1
fru_update "-t 0x20 -m 0x10" A6K-RSM-J-VFRU-v01-00.cfg A6K-RSM-J-VFRU-v01-00.bin
fru_update "-t 0x20 -m 0x10" A6K-RSM-J-VFRU-v01-00.cfg A6K-RSM-J-VFRU-v01-00.bin
cmmset -d failover -v 1
rsys-ipmitool -t 0x20 -m 0x10 fru write 0 A6K-RSM-J-VFRU-v01-00.bin
# From CMM2
fru_update "-t 0x20 -m 0x12" A6K-RSM-J-VFRU-v01-00.cfg A6K-RSM-J-VFRU-v01-00.bin
fru_update "-t 0x20 -m 0x12" A6K-RSM-J-VFRU-v01-00.cfg A6K-RSM-J-VFRU-v01-00.bin
cmmset -d failover -v 1
rsys-ipmitool -t 0x20 -m 0x12 fru write 0 A6K-RSM-J-VFRU-v01-00.bin
# check for CMM FRU info inside CMM1
rsys-ipmitool -t 0x20 -m 0x10 -v fru print 0 | grep "Product FRU ID"
# check for CMM FRU info inside CMM2
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 0 | grep "Product FRU ID"
# 4. Flashing CDM (Chassis Data Module) for NEC only ONCE update is needed per Chassis
## To STOP CMM
/etc/init.d/cmm stop
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Shelf_FRU_Data/NECCH0001-FRU-CMM3-vR2.bin /usr/local/data
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Shelf_FRU_Data/NECCH0001-FRU-CMM3-vR2.cfg /usr/local/data
# CMM1
cd /usr/local/data
fru_update "-t 0x20 -m 0x10" NECCH0001-FRU-CMM3-vR2.cfg NECCH0001-FRU-CMM3-vR2.bin
# recommended clean update
rsys-ipmitool -t 0x20 -m 0x10 fru write 1 NECCH0001-FRU-CMM3-vR2.bin
rsys-ipmitool -t 0x20 -m 0x10 fru write 2 NECCH0001-FRU-CMM3-vR2.bin
# CMM2
cd /usr/local/data
fru_update "-t 0x20 -m 0x12" NECCH0001-FRU-CMM3-vR2.cfg NECCH0001-FRU-CMM3-vR2.bin
# recommended clean update
rsys-ipmitool -t 0x20 -m 0x12 fru write 1 NECCH0001-FRU-CMM3-vR2.bin
rsys-ipmitool -t 0x20 -m 0x12 fru write 2 NECCH0001-FRU-CMM3-vR2.bin
# check for CDM FRU info inside CMM1
rsys-ipmitool -t 0x20 -m 0x10 -v fru print 1 | grep "Product FRU ID"
# check for CDM FRU info inside CMM2
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 1 | grep "Product FRU ID"
# then reboot and set CDM IP address and verify version
ifconfig
# changing/setting CMM IP address
cmmset -d cdmcmm1eth0data -v ip:120.0.10.53,nm:255.255.255.0,gw:120.0.10.1,boot:static
cmmset -d cdmcmm1eth1data -v ip:121.0.10.53,nm:255.255.255.0,gw:121.0.10.1,boot:static
cmmset -d cdmcmm1eth2data -v ip:128.0.10.53,nm:255.255.255.0,gw:128.0.10.1,boot:static
cmmset -d cdmcmm1eth3data -v ip:123.0.10.53,nm:255.255.255.0,gw:123.0.10.1,boot:static
cmmset -d cdmcmm2eth0data -v ip:120.0.10.54,nm:255.255.255.0,gw:120.0.10.1,boot:static
cmmset -d cdmcmm2eth1data -v ip:121.0.10.54,nm:255.255.255.0,gw:121.0.10.1,boot:static
cmmset -d cdmcmm2eth2data -v ip:128.0.10.54,nm:255.255.255.0,gw:128.0.10.1,boot:static
cmmset -d cdmcmm2eth3data -v ip:123.0.10.54,nm:255.255.255.0,gw:123.0.10.1,boot:static
cmmget -d version
rsys-ipmitool hpm check
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 0 | grep "Product FRU ID"
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 1 | grep "Product FRU ID"
# Final verification on all version upgraded
reboot
goto Ctrl-x then Ctrl-w
version
swflash
goto Ctrl-x then Ctrl-w
version
boot
ifconfig
cmmget -d version
rsys-ipmitool hpm check
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 0 | grep "Product FRU ID"
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 1 | grep "Product FRU ID"
\\cybertech02\home\cybertech\special_request\20110722_downgrade_8.1.1.06_to_8.1.0.016
# Upgrade from UBOOT
date +"%Y%m%d_%H%M%S"
cmmget -l chassis -t fru -d all
ifconfig
cmmget -d version
rsys-ipmitool hpm check
uname -r
cmmget -d healthevents
cmmget -d healthevents > /usr/local/data/healthevents_before.txt
cmmget -d redundancy
cmmget -l system -d listpresent
cat /etc/cmm/scripts/pre_cmm_startup
cat /etc/cmm/scripts/post_cmm_startup
cat /etc/cmm/scripts/post_cmm_startup
cat /etc/cmm/scripts/post_cmm_shutdown
# check for CDM FRU info inside CMM1
rsys-ipmitool -t 0x20 -m 0x10 -v fru print 1 | grep "Product FRU ID"
# check for CDM FRU info inside CMM2
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 1 | grep "Product FRU ID"
# check for CMM FRU info inside CMM1
rsys-ipmitool -t 0x20 -m 0x10 -v fru print 0 | grep "Product FRU ID"
# check for CMM FRU info inside CMM2
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 0 | grep "Product FRU ID"
## Upgrade UBOOTl
## uboot
reset
ctrl-x then ctrl-w
version
# Flashing Uboot & Flashing JB/WR Linux
goto Ctrl-x then Ctrl-w
version
setenv ipaddr 128.0.10.54
setenv serverip 128.0.10.1
setenv sfile Wildwood/8.1.1.06/UBoot/u-boot-spi.bin
setenv bootfile Wildwood/8.1.1.06/Linux/Linux.bin
printenv ipaddr
printenv serverip
printenv sfile
printenv bootfile
saveenv
run fspicur
run flinuxcur
run fspialt
run flinuxalt
# to make UBoot effectively written
reset
# check version after reset
version
boot
swflash
goto Ctrl-x then Ctrl-w
version
boot
# failed CMM start up
cmmget -d version
ifconfig
## ISSUE (UBOOT is corrupted, please reflash UBOOT)
U-Boot 2009.11 (Jul 14 2011 - 02:12:33) 2009.11.CMM3-14_WR3.0_rsys
NAND FPGA version: 80.a6
IPMC Selected Flash Bank: 1
LMP Selected Flash Bank: 0
# Flashing IPMI (both bank)
**SETUP network to download binaries
ifconfig eth0 120.0.10.54
ifconfig eth1 121.0.10.54
ifconfig eth2 128.0.10.54
ifconfig eth3 123.0.10.54
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/cmm3_all.hpm /usr/local/data
cd /usr/local/data
rsys-ipmitool hpm check cmm3_all.hpm
# first bank 0
rsys-ipmitool hpm upgrade cmm3_all.hpm activate
y
[press enter]
rsys-ipmitool hpm check
# second bank 1
rsys-ipmitool hpm upgrade cmm3_all.hpm activate
y
[press enter]
rsys-ipmitool hpm check
# 3. Flashing IPMC FRU data
## To STOP CMM
/etc/init.d/cmm stop
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Wildwood_FRU_Data/A6K-RSM-J-FRU-v01-00.bin /usr/local/data
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Wildwood_FRU_Data/A6K-RSM-J-FRU-v01-00.cfg /usr/local/data
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Wildwood_FRU_Data/A6K-RSM-J-VFRU-v01-00.bin /usr/local/data
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Wildwood_FRU_Data/A6K-RSM-J-VFRU-v01-00.cfg /usr/local/data
## CMM FRU
# From CMM1
cd /usr/local/data
fru_update "-t 0x10 -m 0x10" A6K-RSM-J-FRU-v01-00.cfg A6K-RSM-J-FRU-v01-00.bin
# recommended clean install
rsys-ipmitool -t 0x10 -m 0x10 fru write 0 A6K-RSM-J-FRU-v01-00.bin
# From CMM2
cd /usr/local/data
fru_update "-t 0x12 -m 0x12" A6K-RSM-J-FRU-v01-00.cfg A6K-RSM-J-FRU-v01-00.bin
# recommended clean install
rsys-ipmitool -t 0x12 -m 0x12 fru write 0 A6K-RSM-J-FRU-v01-00.bin
## CMM VFRU
# From CMM1
fru_update "-t 0x20 -m 0x10" A6K-RSM-J-VFRU-v01-00.cfg A6K-RSM-J-VFRU-v01-00.bin
fru_update "-t 0x20 -m 0x10" A6K-RSM-J-VFRU-v01-00.cfg A6K-RSM-J-VFRU-v01-00.bin
cmmset -d failover -v 1
rsys-ipmitool -t 0x20 -m 0x10 fru write 0 A6K-RSM-J-VFRU-v01-00.bin
# From CMM2
fru_update "-t 0x20 -m 0x12" A6K-RSM-J-VFRU-v01-00.cfg A6K-RSM-J-VFRU-v01-00.bin
fru_update "-t 0x20 -m 0x12" A6K-RSM-J-VFRU-v01-00.cfg A6K-RSM-J-VFRU-v01-00.bin
cmmset -d failover -v 1
rsys-ipmitool -t 0x20 -m 0x12 fru write 0 A6K-RSM-J-VFRU-v01-00.bin
# check for CMM FRU info inside CMM1
rsys-ipmitool -t 0x20 -m 0x10 -v fru print 0 | grep "Product FRU ID"
# check for CMM FRU info inside CMM2
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 0 | grep "Product FRU ID"
# 4. Flashing CDM (Chassis Data Module) for NEC only ONCE update is needed per Chassis
## To STOP CMM
/etc/init.d/cmm stop
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Shelf_FRU_Data/NECCH0001-FRU-CMM3-vR2.bin /usr/local/data
scp cybertech@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Shelf_FRU_Data/NECCH0001-FRU-CMM3-vR2.cfg /usr/local/data
# CMM1
cd /usr/local/data
fru_update "-t 0x20 -m 0x10" NECCH0001-FRU-CMM3-vR2.cfg NECCH0001-FRU-CMM3-vR2.bin
# recommended clean update
rsys-ipmitool -t 0x20 -m 0x10 fru write 1 NECCH0001-FRU-CMM3-vR2.bin
rsys-ipmitool -t 0x20 -m 0x10 fru write 2 NECCH0001-FRU-CMM3-vR2.bin
# CMM2
cd /usr/local/data
fru_update "-t 0x20 -m 0x12" NECCH0001-FRU-CMM3-vR2.cfg NECCH0001-FRU-CMM3-vR2.bin
# recommended clean update
rsys-ipmitool -t 0x20 -m 0x12 fru write 1 NECCH0001-FRU-CMM3-vR2.bin
rsys-ipmitool -t 0x20 -m 0x12 fru write 2 NECCH0001-FRU-CMM3-vR2.bin
# check for CDM FRU info inside CMM1
rsys-ipmitool -t 0x20 -m 0x10 -v fru print 1 | grep "Product FRU ID"
# check for CDM FRU info inside CMM2
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 1 | grep "Product FRU ID"
# then reboot and set CDM IP address and verify version
ifconfig
# changing/setting CMM IP address
cmmset -d cdmcmm1eth0data -v ip:120.0.10.53,nm:255.255.255.0,gw:120.0.10.1,boot:static
cmmset -d cdmcmm1eth1data -v ip:121.0.10.53,nm:255.255.255.0,gw:121.0.10.1,boot:static
cmmset -d cdmcmm1eth2data -v ip:128.0.10.53,nm:255.255.255.0,gw:128.0.10.1,boot:static
cmmset -d cdmcmm1eth3data -v ip:123.0.10.53,nm:255.255.255.0,gw:123.0.10.1,boot:static
cmmset -d cdmcmm2eth0data -v ip:120.0.10.54,nm:255.255.255.0,gw:120.0.10.1,boot:static
cmmset -d cdmcmm2eth1data -v ip:121.0.10.54,nm:255.255.255.0,gw:121.0.10.1,boot:static
cmmset -d cdmcmm2eth2data -v ip:128.0.10.54,nm:255.255.255.0,gw:128.0.10.1,boot:static
cmmset -d cdmcmm2eth3data -v ip:123.0.10.54,nm:255.255.255.0,gw:123.0.10.1,boot:static
cmmget -d version
rsys-ipmitool hpm check
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 0 | grep "Product FRU ID"
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 1 | grep "Product FRU ID"
# Final verification on all version upgraded
reboot
goto Ctrl-x then Ctrl-w
version
swflash
goto Ctrl-x then Ctrl-w
version
boot
ifconfig
cmmget -d version
rsys-ipmitool hpm check
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 0 | grep "Product FRU ID"
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 1 | grep "Product FRU ID"
Remark is included in my
upgrade steps in share folder:
## ISSUE (UBOOT is
corrupted, please reflash UBOOT)
U-Boot 2009.11 (Jul 14
2011 - 02:12:33) 2009.11.CMM3-14_WR3.0_rsys
NAND FPGA
version: 80.a6
IPMC Selected Flash
Bank: 1
LMP Selected Flash
Bank: 0
Upgrade using
UBoot:
No comments:
Post a Comment