HDS-HDLM多路径的管理软件aix.doc
《HDS-HDLM多路径的管理软件aix.doc》由会员分享,可在线阅读,更多相关《HDS-HDLM多路径的管理软件aix.doc(48页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Four short words sum up what has lifted most successful individuals above the crowd: a little bit more.-author-dateHDS-HDLM多路径的管理软件aixHDS-HDLM多路径的管理软件aix1. 多路径的管理软件Dynamic Link Manager是HDS配合各个主机厂家在主机高可用系统运行结构中提供的独特软件,安装在主机上,需要存储系统微码支持。它使用最优的调度算法使连接主机与磁盘阵列的各I/O通道间的I/O自动达到均衡,这样可提高系统的I/O吞吐量,提高整个系统的性能。D
2、ynamic Link Manager另一个功能是I/O通道故障自动隔离。当主机与磁盘系统之间的I/O通道在链路环节上出现故障(如HBA卡、交换机、光缆、接口卡),Dynamic Link Manager能实现自动故障隔离,即切换至另一通路,应用I/O可以在正常的通道上继续进行,确保生产业务的连续性。当故障通道修复或替换完毕后,可在线激活,重新开始在原通路上工作。HDLM可以在IBM AIX、 SUN Solaris、Microsoft Windows NT/2000、Linux及HP-UX等多种平台上提高系统的可靠性。并支持其他的高可靠性(HA)软件,如HACMP、SUN CLUSTER、V
3、CS、MCS等。在没有多路径功能支持下,主机只能通过某一个路径访问一个磁盘(LUN),系统存在单点故障的隐患。当该路径上的任何一个环节出现问题时,如主机HBA卡损坏、光纤或光纤交换机损坏等情况下,会造成主机无法访问磁盘的现象,而导致用户系统的中断。在多路径软件(如HDLM)的支持下,使用多条路径连接主机和存储系统,主机可以通过多个路径访问同一个磁盘,避免出现单点故障,提高整个系统的可靠性。1.1. HDLM的主要功能 负载均衡(Load balancing)当多条路径连接主机和存储系统时,HDLM把负载分配到各个路径,避免单个路径负载繁重而影响处理速度。 路径切换(Path Failover
4、)当多条路径连接主机和存储系统时,如果某条路径出现错误,HDLM将把业务切换到其它活动的路径,保证系统不中断下业务的延续。 路径回复(Failback)当一个故障路径回复可用时,HDLM将把该路径恢复为Online,保证最大数目的路径可用和分担负载。 路径健康检查(Path health checking)HDLM按用户既定的间隔自动检查所有路径的状态,因此不必手工定期不断地检查路径的状态。 错误管理(Error management)HDLM的错误管理功能按照错误级别过滤错误信息,并将错误信息保存在记录文件里。1.2. HDLM的配置在完成HDLM软件的安装以后,并且已经正确的认到相应的HD
5、LM设备(类似于chxtydz的设备)以后,需要对HDLM进行几个参数的调整:1.3. 安装和配置HDLM Log in to AIX as the root user.telnet Directly under /var/tmp/, save the license key file as hdlm_license(/var/tmp/hdlm_license). Insert the HDLM CD-ROM into the CD-ROM drive. You do not need to mount anything.When installing HDLM from a director
6、y copied from the CD-ROM, you do not need to insert the CD-ROM.installp -aXgd V5.0.0.1 allinstallp -aXgd V5.0.0.4U allinstallp -aXgd V5.0.1.4U allinstallp -aXgd V5.0.52.1U all Execute the following installation command:# installp -aXgd CD-ROM-special-file-name allinstallp -aXgd ./ all After the HDLM
7、 installation, execute the following command to check whether the installation was successful:# lslpp -L DLManager.rtel Execute the dlmcfgmgr utility to configure the HDLM devices:# /usr/DynamicLinkManager/bin/dlmcfgmgrl Make sure that the HDLM drivers and HDLM alert driver are loaded into the runni
8、ng kernel and are available.The following is an example of command execution:# lsdev -C | grep dlmdlmadrv Available HDLM Alert Driverdlmfdrv0 Available HDLM Driverl Executes the dlnkmgr view command to display the status of each program. The following shows a sample execution of this command:# /usr/
9、DynamicLinkManager/bin/dlnkmgr view -sysHDLM Version : 05-80Service Pack Version :Load Balance : on(rr)Support Cluster :Elog Level : 3Elog File Size (KB) : 9900Number Of Elog Files : 2Trace Level : 0Trace File Size(KB) : 1000Number Of Trace Files : 4Path Health Checking : on(30)Auto Failback : offRe
10、servation Status : on(2)Intermittent Error Monitor : offHDLM Manager Ver WakeupTimeAlive 05-80 2006/02/20 10:33:03HDLM Alert Driver Ver WakeupTime ElogMem SizeAlive 05-80 2006/02/20 10:33:03 1000HDLM Driver Ver WakeupTimeAlive 05-80 2006/02/20 10:33:03License Type ExpirationPermanent -KAPL01001-I Th
11、e HDLM command completed normally. Operation name = view, completion time= 2006/02/20 12:00:00cfg Set Auto Failback=ONusr/DynamicLinkManager/bin/dlnkmgr set -afb on intvl 10将/usr/DynamicLinkManager/bin加入系统变量环境,方便管理(可不加)# PATH=$PATH:/usr/DynamicLinkManager/bin;# export PATH Set healthe checking time#
12、/usr/DynamicLinkManager/bin/dlnkmgr set -pchk on -intvl 1 Check path status# /usr/DynamicLinkManager/bin/dlnkmgr view -path l Check for the HDLM device for the SCSI device.# /opt/DynamicLinkManager/bin/dlnkmgr view drv1.4. HDLM维护1.4.1. HDLM维护命令l 查看HDLM设备与原来SCSI设备的对应关系# /opt/DynamicLinkManager/bin/dl
13、nkmgr view -drvl 查看HDLM设备与磁盘阵列物理设备的对应关系# /opt/DynamicLinkManager/bin/dlnkmgr view -path -item lu hd# /opt/DynamicLinkManager/bin/dlnkmgr view -path -hdev 检查HDLM工作状态和路径信息# /opt/DynamicLinkManager/bin/dlnkmgr view -path 查看HDLM的设置# /opt/DynamicLinkManager/bin/dlnkmgr view -sys sfunc 模仿连续的IO。 通过命令查看磁盘读写
14、状态。可以看到两条路径都有流量,且基本平衡。这是负载均衡功能(Load Balance)。 断开一条路径,磁盘IO转移到另一条路径继续访问,作业没有中断。这是路径切换功能(Path Failover)。 重新连接被断开的路径,执行# /opt/DynamicLinkManager/bin/dlnkmgr online使所有路径回复正常,此时磁盘IO回复到原来的路径访问。这是路径自动恢复功能(Auto Failback)。1.4.2. HDLM 帮助l Help OperationFormat:/opt/DynamicLinkManager/bin/dlnkmgr help operation-
15、name operation-name .Description: The dlnkmgr help command displays the list of operations available for theHDLM command, or the format of individual operations.Parameter:operation-name: Specify the name of the HDLM command operation whose format youwant to know. You can check the format of multiple
16、 operations at one time byspecifying multiple operation names. When multiple operation names are specified, thehelp operation displays the format for the corresponding operations in the order theywere entered.If you do not specify any operation names, the help operation displays the names of alloper
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- HDS HDLM 路径 管理软件 aix
限制150内