Beruflich Dokumente
Kultur Dokumente
Step By Step
1 DS8000 ..................................................2
1.1
1.2
1.3
1.4
.................................................2
DSCLI..............................................................................7
DS8000 license...............................................................9
DS8000 ...................................................................11
1.4.1 arraysite...............................................................................................................12
1.4.2 Array....................................................................................................................12
1.4.3 RANK.................................................................................................................15
1.4.4 Extend Pool.........................................................................................................15
1.4.5 rank extend pool...........................................................................16
1.4.6 LUN.....................................................................................................................17
1.4.7 volume group......................................................................................................20
1.4.8 LUN volume group .................................................................22
1.4.9 host connection...................................................................................................22
1.4.10 ......................................................................................................26
1.4.11 SDD vpath......................................................................27
1 DS8000
1.1
Storage Hierarchy
Disk
Individual DDMs
Array Sites
Pre-determined grouping of DDMs of same speed
and capacity (8 DDMs for DS8000; 4 DDMs for
DS6000)
Arrays
One 8-DDM Array Site used to construct one
RAID array (DS8000)
One or two 4-DDM Array Sites used to construct
one RAID array (DS6000)
Ranks
One Array forms one CKD or FB Rank (4 or 8
DDMs)
No fixed, pre-determined relation to LSS
Extent Pools
1-N Ranks form an Extent Pool (N=1/2 total ranks)
All Extents in a Pool are same storage type
(CKD/FB); same RAID recommended
Associated with Server0 or Server1 (DS8000)
RAID5 or RAID10
CKD or FB
Extent
Extent
Pool
Pool
Extent Pools
Extent Pool 3
Rank1
2
3
1
0
7
5
0
1
Ext. Pool 0
Rank 0
Ext. Pool 1
Rank 1
Ext. Pool 2
Rank 2
Ext. Pool 3
Rank 3
Ext. Pool 4
Rank 4
Ext. Pool 5
Rank 5
Ext. Pool 6
Rank 6
Ext. Pool 7
Rank 7
LSSs/LCUs
Logical grouping of volumes
Determines addressing, address group, and PAVs
Max of 256 addresses in LSS
16 LSSs in an address group (00-0F, 10-1F, 20-2F, etc.)
A given PAV can only be used within one LCU
Also used for copy services PPRC paths and consistency group
properties/timeouts
One LCU can contain CKD volumes of different types (3390 M3s & M9s)
Many-many relationship
Extent Pool 3
Extent Pool 5
Rank1
Rank3
2
3
1
0
2
3
1
3
7
5
0
1
7
5
1
2
LSS definition
CKD during LCU creation
FB during volume creation
LSSs numbers are pre-grouped in
groups of 16 LSSs to make up
address groups
LSSs 00-0F -- address group 0,
LSSs 10-1F -- address group 1, etc.
Extent Pool 3
Rank1
2
3
1
0
7
5
0
1
Volumes
One logical volume is made up of extents from one extent pool
Typically made up of extents from one rank unless LUN size is larger than
one rank
A specific volume is in one LSS
Multiple volumes in one extent pool or on one rank can be in the same or
different LSSs
Multiple volumes in different extent pools and on different ranks can be
in the same LSS
Extent Pool 3
Extent Pool 5
2
3
1
0
2
3
1
3
7
5
0
1
7
5
1
2
Hosts
pSeries1
pSeries2
Volume Group 2
xSeries2
Volume Groups
FB LUN masking
Contains one or more host attachments and one or more LUNs
A specific host attachment can be in only one volume group
Attachments from multiple hosts (even different open systems
host types) are allowed in the same volume group
Recommend one host per volume group with shared LUNs in multiple
volume groups
Volume Group 2
pSeries1
xSeries1
Extent Pool 4
2
2
1
0
7
4
0
1
Extent Pool 5
2
7
5
3
Volume
Group 2
1 1
Volume Group 1
7
5
1
2
1.2 DSCLI
DS8000 DSCLIDS Command Line
Interface DSCLI setupwin32.exe
C:\Program Files\IBM\dscli\profile\ dscli.profile
IE
https://172.16.0.1:8452/DS8000/Console
admin/admin
passw0rd
DSCLI DSCLI
dscli dscli
Notes 24 3 3
key2107_75BBY00.xml
https://w3-03.ibm.com/systemstechnology/storage/dsfa/accessDSFA.wss
https://www-306.ibm.com/storage/dsfa/index.jsp
3. DS8000 license
4. license license
100ALL
dscli> lskey IBM.2107-75xxxx1
Date/Time: 2006 1 26 02 08 47 IBM DSCLI Version: 5.1.0.297
DS: IBM.2
107-75xxxx1
Activation Key
Capacity (TB) Storage Type
=================================================
Operating Environment
100 All
1.4 DS8000
DS8K arraysite->array->rank->extpool
(SxxAxxRxxPxx)
1
array
2
rank
3
extend pool
4
rank extend pool
5
LUN
6
volume group
7
LUN volume group
8 host connection LUNhost connection volume group
9
SDD vpath
1.4.1 arraysite
lsarraysite
Arraysite IBM 8 1 arraysite
DS8K arraysite 8
IR
2107 922 75BCYY0 2116
8 A
dscli> lsarraysite
Date/Time: Feb. 9, 2006 2:57:27 PM EDT IBM DSCLI Version: 5.1.0.297 DS:
IBM.2107-75xxxx1
arsite DA Pair dkcap (10^9B) diskrpm State Array
===================================================
S1
2
146.0
10000 Unassigned S2
2
146.0
10000 Unassigned S3
2
146.0
10000 Unassigned S4
2
146.0
10000 Unassigned S5
2
146.0
10000 Unassigned S6
2
146.0
10000 Unassigned S7
2
146.0
10000 Unassigned S8
2
146.0
10000 Unassigned S9
0
146.0
10000 Unassigned S10 0
146.0
10000 Unassigned S11 0
146.0
10000 Unassigned S12 0
146.0
10000 Unassigned S13 0
146.0
10000 Unassigned S14 0
146.0
10000 Unassigned S15 0
146.0
10000 Unassigned S16 0
146.0
10000 Unassigned DA pair
1.4.2 Array
dscli> lsarray
Date/Time: 2006 1 26 02 21 28 IBM DSCLI Version: 5.1.0.297 DS: IBM.2
107-75xxxx1
Array State Data RAIDtype arsite Rank DA Pair DDMcap (10^9B)
======================================================================
A0 Unassigned Normal 10 (3x2+2S) S1 - 2
73.0
A1 Unassigned Normal 10 (4x2) S2 - 2
73.0
A2 Unassigned Normal 10 (3x2+2S) S3 - 2
73.0
A3 Unassigned Normal 10 (4x2) S4 - 2
73.0
A4 Unassigned Normal 10 (4x2) S5 - 2
73.0
A5 Unassigned Normal 10 (4x2) S6 - 2
73.0
A6 Unassigned Normal 10 (4x2) S7 - 2
73.0
A7 Unassigned Normal 10 (4x2) S8 - 2
73.0
A8 Unassigned Normal 10 (3x2+2S) S9 - 0
73.0
A9 Unassigned Normal 10 (4x2) S10 - 0
73.0
A10 Unassigned Normal 10 (3x2+2S) S11 - 0
73.0
A11 Unassigned Normal 10 (4x2) S12 - 0
73.0
A12 Unassigned Normal 10 (4x2) S13 - 0
73.0
A13 Unassigned Normal 10 (4x2) S14 - 0
73.0
LUN LUN
DA pair
RAID type DA pair 4 Hot Spare RAID10
Arraysite array 2 Hot Spare RAID5
RAID5 Hot Spare
1.4.3 RANK
dscli> lsextpool
Date/Time: 2006 2 10 03 17 56 IBM DSCLI Version: 5.1.0.297 DS: IBM.2107-75xxxx1
Name
ID stgtype
rankgrp status
=================================================================================
ext_pool0 P0 fb
0 below
100
ext_pool1 P1 fb
1 below
100
ext_pool2 P2 fb
0 below
100
ext_pool3 P3 fb
1 below
100
ext_pool4 P4 fb
0 below
100
ext_pool5 P5 fb
1 below
100
ext_pool6 P6 fb
0 below
100
ext_pool7 P7 fb
1 below
100
ext_pool8 P8 fb
0 below
100
dscli> lsrank
Date/Time: 2006 1 26 02 30 51 IBM DSCLI Version: 5.1.0.297 DS: IBM.2
107-75xxxx1
ID Group State
datastate Array RAIDtype extpoolID stgtype
=======================================================================
===
R0 - Unassigned
Normal A0
10 fb
R1 - Unassigned
Normal A1
10 fb
R2 - Unassigned
Normal A2
10 fb
R3 - Unassigned
Normal A3
10 fb
R4 - Unassigned
Normal A4
10 fb
R5 - Configuring
Normal A5
10 fb
R6 - Configuration Pending Normal A6
10 fb
R7 - Configuration Pending Normal A7
10 fb
R8 - Configuration Pending Normal A8
10 fb
R9 - Configuration Pending Normal A9
10 fb
R10 - Configuration Pending Normal A10
10 fb
RANK 'Unassigned'
chrank -extpool P0 R0
chrank -extpool P1 R1
dscli> lsrank
Date/Time: 2006 1 26 02 57 58 IBM DSCLI Version: 5.1.0.297 DS: IBM.2
107-7500191
ID Group State datastate Array RAIDtype extpoolID stgtype
===========================================================
R0 0 Normal Normal A0
10 P0
fb
R1 1 Normal Normal A1
10 P1
fb
R2 0 Normal Normal A2
10 P2
fb
R3 1 Normal Normal A3
10 P3
fb
R4 0 Normal Normal A4
10 P4
fb
R5 1 Normal Normal A5
10 P5
fb
R6 0 Normal Normal A6
10 P6
fb
R7 1 Normal Normal A7
10 P7
fb
R8 0 Normal Normal A8
10 P8
fb
R0 A0R0 P0
pool ID extend pool server 0 pool ID
extend pool server 1
1.4.6 LUN
LUN LUN raid LUN
LUN
1 LUN LUN RAID
70120 RAID
ext_pool3 P3 fb
ext_pool4 P4 fb
ext_pool5 P5 fb
1
0
1
388
452
452
388
452
452
0
0
0
0
0
0
LSS
PPRC/flashcopy
LSS ID
LSS copy service
freeze/unfreeze LSS pairmkpprcpath
consistent
2 LSS sever0server1
zz volume ID 00FF 256
DSCLI LUN LUN ID ID
LUN
LSS ID LSS RANKArray
mkfbvol DSCLI
CMUC00025I mkfbvol: FB volume 2000 successfully created.
CMUC00025I mkfbvol: FB volume 2001 successfully created
DS8K LUN DDM
LUN volume group host connection
AIX LUN
LUN
DDMLUN
pSeries 1
pSeries 2
SAN
FC Port
HBA Port
DS8K
Volume Group 1
LUN
1
LUN
volume group
dscli> lsvolgrp
Date/Time: June 13, 2005 5:34:56 PM CST IBM DSCLI Version: 5.0.3.134 DS: IBM.2107-75xxx1
Name
ID Type
=======================================
data_dbsvg1
V0 SCSI Mask
All CKD
V10 FICON/ESCON All
All Fixed Block-512 V20 SCSI All
All Fixed Block-520 V30 OS400 All
data_dbsvg1 volgrp
I0000
I0010
I0030
I0040
I0001
I0011
I0031
I0041
I0002
I0012
I0032
I0003
I0013
I0033
Slot 0
Slot 1
Device
Adapter
Slot 2 Slot 3
I0100
I0110
I0101
I0111
I0042
I0102
I0043
Device
Adapter
Slot 4 Slot 5
I0130
I0140
I0131
I0141
I0112
I0132
I0142
I0103
I0113
I0133
I0143
Slot 0
Slot 1
Enclosure 0
I0200
I0210
I0201
I0211
I0202
I0240
I0231
I0241
I0212
I0232
I0203
I0213
I0233
Slot 0
Slot 1
Slot 2 Slot 3
Slot 2 Slot 3
Device
Adapter
Slot 4 Slot 5
Enclosure 1
I0230
Device
Adapter
Device
Adapter
I0300
I0310
I0301
I0311
I0242
I0302
I0243
Device
Adapter
Slot 4 Slot 5
I0330
I0340
I0331
I0341
I0312
I0332
I0342
I0303
I0313
I0333
I0343
Slot 0
Slot 1
Enclosure 2
Device
Adapter
Slot 2 Slot 3
Device
Adapter
Slot 4 Slot 5
Enclosure 3
DS8K HBA
IO port lsioport port ID
mkhostconnect LUN masking
IO port
pSeries 1
pSeries 2
Zone
SAN 1
SAN2
XI1
XI3
XI2
XI4
DS8K IO
Enclosure
pSeries FC 16 DS8K 16
IO port vpath hdisk 4
FC DS8K zone FC
zone DS8K IO port DS8K assign
pSeries LUN volume group
volume group volume group 4
8GB
DS8K HBA
IO
IO port02 13
SAN IO
DS8K IO port
IO port
SAN switch port scsi-fcp fc-al
scsi-fcp ficon IO port setioport
setioport [-dev storage_image_ID] [-topology fc-al|scsi-fcp|ficon] Port_ID
dscli> setioport -topology scsi-fcp I0030 I0031 I0032 I0033
dscli> lsioport
Date/Time: 2006 2 10 01 10 56 IBM DSCLI Version: 5.1.0.297 DS: IBM.
107-75BCYY1
ID WWPN
State Type
topo portgrp
============================================================
I0030 50050763040301C0 Offline Fibre Channel-SW - 0
I0031 50050763040341C0 Offline Fibre Channel-SW - 0
I0032 50050763040381C0 Offline Fibre Channel-SW - 0
I0033 500507630403C1C0 Offline Fibre Channel-SW - 0
dscli> lsioport
Date/Time: 2006 1 26 03 27 59 IBM DSCLI Version: 5.1.0.297 DS: IBM.2
107-7500191
ID WWPN
State Type
topo portgrp
===============================================================
I0030 50050763030305C6 Online Fibre Channel-SW SCSI-FCP 0
I0031 50050763030345C6 Online Fibre Channel-SW SCSI-FCP 0
I0032 50050763030385C6 Online Fibre Channel-SW SCSI-FCP 0
I0033 500507630303C5C6 Online Fibre Channel-SW SCSI-FCP 0
Host_name
host connection
mkhostconnect -wwname 10000000C9428122 -profile "IBM pSeries - AIX" -volgrp v0
-ioport i0010 p595-2-fcs0
mkhostconnect -wwname 10000000C94027C6 -profile "IBM pSeries - AIX" -volgrp
v0 -ioport i0200,i0300,i0032,i0102 p595-1-fcs8
dscli> lshostconnect
Date/Time: June 13, 2005 5:35:37 PM CST IBM DSCLI Version: 5.0.3.134 DS:
IBM.2107-7523201
Name
ID WWPN
HostType Profile
portgrp volgrpID ESSIOport
===============================================
================================p595-2-fcs0
0000
10000000C9428122 - IBM pSeries - AIX 0 V0
I0010
p595-1-fcs8 0001 10000000C94027C6 - IBM pSeries - AIX 0 V0
I0032,
I0200,I0300,I0102
1.4.10
DSCLI DSCLI
RANK 'Unassigned',
chrank -extpool P0 R0
chrank -extpool P1 R1
chrank -extpool P2 R2
chrank -extpool P3 R3
chrank -extpool P4 R4
chrank -extpool P5 R5
chrank -extpool P6 R6
chrank -extpool P7 R7
mkfbvol -extpool P0 -cap 97 -name fb_vol_#h 2000-2007
mkfbvol -extpool P1 -cap 97 -name fb_vol_#h 2100-2107
mkfbvol -extpool P2 -cap 97 -name fb_vol_#h 2200-2207
mkfbvol -extpool P3 -cap 97 -name fb_vol_#h 2300-2307
mkfbvol -extpool P5 -cap 101 -name fb_vol_#h 1100-1108
mkfbvol -extpool P6 -cap 101 -name fb_vol_#h 1200-1208
mkfbvol -extpool P7 -cap 101 -name fb_vol_#h 1300-1308
LUN DSCLI
devices.fcp.disk.ibm.rte
Set the LTG size to 256 KB for a DS8000. The LTG size is the maximum I/O size that will
be issued from the LVM layer of the I/O stack. It must be less than or equal to the
maximum I/O size the DDMs in the DS8000 will support, which is 256 KB and can be
determined with the command, lquerypv -M vpath20. The LTG size can be changed with
the chvg -L 256 vgname command. More on LTG in , Striped logical volumes on
page 301. With AIX 5.3, the LTG size is automatically set.
We recommend the use of either Big or Scalable volume groups, as these avoid issues
with LVCBs. One can create logical volumes without LVCBs on Big volume groups via the
mklv -T O flag, and for scalable volume groups the LVCBs do not exist on the logical
volume. When LVCBs exist on a logical volume, they occupy the first 512 bytes of the
logical volume and can cause I/Os to span physical volumes due to this offset. This in turn
affects the atomicity properties of applications (i.e., when a application expects that a I/O
will be completely done or not done at all) as an application I/O may then span two
physical volumes in a volume group and only one of the physical I/Os may complete
during a system crash.