统计计算课堂讲义打印版 - pku.edu.cn€¦ · 第一章 绪论 1.1 介绍 1.1.1 统计计算的范畴 统计计算的范畴 • 统计学的真正广泛应用得益于计算机信息技术的发展。
SAN 存储在 AIX 系统下的主机连通性指...
Transcript of SAN 存储在 AIX 系统下的主机连通性指...
-
SAN AIX
OceanStor Storage
AIX
2017-08-15
-
2017 08 15
20170815011
SAN AIX 2 , 108
518129
http://www.huawei.com
2017
http://www.huawei.com/
-
2017 08 15
20170815011
SAN AIX 3 , 108
1 ................................................................................................................................ 11
1.1 AIX ........................................................................................................................................................ 11
1.2 AIX ................................................................................................................................................ 11
1.3 AIX ................................................................................................................................................ 13
1.4 ................................................................................................................................... 14
1.4.1 ............................................................................................................................................. 14
1.5 ....................................................................................................................................................... 14
1.6 ........................................................................................................................... 15
1.6.1 .............................................................................................................................. 16
1.6.2 .............................................................................................................. 16
1.6.3 .................................................................................................................. 16
1.7 AIX ...................................................................................................................... 17
1.8 AIX .................................................................................................................. 17
2 ........................................................................................................................................ 19
2.1 ........................................................................................................................................... 19
2.1.1 FC ............................................................................................................................................. 19
2.1.2 iSCSI ........................................................................................................................................ 22
2.2 ............................................................................................................................................... 22
2.2.1 FC ............................................................................................................................................. 23
3 ................................................................................................................... 25
3.1 ............................................................................................................................................... 25
3.2 ............................................................................................................................... 26
3.3 HBA .......................................................................................................................................... 27
3.3.1 HBA ................................................................................................................................. 27
3.3.2 HBA WWN .................................................................................................................................. 27
3.3.3 HBA ............................................................................................................. 28
3.3.4 HBA ............................................................................................................. 29
3.3.5 HBA ..................................................................................................................................... 29
4 ................................................................................................................... 30
-
2017 08 15
20170815011
SAN AIX 4 , 108
5 ........................................................................................................................ 31
5.1 ................................................................................................................................................... 31
5.1.1 .................................................................................................................................. 31
5.1.2 Zone ............................................................................................................................................. 33
5.1.3 ............................................................................................................................................. 36
5.2 ............................................................................................................................................... 36
5.2.1 VLAN .......................................................................................................................................... 36
5.2.2 ...................................................................................................................... 37
5.3 FCoE ................................................................................................................................................. 38
5.3.2 ............................................................................................................................................. 39
5.3.3 VSAN .......................................................................................................................................... 41
5.3.4 VLAN ......................................................................................................................................... 43
5.3.5 VLAN .................................................................................................................. 44
5.3.6 Zone .................................................................................................................... 44
5.3.7 Zoneset Zone ............................................................................................................... 46
6 FC ................................................................................................................................ 48
6.1 ............................................................................................................................................... 48
6.2 ................................................................................................................................................... 49
6.3 ....................................................................................................................................................... 50
7 iSCSI ........................................................................................................................... 51
7.1 ................................................................................................................................... 51
7.2 IP ................................................................................................................................................. 53
7.2.1 ............................................................................................................................................. 53
7.2.2 ............................................................................................................................................. 55
7.3 ................................................................................................................................... 56
7.4 ................................................................................................................................... 58
7.5 ....................................................................................................................................... 58
7.6 ....................................................................................................................................................... 65
7.6.1 ............................................................................................................................................. 66
7.6.2 .......................................................................................................................................... 66
7.6.3 .......................................................................................................................................... 67
7.6.4 .............................................................................................................................. 68
8 LUN ........................................................................................................................... 70
8.1 LUN ................................................................................................................................. 70
8.1.1 OceanStor T V1 .................................................................................................................... 70
8.1.2 OceanStor 18000/T V2/V3/Dorado V3 ................................................................................ 70
8.2 LUN .................................................................................................................................. 72
9 ............................................................................................................................ 74
-
2017 08 15
20170815011
SAN AIX 5 , 108
9.1 ............................................................................................................................................................... 74
9.2 UltraPath ........................................................................................................................................................ 74
9.2.1 UltraPath .......................................................................................................................... 74
9.2.2 UltraPath .......................................................................................................................... 75
9.3 MPIO .............................................................................................................................................................. 75
9.3.1 ...................................................................................................... 75
9.3.2 ...................................................................................................... 86
10 ...................................................................................................................... 89
10.1 LVM ............................................................................................................................................................. 89
10.1.1 ................................................................................................................................................... 89
10.1.2 ................................................................................................................................................... 90
10.1.3 .................................................................................................................................... 90
10.2 VxVM .......................................................................................................................................................... 97
10.2.1 ................................................................................................................................................... 97
10.2.2 ................................................................................................................................................... 98
10.2.3 .................................................................................................................................... 98
11 ................................................................................................................ 102
11.1 ........................................................................................................................................................... 102
11.2 ........................................................................................................................................... 102
11.3 ............................................................................................................................................... 103
11.4 ................................................................................................................................................... 103
11.4.1 .................................................................................................................................. 103
11.4.2 .................................................................................................................................. 105
12 ........................................................................................................................................ 107
-
2017 08 15
20170815011
SAN AIX 6 , 108
1-1 JFS2 JFS .............................................................................................................................. 12
1-2 32 64 AIX JFS2 size limits ............................................................................ 13
1-3 SMIT ................................................................................................................................ 14
1-4 ...................................................................................................................................... 17
2-1 FC ............................................................................................. 20
2-2 FC ............................................................................................. 20
2-3 FC ......................................................................................... 21
2-4 FC ......................................................................................... 22
2-5 FC ......................................................................................... 23
2-6 FC ......................................................................................... 24
3-1 limits ........................................................................................................................ 26
5-1 Switch information.................................................................................................................................... 32
5-2 .......................................................................................................................... 33
5-3 Zone ......................................................................................................................................... 34
5-4 Zone ......................................................................................................................................... 34
5-5 Zone Config ............................................................................................................................. 35
5-6 Name Server ............................................................................................................................. 35
5-7 FCoE ............................................................................................................................ 39
6-1 FC ..................................................................................................................................... 48
6-2 OceanStor 18000/T V2/V3/Dorado V3 FC ..................................................... 49
7-1 ...................................................................................................................................... 52
7-2 ......................................................................................................................................... 52
7-3 IP ...................................................................................................................................... 54
7-4 IP ...................................................................................................................................... 55
7-5 ......................................................................................................................................... 56
-
2017 08 15
20170815011
SAN AIX 7 , 108
7-6 iSCSI ................................................................................................................................ 57
7-7 ISM iSCSI ........................................................................................................... 65
9-1 .................................................................................................................................. 81
9-2 .................................................................................................................. 81
9-3 .................................................................................................................................. 82
9-4 .................................................................................................................................. 84
9-5 MPIO .............................................................................................................................. 84
9-6 IO ............................................................................................................................... 85
9-7 ................................................................................................................................................. 85
9-8 T Series V100R005/Dorado2100/Dorado5100/Dorado2100 G2 ALUA ................................ 86
9-9 T Series V200R002/18000 Series/V3 Series/18000 V3 Series ALUA .................................. 87
9-10 MPIO ............................................................................................................................ 87
9-11 IO ......................................................................................................................................... 88
10-1 AIX ............................................................................................................................................ 89
10-2 ....................................................................................................................................... 91
10-3 .................................................................................................................................... 93
10-4 ................................................................................................ 94
10-5 ................................................................................................ 95
11-1 .................................................................................................................................. 104
11-2 .................................................................................................................................. 105
-
2017 08 15
20170815011
SAN AIX 8 , 108
1-1 AIX ............................................................................................................................... 13
1-2 AIX ....................................................................................................................................... 14
2-1 ................................................................................................................................................. 19
5-1 .............................................................................................................................. 32
5-2 .................................................................................................................................. 37
7-1 ............................................................................................................................................. 67
7-2 ............................................................................................................................................. 68
9-1 ......................................................................................................................................... 78
9-2 ...................................................................................................................................... 78
9-3 AIX ....................................................................................................... 82
9-4 AIX ........................................................................................................... 83
10-1 VG .............................................................................................................................................. 90
11-1 HACMP AIX ........................................................................................................... 102
-
2017 08 15
20170815011
SAN AIX 9 , 108
SAN AIXAdvanced Interactive eXecutive
Block Label
-
2017 08 15
20170815011
SAN AIX 10 , 108
Terminal Display
Terminal Display
C:\Program Files\Huawei
-
2017 08 15
20170815011
SAN AIX 11 , 108
1 1.1 AIX
AIX IBM UNIX Open group UNIX 98 The
Open Group UNIX 98 Base Brand32-64-
IBM ~ p IBM RS/6000
AIX IBM UNIX AIX5.2AIX5.3
AIX6.1AIX7.1 AIX7.2
IBM http://www-03.ibm.com/systems/cn/power/software/aix/index.shtml.
AIX AIX
OracleSybaseDB2
1.2 AIX
AIX
JFSJournaled File System
JFS2Enhanced Journaled File System
NFSNetwork File System
CDRFSCD-ROM File System
CD-ROM CD-ROM
http://www-03.ibm.com/systems/cn/power/software/aix/index.shtml
-
2017 08 15
20170815011
SAN AIX 12 , 108
UNIX
AIX
() JFS log
AIX
JFS JFS2 1-1
1-1 JFS2 JFS
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.baseadm
n/doc/baseadmndita/fs_jfs_jfs2.htm
AIX6.1 64 AIX5.1/5.2/5.3 32
64 JFS2
1-2
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.baseadmn/doc/baseadmndita/fs_jfs_jfs2.htmhttp://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.baseadmn/doc/baseadmndita/fs_jfs_jfs2.htm
-
2017 08 15
20170815011
SAN AIX 13 , 108
1-2 32 64 AIX JFS2 size limits
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.baseadm
n/doc/baseadmndita/jfs2sizelim.htm
1.3 AIX
AIX UNIX
AIX 1-1
1-1 AIX
/ UNIX /sbin
/dev/etc
/etc
/dev
/home root
/u AIX /home
/tmp
/usr AIX
/var
/opt
/admin AIX
/sbin /usr
/lost+found fsck
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.baseadmn/doc/baseadmndita/jfs2sizelim.htmhttp://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.baseadmn/doc/baseadmndita/jfs2sizelim.htm
-
2017 08 15
20170815011
SAN AIX 14 , 108
1.4
1.4.1
SMITSystem Management Interface Tools AIX
SMIT 1-3 SMIT
AIX
1-3 SMIT
1.5
1-2
1-2 AIX
bootinfo -s hdisk# hdisk#
cfgmgr -v
-
2017 08 15
20170815011
SAN AIX 15 , 108
chdev -l fcs# -a
max_xfer_size=0x1000000 fcs# max_xfer_size
chfs
lsattr -EHl fcs# fcs#
lsattr -EHl fscsi# fscsi#
lsattr -El hdisk# hdisk#
lsattr -Rl fcs# -a
max_xfer_size fcs# max_xfer_size
lscfg -vpl fcs# fcs#
lscfg -vpl hdisk# hdisk#
lscfg | grep scsi scsi
lsdev -Cc adapter
lsdev -Cc disk
lslpp -l
lsvg -l vgname
lsvg -o
mount
varyonvg vgname
varyoffvg vgname
#
1.6
AIX AAAA-BB-CC-DDEE5300-08-06-0919
AAAA AIX
BB TL
CC SP
DDEEDD EE
AIX 6.1TL6 SP3 2010 48
6100-06-03-1048
-
2017 08 15
20170815011
SAN AIX 16 , 108
1.6.1
bash-3.00# oslevel -s
6100-05-01-1016
bash-3.00#
1.6.2
bash-3.00# oslevel -rl 6100-06
Fileset Actual Level Recommended ML
-----------------------------------------------------------------------------
Java5.ext.java3d 5.0.0.1 5.0.0.175
printers.epsonLQ1600K_CN.rte 6.1.0.0 6.1.6.0
printers.escpj84_JP.rte 6.1.0.0 6.1.6.0
printers.hindi.rte 6.1.0.0 6.1.6.0
printers.hplj-2p_CN.rte 6.1.0.0 6.1.6.0
printers.ibm4332_HI.rte 6.1.0.0 6.1.6.0
printers.ibmgb18030_CN.rte 6.1.0.0 6.1.6.0
printers.ibmuniversal.rte 6.1.0.0 6.1.6.0
printers.starAR2463_CN.rte 6.1.0.0 6.1.6.0
bash-3.00#
6100-06
1.6.3
bash-3.00# lslpp -L UltraPath-3.01.015.AIX6.1.ppc_64.rte
Fileset Level State Type Description (Uninstaller)
----------------------------------------------------------------------------
UltraPath-3.01.015.AIX6.1.ppc_64.rte
3.1.15.1 C F ODM definitions for Array disk
devices
State codes:
A -- Applied.
B -- Broken.
C -- Committed.
E -- EFIX Locked.
O -- Obsolete. (partially migrated to newer version)
? -- Inconsistent State...Run lppchk -v.
Type codes:
F -- Installp Fileset
P -- Product
C -- Component
T -- Feature
R -- RPM Package
E -- Interim Fix
-
2017 08 15
20170815011
SAN AIX 17 , 108
bash-3.00#
UltraPath-3.01.015.AIX6.1.ppc_64.rte
1.7 AIX
AIX
AIX
1.8 AIX
AIX (AIX HBA
)
1 support-open.huawei.com
2
>
1-4
----
-
2017 08 15
20170815011
SAN AIX 18 , 108
AIX AIX IBM HBA
-
2017 08 15
20170815011
SAN AIX 19 , 108
2 AIX
2-1
FC iSCSI
()
AIX FC
FC FC
2.1
2.1.1 FC
-
2017 08 15
20170815011
SAN AIX 20 , 108
OceanStor S5500T FC AIX
2-1
2-1 FC
HBA
OceanStor 18800 FC AIX
2-2
2-2 FC
HBA
-
2017 08 15
20170815011
SAN AIX 21 , 108
OceanStor S5500T FC AIX
2-3
2-3 FC
Zone
OceanStor 18800 FC AIX
2-4
-
2017 08 15
20170815011
SAN AIX 22 , 108
2-4 FC
Zone
2.1.2 iSCSI
iSCSI
iSCSI
2.2
Zone Zone
-
2017 08 15
20170815011
SAN AIX 23 , 108
2.2.1 FC
OceanStor 6800V3 FC AIX
2-5
2-5 FC
Zone
,
OceanStor 6800V3 FC AIX
2-6
-
2017 08 15
20170815011
SAN AIX 24 , 108
2-6 FC
Zone
,
-
2017 08 15
20170815011
SAN AIX 25 , 108
3 3.1
AIX
//home /usr
10GB
1
bash-3.00# df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 2097152 2071096 2% 2297 1% /
/dev/hd2 4194304 2789996 34% 36955 6% /usr
/dev/hd9var 2097152 2035544 3% 681 1% /var
/dev/hd3 4194304 4174628 1% 70 1% /tmp
/dev/fwdump 131072 130724 1% 4 1% /var/adm/ras/platform
/dev/hd1 4194304 2881680 32% 841 1% /home
/proc - - - - - /proc
/dev/hd10opt 262144 940 100% 2729 76% /opt
/dev/lv00 131072 121988 7% 21 1% /audit
bash-3.00#
2
AIX chfs -a size=
bash-3.00# chfs -a size=5G /tmp
Filesystem size changed to 10485760
bash-3.00#
/tmp 5GB
3
bash-3.00# df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
-
2017 08 15
20170815011
SAN AIX 26 , 108
/dev/hd4 2097152 2071096 2% 2297 1% /
/dev/hd2 4194304 2789996 34% 36955 6% /usr
/dev/hd9var 2097152 2035544 3% 681 1% /var
/dev/hd3 5242880 5223044 1% 70 1% /tmp
/dev/fwdump 131072 130724 1% 4 1% /var/adm/ras/platform
/dev/hd1 4194304 2881680 32% 841 1% /home
/proc - - - - - /proc
/dev/hd10opt 262144 940 100% 2729 76% /opt
/dev/lv00 131072 121988 7% 21 1% /audit
bash-3.00#
----
3.2
AIX 2GB
2GB 2GB
AIX /etc/security/limits fsize
-1 3-1
3-1 limits
bash-3.00# ulimit -a
core file size (blocks, -c) 1048575
data seg size (kbytes, -d) 131072
file size (blocks, -f) unlimited
max memory size (kbytes, -m) 32768
open files (-n) 2000
pipe size (512 bytes, -p) 64
stack size (kbytes, -s) 32768
cpu time (seconds, -t) unlimited
max user processes (-u) 262144
virtual memory (kbytes, -v) unlimited
bash-3.00#
file size unlimited
-
2017 08 15
20170815011
SAN AIX 27 , 108
3.3 HBA
HBAHost Bus Adapter HBA
HBA
3.3.1 HBA
HBA
HBA
bash-3.00# lsdev -Cc adapter |grep fc
fcs0 Available 06-00 4Gb FC PCI Express Adapter (df1000fe)
fcs1 Available 06-01 4Gb FC PCI Express Adapter (df1000fe)
fcs2 Available 05-00 8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)
fcs3 Available 05-01 8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)
bash-3.00#
4 FC 4Gbps
8Gbps HBA 1 4Gbps HBA
8Gbps HBA HBA
HBA
fcs0
3.3.2 HBA WWN
HBA HBA
HBA WWNWorld Wide Name
bash-3.00# lscfg -vpl fcs2
fcs2 U78A0.001.DNWGHBR-P1-C2-T1 8Gb PCI Express Dual Port FC Adapter
(df1000f114108a03)
Part Number.................10N9824
Serial Number...............1B0080484B
Manufacturer................001B
EC Level....................D76482B
Customer Card ID Number.....577D
FRU Number..................10N9824
Device Specific.(ZM)........3
Network Address.............10000000C99B5D94
ROS Level and ID............02781135
Device Specific.(Z0)........31004549
Device Specific.(Z1)........00000000
Device Specific.(Z2)........00000000
Device Specific.(Z3)........09030909
Device Specific.(Z4)........FF781110
Device Specific.(Z5)........02781135
Device Specific.(Z6)........07731135
Device Specific.(Z7)........0B7C1135
Device Specific.(Z8)........20000000C99B5D94
Device Specific.(Z9)........US1.10X5
-
2017 08 15
20170815011
SAN AIX 28 , 108
Device Specific.(ZA)........U2D1.10X5
Device Specific.(ZB)........U3K1.10X5
Device Specific.(ZC)........000000EF
Hardware Location Code......U78A0.001.DNWGHBR-P1-C2-T1
PLATFORM SPECIFIC
Name: fibre-channel
Model: 10N9824
Node: fibre-channel@0
Device Type: fcp
Physical Location: U78A0.001.DNWGHBR-P1-C2-T1
HBA Part Number Customer Card ID Number
WWNNetwork Address
3.3.3 HBA
AIX HBA fcs#
fscsi# AIX
HBA
bash-3.00# lsattr -EHl fcs0
attribute value description user_settable
bus_intr_lvl Bus interrupt level False
bus_io_addr 0xff800 Bus I/O address False
bus_mem_addr 0xffe7e000 Bus memory address False
init_link al INIT Link flags True
intr_msi_1 581 Bus interrupt level False
intr_priority 3 Interrupt priority False
lg_term_dma 0x800000 Long term DMA True
max_xfer_size 0x100000 Maximum Transfer Size True
num_cmd_elems 200 Maximum number of COMMANDS to queue to the adapter True
pref_alpa 0x1 Preferred AL_PA True
sw_fc_class 2 FC Class for Fabric True
bash-3.00#
init_link
FC HBA autoal pt2pt 3
HBA al pt2pt
auto
lg_term_dma
fcs# IO 0x800000 8MB
max_xfer_size
fcs# IO 0x100000 1MB
num_cmd_elems
-
2017 08 15
20170815011
SAN AIX 29 , 108
fcs# IO 200
3.3.4 HBA
HBA
bash-3.00# lsattr -EHl fscsi0
attribute value description user_settable
attach none 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 Adapter SCSI ID False
sw_fc_class 3 FC Class for Fabric True
bash-3.00#
dyntrk
no HBA
fc_err_recov
delayed_fail HBA
3.3.5 HBA
HBA
bash-3.00# lsattr -Rl fcs0 -a max_xfer_size
0x100000
0x200000
0x400000
0x800000
0x1000000
bash-3.00#
fcs0 max_xfer_size 5
bash-3.00# chdev -l fcs0 -a max_xfer_size=0x1000000
lsattr -EHl fcs0
-
2017 08 15
20170815011
SAN AIX 30 , 108
4 RAIDRedundant Array of Independent Disks
LUNLogical Unit Number
-
2017 08 15
20170815011
SAN AIX 31 , 108
5 AIX FC
5.1
BrocadeCisco QLogic Brocade
5.1.1
1 Brocade
Brocade IP Web Tools
admin password
Web Tools Java 1.6
2 Switch Information
Switch Information
-
2017 08 15
20170815011
SAN AIX 32 , 108
5-1 Switch information
Fabric OS version
Type
5-1
5-1
switchType B-Series switch model switchType B-Series switch model
12 3900 61 4424
16 3200 62 Brocade DCX
21 24000 64 5300
26 3850 66 5100
27 3250 67 Brocade Encryption Switch
29 4012 69 5410
34 200E 71 300
37 4020 72 5480
43 4024 75 M5424
44 4900 76 8000
-
2017 08 15
20170815011
SAN AIX 33 , 108
45 4016 77 Brocade DCX-4S
51 4018 83 7800
Ethernet IPv4 IP
Effective Configuration Zone
ss
----
5.1.2 Zone
zone
1 Brocade
2
5-2
5-2
3 Zone Admin
Web Tools Task > Manage > Zone Admin
Zone Admin Manage > Zone Admin
4
Zone Admin Zone Ports&Attached Devices
5-3
-
2017 08 15
20170815011
SAN AIX 34 , 108
5-3 Zone
102,1 102,5
5 Zone
Zone New Zone Zonezy_15
102,1 102,5 zone zone
5-4
5-4 Zone
-
2017 08 15
20170815011
SAN AIX 35 , 108
6 zone
Zone Admin Zone Config Name
cfg
Member Selection List zonezy_15
Save Config Enable Config
Zone Config 5-5
5-5 Zone Config
7
Web Tools Task > Monitor > Name Server
Name Server Monitor > Name Server
Name Server 5-6
5-6 Name Server
1 5 zy_15 zy_15
*
zone
-
2017 08 15
20170815011
SAN AIX 36 , 108
----
5.1.3
Brocade 8Gbps
fill word 0
portcfgfillword 0
Brocade 8Gbps
HP VC 8Gb 20-port FC HP VC FlexFabric 10Gb/24-port
https://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/troubleshootDisplay/
?javax.portlet.prp_efb5c0793523e51970c8fa22b053ce01=wsrp-navigationalState%3DdocId%
3Demr_na-c02619780%7CdocLocale%3Dzh_CN&lang=en&javax.portlet.begCacheTok=co
m.vignette.cachetoken&sp4ts.oid=3984629&javax.portlet.endCacheTok=com.vignette.cachet
oken&javax.portlet.tpst=efb5c0793523e51970c8fa22b053ce01&hpappid=sp4ts&cc=US&ac.a
dmitted=1337927146324.876444892.199480143
5.2
VLAN
5.2.1 VLAN
VLAN Quidway 2700
VLAN
VLANVLAN 1000 VLAN 2000 VLAN 1000
GE 1/0/1 1/0/16VLAN 2000 GE 1/0/20 1/0/24
1
system-view
System View: return to User View with Ctrl+Z.
2 VLAN 1000
[Quidway]VLAN 1000
[Quidway-vlan1000]port GigabitEthernet 1/0/1 to GigabitEthernet 1/0/16
3 VLAN IP
[Quidway-vlan1000]interface VLAN 1000
[Quidway-Vlan-interface1000]ip address 1.0.0.1 255.255.255.0
https://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/troubleshootDisplay/?javax.portlet.prp_efb5c0793523e51970c8fa22b053ce01=wsrp-navigationalState%3DdocId%3Demr_na-c02619780%7CdocLocale%3Dzh_CN&lang=en&javax.portlet.begCacheTok=com.vignette.cachetoken&sp4ts.oid=3984629&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.tpst=efb5c0793523e51970c8fa22b053ce01&hpappid=sp4ts&cc=US&ac.admitted=1337927146324.876444892.199480143https://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/troubleshootDisplay/?javax.portlet.prp_efb5c0793523e51970c8fa22b053ce01=wsrp-navigationalState%3DdocId%3Demr_na-c02619780%7CdocLocale%3Dzh_CN&lang=en&javax.portlet.begCacheTok=com.vignette.cachetoken&sp4ts.oid=3984629&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.tpst=efb5c0793523e51970c8fa22b053ce01&hpappid=sp4ts&cc=US&ac.admitted=1337927146324.876444892.199480143https://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/troubleshootDisplay/?javax.portlet.prp_efb5c0793523e51970c8fa22b053ce01=wsrp-navigationalState%3DdocId%3Demr_na-c02619780%7CdocLocale%3Dzh_CN&lang=en&javax.portlet.begCacheTok=com.vignette.cachetoken&sp4ts.oid=3984629&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.tpst=efb5c0793523e51970c8fa22b053ce01&hpappid=sp4ts&cc=US&ac.admitted=1337927146324.876444892.199480143https://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/troubleshootDisplay/?javax.portlet.prp_efb5c0793523e51970c8fa22b053ce01=wsrp-navigationalState%3DdocId%3Demr_na-c02619780%7CdocLocale%3Dzh_CN&lang=en&javax.portlet.begCacheTok=com.vignette.cachetoken&sp4ts.oid=3984629&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.tpst=efb5c0793523e51970c8fa22b053ce01&hpappid=sp4ts&cc=US&ac.admitted=1337927146324.876444892.199480143https://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/troubleshootDisplay/?javax.portlet.prp_efb5c0793523e51970c8fa22b053ce01=wsrp-navigationalState%3DdocId%3Demr_na-c02619780%7CdocLocale%3Dzh_CN&lang=en&javax.portlet.begCacheTok=com.vignette.cachetoken&sp4ts.oid=3984629&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.tpst=efb5c0793523e51970c8fa22b053ce01&hpappid=sp4ts&cc=US&ac.admitted=1337927146324.876444892.199480143https://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/troubleshootDisplay/?javax.portlet.prp_efb5c0793523e51970c8fa22b053ce01=wsrp-navigationalState%3DdocId%3Demr_na-c02619780%7CdocLocale%3Dzh_CN&lang=en&javax.portlet.begCacheTok=com.vignette.cachetoken&sp4ts.oid=3984629&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.tpst=efb5c0793523e51970c8fa22b053ce01&hpappid=sp4ts&cc=US&ac.admitted=1337927146324.876444892.199480143
-
2017 08 15
20170815011
SAN AIX 37 , 108
4 VLAN2000 IP
[Quidway]VLAN 2000
[Quidway-vlan2000]port GigabitEthernet 1/0/20 to GigabitEthernet 1/0/24
[Quidway-vlan2000]interface VLAN 2000
[Quidway-Vlan-interface2000]ip address 2.0.0.1 255.255.255.0
----
5.2.2
LACP
LACP
5-2
CPU
OceanStor 802.3ad
iSCSI
GE 1/0/1GE 1/0/2 iSCSI P2P3
-
2017 08 15
20170815011
SAN AIX 38 , 108
1 ISM
ISMIntegrated Storage Manager\\
iSCSI
2
ID P2 P3
>
iSCSI
system-view
System View: return to User View with Ctrl+Z.
[Quidway-Switch]interface GigabitEthernet 1/0/1
[Quidway-Switch-GigabitEthernet1/0/19]lacp enable
LACP is already enabled on the port!
[Quidway-Switch-GigabitEthernet1/0/19]quit
[Quidway-Switch]interface GigabitEthernet 1/0/2
[Quidway-Switch-GigabitEthernet1/0/20]lacp enable
LACP is already enabled on the port!
[Quidway-Switch-GigabitEthernet1/0/20]quit
GE 1/0/1 GE 1/0/2 LACP
5.3 FCoE
FCoE FC
Cisco Nexus5548 5-7
-
2017 08 15
20170815011
SAN AIX 39 , 108
5-7 FCoE
5.3.2
SSH
switch# ?
callhome Callhome commands
cd Change current directory
cfs CFS parameters
checkpoint Create configuration rollback checkpoint
clear Reset functions
cli CLI commands
clock Manage the system clock
configure Enter configuration mode
copy Copy from one file to another
debug Debugging functions
debug-filter Enable filtering for debugging functions
delete Delete a file or directory
diff-clean Remove temp files created by '| diff' filters
dir List files in a directory
discover Discover information
dos2nxos DOS to NXOS text file format converter
echo Echo argument back to screen (useful for scripts)
ethanalyzer Configure cisco packet analyzer
event Event Manager commands
fcdomain Fcdomain internal command
fcping Ping an N-Port
fctrace Trace the route for an N-Port.
find Find a file below the current directory
fips Enable/Disable FIPS mode
gunzip Uncompresses LZ77 coded files
gzip Compresses file using LZ77 coding
hardware Change hardware usage settings
install Upgrade software
ip Configure IP features
ipv6 Configure IPv6 features
load Load system image
locator-led Turn on locator beacon
mkdir Create new directory
modem Modem commands
VLAN
VSAN VSAN
VLAN
zone
zoneset
zone
Enable
zoneset
-
2017 08 15
20170815011
SAN AIX 40 , 108
move Move files
mping Run mping
mtrace Trace multicast path from receiver to source
no Negate a command or set its defaults
ntp NTP configuration
ping Test network reachability
ping6 Test IPv6 network reachability
pktmgr Display Packet Manager information
purge Deletes unused data
pwd View current directory
reload Reboot the entire box
restart Manually restart a component
rmdir Delete a directory
rollback Rollback configuration
routing-context Set the routing context
run-script Run shell scripts
san-port-channel Port-Channel related commands
scripting Configure scripting parameters
send Send message to open sessions
setup Run the basic SETUP command facility
show Show running system information
sleep Sleep for the specified number of seconds
sockets Display sockets status and configuration
ssh SSH to another system
system System management commands
system System configuration commands
tac-pac Save tac info in a compressed .gz file at specific location
tail Display the last part of a file
tar Archiving operations
tclsh Source tclsh script
telnet Telnet to another system
telnet6 Telnet6 to another system using IPv6 addressing
terminal Set terminal line parameters
test Test command
traceroute Traceroute to destination
traceroute6 Traceroute6 to destination
undebug Disable Debugging functions (See also debug)
write Write current configuration
xml Xml agent
xml Module XML agent
zone Execute Zone Server commands
zoneset Execute zoneset commands
end Go to exec mode
exit Exit from command interpreter
pop Pop mode from stack or restore from name
push Push current mode to stack or save it under name
where Shows the cli context you are in
switch#
switch# show version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
-
2017 08 15
20170815011
SAN AIX 41 , 108
Documents:
http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html
Copyright (c) 2002-2012, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software are covered under the GNU Public
License. A copy of the license is available at
http://www.gnu.org/licenses/gpl.html.
Software
BIOS: version 3.5.0
loader: version N/A
kickstart: version 5.1(3)N1(1a)
system: version 5.1(3)N1(1a)
power-seq: Module 1: version v1.0
Module 3: version v2.0
uC: version v1.2.0.1
SFP uC: Module 1: v1.0.0.0
BIOS compile time: 02/03/2011
kickstart image file is: bootflash:///n5000-uk9-kickstart.5.1.3.N1.1a.bin
kickstart compile time: 2/7/2012 23:00:00 [02/08/2012 07:49:30]
system image file is: bootflash:///n5000-uk9.5.1.3.N1.1a.bin
system compile time: 2/7/2012 23:00:00 [02/08/2012 12:44:33]
Hardware
cisco Nexus5548 Chassis ("O2 32X10GE/Modular Universal Platform Supervisor")
Intel(R) Xeon(R) CPU with 8263880 kB of memory.
Processor Board ID FOC16256KUW
Device name: switch
bootflash: 2007040 kB
Kernel uptime is 15 day(s), 1 hour(s), 59 minute(s), 8 second(s)
Last reset at 299763 usecs after Wed Feb 18 05:48:07 2009
Reason: Reset Requested by CLI command reload
System version: 5.1(3)N1(1a)
Service:
plugin
Core Plugin, Ethernet Plugin, Fc Plugin
5.3.3 VSAN
Cisco Nexus5548 VSAN
1 FCoE
switch# conf t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# feature fcoe
fcoe fcoe-npv
switch(config)# feature fcoe
switch(config)# show fcoe
-
2017 08 15
20170815011
SAN AIX 42 , 108
Global FCF details
FCF-MAC is 54:7f:ee:b4:f8:20
FC-MAP is 0e:fc:00
FCF Priority is 128
FKA Advertisement period for FCF is 8 seconds
2 VSANshow vsan
switch(config)# show vsan
vsan 1 information
name:VSAN0001 state:active
interoperability mode:default
loadbalancing:src-id/dst-id/oxid
operational state:down
vsan 100 information
name:VSAN0100 state:active
interoperability mode:default
loadbalancing:src-id/dst-id/oxid
operational state:up
vsan 4079:evfp_isolated_vsan
vsan 4094:isolated_vsan
switch(config)# vsan database
switch(config-vsan-db)# vsan 200
switch(config-vsan-db)# exit
switch(config)# show vsan
vsan 1 information
name:VSAN0001 state:active
interoperability mode:default
loadbalancing:src-id/dst-id/oxid
operational state:down
vsan 100 information
name:VSAN0100 state:active
interoperability mode:default
loadbalancing:src-id/dst-id/oxid
operational state:up
vsan 200 information
name:VSAN0200 state:active
interoperability mode:default
loadbalancing:src-id/dst-id/oxid
operational state:down
vsan 4079:evfp_isolated_vsan
vsan 4094:isolated_vsan
----
-
2017 08 15
20170815011
SAN AIX 43 , 108
5.3.4 VLAN
Cisco Nexus5548 VLAN
1 VLAN
switch(config)# show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Eth1/1, Eth1/2, Eth1/4, Eth1/5
Eth1/6, Eth1/7, Eth1/8, Eth1/15
Eth1/21, Eth1/22, Eth1/23
Eth1/24, Eth1/25, Eth1/26
Eth1/27, Eth1/28
100 VLAN0100 active Eth1/1, Eth1/2, Eth1/3, Eth1/4
Eth1/5, Eth1/6, Eth1/7, Eth1/8
Eth1/9, Eth1/10, Eth1/11
Eth1/12, Eth1/13, Eth1/14
Eth1/15, Eth1/16, Eth1/17
Eth1/18, Eth1/19, Eth1/20
VLAN Type Vlan-mode
---- ----- ----------
1 enet CE
100 enet CE
Remote SPAN VLANs
-------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- --------------- -------------------------------------------
2 VLAN
switch(config)# vlan 200
switch(config-vlan)# show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Eth1/1, Eth1/2, Eth1/4, Eth1/5
Eth1/6, Eth1/7, Eth1/8, Eth1/15
Eth1/21, Eth1/22, Eth1/23
Eth1/24, Eth1/25, Eth1/26
Eth1/27, Eth1/28
100 VLAN0100 active Eth1/1, Eth1/2, Eth1/3, Eth1/4
Eth1/5, Eth1/6, Eth1/7, Eth1/8
Eth1/9, Eth1/10, Eth1/11
Eth1/12, Eth1/13, Eth1/14
Eth1/15, Eth1/16, Eth1/17
Eth1/18, Eth1/19, Eth1/20
200 VLAN0200 active Eth1/1, Eth1/2, Eth1/4, Eth1/5
Eth1/6, Eth1/7, Eth1/8, Eth1/15
VLAN Type Vlan-mode
-
2017 08 15
20170815011
SAN AIX 44 , 108
---- ----- ----------
1 enet CE
100 enet CE
200 enet CE
Remote SPAN VLANs
-------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- --------------- -------------------------------------------
----
5.3.5 VLAN
Cisco Nexus5548
1 VLAN
switch (config)# interface ethernet 1/1
switch (config-if)# switchport mode trunk
switch (config-if)# spanning-tree port type edge trunk
2 VFC
switch (config)# interface vfc 1
switch (config-if)# bind interface ethernet 1/1
switch (config-if)# no shutdown
3 VFC VSAN
NEXUS(config)# vsan database
NEXUS(config-vsan-db)# vsan 2 interface vfc 1
----
5.3.6 Zone
Cisco Nexus5548
1 FCoE WWN
switch# show flogi database
--------------------------------------------------------------------------------
INTERFACE VSAN FCID PORT NAME NODE NAME
--------------------------------------------------------------------------------
vfc1 100 0x2b0002 21:00:00:0e:1e:0a:6b:ab 20:00:00:0e:1e:0a:6b:ab
vfc4 100 0x2b0008 21:00:00:c0:dd:13:e2:a1 20:00:00:c0:dd:13:e2:a1
[lzh1]
vfc5 100 0x2b0007 20:00:00:07:43:ab:ce:07 10:00:00:07:43:ab:ce:07
vfc6 100 0x2b0009 21:00:00:c0:dd:13:e2:a3 20:00:00:c0:dd:13:e2:a3
[lzh2]
Total number of flogi = 4.
-
2017 08 15
20170815011
SAN AIX 45 , 108
2 zone
WWN
switch(config)# device-alias database
switch(config-device-alias-db)# device-alias name test1 pwwn 20:00:00:0e:1e:0a:6b:ab
switch(config-device-alias-db)# device-alias name test2 pwwn 10:00:00:07:43:ab:ce:07
switch(config-device-alias-db)# device-alias commit
switch(config-device-alias-db)# show device-alias database
device-alias name lzh1 pwwn 21:00:00:c0:dd:13:e2:a1
device-alias name lzh2 pwwn 21:00:00:c0:dd:13:e2:a3
device-alias name lzh3 pwwn 20:00:00:07:43:ab:cd:ef
device-alias name lzh4 pwwn 20:00:00:07:43:ab:cd:f7
device-alias name test1 pwwn 20:00:00:0e:1e:0a:6b:ab
device-alias name test2 pwwn 10:00:00:07:43:ab:ce:07
3 Zone
switch# show zone
zone name zonexzh vsan 100
pwwn 21:00:00:0e:1e:0a:6b:ab
pwwn 00:00:00:07:43:ab:cd:f7
pwwn 20:00:00:07:43:ab:ce:07
zone name zonexzh02 vsan 100
pwwn 21:00:00:0e:1e:0a:6b:af
zone name zonexz vsan 100
pwwn 21:00:00:c0:dd:12:06:03
pwwn 20:00:00:07:43:ab:cd:ff
zone name lzhzone1 vsan 100
pwwn 21:00:00:c0:dd:13:e2:a1 [lzh1]
pwwn 20:00:00:07:43:ab:cd:ef [lzh3]
zone name lzhzone2 vsan 100
pwwn 21:00:00:c0:dd:13:e2:a3 [lzh2]
pwwn 20:00:00:07:43:ab:cd:f7 [lzh4]
zone name lzhzone3 vsan 100
switch(config)# zone name lzhzone3 vsan 100
switch(config-zone)# member device-alias test1
switch(config-zone)# member device-alias test2
switch(config-zone)# show zone
zone name zonexzh vsan 100
pwwn 21:00:00:0e:1e:0a:6b:ab
pwwn 00:00:00:07:43:ab:cd:f7
pwwn 20:00:00:07:43:ab:ce:07
zone name zonexzh02 vsan 100
pwwn 21:00:00:0e:1e:0a:6b:af
zone name zonexz vsan 100
pwwn 21:00:00:c0:dd:12:06:03
pwwn 20:00:00:07:43:ab:cd:ff
zone name lzhzone1 vsan 100
-
2017 08 15
20170815011
SAN AIX 46 , 108
pwwn 21:00:00:c0:dd:13:e2:a1 [lzh1]
pwwn 20:00:00:07:43:ab:cd:ef [lzh3]
zone name lzhzone2 vsan 100
pwwn 21:00:00:c0:dd:13:e2:a3 [lzh2]
pwwn 20:00:00:07:43:ab:cd:f7 [lzh4]
zone name lzhzone3 vsan 100
pwwn 20:00:00:0e:1e:0a:6b:ab [test1]
pwwn 10:00:00:07:43:ab:ce:07 [test2]
----
5.3.7 Zoneset Zone
Cisco Nexus5548
1 VSAN Zoneset
switch(config)# zoneset name lzhzoneset5 vsan 100
switch(config-zoneset)# show zoneset
zoneset name zoneset100 vsan 100
zone name zonexzh vsan 100
pwwn 21:00:00:0e:1e:0a:6b:ab
pwwn 00:00:00:07:43:ab:cd:f7
pwwn 20:00:00:07:43:ab:ce:07
zone name zonexzh02 vsan 100
pwwn 21:00:00:0e:1e:0a:6b:af
zone name zonexz vsan 100
pwwn 21:00:00:c0:dd:12:06:03
pwwn 20:00:00:07:43:ab:cd:ff
zone name lzhzone1 vsan 100
pwwn 21:00:00:c0:dd:13:e2:a1 [lzh1]
pwwn 20:00:00:07:43:ab:cd:ef [lzh3]
zone name lzhzone2 vsan 100
pwwn 21:00:00:c0:dd:13:e2:a3 [lzh2]
pwwn 20:00:00:07:43:ab:cd:f7 [lzh4]
zoneset name lzhzoneset5 vsan 100
2 Zoneset Zone
switch(config-zoneset)# member lzhzone3
switch(config-zoneset)# show zoneset
zoneset name zoneset100 vsan 100
zone name zonexzh vsan 100
pwwn 21:00:00:0e:1e:0a:6b:ab
pwwn 00:00:00:07:43:ab:cd:f7
pwwn 20:00:00:07:43:ab:ce:07
zone name zonexzh02 vsan 100
-
2017 08 15
20170815011
SAN AIX 47 , 108
pwwn 21:00:00:0e:1e:0a:6b:af
zone name zonexz vsan 100
pwwn 21:00:00:c0:dd:12:06:03
pwwn 20:00:00:07:43:ab:cd:ff
zone name lzhzone1 vsan 100
pwwn 21:00:00:c0:dd:13:e2:a1 [lzh1]
pwwn 20:00:00:07:43:ab:cd:ef [lzh3]
zone name lzhzone2 vsan 100
pwwn 21:00:00:c0:dd:13:e2:a3 [lzh2]
pwwn 20:00:00:07:43:ab:cd:f7 [lzh4]
zoneset name lzhzoneset5 vsan 100
zone name lzhzone3 vsan 100
pwwn 20:00:00:0e:1e:0a:6b:ab [test1]
pwwn 10:00:00:07:43:ab:ce:07 [test2]\
3 Zoneset
switch (config)# zoneset activate name zoneset_1 vsan 2
zoneset activation initiated. check zone status
FCoE Zoneset Zone
Zoneset
----
-
2017 08 15
20170815011
SAN AIX 48 , 108
6 FC FC
6.1
AIX
AIX
OceanStor T V1
OceanStor T V1
ISM > >
FC
6-1
6-1 FC
-
2017 08 15
20170815011
SAN AIX 49 , 108
OceanStor T
HBA al auto
3.3.3 3.3.5
OceanStor 18000/T V2/V3/Dorado V3
OceanStor 18000/T V2/V3/Dorado V3
ISM
ENG > > > FC
FC 6-2
6-2 OceanStor 18000/T V2/V3/Dorado V3 FC
OceanStor 18000/T V2/V3/Dorado V3
P2P
6.2
HBA
1 HBA WWN 3.3.2
2 cfgmgr -v
3 WWN
-
2017 08 15
20170815011
SAN AIX 50 , 108
OceanStor T
ISM ISM SAN >
> 1 WWN
FC
OceanStor 18000
ISM ISM > >
1 WWN
FC
----
6.3
WWN
cfgmgr -v
FC
-
2017 08 15
20170815011
SAN AIX 51 , 108
7 iSCSI FC iSCSI IPInternet Protocol iSCSI
1
2 IP
3 iSCSI
4 iSCSI
5 iSCSI
6
----
7.1
AIX iSCSI
bash-3.2# lslpp -l | grep devices.iscsi
devices.iscsi.disk.rte 6.1.6.0 COMMITTED iSCSI Disk Software
devices.iscsi.tape.rte 6.1.0.0 COMMITTED iSCSI Tape Software
devices.iscsi_sw.rte 6.1.6.0 COMMITTED iSCSI Software Device Driver
devices.iscsi_sw.rte 6.1.5.0 COMMITTED iSCSI Software Device Driver
bash-3.2#
1
-
2017 08 15
20170815011
SAN AIX 52 , 108
2 smitty update_all
Esc+4/dev/cd0
7-1
3
7-2
SOFTWARE to update Esc+4
F7 ACCEPT new license
agreementsYES Enter
----
-
2017 08 15
20170815011
SAN AIX 53 , 108
7.2 IP
iSCSI IP
IP
7.2.1
IP
iSCSI IP
iSCSI IP IP
iSCSI IP IP
iSCSI IP
iSCSI IP
IP
IPv4
IP
OceanStor T V1
ISM \\
iSCSI
IP
IPv4 7-3
-
2017 08 15
20170815011
SAN AIX 54 , 108
7-3 IP
IP
OceanStor 18000/T V2/V3/Dorado V3
OceanStor 18000/T V2/V3/Dorado V3 iSCSI IP
1 iSCSI
iSCSI
iSCSI
iSCSI
iSCSI
2 iSCSI
1. IPv4 IPv6 iSCSI IP
2. iSCSI
-
2017 08 15
20170815011
SAN AIX 55 , 108
3. () iSCSI
15009216
3 iSCSI
1.
2.
3.
4.
OceanStor 18000/T V2/V3/Dorado V3 iSCSI IP
----
7.2.2
smit tcpip IP
1
smitty tcpipMinimum Configuration & Startup
iSCSI
2 IP
7-4 IP
IP
Internet ADDRESS (dotted decimal)
IP
Network MASK (dotted decimal)
-
2017 08 15
20170815011
SAN AIX 56 , 108
Default Gateway Address (dotted decimal or symbolic name)
3
AIX lscfg -vpl entX 7-5
ent7 C3 4
7-5
AIX Ping
IP
----
7.3
iSCSI
1 smit iscsi iSCSI
2 iSCSI Protocol Device iSCSI Protocol Device
3 Change / Show Characteristics of an iSCSI Adapter
4 Change / Show Characteristics of an iSCSI Adapter
-
2017 08 15
20170815011
SAN AIX 57 , 108
7-6 iSCSI
5 iSCSI Initiator Name
iqn.1996-04.com.ibm:h7f000001
iSCSI Initiator Name
iqn.domaindate.reverse.domain.name:optional name
'-''.'':'
'a'..'z'
'0'..'9'
223
6
bash-3.2# lsattr -El iscsi0
disc_filename /etc/iscsi/targets Configuration file
False
disc_policy file Discovery Policy
True
initiator_name iqn.1996-04.com.ibm:h7f000001 iSCSI Initiator Name
True
isns_srvnames auto iSNS Servers IP Addresses
True
isns_srvports iSNS Servers Port Numbers
True
max_targets 16 Maximum Targets Allowed
True
num_cmd_elems 200 Maximum number of commands to queue to driver
True
bash-3.2#
-
2017 08 15
20170815011
SAN AIX 58 , 108
7.4
iSCSI
OceanStor T OceanStor 18000
OceanStor T
CLICommand Line Interface
admin:/>showiscsitgtname
============================================================================
ISCSI Name
----------------------------------------------------------------------------
Iscsi Name | iqn.2006-08.com.huaweisymantec:oceanspace:2100323237393241:
============================================================================
iqn.2006-08.com.huaweisymantec:oceanspace:2100323237393241:
CLI chgiscsitgtname -n iscsi
name
ISM \
iSCSI
OceanStor 18000/T V2/V3/Dorado V3
CLI
admin:/>show iscsi target_name
iSCSI Target Name : iqn.2006-08.com.huawei:oceanstor:21000022a106025f:
iqn.2006-08.com.huawei:oceanstor:21000022a106025f:
CLI change iscsi
target_name iscsi_name
ISM iSCSI
iSCSI
7.5
iSCSI /etc/iscsi iSCSI
iSCSI
/etc/iscsi/targets
-
2017 08 15
20170815011
SAN AIX 59 , 108
S2000 /S2600/S5000 /S6800E
IP : IP
targets
# @(#)25 1.2 src/bos/usr/lib/methods/cfgiscsi/targets.sh, sysxiscsi,
bos610 8/30/04 13:58:05
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# bos610 src/bos/usr/lib/methods/cfgiscsi/targets.sh 1.2
#
# Licensed Materials - Property of IBM
#
# COPYRIGHT International Business Machines Corp. 2003,2004
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# IBM_PROLOG_END_TAG
# iSCSI targets file
#
# Comments may be used in the file, the comment character is '#', 0x23.
# Anything from a comment char to the end of the line is ignored.
#
# Blank lines are ignored.
#
# The format for a target line is defined according to the Augmented BNF
# syntax as # described in rfc2234.
#
# The format for the IPv4Address is taken from rfc2373.
#
# The line continuation character '\' (i.e., back-slash) can be used to make
# each TargetLine easier to read. To ensure no parsing errors, the '\'
# character must be the last character and must be preceeded by white space.
#
# ---
#
# comment = %x23 *CHARS LF
# ; #
-
2017 08 15
20170815011
SAN AIX 60 , 108
#
# TargetLine = *WSP HostNameOrAddr 1*WSP PortNumber 1*WSP ISCSIName *WSP
LF
# or
# TargetLine = *WSP HostNameOrAddr 1*WSP PortNumber 1*WSP ISCSIName *WSP
ChapSecret *WSP LF
#
# HostNameOrAddr = HostName / IPv4Address
#
# HostName = 1*alphnum *( "." (alphanum / allowedPunc))
#
# IPv4Address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT
# ; 0.1.2.345
#
# hexseq = hex4 *( ":" hex4)
#
# hex4 = 1*4HEXDIG
#
# hex64 = 16HEXDIG
#
# PortNumber = 1*5DIGIT
# ; to hold uint16 port number
#
# ISCSIName = "iscsi" / "iqn." iscsiNameChars / "eui.0x" hex64
# ; if the ISCSIName is "iscsi", all luns on the device will
# be requested.
#
# iscsiNameChars = 1*alphanum *( allowedPunc alphanum )
# ; includes alphanumeric, dot, dash, underbar, colon.
#
# alphanum = %x30-39 / %x41-5a / %x61-7a
# ; [0-9] [A-Z] [a-z]
#
# allowedPunc = %x2d / %x2e / %x5f / %x58
# ; dash, dot, underbar, colon
#
# dot = %x2e
# ; "."
#
# ChapSecret = %x22 *( any character ) %x22
# ; " "
# ; ChapSecret is a string enclosed in double quotes. The
-
2017 08 15
20170815011
SAN AIX 61 , 108
# ; quotes are required, but are not part of the secret.
#
# EXAMPLE 1: iSCSI Target without CHAP(MD5) authentication
# Assume the target is at address 192.168.3.2,
# the valid port is 5003
# the name of the target is iqn.com.ibm-4125-23WTT26
# The target line would look like:
# 192.168.3.2 5003 iqn.com.ibm-4125-23WWT26
#
# EXAMPLE 2: iSCSI Target with CHAP(MD5) authentication
# Assume the target is at address 10.2.1.105
# the valid port is 3260
# the name of the target is iqn.com.ibm-K167-42.fc1a
# the CHAP secret is "This is my password."
# The target line would look like:
# 10.2.1.105 3260 iqn.com.ibm-K167-42.fc1a "This is my password."
#
# EXAMPLE 3: iSCSI Target with CHAP(MD5) authentication and line continuation
# Assume the target is at address 10.2.1.106
# the valid port is 3260
# the name of the target is iqn.2003-01.com.ibm:00.fcd0ab21.shark128
# the CHAP secret is "123ismysecretpassword.fc1b"
# The target line would look like:
# 10.2.1.106 3260 iqn.2003-01.com.ibm:00.fcd0ab21.shark128 \
# "123ismysecretpassword.fc1b"
#
10.10.10.110 3260
iqn.2006-08.com.huaweisymantec:oceanspace:2100323237393241::10.10.10.110
: IP
:
IP
OceanStor S2200T V1
OceanStor S2200T /etc/iscsi/targets
V100R005C00SPC002 V100R005
-
2017 08 15
20170815011
SAN AIX 62 , 108
IP
iqn.2006-08.com.huawei:oceanstor:21000022a1028735::192.168.10.100-201
03
V100R005C00SPC002 V100R005
IP
iqn.2006-08.com.huawei:oceanstor:21000022a10b7bb2::20103:192.168.10.1
00
V100R005C02 CLI
showiscsitgtname -c controll id -if ifterface module id -p portid
00 A 01 B
02
01 P0 0P1 1
0
S2200T A iSCSI P3 20103
IP
S2600T/S5500T/S5600T/S5800T/S6800T V1
/etc/iscsi/targets
V100R005C00SPC003 V001R005
IP
iqn.2006-08.com.huawei:oceanstor:21000022a1028735::192.168.10.100-201
03
V100R005C00SPC003 V100R005
IP
iqn.2006-08.com.huawei:oceanstor:21000022a10b7bb2::20103:192.168.10.1
00
V100R005C02 CLI
showiscsitgtname -c controll id -if ifterface module id -p portid
-
2017 08 15
20170815011
SAN AIX 63 , 108
V2
IP
iqn.2006-08.com.huawei:oceanstor:21000022a10b7bb2::20103:192.168.10.1
00
00 A 01 B
02
01 P0 0P1 1
0
S2600T A iSCSI P3 20103
IP
S2900/S3900/S5900/S6900 V1
/etc/iscsi/targets
V100R002C00SPC015 V100R002
IP
iqn.2006-08.com.huawei:oceanstor:21000022a1028735::192.168.10.100-201
03
V100R002C00SPC015 V100R002
IP
iqn.2006-08.com.huawei:oceanstor:21000022a10b7bb2::20103:192.168.10.1
00
00 A 01 B
02
01 P0 0P1 1
0
S2900 A iSCSI P0 20103
-
2017 08 15
20170815011
SAN AIX 64 , 108
IP
OceanStor 18000/T V2
OceanStor 18000 V100R001C00SPC200 /T V200R002C00SPC200
/etc/iscsi/targets IP
iqn.2006-08.com.huawei:oceanstor:21000022a106025f::20301:192.168.10.1
00
00 A 01 B
02
01 P0 0P1 1
0
S2900 A iSCSI P0 20103
OceanStor 18000 V100R001C00SPC200 /T V200R002C00SPC200
show iscsi target_name eth_port_id=X
admin:/>show iscsi target_name eth_port_id=CTE0.A2.P2
iSCSI Target Name :
iqn.2006-08.com.huawei:oceanstor:2100222222222222::20202:7.7.7.6
IP
OceanStor V3
OceanStor V3R1
show iscsi target_name eth_port_id=X
admin:/>show iscsi target_name eth_port_id=CTE0.A2.P2
iSCSI Target Name :
iqn.2006-08.com.huawei:oceanstor:2100222222222222::20202:7.7.7.6
-
2017 08 15
20170815011
SAN AIX 65 , 108
OceanStor V3R2
ISM CLI
ISM
> >
iSCSI 7-7
7-7 ISM iSCSI
CLI
CLI show iscsi target_name eth_port_id=X
admin:/>show iscsi target_name eth_port_id=CTE0.R5.IOM0.P0
iSCSI Target Name :
iqn.2006-08.com.huawei:oceanstor:210000101800521e::20500:33.33.33.3
3
7.6
iSCSI cfgmgr -v cfgmgr
-l iscsi0
iSCSI
-
2017 08 15
20170815011
SAN AIX 66 , 108
7.6.1
1
1.
2.
2
1.
2.
1.
2._-.
3. 131
3. :
4.
5. : IP IP
6. :
3
4
1.
2.
----
7.6.2
1
1.
2.
3.
2 7-1
-
2017 08 15
20170815011
SAN AIX 67 , 108
7-1
[]
FC
WWN IQN []
2000000743abcdff
[]
FC1_ALIAS
ALUA []
ALUA
CHAP iSCSI
CHAP
CHAP
iSCSI
[]
-
iSCSI CHAP CHAP
1. CHAP 4 25
2. 12 16
3. 4 2
` ~ ! @ # $ % ^ & * ( ) - _ = + \ | [ { } ] ; : ' " , < . > / ?
5.
3
----
7.6.3
1
-
2017 08 15
20170815011
SAN AIX 68 , 108
1.
2.
3.
2 7-2
7-2
[]
Initiator01
ALUA []
ALUA
CHAP iSCSI
CHAP
CHAP
iSCSI
[]
-
3
1.
2.
----
7.6.4
1
1.
2.
2
1.
2.
-
2017 08 15
20170815011
SAN AIX 69 , 108
3
1.
2.
3.
4.
----
-
2017 08 15
20170815011
SAN AIX 70 , 108
8 LUN 8.1 LUN
8.1.1 OceanStor T V1
AIX LUN
LUN
RAID RAID LUN
LUN
1 ISM SAN \\
2 \ LUN
LUN
3 LUN
----
8.1.2 OceanStor 18000/T V2/V3/Dorado V3
AIX AIX 2 cfgmgr -v
AIX HBA LUN
-
2017 08 15
20170815011
SAN AIX 71 , 108
LUNLUN LUN
1
1.
2.
2
1.
2.
3 LUN
1. LUN
LUN
LUN LUN
2. LUN LUN
3.
4
1.
2.
3.
4.
5
1.
2.
-
2017 08 15
20170815011
SAN AIX 72 , 108
3.
4.
6
1.
2.
----
8.2 LUN
LUN
LUN
1
bash-3.2#cfgmgr -l fcs#
bash-3.2#cfgmgr -l iscsi#
bash-3.2#cfgmgr v
#
fcs#
iscsi#
2
lsdev -Cc disk
bash-3.2# lsdev -Cc disk
hdisk0 Available 00-08-00 SAS Disk Drive
hdisk1 Available 00-08-00 SAS Disk Drive
hdisk2 Available 02-08-02 Other iSCSI Disk Drive
hdisk3 Available 04-08-02 Other iSCSI Disk Drive
hdisk4 Available 06-08-02 Other iSCSI Disk Drive
bash-3.2# bootinfo -s hdisk0
140013
bash-3.2#
lsattr -El hdisk# lscfg -vpl hdisk#
-
2017 08 15
20170815011
SAN AIX 73 , 108
----
-
2017 08 15
20170815011
SAN AIX 74 , 108
9 9.1
AIX UltraPath MPIO.
UltraPath
OceanStor UltraPath for AIX AIX
MPIO AIX AIX MPIO
9.2 UltraPath
9.2.1 UltraPath
UltraPath for AIX
UltraPath for AIX
Failover
Failover
UltraPath for AIX
Failback
Failback
I/O UltraPath for AIX Failback
I/O
-
2017 08 15
20170815011
SAN AIX 75 , 108
I/O
I/O
UltraPath for AIX
I/O
9.2.2 UltraPath
UltraPath for AIX OceanStor UltraPath for AIX
UltraPath ALUA
9.3 MPIO
MPIO AIX AIX MPIO
ODM MPIO
AIX ODM for MPIO AIX MPIO ODM
AIX MPIO
LUN AIX
SAN Boot AIX ODM for MPIO
AIX AIX
SAN Boot
9.3.1
AIX
ALUAALUA
TV1/TV2/18000V1/V300R001/V300R002/ V300R003/V300R005/Dorado
V300R001C00
ALUA ALUA
V300R006C00/Dorado V300R001C01
V300R006C00 V300R006C00SPC100
-
2017 08 15
20170815011
SAN AIX 76 , 108
Dorado V300R001C01 V300R001C01SPC100
ALUA
ALUA
round-robin round-robin
ALUA
ALUA
round-robin
ALUA
1KM
ALUA
round-robin
ALUA
1KM
-
2017 08 15
20170815011
SAN AIX 77 , 108
ALUA AOActive
Optimized ANActive Non-optimized AO
AO IO
AN IO
AO AN AO
AO I/O AO
AO
Host
A B A B
AO AOAN AN
Host
A B A B
AO AOAOAN
Site A Site B Site A Site B
Path failure SP failure
AO
IO
AO I/O AN
Host
A B A B
AO ANAN AN
Host
A B A B
AO ANAO AN
Site A Site B Site A Site B
Path failure SP failure
ALUA
1 ALUAALUAAsymmetric Logical Unit Access,
ALUALUNActive/Passive
LUN
LUN
UnavailableALUAI/O
2 ALUA
-
2017 08 15
20170815011
SAN AIX 78 , 108
ALUAALUA
9-1
TV1/TV2/18000V1/V300R001/V300R002/V300R0
03 /V300R005/Dorado V300R001C00
V300R006C00/Dorado V300R001C01 V300R006C00
SPC100
Dorado V300R001C01
SPC100
3ALUA LUN
I/O
ALUA LUN I/O
I/O LUN I/O I/O
4 ALUA IO
LUN /
I/O
I/O
I/O
9-2
LUN
UltraPath
[]
-
2017 08 15
20170815011
SAN AIX 79 , 108
ALUA
V300R003C10
V300R003C20
V300R006C00SPC100
V300R005
V300R006C00SPC100
Dorado V300R001C00
V300R001C01SPC100
ALUA
ALUA V300R003C20
V300R006C00SPC100 Dorado
V300R001C01SPC100
V300R003C20
V300R006C00SPC100
Dorado V300R001C01SPC100
SUSERed Hat 6.XWindows
Server 2012 Emulex HBA
Windows Server 2008
Emulex HBA HP-UX
11i V3
ALUA
ALUA
ALUA HP-UX 11i V2
ALUA
ALUA
V300R003C20V300R006C00SPC100
Dorado V300R001C01SPC100
ALUA
V300R003C20
V300R006C00SPC100
Dorado V300R001C01SPC100
VMwareAIXRed Hat 7.X
Windows Server 2012
QLogic HBA Windows
-
2017 08 15
20170815011
SAN AIX 80 , 108
Server 2008 Qlogic HBA
ALUA
0 V300R003C20
V300R006C00SPC100 Dorado
V300R001C01SPC100
FC
Red Hat 7.XWindows Server
2012QLogic HBA
Windows Server 2008
Qlogic HBA
1 V300R003C20
V300R006C00SPC100 Dorado
V300R001C01SPC100
AIXVMvare
2 V300R003C20
V300R006C00SPC100 Dorado
V300R001C01SPC100
AIXVMvare
[]
0
ALUA
round-robin
ALUA
[]
-
2017 08 15
20170815011
SAN AIX 81 , 108
1
OceanStor DeviceManager
9-1
2
9-2
-
2017 08 15
20170815011
SAN AIX 82 , 108
3
9-3
4
5
----
9-3 AIX
AIX 7.1 AIX 1
AIX
AIX ALUA
AIX
http://support-open.huawei.com/ready/pages/user/compatibility/support-matrix.jsf
http://support-open.huawei.com/ready/pages/user/compatibility/support-matrix.jsf
-
2017 08 15
20170815011
SAN AIX 83 , 108
9-4 AIX
AIX
AIX 1
AIX 1
AIX 2
AIX 2
AIX
http://support-open.huawei.com/ready/pages/user/compatibility/support-matrix.jsf
OceanStor V3 V300R003C20 1 2
OceanStor 5300 V3&5500 V3&5600 V3&5800 V3&6800
V3 V300R003C20 OceanStor 18500 V3&18800 V3
V300R003C20
OceanStor V3 V300R006 Dorado V3 V300R001C01
http://support-open.huawei.com/ready/pages/user/compatibility/support-matrix.jsf
-
2017 08 15
20170815011
SAN AIX 84 , 108
9-4
AIX MPIO HUAWEI AIX ODM
AIX ODM for MPIO
http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC1000087218&idPa
th=7919749|7941815|9523109|8576127
MPIO HUAWEI
9-5 MPIO
IO fail_over,IO , IO
, IO round_robin
http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC1000087218&idPath=7919749|7941815|9523109|8576127http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC1000087218&idPath=7919749|7941815|9523109|8576127
-
2017 08 15
20170815011
SAN AIX 85 , 108
9-6 IO
,
9-7
9-7 2 10
ALUA
ALUAAIX ODM for MPIO
MPIO
-
2017 08 15
20170815011
SAN AIX 86 , 108
http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC1000087218&idPa
th=7919749|7941815|9523109|8576127
9.3.2
ALUA ALUA ALUA
ALUA
T Series V100R005/Dorado2100/Dorado5100/Dorado2100 G2
Huawei OceanStor ISM ALUA
9-8 T Series V100R005/Dorado2100/Dorado5100/Dorado2100 G2 ALUA
T Series V200R002/18000 Series/V3 Series/18000 V3 Series
Huawei OceanStor Device Manager
ALUA
http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC1000087218&idPath=7919749|7941815|9523109|8576127http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC1000087218&idPath=7919749|7941815|9523109|8576127
-
2017 08 15
20170815011
SAN AIX 87 , 108
9-9 T Series V200R002/18000 Series/V3 Series/18000 V3 Series ALUA
ALUA>2 ALUA
ALUA
AIX MPIO HUAWEI AIX ODM
AIX ODM for MPIO
http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC1000087218&idPa
th=7919749|7941815|9523109|8576127
MPIO HUAWEI
9-10 MPIO
http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC1000087218&idPath=7919749|7941815|9523109|8576127http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC1000087218&idPath=7919749|7941815|9523109|8576127
-
2017 08 15
20170815011
SAN AIX 88 , 108
AIX MPIO IO fail_overIO IO
, IO algorithm round_robin
9-11 IO
ALUA
MPIO AIX ODM for MPIO MPIO
http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC1000087218&idPa
th=7919749|7941815|9523109|8576127
http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC1000087218&idPath=7919749|7941815|9523109|8576127http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC1000087218&idPath=7919749|7941815|9523109|8576127
-
2017 08 15
20170815011
SAN AIX 89 , 108
10 AIX
AIX LVMLogic
Volume Manager Symantec VxVMVeritas Volume Manager
10.1 LVM
10.1.1
LVM LVM
LVM
LVM
10-1 AIX
-
2017 08 15
20170815011
SAN AIX 90 , 108
PVphysical Volume
/dev/hdisk0VG
Volume GroupPPphysical
Partition
LVLogical Volume
LPLogic Partition
AIX
10-1 VG
VG Types Maximum PVs
Maximum LVs
Maximum PPs per VG
Maximum PP size
Normal VG 32 256 32,512 (1016 * 32) 1GB
Big VG 128 512 130,048 (1016 * 128) 1GB
Scalable VG 1024 4096 2,097,152 128GB
http://www.ibm.com/developerworks/cn/aix/library/au-aix5l-lvm.html
10.1.2
LVM
10.1.3
LUN LUN hdisk# hdisk2
1 chdev
bash-3.2#chdev -l hdisk2 -a pv=yes
http://www.ibm.com/developerworks/cn/aix/library/au-aix5l-lvm.html
-
2017 08 15
20170815011
SAN AIX 91 , 108
2 lspv
bash-3.2#lspv
hdisk0 00c690001d571eda rootvg active
hdisk1 00c6900012ddf6f6 None
hdisk2 00c6900034ddf6f6 None
hdisk3 None None
00c6900034ddf6f6
----
1 smitty mkvg
bash-3.2#smitty mkvg
Add a Big Volume Group 10-2
10-2
VOLUME GROUP name
PHYS