Logs and steps:
\\ornas02\home\kyfoo\special_request\20110721_upgrade_8.1.0.016_to_8.1.1.06
### Upgrade to 8.1.1.06
# before start
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
# 0. Flashing NAND (only one bank) - skip this if no version changed.
scp kyfoo@128.0.10.1:/tftpboot/Wildwood/8.1.0.016_RM_pass3/NAND_FPGA/NFC_LFXP2-17_20100803_80A6_ALGO.SEA /usr/local/data
scp kyfoo@128.0.10.1:/tftpboot/Wildwood/8.1.0.016_RM_pass3/NAND_FPGA/NFC_LFXP2-17_20100803_80A6_DATA.SED /usr/local/data
cd /usr/local/data
ispVME-SSPI NFC_LFXP2-17_20100803_80A6_ALGO.SEA NFC_LFXP2-17_20100803_80A6_DATA.SED validate
ispVME-SSPI NFC_LFXP2-17_20100803_80A6_ALGO.SEA NFC_LFXP2-17_20100803_80A6_DATA.SED
# 1. Flashing JB (first bank)
cmmset -d update -v "/tftpboot/Wildwood/8.1.1.06/UBootWRJulesburg/install ftp:128.0.10.1:kyfoo:usm67247"
# 2. Flashing IPMI (both bank)
scp kyfoo@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/cmm3_all.hpm /usr/local/data
cmmget -d version
rsys-ipmitool hpm check
rsys-ipmitool hpm check cmm3_all.hpm
# first bank 0
rsys-ipmitool hpm upgrade cmm3_all.hpm activate
[press enter]
y
[press enter]
rsys-ipmitool hpm check
# second bank 1
rsys-ipmitool hpm upgrade cmm3_all.hpm activate
[press enter]
y
[press enter]
rsys-ipmitool hpm check
# 3. reboot and flashing second bank of JB
reboot
cmmget -d version
cmmset -d update -v "/tftpboot/Wildwood/8.1.1.06/UBootWRJulesburg/install ftp:128.0.10.1:kyfoo:usm67247"
# 3. Flashing IPMC FRU data
## To STOP CMM
/etc/init.d/cmm stop
scp kyfoo@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 kyfoo@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 kyfoo@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 kyfoo@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
fru_update "-t 0x10 -m 0x10" A6K-RSM-J-FRU-v01-00.cfg A6K-RSM-J-FRU-v01-00.bin
fru_update "-t 0x12 -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
rsys-ipmitool -t 0x12 -m 0x10 fru write 0 A6K-RSM-J-FRU-v01-00.bin
rsys-ipmitool -t 0x20 -m 0x10 -v fru print 0 | grep "Product FRU ID"
# From CMM2
fru_update "-t 0x10 -m 0x12" A6K-RSM-J-FRU-v01-00.cfg A6K-RSM-J-FRU-v01-00.bin
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 0x10 -m 0x12 fru write 0 A6K-RSM-J-FRU-v01-00.bin
rsys-ipmitool -t 0x12 -m 0x12 fru write 0 A6K-RSM-J-FRU-v01-00.bin
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 0 | grep "Product FRU ID"
## 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
# 4. Flashing CDM (Chassis Data Module) (execute in either one CMM is sufficient)
## To STOP CMM
/etc/init.d/cmm stop
scp kyfoo@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Shelf_FRU_Data/NECCH0001-FRU-CMM3-vR2.bin /usr/local/data
scp kyfoo@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Shelf_FRU_Data/NECCH0001-FRU-CMM3-vR2.cfg /usr/local/data
# CMM1
fru_update "-t 0x20 -m 0x10" NECCH0001-FRU-CMM3-vR2.cfg NECCH0001-FRU-CMM3-vR2.bin
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
rsys-ipmitool -t 0x20 -m 0x10 -v fru print 1 | grep "Product FRU ID"
ifconfig
# CMM2
fru_update "-t 0x20 -m 0x12" NECCH0001-FRU-CMM3-vR2.cfg NECCH0001-FRU-CMM3-vR2.bin
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
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 1 | grep "Product FRU ID"
ifconfig
# 5. Power Cycles then execute below command
ifconfig
cmmget -d version
rsys-ipmitool hpm check
uname -r
cmmget -d redundancy
**If CMM does not come up, please check the IP addresses, set them to bring both CMM up
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
# 6. Flash JB (second bank)
cmmset -d update -v "/tftpboot/Wildwood/8.1.0.020_Dec15/install ftp:128.0.10.1:kyfoo:usm67247"
# 7. Reboot both CMM after both upgraded, and verify the version again.
ifconfig
rsys-ipmitool hpm check
uname -r
cmmget -d version
cmmget -d redundancy
# 8. Reboot CMM to go into UBoot confirm both UBoot banks have been flash successfully (observe bank selection should be IPMC 1 and LMP 1)
ctrl+x then ctrl+w
version
swflash
ctrl+x then ctrl+w
version
boot
# after CMM up check JB version below again.
ifconfig
rsys-ipmitool hpm check
uname -r
cmmget -d version
cmmget -d redundancy
\\ornas02\home\kyfoo\special_request\20110721_upgrade_8.1.0.016_to_8.1.1.06
### Upgrade to 8.1.1.06
# before start
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
# 0. Flashing NAND (only one bank) - skip this if no version changed.
scp kyfoo@128.0.10.1:/tftpboot/Wildwood/8.1.0.016_RM_pass3/NAND_FPGA/NFC_LFXP2-17_20100803_80A6_ALGO.SEA /usr/local/data
scp kyfoo@128.0.10.1:/tftpboot/Wildwood/8.1.0.016_RM_pass3/NAND_FPGA/NFC_LFXP2-17_20100803_80A6_DATA.SED /usr/local/data
cd /usr/local/data
ispVME-SSPI NFC_LFXP2-17_20100803_80A6_ALGO.SEA NFC_LFXP2-17_20100803_80A6_DATA.SED validate
ispVME-SSPI NFC_LFXP2-17_20100803_80A6_ALGO.SEA NFC_LFXP2-17_20100803_80A6_DATA.SED
# 1. Flashing JB (first bank)
cmmset -d update -v "/tftpboot/Wildwood/8.1.1.06/UBootWRJulesburg/install ftp:128.0.10.1:kyfoo:usm67247"
# 2. Flashing IPMI (both bank)
scp kyfoo@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/cmm3_all.hpm /usr/local/data
cmmget -d version
rsys-ipmitool hpm check
rsys-ipmitool hpm check cmm3_all.hpm
# first bank 0
rsys-ipmitool hpm upgrade cmm3_all.hpm activate
[press enter]
y
[press enter]
rsys-ipmitool hpm check
# second bank 1
rsys-ipmitool hpm upgrade cmm3_all.hpm activate
[press enter]
y
[press enter]
rsys-ipmitool hpm check
# 3. reboot and flashing second bank of JB
reboot
cmmget -d version
cmmset -d update -v "/tftpboot/Wildwood/8.1.1.06/UBootWRJulesburg/install ftp:128.0.10.1:kyfoo:usm67247"
# 3. Flashing IPMC FRU data
## To STOP CMM
/etc/init.d/cmm stop
scp kyfoo@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 kyfoo@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 kyfoo@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 kyfoo@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
fru_update "-t 0x10 -m 0x10" A6K-RSM-J-FRU-v01-00.cfg A6K-RSM-J-FRU-v01-00.bin
fru_update "-t 0x12 -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
rsys-ipmitool -t 0x12 -m 0x10 fru write 0 A6K-RSM-J-FRU-v01-00.bin
rsys-ipmitool -t 0x20 -m 0x10 -v fru print 0 | grep "Product FRU ID"
# From CMM2
fru_update "-t 0x10 -m 0x12" A6K-RSM-J-FRU-v01-00.cfg A6K-RSM-J-FRU-v01-00.bin
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 0x10 -m 0x12 fru write 0 A6K-RSM-J-FRU-v01-00.bin
rsys-ipmitool -t 0x12 -m 0x12 fru write 0 A6K-RSM-J-FRU-v01-00.bin
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 0 | grep "Product FRU ID"
## 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
# 4. Flashing CDM (Chassis Data Module) (execute in either one CMM is sufficient)
## To STOP CMM
/etc/init.d/cmm stop
scp kyfoo@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Shelf_FRU_Data/NECCH0001-FRU-CMM3-vR2.bin /usr/local/data
scp kyfoo@128.0.10.1:/tftpboot/Wildwood/8.1.1.06/IPMI/Cmm3v0024/Shelf_FRU_Data/NECCH0001-FRU-CMM3-vR2.cfg /usr/local/data
# CMM1
fru_update "-t 0x20 -m 0x10" NECCH0001-FRU-CMM3-vR2.cfg NECCH0001-FRU-CMM3-vR2.bin
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
rsys-ipmitool -t 0x20 -m 0x10 -v fru print 1 | grep "Product FRU ID"
ifconfig
# CMM2
fru_update "-t 0x20 -m 0x12" NECCH0001-FRU-CMM3-vR2.cfg NECCH0001-FRU-CMM3-vR2.bin
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
rsys-ipmitool -t 0x20 -m 0x12 -v fru print 1 | grep "Product FRU ID"
ifconfig
# 5. Power Cycles then execute below command
ifconfig
cmmget -d version
rsys-ipmitool hpm check
uname -r
cmmget -d redundancy
**If CMM does not come up, please check the IP addresses, set them to bring both CMM up
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
# 6. Flash JB (second bank)
cmmset -d update -v "/tftpboot/Wildwood/8.1.0.020_Dec15/install ftp:128.0.10.1:kyfoo:usm67247"
# 7. Reboot both CMM after both upgraded, and verify the version again.
ifconfig
rsys-ipmitool hpm check
uname -r
cmmget -d version
cmmget -d redundancy
# 8. Reboot CMM to go into UBoot confirm both UBoot banks have been flash successfully (observe bank selection should be IPMC 1 and LMP 1)
ctrl+x then ctrl+w
version
swflash
ctrl+x then ctrl+w
version
boot
# after CMM up check JB version below again.
ifconfig
rsys-ipmitool hpm check
uname -r
cmmget -d version
cmmget -d redundancy
No comments:
Post a Comment