Chinaunix首页 | 论坛 | 博客
  • 博客访问: 41473
  • 博文数量: 4
  • 博客积分: 1840
  • 博客等级: 上尉
  • 技术积分: 65
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-08 11:26
文章分类

全部博文(4)

文章存档

2012年(2)

2009年(1)

2008年(1)

分类: 服务器与存储

2012-12-21 14:25:41

1. 从安装包

2. 通过zcat ntap_aix_host_utilities_6.0.tar.Z | tar -xvf –解决此包

3. 解开后有以下子目录存在:

SAN_Tool_Kit   包含:NetApp.SAN_toolkit               必装

MPIO                   包含:NetApp.MPIO_Host_Utilities_Kit    针对FCP AIX的多路径包(可选)

NON_MPIO       包含 :NetApp.FCP_Host_Utilities_Kit    针对FCP Vertas DMP多路径包(可选)

包含 :NetApp.iSCSI_Host_Utilities_Kit  针对ISCSI的多路径包(可选)

4. 对PowerVM的安装请以padmin登录,然后执行oem_setup_env,然后安装多路径软件

#installp -aXYd /var/tmp/ntap_aix_host_utilities_6.0/MPIO/NetApp.MPIO_Host_Utilities_Kit

5. 对物理机请直接运行安装多路径软件

#installp -aXYd /var/tmp/ntap_aix_host_utilities_6.0/MPIO/NetApp.MPIO_Host_Utilities_Kit

6. Veritas DMP安装多路径软件(可选)

#installp -aXYd /var/tmp/ntap_aix_host_utilities_6.0/NON_MPIO/NetApp.FCP_Host_Utilities_Kit

7. Single-path iSCSI安装多路软件(可选)

#installp -aXYd /var/tmp/ntap_aix_host_utilities_6.0/NON_MPIO/NetApp.iSCSI_Host_Utilities_Kit

8. SAN Toolkit安装(必装)

#installp -aXYd /var/tmp/ntap_aix_host_utilities_6.0/SAN_Tool_Kit/NetApp.SAN_toolkit

9. 进入 /opt/NetApp/SANToolkit/bin查看本机的HBA卡

clip_image001

clip_image002

10. 设置 queue_depth and num_cmd_elems参数

clip_image003

clip_image004

11. (FC) AIX fc_err_recov参数设置

# lsattr -El fcs0

attach    switch     How this adapter is CONNECTED      False

dyntrk    no          Dynamic Tracking of FC Devices     True

fc_err_recov delayed_fail FC Fabric Event Error RECOVERY Policy True

scsi_id    0x10500   Adapter SCSI ID                      False

sw_fc_class 3        FC Class for Fabric                 True

# chdev -l fscsi0 -a fc_err_recov=fast_fail

# lsattr -El fcs0

attach     switch       How this adapter is CONNECTED      False

dyntrk     no            Dynamic Tracking of FC Devices     True

fc_err_recov fast_fail FC Fabric Event Error RECOVERY Policy True

scsi_id     0x10500     Adapter SCSI ID                       False

sw_fc_class 3           FC Class for Fabric                   True

12. 存储端创建volume(以aggre0上的vol01 200g为例)

#vol create vol01   aggr0  200g

13. 创建lun(大小不要超过volume大小的96%,推荐85%)

#lun create    -s    170g    -t    aix      /vol/vol01/lun01

14. 存储端创建igroup

#igroup create –f –t aix igroup_name

15. 增加wwpn_number到igroup_name

#igroup add –f igroup_name 10:00:00:00:ab:cd:e1:23,10:00:00:00:ab:cd:e4:56

16. 查看增加是否成功

#igroup show  igroup_name

17. 打开igroup的alua

#igroup set igroup_name alua yes

18. 查看alua是否打开

#igroup show –v  igroup_name

19. 存储端Map lun到igroup_name

#lun map /vol/volume_name/lun_name igroup_name

20. AIX主机上执行cfgmgr扫描磁盘

21. AIX主机上进入/opt/NetApp/SANToolkit/bin目录查看LUN路径

#sanlun lun show

阅读(6006) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~