0% found this document useful (0 votes)
19 views50 pages

SSF01G07

Uploaded by

raspat2000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views50 pages

SSF01G07

Uploaded by

raspat2000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 50

Host system attachment

© Copyright IBM Corporation 2011


Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 5.0
Unit objectives
After completing this unit, you should be able to:
• Discuss the specific host considerations that you might need
for implementing the DS8000 with your chosen platform
• Configure hosts and volumes inside DS8000 for open system
hosts
• Configure open systems to be able to access DS8000 volumes
with multipathing
• Attach the DS8000 volumes to the operating system

© Copyright IBM Corporation 2011


Topic 1: Introduction

© Copyright IBM Corporation 2011


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Downloading and installing a host adapter driver
If the driver is not included inside your official OS distribution:

• Download the adapter driver from the adapter vendor Web site.
– Emulex
• http://www.emulex.com/downloads/ibm/vfa-software-kits.html
– Hewlett-Packard
• http://www.hp.com
– IBM
• http://www.ibm.com/support/entry/portal/Downloads?cm_re=other-_-suprcn-_-
download
– QLogic
• http://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/NewDefault.aspx
– Oracle (Sun)
• http://www.oracle.com/us/products/servers-storage/storage/storage-
networking/index.htm

• Follow the installation instructions from the vendor to install the host
adapter driver.
© Copyright IBM Corporation 2011
DS8000 supported Open OS
• IBM:
– System Power: IBM i, AIX/HACMP/VIOS, Red Hat Enterprise Linux, and SUSE
• Intel servers:
– Windows, Linux, VMware, and NetWare
• Hewlett-Packard:
– HP-UX
– AlphaServer: Tru64 UNIX and OpenVMS
• Oracle (Sun):
– Solaris
• Apple Macintosh:
– OSX
• SGI Origin servers:
– IRIX (April 2005)
• Fujitsu Primepower

© Copyright IBM Corporation 2011


LUN considerations for Fibre Channel attachment
Host operating system type Number of LUNs per host

AIX 64000

HP 16000

Linux 256

Oracle (Sun) Thousands(*)

System i 64000

Windows 256

(*) Previously for Sun, all storage unit ports shared a single volume group per host,
which limited the number of maximum volumes per host to 256. Currently for Oracle,
each storage unit port can use a different volume group (256 volumes per port),
allowing many thousands of volumes per host. This amount is limited only by the
number of ports on the storage unit that are assigned to the Sun host.

© Copyright IBM Corporation 2011


IBM System Storage Multipath SDD
• The subsystem device driver (SDD) provides the following functions:
– Enhanced data availability
– Automatic path failover and failback
– Dynamic I/O load-balancing across multiple paths
– Multiple path selection policies for the host system
– Concurrent download of licensed machine code

• The term SDD represents both (depending upon the OS):


– The SDD as the established subsystem multipath device driver
– The multipath I/O (MPIO) path control module

Operating system Description Acronym

AIX SDD Path Control Module SDDPCM


Linux Device Mapper DM-Multipath
Windows SDD Device-specific SDDDSM
Module
© Copyright IBM Corporation 2011
Attachment restrictions for Copy Services
• When you copy a source volume to a target volume
– The source and target volumes must be on different host systems
• To enable concurrent read/write access of both volumes

• A copy operation with the source and target volume on the same host
– Creates a target volume with the same identification as the source volume

• Under the following conditions, the target and source volumes can be on
the same host system for Copy Services operations
– For AIX, when the host is using a LVM with recreatevg command support
– For AIX and Oracle, when the host system is not using a LVM
– For HP using fibre-channel, when the LVM accesses the host through the
vfchigid –f command
– For any host system, when the host system can distinguish between a source and
a target volume that have the same identification

© Copyright IBM Corporation 2011


Topic 2: Windows server

© Copyright IBM Corporation 2011


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
SDDDSM for Windows 2003 and Windows 2008
• SDDDSM resides in a host system with the native device driver

• SDDSDM provides the following functions:


– Enhanced data availability
– Dynamic I/O load-balancing across multiple paths
– Automatic path failover protection
– Concurrent download of licensed internal code
– Path selection policies for the host system

• Be aware of the following limitations:


– SDDDSM does not support Windows 2000.
– SDD is not supported on Windows 2008.
– For HBA driver, SDDDSM requires storport version of HBA miniport
driver.
© Copyright IBM Corporation 2011
Locating the WWPN: SDDDSM datapath query
• The helpful command is datapath query wwpn.
C:\>
C:\> Program
Program Files\IBM\SDDDSM>
Files\IBM\SDDDSM> datapath
datapath query
query wwpn
wwpn
Adapter
Adapter Name:
Name: Port
Port WWN
WWN
Scsi
Scsi Port1:
Port1: 210000E08B1EAE9B
210000E08B1EAE9B
Scsi
Scsi Port2:
Port2: 210000E08B0B8836
210000E08B0B8836

• Another command is datapath query device.


C:\>
C:\> Program
Program Files\IBM\SDDDSM>
Files\IBM\SDDDSM> datapath
datapath query
query device
device

Total
Total Devices:
Devices: 22

DEV#:
DEV#: 00 DEVICE
DEVICE NAME:
NAME: Disk2
Disk2 Part0
Part0 TYPE:
TYPE: 2107900
2107900 POLICY:
POLICY: OPTIMIZED
OPTIMIZED SERIAL:75BV321E121
SERIAL:75BV321E121
==========================================================================================
==========================================================================================
Path#
Path# Adapter/Hard
Adapter/Hard Disk
Disk State
State Mode
Mode Select
Select Errors
Errors
00 Scsi
Scsi Port1
Port1 Bus0/Disk2
Bus0/Disk2 Part0
Part0 OPEN
OPEN NORMAL
NORMAL 203
203 33
11 Scsi Port2 Bus0/Disk2 Part0
Scsi Port2 Bus0/Disk2 Part0 OPEN
OPEN NORMAL
NORMAL 173
173 11

DEV#:
DEV#: 11 DEVICE
DEVICE NAME:
NAME: Disk3
Disk3 Part0
Part0 TYPE:
TYPE: 2107900
2107900 POLICY:
POLICY: OPTIMIZED
OPTIMIZED SERIAL:75BV321E122
SERIAL:75BV321E122
==========================================================================================
==========================================================================================
Path#
Path# Adapter/Hard
Adapter/Hard Disk
Disk State
State Mode
Mode Select
Select Errors
Errors
00 Scsi
Scsi Port1
Port1 Bus0/Disk3
Bus0/Disk3 Part0
Part0 OPEN
OPEN NORMAL
NORMAL 182
182 00
11 Scsi
Scsi Port2
Port2 Bus0/Disk3
Bus0/Disk3 Part0
Part0 OPEN
OPEN NORMAL
NORMAL 156
156 00

© Copyright IBM Corporation 2011


Locating the WWPN: SANsurfer (QLogic)

© Copyright IBM Corporation 2011


Locating the WWPN: HBAnyware (Emulex)

© Copyright IBM Corporation 2011


Topic 3: AIX server

© Copyright IBM Corporation 2011


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
AIX multipath support: SDD
• There are also some other valuable features in SDD for AIX:
– Enhanced SDD configuration methods and migration
• SDD has a feature in the configuration method to read the pvid from the physical disks
– And convert the pvid from hdisks to vpaths during the SDD vpath configuration

– Allow mixed volume groups with non-SDD devices in hd2vp, vp2hd, and dpovgfix
• Mixed volume group is supported by these three SDD LVM conversion scripts
• These scripts allow pvid conversion even if the volume group consists of SDD
supported devices and non-SDD-supported devices like RDAC and EMC Powerpath

– Migration option for large device configuration


• SDD offers an environment variable SKIP_SDD_MIGRATION for you to customize the
SDD migration or upgrade to maximize performance
• This variable is an option available to permit the bypass of the SDD automated
migration process backup, restoration, and recovery of LVM configurations and SDD
device configurations
– That can help decrease the SDD upgrade time if you choose to reboot the system after
upgrading SDD

© Copyright IBM Corporation 2011


AIX multipath support: SDDPCM
• There are several reasons to prefer MPIO/SDDPCM to traditional SDD:
– Performance improvements due to direct integration with AIX
– Better integration if different storage systems are attached
– Easier administration through native AIX commands

• Restrictions and considerations


– Default MPIO is not supported on DS8000.
– AIX HACMP/XD is currently not supported with SDDPCM.
– SDDPCM and SDD cannot coexist on an AIX server.
• If a server connects to both ESS storage devices and DS family storage devices:
– All devices must be configured either as non-MPIO-capable or as MPIO capable devices
– If you choose to use MPIO with SDDPCM instead of SDD.
• You have to remove the regular DS8000 Host Attachment Script and install the MPIO
version.
– This script identifies the DS8000 volumes to the OS as MPIO manageable

© Copyright IBM Corporation 2011


AIX multipath support: Setup
• The following filesets are needed for MPIO on AIX:
– devices.common.IBM.mpio.rte
– devices.fcp.disk.ibm.mpio.rte
– devices.sddpcm.XX.rte (XX version is dependent of the OS level)

• The following filesets are not needed and must be removed:


– devices.sdd.XX.rte
– devices.fcp.disk.ibm.rte

© Copyright IBM Corporation 2011


Locating the WWPN and SDDPCM pcmpath query
• You can use the lscfg command to obtain these names.
{stor_lpar7_course}
{stor_lpar7_course} /home/root#
/home/root# lscfg
lscfg –vl
–vl fcs0
fcs0 || grep
grep Network
Network
Network
Network Address...........10000000C9757BB8
Address...........10000000C9757BB8
{stor_lpar7_course}
{stor_lpar7_course} /home/root#
/home/root# lscfg
lscfg –vl
–vl fcs1
fcs1 || grep
grep Network
Network
Network
Network Address...........10000000C9757BB9
Address...........10000000C9757BB9
{stor_lpar7_course}
{stor_lpar7_course} /home/root#
/home/root#

• Another command is datapath query device.


{stor_lpar7_course}
{stor_lpar7_course} /home/root#
/home/root# pcmpath
pcmpath query
query device
device

DEV#:
DEV#: 22 DEVICE
DEVICE NAME:
NAME: hdisk2
hdisk2 TYPE:
TYPE: 2107900
2107900 ALGORITHM:
ALGORITHM: Load
Load Balance
Balance SERIAL:75BV321E041
SERIAL:75BV321E041
==========================================================================================
==========================================================================================
Path#
Path# Adapter/Path
Adapter/Path Name
Name State
State Mode
Mode Select
Select Errors
Errors
00 fscsi0/path0
fscsi0/path0 OPEN
OPEN NORMAL
NORMAL 1240
1240 00
11 fscsi0/path1
fscsi0/path1 OPEN
OPEN NORMAL
NORMAL 1313
1313 00

DEV#:
DEV#: 33 DEVICE
DEVICE NAME:
NAME: hdisk3
hdisk3 TYPE:
TYPE: 1750500
1750500 ALGORITHM:
ALGORITHM: Load
Load Balance
Balance SERIAL:13AAGXA1161
SERIAL:13AAGXA1161
==========================================================================================
==========================================================================================
Path#
Path# Adapter/Path
Adapter/Path Name
Name State
State Mode
Mode Select
Select Errors
Errors
0*
0* fscsi0/path0
fscsi0/path0 OPEN
OPEN NORMAL
NORMAL 12
12 00
11 fscsi0/path1
fscsi0/path1 OPEN
OPEN NORMAL
NORMAL 3787
3787 00

{stor_lpar7_course}
{stor_lpar7_course} /home/root#
/home/root#

© Copyright IBM Corporation 2011


Topic 4: Managing host connection with
DS CLI

© Copyright IBM Corporation 2011


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
DS8000 host connection configuration
Perform the host configuration through the following steps:
1. Create volume groups
2. Create host connections
3. Assign fixed block volumes to a volume group
4. Assign a volume group to a host connection

© Copyright IBM Corporation 2011


Choosing the I/O ports in the DS8000
• Choose the attached I/O ports on different host adapters.

• Balance the connections between even and odd I/O enclosures (left and right
enclosures with a rack).

• Attach host adapters to I/O enclosures on separate RIO-G loop (or separate PCIe
connections on DS8700 or DS8800).

• Do not fill up all of the ports with connections.


– Two is ideal; three is correct; four is for best usage but not for maximum throughput.

© Copyright IBM Corporation 2011


Find the WWPN of your hosts
• Displaying a list of logged in host ports (unconfigured hosts)
dscli>
dscli> lshostconnect
lshostconnect –unknown
–unknown
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 3:50:13
3:50:13 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111

WWNN
WWNN WWPN
WWPN ESSIOport
ESSIOport
=======================================
=======================================
20000000C9291649
20000000C9291649 10000000C9291649
10000000C9291649 I0231,I0233
I0231,I0233
20000000C92AABA6
20000000C92AABA6 10000000C92AABA6
10000000C92AABA6 I0231,I0233
I0231,I0233
20000000C92AABF6
20000000C92AABF6 10000000C92AABF6
10000000C92AABF6 I0231,I0233
I0231,I0233
20000000C92BF488
20000000C92BF488 10000000C92BF488
10000000C92BF488 I0231,I0233
I0231,I0233
20000000C9757BB8
AIX server
20000000C9757BB8 10000000C9757BB8
10000000C9757BB8 I0231,I0233
I0231,I0233
20000000C9757BB9
20000000C9757BB9 10000000C9757BB9
10000000C9757BB9 I0231,I0233
I0231,I0233
20000000C983CB56
20000000C983CB56 10000000C983CB56
10000000C983CB56 I0231,I0233
I0231,I0233
20000000C983CB58
20000000C983CB58 10000000C983CB58
10000000C983CB58 I0231,I0233
I0231,I0233 Windows server
200000E08B1EAE9B
200000E08B1EAE9B 210000E08B1EAE9B
210000E08B1EAE9B I0231,I0233
I0231,I0233
200000E08B2FCD54
200000E08B2FCD54 210000E08B2FCD54
210000E08B2FCD54 I0231,I0233
I0231,I0233
200000E08B3A8832
200000E08B3A8832 210000E08B3A8832
210000E08B3A8832 I0231,I0233
I0231,I0233
...........
...........
dscli>
dscli>

© Copyright IBM Corporation 2011


Create or delete a volume group
• Command syntax
dscli>
dscli> mkvolgrp
mkvolgrp [-dev
[-dev <storage_image_ID>]
<storage_image_ID>] [-hosttype
[-hosttype <host_type>]
<host_type>]
[-type
[-type {scsimask/scsimap256/os400mask}]
{scsimask/scsimap256/os400mask}] [-volume
[-volume <volume_ID>
<volume_ID> {<volume_ID>
{<volume_ID> }]
}]
[-lun
[-lun <lun_ID>]
<lun_ID>] <volume_Group_Name>
<volume_Group_Name>

dscli>
dscli> rmvolgrp
rmvolgrp [-dev
[-dev <storage_image_ID>]
<storage_image_ID>] [-quiet]
[-quiet] <host_connection_ID>}
<host_connection_ID>}

• Creating a volume group for an AIX server


dscli>
dscli> mkvolgrp
mkvolgrp -type
-type scsimask
scsimask SSF0AIX_VG
SSF0AIX_VG
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 3:53:33
3:53:33 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00030I
CMUC00030I mkvolgrp:
mkvolgrp: Volume
Volume group
group V0
V0 successfully
successfully created.
created.
dscli>
dscli>

• Creating a volume group for a Windows server


dscli>
dscli> mkvolgrp
mkvolgrp -type
-type scsimap256
scsimap256 SSF0WIN_VG
SSF0WIN_VG
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 3:54:46
3:54:46 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00030I
CMUC00030I mkvolgrp:
mkvolgrp: Volume
Volume group
group V1
V1 successfully
successfully created.
created.
dscli>
dscli>

© Copyright IBM Corporation 2011


Generate an volume group report
• Command syntax
dscli>
dscli> lsvolgrp
lsvolgrp [-dev
[-dev <storage_image_ID>]
<storage_image_ID>] [-s/-l]
[-s/-l]
[-type
[-type {ficonall/scsiall/scsimask/scsimap256/os400all/os400mask}]
{ficonall/scsiall/scsimask/scsimap256/os400all/os400mask}] [-volume
[-volume <volume_ID>]
<volume_ID>]
[<volume_group_ID>
[<volume_group_ID> [<volume_group_ID]]
[<volume_group_ID]]

• Displaying a list of volume groups


dscli>
dscli> lsvolgrp
lsvolgrp
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 3:56:46
3:56:46 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
Name
Name ID
ID Type
Type
=======================================
=======================================
SSF0AIX_VG
SSF0AIX_VG V0
V0 SCSI
SCSI Mask
Mask
SSF0WIN_VG
SSF0WIN_VG V1
V1 SCSI
SCSI Map
Map 256
256
All CKD
All CKD V10
V10 FICON/ESCON
FICON/ESCON ALL
ALL
All
All Fixed
Fixed Block-512
Block-512 V20
V20 SCSI
SCSI All
All
All
All Fixed
Fixed Block-520
Block-520 V30
V30 OS400
OS400 All
All
dscli>
dscli>

• Displaying detailed properties on a volume group


dscli>
dscli> showvolgrp
showvolgrp V1
V1
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 3:58:43
3:58:43 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
Name
Name SSF0WIN_VG
SSF0WIN_VG
ID
ID V1
V1
Type
Type SCSI
SCSI Map
Map 256
256
Vols
Vols --
dscli>
dscli>
© Copyright IBM Corporation 2011
Create or delete a host connection
• Command syntax
dscli>
dscli> mkhostconnect
mkhostconnect [-dev
[-dev <storage_image_ID>]
<storage_image_ID>] -wwname
-wwname <wwpn>
<wwpn> [-lbs
[-lbs {512/520}]
{512/520}]
[-addrdiscovery
[-addrdiscovery {reportlun/lunpolling}]
{reportlun/lunpolling}] [-profile
[-profile <port_profile_name>]
<port_profile_name>]
[-hosttype
[-hosttype <host_type>]
<host_type>] [-portgrp
[-portgrp <port_grp_number>]
<port_grp_number>] [-volgrp
[-volgrp <volume_group_ID>]
<volume_group_ID>]
[-ioport
[-ioport {port_ID/port_ID_list/all/none}]
{port_ID/port_ID_list/all/none}] [-desc
[-desc <description>]
<description>] <host_name>
<host_name>

dscli>
dscli> rmhostconnect
rmhostconnect [-dev
[-dev <storage_image_ID>]
<storage_image_ID>] [-quiet]
[-quiet] <host_connection_ID>
<host_connection_ID>

• Creating a Host Connection for the AIX server (multiple HBAs)


dscli>
dscli> mkhostconnect
mkhostconnect –wwname
–wwname 10000000C9757BB8
10000000C9757BB8 –hosttype
–hosttype pSeries
pSeries –portgrp
–portgrp 88 –ioport
–ioport
I0231,I0233
I0231,I0233 SSF0_AIX_fc0
SSF0_AIX_fc0
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:05:16
4:05:16 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00012I mkhostconnect: Host connection 0000 successfully created
CMUC00012I mkhostconnect: Host connection 0000 successfully created
dscli>
dscli> mkhostconnect
mkhostconnect –wwname
–wwname 10000000C9757BB9
10000000C9757BB9 –hosttype
–hosttype pSeries
pSeries –portgrp
–portgrp 88 –ioport
–ioport
I0231,I0233
I0231,I0233 SSF0_AIX_fc1
SSF0_AIX_fc1
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:06:01
4:06:01 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00012I
CMUC00012I mkhostconnect:
mkhostconnect: Host
Host connection
connection 0001
0001 successfully
successfully created
created
dscli>
dscli>

• Creating a volume group for a Windows server


dscli>
dscli> mkhostconnect
mkhostconnect –wwname
–wwname 210000E08B1EAE9B
210000E08B1EAE9B –hosttype
–hosttype Win2003
Win2003 –ioport
–ioport I0231,I0233
I0231,I0233
SSF0_WIN_hba0
SSF0_WIN_hba0
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:06:01
4:06:01 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00012I
CMUC00012I mkhostconnect:
mkhostconnect: Host
Host connection
connection 0002
0002 successfully
successfully created
created
dscli>
dscli>
© Copyright IBM Corporation 2011
Generate a host connection report
• Command syntax
dscli>
dscli> lshostconnect
lshostconnect [-dev
[-dev <storage_image_ID>]
<storage_image_ID>] [-s/-l]
[-s/-l]
[-portgrp
[-portgrp <port_grp_number>]
<port_grp_number>] [-volgrp
[-volgrp <volume_group_ID>]
<volume_group_ID>] [-unknown]
[-unknown] [-login]
[-login]
[<host_connection_ID>
[<host_connection_ID> [<host_connection_ID]]
[<host_connection_ID]]

• Displaying a list of Host Connections


dscli>
dscli> lshostconnect
lshostconnect
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:10:03
4:10:03 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
Name
Name ID
ID WWPN
WWPN HostType
HostType Profile
Profile portgrp
portgrp volgrpID
volgrpID
=========================================================================================
=========================================================================================
SSF0_AIX_fc0
SSF0_AIX_fc0 0000
0000 10000000C9757BB8
10000000C9757BB8 pSeries
pSeries IBM
IBM pSeries
pSeries -- AIX
AIX 88 --
SSF0_AIX_fc0
SSF0_AIX_fc0 0001
0001 10000000C9757BB9
10000000C9757BB9 pSeries
pSeries IBM
IBM pSeries
pSeries -- AIX
AIX 88 --
SSF0_WIN_hba0
SSF0_WIN_hba0 0002
0002 210000E08B1EAE9B
210000E08B1EAE9B Win2003
Win2003 Intel
Intel –– Windows
Windows 2003
2003 00 --
dscli>
dscli>

• Displaying detailed properties on a Host Connection


dscli>
dscli> showhostconnect
showhostconnect 0002
0002
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:11:45
4:11:45 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
Name
Name SSF0_WIN_hba0
SSF0_WIN_hba0
ID
ID 0002
0002
WWPN
WWPN 210000E08B1EAE9B
210000E08B1EAE9B
HostType
HostType Win2003
Win2003
.......
.......
dscli>
dscli>

© Copyright IBM Corporation 2011


Assign or remove volumes to a volume group
• Command syntax
dscli>
dscli> chvolgrp
chvolgrp [-dev
[-dev <storage_image_ID>]
<storage_image_ID>] [-name
[-name <new_Volume_Group_name>]
<new_Volume_Group_name>]
[-action
[-action {add/remove/replace}]
{add/remove/replace}] [-volume
[-volume <volume_ID>
<volume_ID> {<volume_ID>}]
{<volume_ID>}] [-lun
[-lun <lun_ID>]
<lun_ID>]
<Volume_Group_ID>
<Volume_Group_ID>

• Assigning volumes to a volume group


dscli>
dscli> chvolgrp
chvolgrp –action
–action add
add –volume
–volume E000-E002,E100-E003
E000-E002,E100-E003 V0
V0
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:15:23
4:15:23 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00031I
CMUC00031I chvolgrp:
chvolgrp: Volume
Volume group
group V0
V0 successfully
successfully modified.
modified.
dscli>
dscli>
dscli>
dscli> chvolgrp
chvolgrp –action
–action add
add –volume
–volume E003-E004,E103-E004
E003-E004,E103-E004 V1
V1
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:16:34
4:16:34 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00031I
CMUC00031I chvolgrp:
chvolgrp: Volume
Volume group
group V1
V1 successfully
successfully modified.
modified.
dscli>
dscli>

• Removing a volume to a volume group


dscli>
dscli> chvolgrp
chvolgrp –action
–action remove
remove –volume
–volume E003
E003 V0
V0
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:18:06
4:18:06 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00031I
CMUC00031I chvolgrp:
chvolgrp: Volume
Volume group
group V0
V0 successfully
successfully modified.
modified.
dscli>
dscli>

© Copyright IBM Corporation 2011


Assign a volume group to a host connection
• Command syntax
dscli>
dscli> chhostconnect
chhostconnect [-dev
[-dev <storage_image_ID>]
<storage_image_ID>] [-lbs
[-lbs {512/520}]
{512/520}]
[-addrdiscovery
[-addrdiscovery {reportlun/lunpolling}]
{reportlun/lunpolling}] [-profile
[-profile <port_profile_name>]
<port_profile_name>]
[-hosttype
[-hosttype <host_type>]
<host_type>] [-portgrp
[-portgrp <port_grp_number>]
<port_grp_number>] [-volgrp
[-volgrp {<volume_group_ID>/none}]
{<volume_group_ID>/none}]
[-ioport
[-ioport {port_ID/port_ID_list/all/none}]
{port_ID/port_ID_list/all/none}] [-desc
[-desc <description>]
<description>] [-name
[-name <new_host_name>]
<new_host_name>]
<host_connection_ID>
<host_connection_ID>

dscli>
dscli> managehostconnect
managehostconnect [-dev
[-dev <storage_image_ID>]
<storage_image_ID>] [-volgrp
[-volgrp {<volume_group_ID>/none}]
{<volume_group_ID>/none}]
<port_grp_number>
<port_grp_number>

• Assigning a volume group (VG) to a Host Connection


dscli>
dscli> chhostconnect
chhostconnect –volgrp
–volgrp V1
V1 0002
0002
Date/Time:
Date/Time: April 21, 2011 4:17:17 PM
April 21, 2011 4:17:17 PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00013I
CMUC00013I chhostconnect:
chhostconnect: Host
Host connection
connection 0002
0002 successfully
successfully modified.
modified.
dscli>
dscli>

• Assigning a volume group to Host Connections that use


portgrp
dscli>
dscli> managehostconnect
managehostconnect –volgrp
–volgrp V0
V0 88
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:18:45
4:18:45 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00016I managehostconnect: Port group number 8 successfully modified.
CMUC00016I managehostconnect: Port group number 8 successfully modified.
dscli>
dscli>

© Copyright IBM Corporation 2011


Verification
• Displaying a list of host connections
dscli>
dscli> lshostconnect
lshostconnect
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:20:18
4:20:18 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
Name
Name ID
ID WWPN
WWPN HostType
HostType Profile
Profile portgrp
portgrp volgrpID
volgrpID
=========================================================================================
=========================================================================================
SSF0_AIX_fc0
SSF0_AIX_fc0 0000
0000 10000000C9757BB8
10000000C9757BB8 pSeries
pSeries IBM
IBM pSeries
pSeries -- AIX
AIX 88 V0
V0
SSF0_AIX_fc0
SSF0_AIX_fc0 0001
0001 10000000C9757BB9
10000000C9757BB9 pSeries
pSeries IBM
IBM pSeries
pSeries -- AIX
AIX 88 V0
V0
SSF0_WIN_hba0
SSF0_WIN_hba0 0002
0002 210000E08B1EAE9B
210000E08B1EAE9B Win2003
Win2003 Intel
Intel –– Windows
Windows 2003
2003 00 V1
V1
dscli>
dscli>

• Displaying LUN mapping for a specific volume group


dscli>
dscli> showvolgrp
showvolgrp -lunmap
-lunmap V1
V1
Date/Time:
Date/Time: April 21, 2011
April 21, 2011 4:22:20
4:22:20 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
Name
Name SSF0WIN_VG
SSF0WIN_VG
ID
ID V1
V1
Type
Type SCSI
SCSI Map
Map 256
256
Vols
Vols E003
E003 E004
E004 E103
E103 E104
E104
===============LUN
===============LUN Mapping=====================
Mapping=====================
vol
vol lun
lun
========
========
E003
E003 00
00
E004
E004 01
01
E103
E103 02
02
E104
E104 03
03
dscli>
dscli>
© Copyright IBM Corporation 2011
The lshostvol command: Examples
• From an AIX host when using SDD
dscli>
dscli> lshostvol
lshostvol
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:25:11
4:25:11 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
Disk
Disk Name
Name Volume
Volume ID
ID Vpath
Vpath Name
Name
===================================================================
===================================================================
hdisk1,hdisk3,hdisk5,hdisk7
hdisk1,hdisk3,hdisk5,hdisk7 IBM.2107-75Y9111/E000
IBM.2107-75Y9111/E000 vpath0
vpath0
hdisk2,hdisk4,hdisk6,hdisk8
hdisk2,hdisk4,hdisk6,hdisk8 IBM.2107-75Y9111/E100
IBM.2107-75Y9111/E100 vpath1
vpath1
dscli>
dscli>

• From an AIX host when using SDDPCM


dscli>
dscli> lshostvol
lshostvol
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:26:14
4:26:14 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
Disk Name
Disk Name Volume ID
Volume ID Vpath Name
Vpath Name
=========================================================================================
=========================================================================================
hdisk3
hdisk3 IBM.2107-75Y9111/E000
IBM.2107-75Y9111/E000 ---
---
hdisk4
hdisk4 IBM.2107-75Y9111/E100
IBM.2107-75Y9111/E100 ---
---
dscli>
dscli>

• From a Windows host when using SDDDSM


dscli>
dscli> lshostvol
lshostvol
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:30:37
4:30:37 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
Disk Name
Disk Name Volume ID
Volume ID Vpath Name
Vpath Name
=========================================================================================
=========================================================================================
Disk2
Disk2 IBM.2107-75Y9111/E005
IBM.2107-75Y9111/E005 ---
---
Disk3
Disk3 IBM.2107-75Y9111/E105
IBM.2107-75Y9111/E105 ---
---
© Copyright IBM Corporation 2011
Topic 5: Dynamic volume expansion

© Copyright IBM Corporation 2011


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
DS8000: Dynamic volume expansion
• Command syntax
dscli>
dscli> chfbvol
chfbvol [-dev
[-dev <storage_image_ID>]
<storage_image_ID>]
[-os400
[-os400 {protected/unprotected/A01/A81/A02/A82/A04/A84/A05/A85/A06/A86/A07/A87}]
{protected/unprotected/A01/A81/A02/A82/A04/A84/A05/A85/A06/A86/A07/A87}]
[-name
[-name <new_volume_name>]
<new_volume_name>] [-type
[-type {ess/ds/blocks}]
{ess/ds/blocks}] [-cap
[-cap <new_capacity>]
<new_capacity>] [-quiet]
[-quiet]
<volume_ID>
<volume_ID> [<volume_ID>]
[<volume_ID>]

• Expanding a striped volume


dscli>
dscli> lsfbvol
lsfbvol
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:33:25
4:33:25 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
Name
Name ID
ID accsate
accsate datastate
datastate configstate
configstate deviceMTM
deviceMTM datatype
datatype extpool
extpool cap
cap (2^30B)
(2^30B)
========================================================================================
========================================================================================
SSF0_P2_E000
SSF0_P2_E000 E000
E000 Online
Online Normal
Normal Normal
Normal 2107-900
2107-900 FBFB 512
512 P2
P2 20.0
20.0
.........
.........
dscli>
dscli> chfbvol
chfbvol –cap
–cap 40
40 E000
E000
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:35:25
4:35:25 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC000332W
CMUC000332W chfbvol:
chfbvol: Some
Some host
host operating
operating systems
systems do
do not
not support
support changing
changing the
the volume
volume size.
size. Are
Are
you
you sure
sure that
that you
you want
want to
to resize
resize the
the volume?
volume? [y/n]:
[y/n]: yy
CMUC000026I
CMUC000026I chfbvol:
chfbvol: FB
FB volume
volume E000
E000 successfully
successfully modified.
modified.
dscli>
dscli> lsfbvol
lsfbvol
Date/Time:
Date/Time: April
April 21,
21, 2011
2011 4:40:20
4:40:20 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
Name
Name ID
ID accsate
accsate datastate
datastate configstate
configstate deviceMTM
deviceMTM datatype
datatype extpool
extpool cap
cap (2^30B)
(2^30B)
========================================================================================
========================================================================================
SSF0_P2_E000
SSF0_P2_E000 E000
E000 Online
Online Normal
Normal Normal
Normal 2107-900
2107-900 FBFB 512
512 P2
P2 40.0
40.0
.........
.........
dscli>
dscli>

© Copyright IBM Corporation 2011


Dynamic volume expansion for Windows
• It is possible to expand a volume in the DS8000
– Even if it is mapped to a host
– Even if the host has applications running

• A volume that is in FlashCopy, Metro Mirror, or Global Mirror


relation
– Cannot get expanded unless the relation is removed

• If the volume is part of a Microsoft Cluster (MSCS)


– Microsoft recommends that you shut down all nodes except one
• And that applications in the resource which use the volume that you want
to expand are stopped

• To expand a volume while it is in use on Windows server:


– You can use Diskpart for basic disks
– You can use Disk Manager for dynamic disks
© Copyright IBM Corporation 2011
DVE for Windows: Example

Expanded volume
Volume size before expansion
after DS8000 volume expansion

C:\>
C:\> Program
Program Files\IBM\SDDDSM>
Files\IBM\SDDDSM> diskpart
diskpart
DISKPART>
DISKPART> list
list volume
volume

Volume
Volume ###
### Ltr
Ltr Label
Label Fs
Fs Type
Type Size
Size Status
Status Info
Info
----------
---------- ------ ----------
---------- -----
----- ----------
---------- -------
------- ---------
--------- -------
-------
Volume
Volume 00 ZZ DS8000_EXP
DS8000_EXP NTFS
NTFS Partition
Partition 12
12 GB
GB Healthy
Healthy
Volume
Volume 11 EE NTFS
NTFS Partition
Partition 34
34 GB
GB Healthy
Healthy System
System
.......
.......
DISKPART>
DISKPART> select
select volume
volume 00
DISKPART> extend
DISKPART> extend

© Copyright IBM Corporation 2011


Dynamic volume expansion for AIX
• Starting with IBM DS8000 LMC 5.3.xx.xx
– It is possible to expand a logical volume in size without taking the volume offline
• Additional actions are required on the attached host to make use of the extra space

• Two options are available if more space is required in a file system


– You can add another DS8000 logical volume on the AIX volume group
– You can extend the DS8000 logical volume
• And subsequently adjust the AIX LVM (AIX Logical Volume Manager) definitions

• To expand a volume on the attached AIX server:


– The configuration change is read out with the AIX commands cfgmgr and chvg
• Afterwards, the file system is expanded online and the result is displayed.

• There are some limitations regarding the online size extension


– It might be required to deactivate and reactivate the AIX VG for LVM
• To see the size change on the disks (if necessary, check the appropriate AIX
documentation)
© Copyright IBM Corporation 2011
DVE for AIX: Example
• AIX file system before Dynamic Volume Expansion (18 GB)
{stor_lpar7_course}
{stor_lpar7_course} /home/root#
/home/root# lsvg
lsvg –l
–l dvevg
dvevg
dvevg:
dvevg:
LV_NAME
LV_NAME TYPE
TYPE LPs
LPs PPs
PPs PVs
PVs LV
LV STATE
STATE MOUNT
MOUNT POINT
POINT
dvelv
dvelv jfs2
jfs2 280
280 280
280 11 open/syncd
open/syncd /dvefs
/dvefs
........
........
{stor_lpar7_course}
{stor_lpar7_course} /home/root#
/home/root# lsfs
lsfs /dvefs
/dvefs
NAME
NAME Nodename
Nodename Mount
Mount Pt
Pt VFS
VFS Size
Size Options
Options Auto
Auto Accounting
Accounting
/dev/dvelv
/dev/dvelv --
-- /dvefs
/dvefs jfs2
jfs2 36700160
36700160 rw
rw yes
yes no
no

{stor_lpar7_course}
{stor_lpar7_course} /home/root#
/home/root#

• AIX file system after DS8000 Dynamic Volume Expansion (now 24 GB)
{stor_lpar7_course}
{stor_lpar7_course} /home/root#
/home/root# cfgmgr
cfgmgr
{stor_lpar7_course}
{stor_lpar7_course} /home/root#
/home/root# chvg
chvg –g
–g dvevg
dvevg
{stor_lpar7_course}
{stor_lpar7_course} /home/root# chfs –a
/home/root# chfs –a size=45000000
size=45000000 /dvefs
/dvefs
Filesystem
Filesystem size
size changed
changed to
to 45088768
45088768

{stor_lpar7_course}
{stor_lpar7_course} /home/root#
/home/root# lsfs
lsfs /dvefs
/dvefs
NAME
NAME Nodename
Nodename Mount
Mount Pt
Pt VFS
VFS Size
Size Options
Options Auto
Auto Accounting
Accounting
/dev/dvelv
/dev/dvelv --
-- /dvefs
/dvefs jfs2
jfs2 45088768
45088768 rw
rw yes
yes no
no

{stor_lpar7_course}
{stor_lpar7_course} /home/root#
/home/root#

© Copyright IBM Corporation 2011


Topic 6: Managing host connection with
DS GUI

© Copyright IBM Corporation 2011


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Configure logical host systems (1 of 5)

© Copyright IBM Corporation 2011


Configure logical host systems (2 of 5)

© Copyright IBM Corporation 2011


Configure logical host systems (3 of 5)

© Copyright IBM Corporation 2011


Configure logical host systems (4 of 5)

© Copyright IBM Corporation 2011


Configure logical host systems (5 of 5)

© Copyright IBM Corporation 2011


Verify your host connections

© Copyright IBM Corporation 2011


Modify a host connection (1 of 5)

© Copyright IBM Corporation 2011


Modify a host connection (2 of 5)

© Copyright IBM Corporation 2011


Modify a host connection (3 of 5)

© Copyright IBM Corporation 2011


Modify a host connection (4 of 5)

© Copyright IBM Corporation 2011


Modify a host connection (5 of 5)

© Copyright IBM Corporation 2011


Host connection final result

© Copyright IBM Corporation 2011


Unit summary
Having completed this unit, you should be able to:
• Discuss the specific host considerations that you might need
for implementing the DS8000 with your chosen platform
• Configure hosts and volumes inside DS8000 for open system
hosts
• Configure open systems to be able to access DS8000 volumes
with multipathing
• Attach the DS8000 volumes to the operating system

© Copyright IBM Corporation 2011

You might also like