Sie sind auf Seite 1von 29

DS8K

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

Controller 1 or Controller 2 (DS6000)

Extent Pools

User-configured to be either CKD or FB


Contain one or more ranks divided into fixed-size
extents

Contain one or more LUNs/volumes made up of


extents

CKD 3390 Mod1


FB 1GB
Recommend one rank per pool as in
example -- unless large LUN size is required

2 volumes in the example (2310,7501)

xyzz (x=address group, xy=LSS, zz=volid)

Extent pool is assigned to Server0 or Server1


during configuration (server affinity)

By user during custom configuration


By algorithm during auto or express
configuration

Server1 in the example

Indicated by odd-numbered LSSs

Extent Pool 3
Rank1

2
3
1
0
7
5
0
1

Minimum of 2 pools to utilize subsystem


Server0 and Server1
Maximum of n pools where n is the number of
ranks in subsystem
8 pools/8 ranks in the example
Extent pool can contain one or more ranks
Recommend one rank per extent pool unless a
volume size larger than one rank is required
One rank per pool means pool contains
LUNs/volumes on one rank only
One rank per pool will not constrain addresses
Volumes on one rank in one pool can be in multiple
LSSs
Volumes on different ranks in different pools can be
in the same LSS (limited by odd/even server affinity)

Rank can be added to extent pool at any time


Rank can be removed from extent pool if no extents
on rank are currently assigned to LUNs/volumes

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

Maximum number of LSSs


DS8000 128 at GA (max 16 ESCON CKD, max 64 FICON CKD, max 64 FB)
DS6000 32 at GA (no ESCON, max 32 CKD if no FB, max 32 FB if no CKD,
max 16CKD+16FB if mixed)
Pre-determined association with Server0 or Server1
Even LSSs associated with Server0
Odd LSSs associated with Server1
LSS configured to be either FB or CKD
CKD during LCU creation
FB during volume creation

No pre-determined relation to physical ranks


No pre-determined relation to extent pools other than server affinity
One LSS can contain volumes from different pools

One pool can contain volumes that are in different LSSs

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.

LSS 23 in the example is in address


group 2; LSS 75 in the example is in
address group 7

Entire address group (all 16 LSSs)


will be either FB or CKD

DS8000 -- 8 address groups at GA

DS6000 2 address groups at GA

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

Minimum volume/LUN size is one extent


CKD Mod1
FB 1 GB
Note volume sizes are now given in binary (e.g. 1GB=1073741924 bytes)
ESS volume sizes were given in decimal (e.g. 1GB=1000000000 bytes)
Maximum volume/LUN size
CKD
56GB
With appropriate zSeries software support
FB
2TB
Or capacity of one rank when using one rank per extent pool
Maximum number of volumes/LUNs
DS8000 32K at GA (16K max FB; 16K max CKD)

DS6000 8K (8K max CKD if no FB; 8K max FB if no CKD; 4K max CKD/4K


max FB if mixed)

Volumes can be deleted and extents reused

Hosts

pSeries1

Multiple server ports can be specified


(in one or more groups) in one host
definition
Four host attachments (one port each)
are shown for pSeries1
Server ports can be grouped for
convenience

Two host attachments with 2 ports


each are shown for pSeries2
One host attachment with 4 ports is
shown for pSeries3

pSeries2

A host attachment can access


Specific disk subsystem I/O ports
All valid disk subsystem I/O ports
pSeries3

A specific host attachment can be in


only one volume group

Host attachments are assigned to volume groups


Specific host attachment (one port or set of grouped ports) can be in
only one volume group
Multiple hosts (even different open systems host types -- with same
blocksize and addressing mode) allowed in same volume group

Safest approach is one host per volume group

If shared access to LUNs is required, shared LUNs may be placed in


multiple volume groups (e.g. LUN1 below)
Volume Group 1
pSeries1

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

Specific LUN can be in more than one volume group

Allows LUN sharing (e.g. LUN1 in example below)


Volume Group 1

Volume Group 2

pSeries1

xSeries1

Volumes from different LSSs and different Extent Pools


can be in one volume group (Volume Group 1 below)
Volumes from same LSS and/or same Extent Pool can be
in different volume groups (7512, 7515)

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

# Management Console/Node IP Address(es)


# hmc1 and hmc2 are equivalent to -hmc1 and -hmc2 command
# options.
hmc1: 172.16.0.1
#hmc2: 127.0.0.1
#
# Default target Storage Image ID
# "devid" and "remotedevid" are equivalent to
# "-dev storage_image_ID" and "-remotedev storeage_image_ID"
# command options, respectively.
devid:
IBM.2107-7523201
# locale
# Default locale is based on user environment.
locale:
en
hmc1 DS8000 HMC HMC IP172.16.0.1; devid
DS8000 storage facility image ID IBM.2107-7523201
default
copy support
Notes
1 DSCLI DS8K DSCLI
DSCLI
DS8KIBM Lab
2 devid DS8K 0 21079A2devid 75-xxxx1 75-xxxx2 2107-921/922devid 75xxxx1 profile devid
devid
3 DS8K

IE
https://172.16.0.1:8452/DS8000/Console
admin/admin
passw0rd
DSCLI DSCLI
dscli dscli
Notes 24 3 3

I advise you run below command to disable 3 times lock


pwd function:
chpass -expire 0 -fail 0

1.3 DS8000 license


DS8K DS8K license
1. Signature ()
dscli> showsi -fullid IBM.2107-75BCYY1
Date/Time: 2006 2 6 10 26 56 IBM DSCLI Version: 5.1.0.297
DS: IBM.21
07-75xxxx1
Name
desc
ID
IBM.2107-75xxxx1
Storage Unit IBM.2107-75xxxx0
Model
9xx
WWNN
5005076304FFC1C0
Signature fb78-de56-4e89-e46b
State
Online
ESSNet
Enabled
Volume Group IBM.2107-75xxxx1/V0
os400Serial dscli>
2. DS8000 signature capacity license

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

dscli> applykey file c:\xxxxkeys.xml IBM.2107-75xxxx1


GUI key
https://172.16.0.1:8452/DS8000/Console
In the navigation panel, select, in order, Real-time Manager, Manage
Hardware, and Storage images. In Storage images Main Page, select a
Storage image. Then select Apply activation codes in the Select Action dropdown list. Then click Go. The Apply activation codes page is displayed

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

146 GB 10K DRIVE SET

driver set 16 DDM 2 arraysite

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

mkarray [-dev storage_image_ID] -raidtype 5|10 -arsite Array_site


( raid10)
dscli>mkarray -raidtype 10 -arsite S1
dscli>mkarray -raidtype 10 -arsite S2


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

RAID type DA Pair


2107 Disk Enclosures DA

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

mkrank [-dev storage_image_ID] -array array_ID -stgtype fb|ckd

mkrank -array A0 -stgtype fb


mkrank -array A1 -stgtype fb

1.4.4 Extend Pool

Usage: mkextpool [-dev storage_image_ID] -rankgrp 0|1 -stgtype fb|ckd


Extent_pool_name

mkextpool -rankgrp 0 -stgtype fb ext_pool0


mkextpool -rankgrp 1 -stgtype fb ext_pool1
mkextpool -rankgrp 0 -stgtype fb ext_pool2
mkextpool -rankgrp 1 -stgtype fb ext_pool3
rankgrp 0 | 1
Assigns the extent pool to either rank group 0 or 1. Rank group 0 is managed by server
0, and rank group 1 is managed by server 1.
extend pool servercontroller
01
stgtype fb|ckd
open system fbckd S390
Extend_pool_name
pool
ID

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

availstor (2^30B) %allocated available reserved numvols

=================================================================================
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

1.4.5 rank extend pool

RANK 'Unassigned' Issue "lsrank " to


get the rank status.

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

R0R4 UnassignedR5 R6R10


Pending rank Unassigned

RANK 'Unassigned'

Usage: chrank [-dev storage_image_ID] [-extpool extentpool_ID] Rank_ID ...

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

2 LUN LUN host hdisk HACMP

70120 RAID

Array RANK extend pool lsextpool


raid
dscli>lsextpool
Date/Time: 2006 1 21 03 10 27 IBM DSCLI Version: 5.0.3.134 DS:
IBM.2107-75xxxx1
Name
ID stgtype rankgrp availstor (2^30B) availext reservedextents numvols
============================== ==================================
ext_pool0 P0 fb
0 388
388
0
0
ext_pool1 P1 fb
1 388
388
0
0
ext_pool2 P2 fb
0 388
388
0
0

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

72GB RAID: 7+P=452GiB(AIX see)


6+P+S=388GiB
3X2+2S=193GiB
4X2=258GiB
146GB RAID: 7+P=909GiB(AIX see)
6+P+S=779GiB
3X2+2S=388GiB
4X2=519GiB
300GB RAID: 7+P=1844GiB
6+P+S=1582GiB
3X2+2S=790GiB
4X2=1054GiB
GiB: DS8000 Extents are defined in binary Gigabytes (GiB: 230 bytes)
GB: Normal volumes are defined in decimal Gigabytes (GB: 109 bytes)
DS8K GiB LUN hdisk
GiB 1024*1024*1024 DS8K
ESS800 copy service DS8K LUN ESS
DS mkfbvol
LUN
mkfbvol [-dev storage_image_ID] -extpool extentpool_ID [-cap capacity] [-type blocks|
ess|ds] [-name volume_name] Volume_ID

mkfbvol -extpool P0 -cap 97 name fb_vol_#h 2000-2007


mkfbvol -extpool P1 -cap 97 name fb_vol_#h 2100-2107
extend pool 0P0 8 97GiB LUN LUN
ID 20002001200220032004200520062007LUN
fb_vol_2000fb_vol_2001fb_vol_2002fb_vol_2003.. fb_vol_2007
volume_name
BI_vol_xxxxDB_vol_xxx
capacity 1GiB 1array size
LUN ID
LUN ID xyzz (x=address group, xy=LSS, zz=volume ID) 16
LUN ID

x DS8K address group 0 F 0


S390open 0
7
xy LSS ID 00FF address group 2
LSS ID 202122232E 16 LSS LSS
ID Y LSS server Y LSS
LUN server 0 Y LSS LUN
server 1
HP LUN ID
Due to limitations in the host operating system, LUNs greater than x'3FFF' are not
supported. When you create or assign LUNs and volumes, only LUN and volume
IDs less than x'3FFF' are supported. This limits the maximum number of volumes
that are allowed for HP host types to 16384
LUN ID3FFF HP

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

1.4.7 volume group


Volume Group
volume group DS8K LUN LUN masking LUN
masking FC WWPN DS8K
HBA port volume groupvolume group LUN

pSeries 1

pSeries 2
SAN

FC Port

HBA Port
DS8K
Volume Group 1
LUN
1

LUN masking DSCLI


LUN
Place hosts in separate volume groups and shared volumes in multiple
volume groups
Place shared volumes and multiple hosts in single volume group
LUN LUN
volgrp LUN volgrp
LUN volgrp LUN volgrp

LUN

volume group

mkvolgrp [ -type scsimask|scsimap256|os400mask ] [-dev storage_image_ID]


Volume_Group_Name

-type scsimask 64K LUN


Volume_Group_Name
volume group ID
volgrp
dscli> lshosttype -type scsimask
Date/Time: 27 October 2005 23:13:50 IBM DSCLI Version: 5.1.0.204
HostType Profile AddrDiscovery LBS
==================================================
Hp HP - HP/UX reportLUN 512
SVC San Volume Controller reportLUN 512
SanFsAIX IBM pSeries - AIX/SanFS reportLUN 512
pSeries IBM pSeries - AIX reportLUN 512
zLinux IBM zSeries - zLinux reportLUN 512
dscli> lshosttype -type scsimap256
Date/Time: 27 October 2005 23:13:58 IBM DSCLI Version: 5.1.0.204
HostType Profile AddrDiscovery LBS
==================================================
===
AMDLinuxRHEL AMD - Linux RHEL LUNPolling 512
AMDLinuxSuse AMD - Linux Suse LUNPolling 512
AppleOSX Apple - OSX LUNPolling 512
Fujitsu Fujitsu - Solaris LUNPolling 512
HpTru64 HP - Tru64 LUNPolling 512
HpVms HP - Open VMS LUNPolling 512
LinuxDT Intel - Linux Desktop LUNPolling 512
LinuxRF Intel - Linux Red Flag LUNPolling 512
LinuxRHEL Intel - Linux RHEL LUNPolling 512
LinuxSuse Intel - Linux Suse LUNPolling 512
Novell Novell LUNPolling 512
SGI SGI - IRIX LUNPolling 512
SanFsLinux - Linux/SanFS LUNPolling 512
Sun SUN - Solaris LUNPolling 512
VMWare VMWare LUNPolling 512
Win2000 Intel - Windows 2000 LUNPolling 512
Win2003 Intel - Windows 2003 LUNPolling 512
iLinux IBM iSeries - iLinux LUNPolling 512
pLinux IBM pSeries - pLinux LUNPolling 512
==================================================
===

mkvolgrp -type scsimask data_dbsvg1

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

1.4.8 LUN volume group

chvolgrp [-dev storage_image_ID] [-name new_Volume_Group_name] [-ac


tion add|remove|replace] [-volume volume] Volume_Group_ID

chvolgrp -action add -volume 1400,1402,1409 v0


ESS LUN DS8000
LUN RANK-remove

1.4.9 host connection

mkhostconnect [-dev storage_image_ID] -wwname wwpn [-profile


"port_profile_name"] [-hosttype hostType] [-volgrp volume_group_ID] [-ioport
port_ID[,...]|all|none] Host_name
-profile "port_profile_name" -hosttype hostType
lsportprof DS8K profile
lshosttype DS8K host type
host connection volgrp
-ioport port_ID DS8K IO port ID

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

Note : A port ID is letter I + EEAP


EE is an I/O port enclosure number (00~17)
A is the adapter number (0,1,3,4)
P is the port number (0 ~ 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

dscli -script f:\sh.txt -user admin -passwd passw0rd >>output.log


f:\sh.txt output.log

mkarray -raidtype 5 -arsite S1


mkarray -raidtype 5 -arsite S2
mkarray -raidtype 5 -arsite S3
mkarray -raidtype 5 -arsite S4
mkarray -raidtype 5 -arsite S5
mkarray -raidtype 5 -arsite S6
mkarray -raidtype 5 -arsite S7
mkarray -raidtype 5 -arsite S8
mkrank -array A0 -stgtype fb
mkrank -array A1 -stgtype fb
mkrank -array A2 -stgtype fb
mkrank -array A3 -stgtype fb
mkrank -array A4 -stgtype fb
mkrank -array A5 -stgtype fb
mkrank -array A6 -stgtype fb
mkrank -array A7 -stgtype fb
mkextpool -rankgrp 0 -stgtype fb ext_pool0
mkextpool -rankgrp 1 -stgtype fb ext_pool1
mkextpool -rankgrp 0 -stgtype fb ext_pool2
mkextpool -rankgrp 1 -stgtype fb ext_pool3
mkextpool -rankgrp 0 -stgtype fb ext_pool4
mkextpool -rankgrp 1 -stgtype fb ext_pool5
mkextpool -rankgrp 0 -stgtype fb ext_pool6
mkextpool -rankgrp 1 -stgtype fb ext_pool7

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

1.4.11 SDD vpath

devices.fcp.disk.ibm.rte

(device driver or just ODM PuAt installer for DS8K,


DS6K, the current verion is 1.0.0.2)
devices.sdd.52.rte
( SDD 1.6.0.0 for 2107 and 1750 )
devices.sdd.52.1.6.0.2.rte
( SDD 1.6.0.5 update for 2107 and 1750 )
reboot DS8K assign
LUN

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.

Das könnte Ihnen auch gefallen