2018-11-25 HANA服务器raid固件升级

  1. 上传固件包linux.zip,并解压,安装rpm
hdbgep1:/softs # unzip linux.zip -d 20181125
Archive:  linux.zip
   creating: 20181125/linux/
  inflating: 20181125/linux/flash.sh  
  inflating: 20181125/linux/flashall.sh  
  inflating: 20181125/linux/MR_4MB.rom  
  inflating: 20181125/linux/readme.txt  
  inflating: 20181125/linux/storcli-007.0606.0000.0000-1.noarch.rpm  
hdbgep1:/softs # cd 20181125/linux/
hdbgep1:/softs/20181125/linux # ll
total 11800
-rw-r--r-- 1 root root 6684672 Oct  1 16:55 MR_4MB.rom
-rw-r--r-- 1 root root     409 Oct  1 16:55 flash.sh
-rw-r--r-- 1 root root     411 Oct  1 16:55 flashall.sh
-rw-r--r-- 1 root root      93 Oct  1 16:55 readme.txt
-rw-r--r-- 1 root root 5384587 Oct  1 16:56 storcli-007.0606.0000.0000-1.noarch.rpm
hdbgep1:/softs/20181125/linux # rpm -ivh storcli-007.0606.0000.0000-1.noarch.rpm 
Preparing...                ########################################### [100%]
   1:storcli                ########################################### [100%]
安装依赖包
  1. 查看当前固件版本
hdbgep1:/softs/20181125/linux # /opt/MegaRAID/storcli/storcli64 /call show | grep "FW Version"
FW Version = 4.650.00-6422
FW Version = 4.650.00-6422
当前固件版本
  1. 执行固件升级
hdbgep1:/softs/20181125/linux # sh flashall.sh 
Download Completed.     
Flashing image to adapter...
CLI Version = 007.0606.0000.0000 Mar 20, 2018
Operating system = Linux 3.0.101-68-default
Controller = 0
Status = Success
Description = F/W Flash Completed. Please reboot the system for the changes to take effect

Download Completed.     
Flashing image to adapter...
CLI Version = 007.0606.0000.0000 Mar 20, 2018
Operating system = Linux 3.0.101-68-default
Controller = 1
Status = Success
Description = F/W Flash Completed. Please reboot the system for the changes to take effect
固件升级
  1. 重启服务器
    4.1 确认HANA数据库复制状态

hdbgep1:/usr/sap/GEP/HDB00> hdbnsutil -sr_state

HANA状态

HANA数据库复制状态

4.2 关闭HANA备机数据库实例

hdbgep1:/usr/sap/GEP/HDB00> hdbnsutil -sr_state
System Replication State

online: true

mode: sync
site id: 2
site name: SITEC
active primary site: 1


Host Mappings:

hdbgep1 -> [SITED] hdbgep2
hdbgep1 -> [SITEC] hdbgep1

primary masters:hdbgep2

done.
hdbgep1:/usr/sap/GEP/HDB00> HDB stop
hdbdaemon will wait maximal 300 seconds for NewDB services finishing.
Stopping instance using: /usr/sap/GEP/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr 00 -function Stop 400

25.11.2018 11:48:54
Stop
OK
Waiting for stopped instance using: /usr/sap/GEP/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr 00 -function WaitforStopped 600 2


25.11.2018 11:54:06
WaitforStopped
OK
hdbdaemon is stopped.
hdbgep1:/usr/sap/GEP/HDB00>
image.png

4.3 重启检查固件版本

hdbgep1:~ # /opt/MegaRAID/storcli/storcli64 /call show | grep "FW Version"
FW Version = 4.680.00-8376
FW Version = 4.680.00-8376
hdbgep1:~ # 
升级成功为最新版本
  1. 检查HANA复制状态,启动HANA


    检查HANA复制状态
复制状态良好

esxi 升级

[root@esxisitec1:/tmp] unzip esxi.zip 
Archive:  esxi.zip
   creating: esxi/
  inflating: esxi/MR_4MB.rom
  inflating: esxi/vmware-storcli-007.0709.0000.0000.vib
[root@esxisitec1:/tmp] cd esxi/
[root@esxisitec1:/tmp/esxi] ls -l
total 8380
-rw-r--r--    1 root     root       6684672 Nov 25 03:59 MR_4MB.rom
-rw-r--r--    1 root     root       1894484 Nov 25 03:59 vmware-storcli-007.0709.0000.0000.vib
[root@esxisitec1:/tmp/esxi] 
[root@esxisitec1:/tmp/esxi] 
[root@esxisitec1:/tmp/esxi] esxcli software vib install -v /tmp/esxi/vmware-storcli-007.0709.0000.0000.vib --no-sig-check
Installation Result
   Message: Operation finished successfully.
   Reboot Required: false
   VIBs Installed: LSI_bootbank_vmware-storcli-007.0709.0000.0000_007.0709.0000.0000-01
   VIBs Removed: 
   VIBs Skipped: 


[root@esxisitec1:/tmp/esxi] /opt/lsi/storcli/storcli /call show | grep "FW"
FW Package Build = 24.15.0-0026
FW Version = 4.650.00-6422
FW Package Build = 24.15.0-0026
FW Version = 4.650.00-6422
[root@esxisitec1:/tmp/esxi] /opt/lsi/storcli/storcli /call download file=/tmp/esxi/MR_4MB.rom noverchk
Download Completed.     
Flashing image to adapter...
CLI Version = 007.0709.0000.0000 Aug 14, 2018
Operating system = VMkernel 6.5.0
Controller = 0
Status = Success
Description = F/W Flash Completed. Please reboot the system for the changes to take effect

Download Completed.     
Flashing image to adapter...
CLI Version = 007.0709.0000.0000 Aug 14, 2018
Operating system = VMkernel 6.5.0
Controller = 1
Status = Success
Description = F/W Flash Completed. Please reboot the system for the changes to take effect

[root@esxisitec1:/tmp/esxi] 

升级第二节点

切换HANA数据库服务

你可能感兴趣的:(2018-11-25 HANA服务器raid固件升级)