1拷贝HDLM的license到/var/tmp/,并命名为hdlm_license(例如:cp HDSHDLM\ DI103\ 0910091447561.plk /var/tmp/hdlm_license)
2 mount光盘,一般RedHat会自动mount,目录一般在/media/cdrecorder/
3执行命令:./installhdlm -v查看hdlm的版本
4执行命令:./installhdlm脚本可以检测所需的版本并安装,成功安装出现以下内容:
[root@qio11 cdrecorder]# ./installhdlm
KAPL09210-I installhdlm will now start.
KAPL09093-I HDLM 6.2.0-00 will be installed. Is this OK ? [y/n]: y
Preparing packages for installation...
KAPL09076-I The permanent license was installed.
HDLM-6.2.0.0.583-9
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,即便修改也不能安装成功。
5,重启系统,由于Linux的HDLM对磁盘的驱动需要加载,安装完即使启动HDLM也不能加载,需要重启系统
6重启后查看hdlm状态:# /etc/init.d/dlmmanager status,如果需要手动启动,可以使用/etc/init.d/dlmmanager start
7查看驱动加载状态:/sbin/dlmcfgmgr -r
8 /opt/DynamicLinkManager/bin/dlminsadrv
9查看已经识别到的设备,执行命令:/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
10查看路径:执行命令:/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
11执行命令:/opt/DynamicLinkManager/bin/dlnkmgr view -sys确保Auto Failback,Path Health Checking,Load Balance的状态是ON的模式