Netapp存储映射到AIX操作系统操作手册.docx
《Netapp存储映射到AIX操作系统操作手册.docx》由会员分享,可在线阅读,更多相关《Netapp存储映射到AIX操作系统操作手册.docx(16页珍藏版)》请在冰点文库上搜索。
Netapp存储映射到AIX操作系统操作手册
Netapp存储映射到AIX操作系统操作手册
Netapp存储属于中高端的存储系统,它的FAS6220系统属于常见的带有FC和NAS功能的综合性存储,今天记录并讲解如何在AIX系统安装并操作NetAPP的多路径软件和lun磁盘的识别,查看;
步骤如下;
1,解压软件包tar.z
Zcatntap_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/MPIONetApp.MPIO_Host_Utilities_Kit
+-----------------------------------------------------------------------------+
Pre-installationVerification...
+-----------------------------------------------------------------------------+
Verifyingselections...done
Verifyingrequisites...done
Results...
SUCCESSES
---------
listedinthissectionpassedpre-installationverification
andwillbeinstalled.
Selected
-----------------
NetApp.MPIO_Host_Utilities_Kit.config5.1.0.0#NetAppMPIOPCMHostUtilitiesKitPathConfigTool
NetApp.MPIO_Host_Utilities_Kit.fcp5.1.0.0#NetAppMPIOPCMHostUtiliti...
NetApp.MPIO_Host_Utilities_Kit.iscsi5.1.0.0#NetAppMPIOPCMHostUtilitiesKitiSCSIDiskODMStanzas
NetApp.MPIO_Host_Utilities_Kit.pcmodm5.1.0.0#NetAppMPIOPCMHostUtilitiesKitPCMFriendODMStanzas
<>
+-----------------------------------------------------------------------------+
BUILDDATEVerification...
+-----------------------------------------------------------------------------+
Verifyingbuilddates...done
STATISTICS
------------------
4Selectedtobeinstalled,ofwhich:
4Passedpre-installationverification
----
4Totaltobeinstalled
0503-409installp:
bosbootverificationstarting...
installp:
bosbootverificationcompleted.
+-----------------------------------------------------------------------------+
InstallingSoftware...
+-----------------------------------------------------------------------------+
installp:
APPLYINGsoftwarefor:
NetApp.MPIO_Host_Utilities_Kit.pcmodm5.1.0.0
NetApp.MPIO_Host_Utilities_Kit.iscsi5.1.0.0
NetApp.MPIO_Host_Utilities_Kit.fcp5.1.0.0
NetApp.MPIO_Host_Utilities_Kit.config5.1.0.0
.....<>.......
Copyright(c)2003-2010NetApp,Inc.
.....<>....
sysck:
3001-036WARNING:
File
/opt/NetApp/MPIO_Host_Utilities_Kit/NOTICE.PDF
isalsoownedbyNetApp.MPIO_Host_Utilities_Kit.iscsi.
sysck:
3001-036WARNING:
File
/opt/NetApp/MPIO_Host_Utilities_Kit/NOTICE.TXT
isalsoownedbyNetApp.MPIO_Host_Utilities_Kit.iscsi.
Finishedprocessingall.(Totaltime:
6secs).
0503-409installp:
bosbootverificationstarting...
installp:
bosbootverificationcompleted.
0503-408installp:
bosbootprocessstarting...
bosboot:
Bootimageis42972512byteblocks.
0503-292Thisupdatewillnotfullytakeeffectuntilaftera
systemreboot.
***ATTENTION***
Systembootimagehasbeenupdated.Youshouldrebootthe
systemassoonaspossibletoproperlyintegratethechanges
andtoavoiddisruptionofcurrentfunctionality.
installp:
bosbootprocesscompleted.
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
InstallationSummary
--------------------
NameLevelPartEventResult
-------------------------------------------------------------------------------
NetApp.MPIO_Host_Utilities_5.1.0.0USRAPPLYSUCCESS
NetApp.MPIO_Host_Utilities_5.1.0.0USRAPPLYSUCCESS
NetApp.MPIO_Host_Utilities_5.1.0.0USRAPPLYSUCCESS
NetApp.MPIO_Host_Utilities_5.1.0.0USRAPPLYSUCCESS
[tsm2:
/tmp/ntap_aix_host_utilities_5.1/MPIO#]lslpp-l|grep-inetapp
NetApp.MPIO_Host_Utilities_Kit.config
5.1.0.0COMMITTEDNetAppMPIOPCMHostUtilities
NetApp.MPIO_Host_Utilities_Kit.fcp
5.1.0.0COMMITTEDNetAppMPIOPCMHostUtilities
NetApp.MPIO_Host_Utilities_Kit.iscsi
5.1.0.0COMMITTEDNetAppMPIOPCMHostUtilities
NetApp.MPIO_Host_Utilities_Kit.pcmodm
5.1.0.0COMMITTEDNetAppMPIOPCMHostUtilities
[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#]ls
MPIOSANSAN_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/MPIONetApp.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#]ls
NetApp.SAN_toolkit
[tsm2:
/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#]installp-aXYd/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_KitNetApp.SAN_toolkit
+-----------------------------------------------------------------------------+
Pre-installationVerification...
+-----------------------------------------------------------------------------+
Verifyingselections...done
Verifyingrequisites...done
Results...
SUCCESSES
---------
listedinthissectionpassedpre-installationverification
andwillbeinstalled.
Selected
-----------------
NetApp.SAN_toolkit.sanlun5.1.0.0#NetAppSANToolkitsanlun
<>
+-----------------------------------------------------------------------------+
BUILDDATEVerification...
+-----------------------------------------------------------------------------+
Verifyingbuilddates...done
STATISTICS
------------------
1Selectedtobeinstalled,ofwhich:
1Passedpre-installationverification
----
1Totaltobeinstalled
+-----------------------------------------------------------------------------+
InstallingSoftware...
+-----------------------------------------------------------------------------+
installp:
APPLYINGsoftwarefor:
NetApp.SAN_toolkit.sanlun5.1.0.0
.....<>.......
Copyright(c)2003-2010NetApp,Inc.
.....<>....
Finishedprocessingall.(Totaltime:
1secs).
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
InstallationSummary
--------------------
NameLevelPartEventResult
-------------------------------------------------------------------------------
NetApp.SAN_toolkit.sanlun5.1.0.0USRAPPLYSUCCESS
[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#]whichsanlun
/usr/bin/sanlun
[tsm2:
/tmp/ntap_aix_host_utilities_5.1/SAN_Tool_Kit#]cd/opt/NetApp
[tsm2:
/opt/NetApp#]ls
MPIO_Host_Utilities_Kitsantools
[tsm2:
/opt/NetApp#]cdsantools
[tsm2:
/opt/NetApp/santools#]ls
NOTICE.PDFNOTICE.TXTbinman
[tsm2:
/opt/NetApp/santools#]cdbin
[tsm2:
/opt/NetApp/santools/bin#]ls
san_versionsanlun
[tsm2:
/opt/NetApp/santools/bin#]sanlunlunshow
nocontrollerLUNsavailable
[tsm2:
/opt/NetApp/santools/bin#]
[tsm2:
/opt/NetApp/santools/bin#]
[tsm2:
/opt/NetApp/santools/bin#]cfgmgr-v#存储那边配置好,映射好后,AIX开始扫描
cfgmgrisrunninginphase2
[tsm2:
/opt/NetApp/santools/bin#]
[tsm2:
/opt/NetApp/santools/bin#]
[tsm2:
/opt/NetApp/santools/bin#]lspv
hdisk000c59412a7d7466arootvgactive
hdisk100c3afa442c5c5f6rootvgactive
hdisk2noneNone
hdisk3noneNone
hdisk4noneNone
hdisk5noneNone
hdisk6noneNone
hdisk7noneNone
hdisk8noneNone
hdisk9noneNone
hdisk10noneNone
hdisk11noneNone
[tsm2:
/opt/NetApp/santools/bin#]用sanlun命令查看
其实还需要设置磁盘属性,要看netapp的官方文档设置deep,queue_depth等;
[tsm2:
/opt/NetApp/santools/bin#]sanlunlunshow
controller:
lun-pathnamedeviceadapterprotocollunsizelunstate
FAS6220-2A:
/vol/lun1_aix_tsm_vol/aix_tsm_06hdisk10fcs0FCP500.1g(536952700928)GOOD
FAS6220-2A:
/vol/lun1_aix_tsm_vol/aix_tsm_07hdisk11fcs0FCP500.1g(536952700928)GOOD
FAS6220-2A:
/vol/lun1_aix_tsm_vol/aix_tsm_00hdisk4fcs0FCP500.1g(536952700928)GOOD
FAS6220-2A:
/vol/lun1_aix_tsm_vol/aix_tsm_01hdisk5fcs0FCP500.1g(536952700928)GOOD
FAS6220-2A:
/vol/lun1_aix_tsm_vol/aix_tsm_02hdisk6fcs0FCP500.1g(536952700928)GOOD
FAS6220-2A:
/vol/lun1_aix_tsm_vol/aix_tsm_03hdisk7fcs0FCP500.1g(536952700928)GOOD
FAS6220-2A:
/vol/lun1_aix_tsm_vol/aix_tsm_04hdisk8fcs0FCP500.1g(536952700928)GOOD
FAS6220-2A:
/vol/lun1_aix_tsm_vol/aix_tsm_05hdisk9fcs0FCP500.1g(536952700928)GOOD
[tsm2:
/opt/NetApp/santools/bin#]lsdev-Ccdisk
hdisk0Available01-08-00SASDiskDrive
hdisk1Available01-08-00SASDiskDrive
hdisk2Available01-08-00SASDiskDrive
hdisk3Available01-08-00SASDiskDrive
hdisk4Available05-00-02MPIONetAppFCPDefaultPCMDisk
hdisk5Available05-00-02MPIONetAppFCPDefaultPCMDisk
hdisk6Available05-00-02MPIONetAppFCPDefaultPCMDisk
hdisk7Available05-00-02MPIONetAppFCPDefaultPCMDisk
hdisk8Available05-00-02MPIONetAppFCPDefaultPCMDisk
hdisk9Available05-00-02MPIONetAppFCPDefaultPCMDisk
hdisk10Available05-00-02MPIONetAppFCPDefaultPCMDisk
hdisk11Available05-00-02MPIONetAppFCPDefaultPCMDisk
[tsm2:
/opt/NetApp/santools/bin#]sanlunlunshow-p#-p参数查看多路径状态
ONTAP_PATH:
FAS6220-2A:
/vol/lun1_aix_tsm_vol/aix_tsm_05
LUN:
5
LUNSize:
500.1g(536952700928)
HostDevice:
hdisk9
LUNState:
GOOD
Controller_CF_State:
ClusterEnabled
ControllerPartner:
FAS6220-2B
MultipathProvider:
AIXNative
MultipathingAlgorithm:
round_robin
---------------