当前位置:文档之家› Netapp存储映射到AIX操作系统操作手册

Netapp存储映射到AIX操作系统操作手册

Netapp存储映射到AIX操作系统操作手册Netapp存储属于中高端的存储系统,它的FAS6220系统属于常见的带有FC和NAS功能的综合性存储,今天记录并讲解如何在AIX系统安装并操作NetAPP的多路径软件和lun磁盘的识别,查看;步骤如下;1,解压软件包tar.zZcat ntap_aix_host_utilities_5.1.tar.Z |tar -xvf -2, 安装:installp +参数+路径+先安装MPIO,然后安装santools_kit[tsm2:/tmp/ntap_aix_host_utilities_5.1/MPIO#]installp -aXYd /tmp/ntap_aix_host_utilities_5.1/MPIO NetApp.MPIO_Host_Utilities_Kit+-----------------------------------------------------------------------------+Pre-installation Verification...+-----------------------------------------------------------------------------+Verifying selections...doneVerifying requisites...doneResults...SUCCESSES---------listed in this section passed pre-installation verificationand will be installed.Selected-----------------NetApp.MPIO_Host_Utilities_Kit.config 5.1.0.0 # NetApp MPIO PCM Host Utilities Kit Path Config ToolNetApp.MPIO_Host_Utilities_Kit.fcp 5.1.0.0 # NetApp MPIO PCM Host Utiliti... NetApp.MPIO_Host_Utilities_Kit.iscsi 5.1.0.0 # NetApp MPIO PCM Host Utilities Kit iSCSI Disk ODM StanzasNetApp.MPIO_Host_Utilities_Kit.pcmodm 5.1.0.0 # NetApp MPIO PCM Host Utilities Kit PCM Friend ODM Stanzas<< End of Success Section >>+-----------------------------------------------------------------------------+BUILDDATE Verification ...+-----------------------------------------------------------------------------+Verifying build dates...doneSTATISTICS------------------4 Selected to be installed, of which:4 Passed pre-installation verification----4 Total to be installed0503-409 installp: bosboot verification starting...installp: bosboot verification completed.+-----------------------------------------------------------------------------+Installing Software...+-----------------------------------------------------------------------------+installp: APPL YING software for:NetApp.MPIO_Host_Utilities_Kit.pcmodm 5.1.0.0NetApp.MPIO_Host_Utilities_Kit.iscsi 5.1.0.0NetApp.MPIO_Host_Utilities_Kit.fcp 5.1.0.0NetApp.MPIO_Host_Utilities_Kit.config 5.1.0.0. . . . . << Copyright notice for NetApp.MPIO_Host_Utilities_Kit >> . . . . . . . Copyright (c) 2003-2010 NetApp, Inc.. . . . . << End of copyright notice for NetApp.MPIO_Host_Utilities_Kit >>. . . .sysck: 3001-036 WARNING: File/opt/NetApp/MPIO_Host_Utilities_Kit/NOTICE.PDFis also owned by NetApp.MPIO_Host_Utilities_Kit.iscsi. sysck: 3001-036 WARNING: File/opt/NetApp/MPIO_Host_Utilities_Kit/NOTICE.TXTis also owned by NetApp.MPIO_Host_Utilities_Kit.iscsi. Finished processing all . (Total time: 6 secs).0503-409 installp: bosboot verification starting...installp: bosboot verification completed.0503-408 installp: bosboot process starting...bosboot: Boot image is 42972 512 byte blocks.0503-292 This update will not fully take effect until after asystem reboot.* * * A T T E N T I O N * * *System boot image has been updated. You should reboot thesystem as soon as possible to properly integrate the changesand to avoid disruption of current functionality.installp: bosboot process completed.+-----------------------------------------------------------------------------+Summaries:+-----------------------------------------------------------------------------+Installation Summary--------------------Name Level Part Event Result-------------------------------------------------------------------------------NetApp.MPIO_Host_Utilities_ 5.1.0.0 USR APPL Y SUCCESS NetApp.MPIO_Host_Utilities_ 5.1.0.0 USR APPL Y SUCCESS NetApp.MPIO_Host_Utilities_ 5.1.0.0 USR APPL Y SUCCESS NetApp.MPIO_Host_Utilities_ 5.1.0.0 USR APPL Y SUCCESS [tsm2:/tmp/ntap_aix_host_utilities_5.1/MPIO#]lslpp -l |grep -i netappNetApp.MPIO_Host_Utilities_Kit.config5.1.0.0 COMMITTED NetApp MPIO PCM Host Utilities NetApp.MPIO_Host_Utilities_Kit.fcp5.1.0.0 COMMITTED NetApp MPIO PCM Host Utilities NetApp.MPIO_Host_Utilities_Kit.iscsi5.1.0.0 COMMITTED NetApp MPIO PCM Host Utilities NetApp.MPIO_Host_Utilities_Kit.pcmodm5.1.0.0 COMMITTED NetApp MPIO PCM Host Utilities [tsm2:/tmp/ntap_aix_host_utilities_5.1/MPIO#]cd ..[tsm2:/tmp/ntap_aix_host_utilities_5.1#]pwd/tmp/ntap_aix_host_utilities_5.1[tsm2:/tmp/ntap_aix_host_utilities_5.1#]lsMPIO SAN SAN_Tool_Kit[tsm2:/tmp/ntap_aix_host_utilities_5.1#]cd *it[tsm2:/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#]pwd/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit[tsm2:/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#]installp -aXYd /tmp/ntap_aix_host_utilities_5.1/MPIO NetApp.MPIO_Host_Utilities_Kit[tsm2:/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#]installp -aXYd /tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit[tsm2:/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#]lsNetApp.SAN_toolkit[tsm2:/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#]installp -aXYd /tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit NetApp.SAN_toolkit+-----------------------------------------------------------------------------+Pre-installation Verification...+-----------------------------------------------------------------------------+Verifying selections...doneVerifying requisites...doneResults...SUCCESSES---------listed in this section passed pre-installation verificationand will be installed.Selected-----------------NetApp.SAN_toolkit.sanlun 5.1.0.0 # NetApp SAN Toolkit sanlun << End of Success Section >>+-----------------------------------------------------------------------------+BUILDDATE Verification ...+-----------------------------------------------------------------------------+Verifying build dates...doneSTATISTICS------------------1 Selected to be installed, of which:1 Passed pre-installation verification----1 Total to be installed+-----------------------------------------------------------------------------+Installing Software...+-----------------------------------------------------------------------------+installp: APPL YING software for:NetApp.SAN_toolkit.sanlun 5.1.0.0. . . . . << Copyright notice for NetApp.SAN_toolkit >> . . . . . . .Copyright (c) 2003-2010 NetApp, Inc.. . . . . << End of copyright notice for NetApp.SAN_toolkit >>. . . .Finished processing all . (Total time: 1 secs).+-----------------------------------------------------------------------------+Summaries:+-----------------------------------------------------------------------------+Installation Summary--------------------Name Level Part Event Result-------------------------------------------------------------------------------NetApp.SAN_toolkit.sanlun 5.1.0.0 USR APPL Y SUCCESS [tsm2:/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#][tsm2:/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#][tsm2:/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#][tsm2:/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#][tsm2:/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#][tsm2:/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#]which sanlun/usr/bin/sanlun[tsm2:/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#]cd /opt/NetApp[tsm2:/opt/NetApp#]lsMPIO_Host_Utilities_Kit santools[tsm2:/opt/NetApp#]cd santools[tsm2:/opt/NetApp/santools#]lsNOTICE.PDF NOTICE.TXT bin man[tsm2:/opt/NetApp/santools#]cd bin[tsm2:/opt/NetApp/santools/bin#]lssan_version sanlun[tsm2:/opt/NetApp/santools/bin#]sanlun lun showno controller LUNs available[tsm2:/opt/NetApp/santools/bin#][tsm2:/opt/NetApp/santools/bin#][tsm2:/opt/NetApp/santools/bin#]cfgmgr -v #存储那边配置好,映射好后,AIX开始扫描cfgmgr is running in phase 2[tsm2:/opt/NetApp/santools/bin#][tsm2:/opt/NetApp/santools/bin#][tsm2:/opt/NetApp/santools/bin#]lspvhdisk0 00c59412a7d7466a rootvg activehdisk1 00c3afa442c5c5f6 rootvg activehdisk2 none Nonehdisk3 none Nonehdisk4 none Nonehdisk5 none Nonehdisk6 none Nonehdisk7 none Nonehdisk8 none Nonehdisk9 none Nonehdisk10 none Nonehdisk11 none None[tsm2:/opt/NetApp/santools/bin#]用sanlun 命令查看其实还需要设置磁盘属性,要看netapp的官方文档设置deep ,queue_depth等;[tsm2:/opt/NetApp/santools/bin#]sanlun lun showcontroller: lun-pathname device adapter protocol lun size lun stateFAS6220-2A: /vol/lun1_aix_tsm_vol/aix_tsm_06 hdisk10 fcs0 FCP 500.1g (536952700928) GOODFAS6220-2A: /vol/lun1_aix_tsm_vol/aix_tsm_07 hdisk11 fcs0 FCP 500.1g (536952700928) GOODFAS6220-2A: /vol/lun1_aix_tsm_vol/aix_tsm_00 hdisk4 fcs0 FCP 500.1g (536952700928) GOODFAS6220-2A: /vol/lun1_aix_tsm_vol/aix_tsm_01 hdisk5 fcs0 FCP 500.1g (536952700928) GOODFAS6220-2A: /vol/lun1_aix_tsm_vol/aix_tsm_02 hdisk6 fcs0 FCP 500.1g (536952700928) GOODFAS6220-2A: /vol/lun1_aix_tsm_vol/aix_tsm_03 hdisk7 fcs0 FCP 500.1g (536952700928) GOODFAS6220-2A: /vol/lun1_aix_tsm_vol/aix_tsm_04 hdisk8 fcs0 FCP 500.1g (536952700928) GOODFAS6220-2A: /vol/lun1_aix_tsm_vol/aix_tsm_05 hdisk9 fcs0 FCP 500.1g (536952700928) GOOD[tsm2:/opt/NetApp/santools/bin#]lsdev -Cc diskhdisk0 Available 01-08-00 SAS Disk Drivehdisk1 Available 01-08-00 SAS Disk Drivehdisk2 Available 01-08-00 SAS Disk Drivehdisk3 Available 01-08-00 SAS Disk Drivehdisk4 Available 05-00-02 MPIO NetApp FCP Default PCM Diskhdisk5 Available 05-00-02 MPIO NetApp FCP Default PCM Diskhdisk6 Available 05-00-02 MPIO NetApp FCP Default PCM Diskhdisk7 Available 05-00-02 MPIO NetApp FCP Default PCM Diskhdisk8 Available 05-00-02 MPIO NetApp FCP Default PCM Diskhdisk9 Available 05-00-02 MPIO NetApp FCP Default PCM Diskhdisk10 Available 05-00-02 MPIO NetApp FCP Default PCM Diskhdisk11 Available 05-00-02 MPIO NetApp FCP Default PCM Disk[tsm2:/opt/NetApp/santools/bin#]sanlun lun show -p # -p 参数查看多路径状态ONTAP_PATH: FAS6220-2A:/vol/lun1_aix_tsm_vol/aix_tsm_05LUN: 5LUN Size: 500.1g (536952700928)Host Device: hdisk9LUN State: GOODController_CF_State: Cluster EnabledController Partner: FAS6220-2BMultipath Provider: AIX NativeMultipathing Algorithm: round_robin--------- ----------- ------ ------ ----------- ----------MPIO Controller AIX Controller AIX MPIO path path MPIO host target HBA path status type path HBA port priority--------- ----------- ------ ------ ----------- ----------Enabled primary path0 fcs0 0a 1 Enabled secondary path1 fcs0 0a 1 Enabled primary path2 fcs0 1c 1 Enabled secondary path3 fcs0 1a 1 Enabled primary path4 fcs2 0b 1 Enabled secondary path5 fcs2 0b 1 Enabled primary path6 fcs2 1a 1 Enabled secondary path7 fcs2 1c 1ONTAP_PATH: FAS6220-2A:/vol/lun1_aix_tsm_vol/aix_tsm_04 LUN: 4LUN Size: 500.1g (536952700928)Host Device: hdisk8LUN State: GOODController_CF_State: Cluster EnabledController Partner: FAS6220-2BMultipath Provider: AIX NativeMultipathing Algorithm: round_robin--------- ----------- ------ ------ ----------- ----------MPIO Controller AIX Controller AIX MPIO path path MPIO host target HBA path status type path HBA port priority--------- ----------- ------ ------ ----------- ----------Enabled primary path0 fcs0 0a 1 Enabled secondary path1 fcs0 0a 1 Enabled primary path2 fcs0 1c 1 Enabled secondary path3 fcs0 1a 1 Enabled primary path4 fcs2 0b 1 Enabled secondary path5 fcs2 0b 1 Enabled primary path6 fcs2 1a 1 Enabled secondary path7 fcs2 1c 1ONTAP_PATH: FAS6220-2A:/vol/lun1_aix_tsm_vol/aix_tsm_03 LUN: 3LUN Size: 500.1g (536952700928)Host Device: hdisk7LUN State: GOODController_CF_State: Cluster EnabledController Partner: FAS6220-2BMultipath Provider: AIX NativeMultipathing Algorithm: round_robin--------- ----------- ------ ------ ----------- ----------MPIO Controller AIX Controller AIX MPIO path path MPIO host target HBA path status type path HBA port priority--------- ----------- ------ ------ ----------- ----------Enabled primary path0 fcs0 0a 1 Enabled secondary path1 fcs0 0a 1 Enabled primary path2 fcs0 1c 1 Enabled secondary path3 fcs0 1a 1 Enabled primary path4 fcs2 0b 1 Enabled secondary path5 fcs2 0b 1 Enabled primary path6 fcs2 1a 1 Enabled secondary path7 fcs2 1c 1ONTAP_PATH: FAS6220-2A:/vol/lun1_aix_tsm_vol/aix_tsm_02 LUN: 2LUN Size: 500.1g (536952700928)Host Device: hdisk6LUN State: GOODController_CF_State: Cluster EnabledController Partner: FAS6220-2BMultipath Provider: AIX NativeMultipathing Algorithm: round_robin--------- ----------- ------ ------ ----------- ----------MPIO Controller AIX Controller AIX MPIO path path MPIO host target HBA path status type path HBA port priority--------- ----------- ------ ------ ----------- ----------Enabled primary path0 fcs0 0a 1 Enabled secondary path1 fcs0 0a 1 Enabled primary path2 fcs0 1c 1 Enabled secondary path3 fcs0 1a 1 Enabled primary path4 fcs2 0b 1 Enabled secondary path5 fcs2 0b 1 Enabled primary path6 fcs2 1a 1 Enabled secondary path7 fcs2 1c 1ONTAP_PATH: FAS6220-2A:/vol/lun1_aix_tsm_vol/aix_tsm_01 LUN: 1LUN Size: 500.1g (536952700928)Host Device: hdisk5LUN State: GOODController_CF_State: Cluster EnabledController Partner: FAS6220-2BMultipath Provider: AIX NativeMultipathing Algorithm: round_robin--------- ----------- ------ ------ ----------- ----------MPIO Controller AIX Controller AIX MPIO path path MPIO host target HBA path status type path HBA port priority--------- ----------- ------ ------ ----------- ----------Enabled primary path0 fcs0 0a 1 Enabled secondary path1 fcs0 0a 1 Enabled primary path2 fcs0 1c 1 Enabled secondary path3 fcs0 1a 1 Enabled primary path4 fcs2 0b 1 Enabled secondary path5 fcs2 0b 1 Enabled primary path6 fcs2 1a 1 Enabled secondary path7 fcs2 1c 1ONTAP_PATH: FAS6220-2A:/vol/lun1_aix_tsm_vol/aix_tsm_00 LUN: 0LUN Size: 500.1g (536952700928)Host Device: hdisk4LUN State: GOODController_CF_State: Cluster EnabledController Partner: FAS6220-2BMultipath Provider: AIX NativeMultipathing Algorithm: round_robin--------- ----------- ------ ------ ----------- ----------MPIO Controller AIX Controller AIX MPIO path path MPIO host target HBA path status type path HBA port priority--------- ----------- ------ ------ ----------- ----------Enabled primary path0 fcs0 0a 1 Enabled secondary path1 fcs0 0a 1 Enabled primary path2 fcs0 1c 1 Enabled secondary path3 fcs0 1a 1 Enabled primary path4 fcs2 0b 1Enabled secondary path5 fcs2 0b 1 Enabled primary path6 fcs2 1a 1 Enabled secondary path7 fcs2 1c 1ONTAP_PATH: FAS6220-2A:/vol/lun1_aix_tsm_vol/aix_tsm_07 LUN: 7LUN Size: 500.1g (536952700928)Host Device: hdisk11LUN State: GOODController_CF_State: Cluster EnabledController Partner: FAS6220-2BMultipath Provider: AIX NativeMultipathing Algorithm: round_robin--------- ----------- ------ ------ ----------- ----------MPIO Controller AIX Controller AIX MPIO path path MPIO host target HBA path status type path HBA port priority--------- ----------- ------ ------ ----------- ----------Enabled primary path0 fcs0 0a 1 Enabled secondary path1 fcs0 0a 1 Enabled primary path2 fcs0 1c 1 Enabled secondary path3 fcs0 1a 1 Enabled primary path4 fcs2 0b 1 Enabled secondary path5 fcs2 0b 1 Enabled primary path6 fcs2 1a 1 Enabled secondary path7 fcs2 1c 1ONTAP_PATH: FAS6220-2A:/vol/lun1_aix_tsm_vol/aix_tsm_06 LUN: 6LUN Size: 500.1g (536952700928)Host Device: hdisk10LUN State: GOODController_CF_State: Cluster EnabledController Partner: FAS6220-2BMultipath Provider: AIX NativeMultipathing Algorithm: round_robin--------- ----------- ------ ------ ----------- ----------MPIO Controller AIX Controller AIX MPIO path path MPIO host target HBA path status type path HBA port priority--------- ----------- ------ ------ ----------- ----------Enabled primary path0 fcs0 0a 1Netapp存储映射到AIX操作系统操作手册Enabled secondary path1 fcs0 0a 1Enabled primary path2 fcs0 1c 1Enabled secondary path3 fcs0 1a 1Enabled primary path4 fcs2 0b 1Enabled secondary path5 fcs2 0b 1Enabled primary path6 fcs2 1a 1Enabled secondary path7 fcs2 1c 1[tsm2:/opt/NetApp/santools/bin#][tsm2:/opt/NetApp/santools/bin#]11 / 11。

相关主题