1 step # install oracle deplist package
yum install binutils compat-libcap1 compat-libstdc++* gcc gcc-c++ glibc.i686 glibc glibc-devel glibc-devel.i686 ksh libgcc.i686 libgcc libstdc++ libstdc++.i686 libstdc++-devel libstdc++-devel.i686 libaio libaio.i686 libaio-devel libaio-devel.i686 make sysstat lrzsz compat-db.x86_64 control-center.x86_64 libXt.i686 libXtst.i686 libXp.i686 -y
2 step
wget http://ip/war/HDS.zip HDS.zip(HDLM hdlm_license)
unzip HDS.zip
mv hdlm_license /var/tmp
cd HDLM
chmod +x bin/* -R
chmod +x installhdlm
./installhdlm
input y
出现下面内容
KAPL09043-I The installation of HDLM-6.2.0.0.583-9 completed successfully.
KAPL09211-I installhdlm completed successfully.
在安装的过程中会检测HDLM的license,Linux平台只能用HDLM For Linux,其他操作系统的不能使用。可以用文本打开在光盘中的License,里面写有 For Linux。如果不是For Linux,即便修改也不能安装成功。
重启系统,由于Linux的HDLM对磁盘的驱动需要加载,安装完即使启动HDLM也不能加载,需要重启系统
重启后查看hdlm状态:# /etc/init.d/dlmmanager status,如果需要手动启动,可以使用/etc/init.d/dlmmanager start
查看驱动加载状态:/sbin/dlmcfgmgr -r
/opt/DynamicLinkManager/bin/dlminsadrv
查看已经识别到的设备,执行命令:/opt/DynamicLinkManager/bin/dlnkmgr view -drv ,结果类似如下:
PathID HDevName Device LDEV
000000 sddlmaa /dev/sdd AMS.87010938.0000
000001 sddlmab /dev/sde AMS.87010938.0001
000002 sddlmac /dev/sdf AMS.87010938.0002
000003 sddlmad /dev/sdg AMS.87010938.0003
000004 sddlmae /dev/sdh AMS.87010938.0004
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2009/10/21 11:31:53
查看路径:执行命令:/opt/DynamicLinkManager/bin/dlnkmgr view -path 结果如下:
Paths:000098 OnlinePaths:000098
PathStatus IO-Count IO-Errors
Online 53508 0
PathID PathName DskName iLU ChaPort Status Type IO-Count IO-Errors DNum HDevName
000000 0003.0000.0000000000000000.0000 HITACHI .DF600F .87010938 0000 0A Online Own 546 0 0 sddlmaa
000001 0003.0000.0000000000000000.0001 HITACHI .DF600F .87010938 0001 0A Online
每个状态显示的Online ,ilu显示对应的lun
执行命令:/opt/DynamicLinkManager/bin/dlnkmgr view -sys 确保Auto Failback ,Path Health Checking ,Load Balance 的状态是ON的模式