[HDS] How to manual force restore PN & SN

~ Applicable situation: SVP restore server blade settings (EFI/BMC)~

step01. SSH SVP (Chassis Management Module)

step02. use maintenance account / password > ceconsl / cepasswd

step03. (restore original PM & SN ,need remember information)
# set blade fru data [blade-locate] -pm [Product-Model] sn [Serial Number]
(sample)
# set blade fru data 5 -pm GG-XXXXXXXXXXX-X -sn 978GG-XXXXXXXXXXX-X-X0000XXXX

step04. 查看第五刀FRU資訊
# show blade fru data 5

step05. 重啟BMC套用新的PM & SN
# bmc-reset blade 5 -h

step06.登入SVP或HCSM作Refresh blade / chassis查看資訊是否寫入正確

step07.重新載入LP License (副檔名.tsv) ; 前提機器需關機才能註冊
登入SVP > System > LP License > Register
(PS: 若還是有問題請再次檢查 PM & SN是否和原先資訊有無出入;

若正確那只能用放大絕 >
SVP use “ceconsl" account login >點擊Blade > (右邊) Action > Restore Server Blade Settings > “Choice FRU restore" ,再重啟BMC , 最後再重新註冊LP License)

[HDS] Compute Blade 500 ‘LPAR’ install RHEL6.7

*Pre-check*
1.what is ur CB500 blade mode ? e.g. CB 520H B3
2.what is ur wnat to install RHEL version ? e.g. RHEL 6.7 x86_64
3.use Physical or LPAR ?

*Pre-require*
CB500_520Hx3_Driver_Utility_for_RHEL6_v0670-01.iso // 後面 v0{xx}即代表該符合RHEL版本,若是符合RHEL 6.9會顯示 v0690-01.iso
CB500_hfc_drivers_cd_0429.iso ( need extract dd.iso )

*Notes*
1. CB 520X B1/B2 and CB 520H B3 can boot only on EFI.
2. CB 520H B3 @ CB500 chassis 需符合FW
> MM : 至少 A023
> LPAR Manager  至少 02-05

*Tips*
IP address of management module : 192.168.0.1 ; https://192.168.0.1
Factory default account / password : administrator / password
following LPAR configuration is recommended :
|-CPU : 2 or more
|-MEM: 2GB or Large
|-Disk: 40GB or Large capacity
|-NIC: 1 or more

*Installation RHEL 6.7*

step01.
extract CB500_hfc_drivers_cd_0429.iso (Fibre Channel driver) 裡頭 hfc_media\linux\x86_64\rhel6\cd_media放置各版本6.x hfc dd.iso ; 因我目標是RHEL6.7所以拷貝 2.6.32-573.el6裡頭dd.iso匯出
hfc-0429-dd.jpg

step02.
vKVM mount media ‘RHEL6.7 x86_64.iso’

step03.
一開始安裝畫面選擇第二項 “Install system with basic video driver" then press ‘Tab’ key

step04.
add ‘ dd blacklist=isci ‘ ,then press ‘b‘ boot in

step05.
The message, Do you have a driver disk? click  “Yes" ; 此時將原RHEL6.7 ISO unmount ,change 2.6.32-573.el6-dd.iso

step06.
choice media /sr0 , then click ‘OK’

step07.
The message “Do you wish to load any more driver disks ?" > clock “No" ;載入HBA driver後系統會自動umount dd.iso ,所以再手動掛入RHEL 6.7 ISO

step08.
HDD custom use LVM 或 traditional extended partition 都OK

step09.
自訂安裝項目什麼都可以裝,唯獨有二個千萬別裝 (PS: CB 520H B3環境)
~ System Management > System Management > Optional packages >
freeipmi-bmc-watchdog-x.x.x-x.xx.xx
~ Base System > Base > tboot-x.xxx.el6.x86_64.rpm

step10.
Finsih install , reboot

step11.
Boot menu , Press E key ; Delete “intel_iommu=on" and “amd_iommu=on" from the boot option,and press Enter.

step12.
enter OS , config boot menu
> vi /boot/efi/EFI/redhat/grub.conf
" intel_iommu=on" // delete
" amd_iommu=on" // delete
" nmi_watchdog=0 pci=noaer " add
" terminal –timeout=10 serial console " // add
" quiet rhgb " // delete from the kernel line
" nmi_watchdog=0 mce=0 pci=noaer no_timer_check console=ttyS1,115200 " // add the ending of the Kernel line
" vga=792 " // add ,LPAR Manager version 至少 01-60
" kernel /tboot.gz logging=vga,serial,memory " // comment out
Change the first “module" to “kernel" in the line starting with “module /initramfs"
Disable TCP checksum offload function
> ethtool -k eth{x} // 顯示目前網卡各功能狀態
> ethtool -K eth{x} rx off tx off

Do not use NetworkManager service
> service NetworkManager stop
> chkconfig NetworkManager off
> chkconfig | grep NetworkManager // 再次確認

Customizing /etc/sysctl.conf

== Validate the magic SysRq key to collect information when a problem
occurs. Edit or add the following line. ==
kernel.sysrq = 1

== Add a setting to induce kernel panic when NMI occurs, with which you can
quickly detect a failure in hardware and drivers ==
kernel.unknown_nmi_panic = 0
kernel.panic_on_unrecovered_nmi = 1
kernel.panic_on_io_nmi = 1

==  Add or edit the following line to set the console log level to 3. By changing
the level, you can avoid the console overload, which can result in
significant deterioration of applications or in Linux hang-up ==
kernel.printk = 3 4 1 7

Updating Drivers
# modinfo driver name

//etc/inittab /


 

Reference:

1. Red Hat Enterprise Linux Release Dates

2. Hitachi Compute Blade 500 Series OS Installation Guide for Red Hat Enterprise Linux

[Linux] RHEL6 install Hitachi multipath ‘HDLM’

step01. 準備好 HDLM Linux License *.plk ; 可以查看確認該檔文字內容有無 for Linux ,若沒有可不是隨便將for Windows 改為 for Linux就可以用唷!

step02. 更名License KEY改為或複製成hdlm_license
# mv “HDS VSP GXXX SNXXXXXX DXXX XXXXXXXXXXXX".plk /var/tmp/hdlm_license

step03.  放入 HDLM CD-ROM

step04. 掛載HDLM光碟
# mount -t iso9660 /dev/cdrom /media
Or
# mount /dev/cdrom /media

step05. check HDLM version
# /media/HDLM_Linux/installhdlm -v

step06. 安裝HDLM
# /media/HDLM_Linux/installhdlm
—————————————————–
KAPL09210-I installhdlm will now start.
KAPL09093-I HDLM 8.5.1-00 will be installed. Is this OK ? [y/n]: y
Preparing packages for installation…
KAPL09076-I The permanent license was installed.
HDLM-8.5.1.0.808-4
KAPL09043-I The installation of HDLM-8.5.1.0.808-4 completed successfully.
KAPL09211-I installhdlm completed successfully.
—————————————————–

step07. 檢查HDLM已安裝
# rpm -qa | grep -i hdlm

step08. 詳看HDLM資訊
# rpm -qi HDLM

step09. 若未重開機啟動
# /opt/DynamicLinkManager/bin/dlmstart
# /etc/init.d/DLMManager start

step10. 加入HDLM環境變數 > /opt/DynamicLinkManager/bin
[BourneAgain shell ]
# PATH=$PATH:/opt/DynamicLinkManager/bin ; export PATH

[C shell]
# set path= ( $path /opt/DynamicLinkManager/bin )

step11. 若未重啟系統請立即重啟一次
# shutdown -r now
Or
# init 6

step12. 查看dlnkmgr運作狀態及設定,版本,Load Balance模式,自動容錯切換狀態(aft),硬碟
# /opt/DynamicLinkManager/bin/dlnkmgr view -sys
我大多會注意三項資訊及狀態 > { Load Balance , Path Health Checking , Auto Failback )

HDLM-view-sys.png# /opt/DynamicLinkManager/bin/dlnkmgr view -lu
# /opt/DynamicLinkManager/bin/dlnkmgr view -path
# /opt/DynamicLinkManager/bin/dlnkmgr view -drv

Done.

–Maintenance–

**啟用Load Balance及變更模式為Round-Robin**
# /opt/DynamicLinkManager/bin/dlnkmgr set -lb on -lbtype rr
(模式如下)
rr       >for the Round Robin algorithm
exrr   >for the Extended Round Robin algorithm
lio      >for the Least I/Os algorithm
exlio  >for the Extended Least I/Os algorithm
lbk     >for the Least Blocks. algorithm
exlbk >for the Extended Least Blocks algorithm

**啟用及變更Path Health Checking及間隔時間**
# /opt/DynamicLinkManager/bin/dlnkmgr set -pchk on -intvl 10

**啟用Automatic Failback及間隔時間**
# /opt/DynamicLinkManager/bin/dlnkmgr set -afb on -intvl 10 (預設是關閉)

**查詢HDLM指令用法**
# /opt/DynamicLinkManager/bin/dlnkmgr help view


Reference :

1. Eddynurh’s Weblog – HDLM Installation

2. 馬克思 Linux學習筆記 – HDLM install on RHEL5.2

3. (原廠) Hitachi Command Suite – Dynamic Link Manager(for Linux®) User Guide

4. 杨红1989 – LINUX 安装HDS HDML报错

HDS CB500 Chassis Management Module replace status ‘ boot disable’

若使用HDS CB500 chassis無聊或誤拔 Management Module時出現 ‘ boot disable ‘..

Solution :

1.connect Console (baud rate 9600 , 8 , 1 , none )

2.type ‘ clear mgmt-module boot-disable

done.


Reference :

Hitachi Compute Blade 500 Series CLI Console User’s Guide