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
安装步骤:
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
相关文章推荐
- HDS 多路径软件HDLM for AIX安装及配置—精简范例篇
- apt-get install的默认安装路径查找命令dpkg -L 软件包名
- 软件安装时的路径问题
- Ubuntu下查看APT安装的软件安装路径和版本
- 用yum查询想安装的软件/安装路径
- AIX 系统VNC软件安装
- 如何查找rpm方式安装的软件路径
- Linux下查看软件安装路径(whereis)
- Linux: 查看软件安装路径
- ArcEngine10_获取AE软件的本地安装路径
- 用注册表修改软件默认安装路径
- C# 获取常见软件的安装路径(调用注册表)
- aix上安装软件包
- Ubuntu软件安装路径(通过命令查出)
- Linux下查看软件安装路径(whereis)
- Ubuntu 11.10版本下的软件中心安装软件的默认路径
- linux下如何查看某个软件 是否安装??? 安装路径在哪???
- Linux如何查找软件的安装路径
- c#获取安装的软件和路径(注册表)
- 系统安装EMC多路径软件