2010年2月9日 星期二

HDLM install on RHEL5.2

為了測試MultipathCluster,我準備了以下環境
主機1



Hostname
node1.tedpc.com

IP
10.101.24.182


192.168.0.1

Share Lun
10GB*2(Multipath)
主機2



Hostname
node2.tedpc.com

IP
10.101.24.183


192.168.0.2

Share Lun
10GB*2(Multipath)
Storage

USP100

HDLM6.0 install procedure
1.License Key 改名hdlm_license後放在/var/tmp
#mv license.plk /var/tmp/hdlm_license

2.產生安裝之Key
#mkdir /etc/opt/DynamicLinkManager
#echo "
license-key" >/etc/opt/DynamicLinkManager/dlm.lic_key

3.掛載光碟或ISO
#mount /dev/cdrom /media/cdrom
or
#mount -t iso9660 -t loop HDLM.iso /media/cdrom

4.確認HDLM版本
#/media/cdrom/installhdlm -v

5.安裝HDLM
#/media/cdrom/installhdlm
KAPL09210-I installhdlm will now start.
KAPL09093-I HDLM x.x.x-xx will be installed. Is this OK ? [y/n]: y
Preparing packages for installation...
KAPL09076-I The permanent license was installed.
HDLM-x.x.x.x.xxx-xx
KAPL09043-I The installation of HDLM-x.x.x.x.xxx-xx completed successfully.
KAPL09211-I installhdlm completed successfully.


6.安裝完成,檢查是否安裝成功
#rpm –qi HDLM
Name : HDLM Relocations: (not relocatable)
Version : 6.0.0.1.801 Vendor: Hitachi, Ltd.
Release : 1 Build Date: 西元20080509(週五) 231449
Install Date: 西元20100208(週一) 164636Build Host: inspire.hitachi.co.jp
Group : System Environment/Driver Source RPM: HDLM-6.0.0.1.801-1.src.rpm
Size : 13653222 License: All Rights Reserved. Copyright (C) 2003, 2008, Hitachi, Ltd.
Signature : (none)
Packager : Hitachi, Ltd.
Summary : I/O Path Management Software
Description :
HDLM manages paths between a host and storage subsystem.
HDLM evenly distributes the load across paths and switches to another path if there is a failure in a path being used, thus improving system reliability.

7.載入HDLM alert driver and the filter driver.
#/opt/DynamicLinkManager/bin/dlminsadrv
#modprobe sddlmfdrv

8.執行HDLM設定程式設定LDEV
#/sbin/dlmcfgmgr -r

9.啟動HDLM
#/etc/init.d/DLMManager start

10.增加HDLM環境變數
When the BourneAgain shell or Korn shell is used:
#PATH=$PATH:/opt/DynamicLinkManager/bin ; export PATH
When the C shell is used:
#set path= ( $path /opt/DynamicLinkManager/bin )

11.執行dlnkmgr確認HDLM詳細狀況與設定
# /opt/DynamicLinkManager/bin/dlnkmgr view -sys
HDLM Version : 6.0.0-01
Service Pack Version :
Load Balance : on(rr)
Support Cluster :
Elog Level : 3
Elog File Size (KB) : 9900
Number Of Elog Files : 2
Trace Level : 0
Trace File Size (KB) : 1000
Number Of Trace Files : 4
Path Health Checking : on(30)
Auto Failback : on(1)
Reservation Status :
Intermittent Error Monitor : off
HDLM Manager Ver WakeupTime
Alive 6.0.0-01 2010/02/08 17:10:28
HDLM Alert Driver Ver WakeupTime ElogMem Size
Alive 6.0.0-01 2010/02/08 17:09:17 1000
HDLM Driver Ver WakeupTime
Alive 6.0.0-01 2010/02/08 17:09:40
License Type Expiration
Permanent -
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2010/02/09 15:00:43

沒有留言:

張貼留言