ITPub博客

首页 > Linux操作系统 > Linux操作系统 > AIX 下安装HDLM多路径软件

AIX 下安装HDLM多路径软件

原创 Linux操作系统 作者:bluesshadow 时间:2011-06-14 10:38:29 0 删除 编辑
Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONEAIX 下安装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 +  #F4Esc+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]  +    #F4Esc+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 +  #F4Esc+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

查看StatusOnline,表示所有链路正常

 

 

.后续配置

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

PCM            PCM/friend/hitachifcp N/A                              True

PR_key_value   0x2c9f4204c           Reserve Key                      True

algorithm      round_robin           N/A                              False

clr_q          no                    Device CLEARS its Queue on error True

dvc_support                          N/A                              False

location                             Location Label                   True

lun_id         0x0                   Logical Unit Number ID           False

max_transfer   0x40000               Maximum TRANSFER Size            True

node_name      0x50060e80058f0c34    FC Node Name                     False

pvid           none                  Physical Volume ID               False

q_err          yes                   Use QERR bit                     False

q_type         simple                Queue TYPE                       True

queue_depth    2                     Queue DEPTH                      True

reassign_to    120                   REASSIGN time out                True

reserve_policy PR_exclusive          Reserve Policy                   True

rw_timeout     60                    READ/WRITE time out              True

scsi_id        0x11d00               SCSI ID                          False

start_timeout  60                    START UNIT time out              True

ww_name        0x50060e80058f0c34    FC World Wide Name               False

 

修改属性:

修改queue_depth,推荐值为8

修改reserve_policy值为no_reserve

chdev -l hdisk2 -a queue_depth=8 -a reserve_policy=no_reserve

 

查看修改后属性:

# lsattr -El hdisk2                                           

PCM            PCM/friend/hitachifcp N/A                              True

PR_key_value   0x3c9f4604c           Reserve Key                      True

algorithm      round_robin           N/A                              False

clr_q          no                    Device CLEARS its Queue on error True

dvc_support                          N/A                              False

location                             Location Label                   True

lun_id         0x0                   Logical Unit Number ID           False

max_transfer   0x40000               Maximum TRANSFER Size            True

node_name      0x50060e80058f0c34    FC Node Name                     False

pvid           none                  Physical Volume ID               False

q_err          yes                   Use QERR bit                     False

q_type         simple                Queue TYPE                       True

queue_depth    8                     Queue DEPTH                      True

reassign_to    120                   REASSIGN time out                True

reserve_policy no_reserve            Reserve Policy                   True

rw_timeout     60                    READ/WRITE time out              True

scsi_id        0x11d00               SCSI ID                          False

start_timeout  60                    START UNIT time out              True

ww_name        0x50060e80058f0c34    FC World Wide Name               False

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24668589/viewspace-697855/,如需转载,请注明出处,否则将追究法律责任。

下一篇: vi文本命令操作
请登录后发表评论 登录
全部评论

注册时间:2010-09-27

  • 博文量
    34
  • 访问量
    140356