您的位置:首页 > 大数据 > 人工智能

AIX下安装HDS多路径软件

2011-06-02 12:03 369 查看
本文介绍AIX下安装HDS多路径软件
安装步骤:

1.准备软件
2.安装ODM 包
3.安装HDLM 软件
4.后续配置
一.准备软件
通过FTP 工具上传安装文件:
将HDLM 软件上传到服务器,例:/tmp/hdlm/
将license 文件上传到服务器,例:/tmp/hdlm/
二.安装ODM 包
1.拷贝和重命名license 文件
cd /tmp/hdlm
cp HDSHDLM DI111 1210080545891.plk /var/temp/hdlm_license
2.解压和安装ODM
cd /tmp/hdlm/HDLM_AIX/AIX_ODM/HTC_ODM
tar -xvf HTCODM3.tar
2.1 smitty install
2.2 选择安装软件:Install Software
Move cursor to desired item and press Enter.
Install Software
Update Installed Software to Latest Level (Update All)
Install Software Bundle
Update Software by Fix (APAR)
Install and Update from ALL Available Software
2.3 目录选择当前:./
Install Software
Type or select a value for the entry field.
Press Enter AFTER making all desired changes.
[Entry Fields]
* INPUT device / directory for software [./]
2.4 ACCEPT new license agreements 选择 yes
Install Software
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* INPUT device / directory for software ./
* SOFTWARE to install [_all_latest] +
PREVIEW only? (install operation will NOT occur) no +
COMMIT software updates? yes +
SAVE replaced files? no +
AUTOMATICALLY install requisite software? yes +
EXTEND file systems if space needed? yes +
OVERWRITE same or newer versions? no +
VERIFY install and check file sizes? no +
Include corresponding LANGUAGE filesets? yes +
DETAILED output? no +
Process multiple volumes? yes +
ACCEPT new license agreements? yes + #按F4(Esc+4)选择
Preview new LICENSE agreements? no +
2.5 回车安装
3.安装HDLM 软件
命令安装
installp -aXgd /tmp/hdlm/HDLM_AIX all
smitty 安装
cd /tmp/hdlm/HDLM_AIX
3.1 smitty installp
3.2 选择安装软件:Install Software-
Move cursor to desired item and press Enter.
Install Software
Update Installed Software to Latest Level (Update All)
Install Software Bundle
Update Software by Fix (APAR)
Install and Update from ALL Available Software
3.3 目录选择当前:./
Install Software
Type or select a value for the entry field.
Press Enter AFTER making all desired changes.
[Entry Fields]
* INPUT device / directory for software [./]
3.3 光标移到软件安装,按F4(esc+4)选择要安装的包,如果是HACMP 环境,就将
所有包选择上,如果是RAC 环境就选择除HACMP 包外的所有包安装
Install Software
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* INPUT device / directory for software ./
* SOFTWARE to install [_all_latest] + #按F4(Esc+4)选择要安装的包
PREVIEW only? (install operation will NOT occur) no +
COMMIT software updates? yes +
SAVE replaced files? no +
AUTOMATICALLY install requisite software? yes +
EXTEND file systems if space needed? yes +
OVERWRITE same or newer versions? no +
VERIFY install and check file sizes? no +
Include corresponding LANGUAGE filesets? yes +
DETAILED output? no +
Process multiple volumes? yes +
ACCEPT new license agreements? no +
Preview new LICENSE agreements? no +
3.4 ACCEPT new license agreements 选择 yes
Install Software
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* INPUT device / directory for software ./
* SOFTWARE to install [_all_latest] +
PREVIEW only? (install operation will NOT occur) no +
COMMIT software updates? yes +
SAVE replaced files? no +
AUTOMATICALLY install requisite software? yes +
EXTEND file systems if space needed? yes +
OVERWRITE same or newer versions? no +
VERIFY install and check file sizes? no +
Include corresponding LANGUAGE filesets? yes +
DETAILED output? no +
Process multiple volumes? yes +
ACCEPT new license agreements? yes + #按F4(Esc+4)选择
Preview new LICENSE agreements? no +
3.5 回车安装
4.验证
安装完软件后,将之前的磁盘删除掉,重新扫描,确认磁盘使用了HDLM 多路径软件:
删除设备:
rmdev -Rdl fcs0
rmdev -Rdl fcs1
扫描磁盘:
cfgmgr -vl
查看磁盘:
lspv
hdisk0 00c9f4600382e9e2 rootvg active
hdisk1 00c9f460081caed6 rootvg active
hdisk2 none None
hdisk3 none None
lsdev -Cc disk
hdisk0 Available 0C-08-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 0C-08-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 0A-08-02 Hitachi Disk Array (Fibre)
hdisk3 Available 0A-08-02 Hitachi Disk Array (Fibre)
出现:Hitachi Disk Array (Fibre) 表示磁盘使用了HDLM 多路径软件,多路径软件安装成功
验证多路径链路和磁盘详细信息:
/usr/DynamicLinkManager/bin/dlnkmgr view -lu
Product : USP_V
SerialNumber : 0000001
LUs : 2
iLU HDevName OSPathID PathID Status
0000EA hdisk2 00000 000000 Online
00001 000001 Online
0000EB hdisk3 00000 000002 Online
00001 000003 Online
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time =
2011/06/01 03:49:57
查看Status 为Online,表示所有链路正常
四.后续配置
1.修改光纤卡配置
修改光纤卡fc_err_recov 属性值(链路出现故障后快速切换策略)
通过lspath 命令查找到磁盘从那个光纤卡上映射过来的,然后对查到的光纤卡属性做修改
lspath
lsattr -El fscsi0
rmdev -Rdl fscsi0
rmdev -Rdl fscsi1
chdev -l fscsi0 -a fc_err_recov=fast_fail
chdev -l fscsi1 -a fc_err_recov=fast_fail
2.修改磁盘属性
查看当前属性:
# lsattr -El hdisk2
修改属性:
修改queue_depth 值,推荐值为8
修改reserve_policy 值为no_reserve
chdev -l hdisk2 -a queue_depth=8 -a reserve_policy=no_reserve
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: