Professional Documents
Culture Documents
Version: 1.0
Updated: April, 2016
Abstract:
This document describes that how to configure the fiber channel
MPIO in IBM AIX with Infortrend EonStor DS family.
Copyright © 2016 Infortrend Technology, Inc. All rights reserved. Infortrend, ESVA, EonStor, EonNAS, and EonPath are trademarks or
registered trademarks of Infortrend. All other marks and names mentioned herein may be trademarks of their respective owners. The
information contained herein is subject to change without notice. Content provided as is, without express or implied warranties of any kind.
Setting up IBM AIX fiber channel MPIO in Infortrend EonStor DS
Table of Contents
Environment requirement ......................................................................................................... 3
AIX requirement .................................................................................................................... 3
Storage requirement ............................................................................................................. 3
Steps for setting up the native MPIO........................................................................................ 4
Checking the AIX system status ........................................................................................... 4
Starting the setting ................................................................................................................ 5
Test ..................................................................................................................................... 14
Appendix ................................................................................................................................... 17
Environment requirement
AIX requirement
All AIX versions are supported, and the following version has been verified: AIX 6.1 ML4
Storage requirement
All EonStor DS Family models equipped with fiber channel adapters are supported. To use the fiber channel
for MPIO configuration, make sure there are two fiber channel adapters installed in the IBM AIX server. To
verify that the adapters are ready, type command “lsdev -Cc adapter”, and fcs0 and fcs1 should show up with
status “available”.
2. Modify the shell file “aixmpio.sh” as shown in the example text box below.
#!/bin/ksh
odmadd << \! /* one space each after “odmadd” and “<<” */
PdAt:
uniquetype = "disk/fcp/mpioosdisk"
attribute = "mpio_model_map"
deflt = "0808IFT " /* five spaces after “0808IFT */
values = "041480"
width = ""
type = "R"
generic = ""
rep = "s"
nls_index = 0
!
Copyright © 2016 Infortrend Technology, Inc. All rights reserved. Page 5 / 18
Infortrend VMware Solution – Best Practice
Setting up IBM AIX fiber channel MPIO in Infortrend EonStor DS
3. Execute the shell file “aixmpio.sh” using command “./aixmpio.sh” or “bash aixmpio.sh”
4. Type command “bosboot –a” after changing the permission of shell file “aixmpio.sh”
# cat aixmpio.sh
#!/bin/ksh
odmadd << \!
PdAt:
uniquetype="disk/fcp/mpioosdisk"
attribute="mpio_model_map"
deflt="0808IFT "
values="041480"
width=""
type="R"
generic=""
rep="s"
nls_index=0
!
5. Type the command below to check if the fiber channel configuration for AIX MPIO is being set
successfully.
Command: odmget -q uniquetype=disk/fcp/mpioosdisk PdAt | grep deflt
deflt = "simple"
deflt = "yes"
deflt = "no"
deflt = "no"
deflt = "30"
deflt = "60"
deflt = "0x40000"
deflt = "120"
deflt = "28800"
deflt = "28800"
deflt = "0x00100000"
deflt = ""
deflt = ""
deflt = "single_path"
deflt = "PCM/friend/fcpother"
deflt = "080EHITACHI OPEN-3/HITACHI OPEN-8/HITACHI OPEN-9/HITACHI OPEN-E/HITACHI
OPEN-K/HITACHI OPEN-L/HITACHI OPEN-M/HITACHI OPEN-V"
deflt = "080EHITACHI 3380-K/HITACHI 3390-3/HITACHI 6586-K/HITACHI 6588-3"
deflt = "0811HITACHI OP-C-3380/HITACHI OP-C-3390/HITACHI OP-C-6586/HITACHI OP-C-6588"
deflt = "0811EMC SYMMETRIX"
deflt = "080CIBM 2105"
deflt = "240C"
deflt = "0"
deflt = "080CIBM 1750"
deflt = "080CIBM 2107"
deflt = "080CIBM 2145"
deflt = "0808DGC ,B102CX/AX"
deflt = "080BNETAPP LUN,6004N370/N330/N360/N520/N530/N550/N560/N760/N770/N780/N790"
deflt = "080BNETAPP
LUN,60062859-A/2862-A/2863-A/2864-A/2865-A/2866-A/2867-A/2868-A/2869-A"
deflt = "080BNETAPP LUN,6006FAS270"
deflt = "080BNETAPP LUN,6007FAS2020/FAS2050/FAS3020/FAS3040"
deflt = "080BNETAPP LUN,6007FAS3050/FAS3070/FAS6030/FAS6040/FAS6070/FAS6080"
deflt = "yes"
deflt = "0808IFT "
6. Type the command below to check if the fiber channels are connectable.
“fcstat fcs0” and “fcstat fcs1”
# fcstat fcs0
FC-4 TYPES:
Supported: 0x0000012000000000000000000000000000000000000000000000000000000000
Active: 0x0000010000000000000000000000000000000000000000000000000000000000
Class of Service: 3
Port Speed (supported): 4 GBIT
Port Speed (running): 4 GBIT
Port FC ID: 0x000001
Port Type: Private Loop
LIP Count: 0
NOS Count: 0
Error Frames: 0
Dumped Frames: 0
Link Failure Count: 61
Loss of Sync Count: 11
Loss of Signal: 6
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 478
Invalid CRC Count: 0
# fcstat fcs1
FC-4 TYPES:
Supported: 0x0000012000000000000000000000000000000000000000000000000000000000
Active: 0x0000010000000000000000000000000000000000000000000000000000000000
Class of Service: 3
Port Speed (supported): 4 GBIT
Port Speed (running): 4 GBIT
Port FC ID: 0x000001
Port Type: Private Loop
LIP Count: 0
NOS Count: 0
Error Frames: 1
Dumped Frames: 0
Link Failure Count: 82
Loss of Sync Count: 12
Loss of Signal: 6
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 9
Invalid CRC Count: 1
# cfgmgr
# lsdev -Cc disk
# lspv
hdisk0 000f90afbee846db rootvg active
hdisk1 000f90af727893c6 ift active
# smitty mpio
Test
a) Build volume group “smitty vg” using “hdiskN”. Type command: smitty mkvg
# smitty mkvg
e) Mount the testing logical volume to the directory “ift”. Command: mount /ift
# mount /ift
f) Create data under the directory “ift”, then check which fiber channel it is currently using.
Command:
iostat -a 1 | grep fcs0
iostat -a 1 | grep fcs1
g) Unplug the fiber optic line which is doing the “write” operation. The data transfer will switch to another
line within 20-30 seconds. Re-plug the fiber optic line that you just unplugged and the data transfer
will return to the original fiber channel within 30 seconds
Appendix
shutdown –Fr #restart AIX server
lscfg –vpl fcsN # Check corresponding slots of the fiber channel adapters
Part Number....................LP11002-M4
Serial Number.................VM64816748
Network Address.............10000000C95EA09A
ROS Level and ID............02C8211A
Device Specific.(Z0)........1036406D
Device Specific.(Z1)........00000000
Device Specific.(Z2)........00000000
Device Specific.(Z3)........03000909
Device Specific.(Z4)........FFC0115A
Device Specific.(Z5)........02C8211A
Device Specific.(Z6)........06C1211A
Device Specific.(Z7)........07C1211A
Device Specific.(Z8)........20000000C95EA09A
Device Specific.(Z9)........BS2.10A10
Device Specific.(ZA)........B1F2.10A10
Device Specific.(ZB)........B2F2.10A10
Device Specific.(YL)........P1-I1/Q1
PLATFORM SPECIFIC
Name: fibre-channel
Model: LP11002-M4
Node: fibre-channel@b
Device Type: fcp
Physical Location: P1-I1/Q1
# lscfg -vpl fcs1
fcs1 P1-I1/Q2 FC Adapter
Part Number.................LP11002-M4
Serial Number...............VM64816748
Network Address.............10000000C95EA09B
ROS Level and ID............02C8211A
Device Specific.(Z0)........1036406D
Device Specific.(Z1)........00000000
Device Specific.(Z2)........00000000
Device Specific.(Z3)........03000909
Device Specific.(Z4)........FFC0115A
Device Specific.(Z5)........02C8211A
Device Specific.(Z6)........06C1211A
Device Specific.(Z7)........07C1211A
Device Specific.(Z8)........20000000C95EA09B
Device Specific.(Z9)........BS2.10A10
Device Specific.(ZA)........B1F2.10A10
Device Specific.(ZB)........B2F2.10A10
Device Specific.(YL)........P1-I1/Q2
PLATFORM SPECIFIC
Name: fibre-channel
Model: LP11002-M4
Node: fibre-channel@b,1
Device Type: fcp
Physical Location: P1-I1/Q2