Adding DS8000 Volumes to SVC
Table of Contents
1 Introduction: ................................ ................................ ..
1.1 Adding DS8000 Storage to the SVC: ..........................
2 Acronyms Used................................ ...........................
3 References: ................. ................................ ..............
1 Introduction:
The IBM SVC is a virtualization appliance that is based on In -Band Virtualization. It uses block aggregation,
which means taking storage from one or more storage subsystems and offering it to the hosts in the form of
Vdisks (Virtual disks).
This document will describe process to add the storage from DS8000 to the IBM SAN Volume Controller.
1.1 Adding DS8000 Storage to the SVC:
We can add the storage from the DS8000 to the SVC using the DS -Command line interface as per the
procedure below.
NOTE: For the SVC to see the disks presen ted to it from the backend storage(DS8000),the HBA(I/0
ports) of DS8000 should be zoned to all the SVC Node HBA ports.
Procedure to assign storage:
Ø Login to the DS-CLI using the IP address of the HMC.
D:\Program Files\IBM\dscli>dscli -cfg "d:\Program Files\IBM\dscli\profile\PR DS8
00_1.profile"
Enter your username: admin
Enter your password:
Date/Time: 18 September 2007 07:36:00 BST IBM DSCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx
dscli>
Ø Display all the arraysites to see if any unassigned arraysite is p resent using the
lsarraysite command
dscli> lsarraysite
Date/Time: 18 September 2007 07:36:00 BST IBM DSCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx
arsite DA Pair dkcap (10^9B) State Array
S1 2 146.0 Assigned A0
S2 2 146.0 Assigned A1
S3 2 146.0 Assigned A2
S4 2 146.0 Assigned A3
S5 2 146.0 Assigned A4
S6 2 146.0 Assigned A5
S7 2 146.0 Assigned A6
S8 2 146.0 Unassigned –
Ø Create a new array using the mkarray command from the unsigned arraysite.
dscli> mkarray -raidtype 5 -arsite S8
Date/Time: 18 September 2007 07:36:00 BST IBM DSCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx ABXUY00005 mkarray: Array A7 successfully created.
Ø Display the newly created array using the command lsarray
dscli>lsarray
Date/Time: 18 September 2007 07:36:00 BST IBM D SCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx
Array State Data RAIDtype arsite Rank
DA
Pair
DDMcap
(10^9B)
A0 Assigned Normal 5(7+P) S1 R0 2 146
A1 Assigned Normal 5(7+P) S2 R1 2 146
A2 Assigned Normal 5(7+P) S3 R2 2 146
A3 Assigned Normal 5(6+P+S) S4 R3 2 146
A4 Assigned Normal 5(6+P+S) S5 R4 2 146
A5 Assigned Normal 5(6+P+S) S6 R5 2 146
A6 Assigned Normal 5(6+P+S) S7 R6 2 146
A7 Unassigned Normal 5(7+P) S8 - 2 146
Ø List the extent pools to check if there are any free extent pools.
dscli> lsextpool -l
Date/Time: 18 September 2007 07:15:00 BST IBM DSCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx
Name ID stgtype rankgrp status
availstor
(2^30B)
%
allocated available reserved numvols numranks
extpool_01 P0 ckd 0 below 727 18 700 0 64 1
extpool_02 P1 ckd 1 below 727 18 820 0 64 1
extpool_03 P2 ckd 0 below 896 0 10 18 0 1
extpool_04 P3 ckd 1 below 769 0 769 0 0 1
extpool_05 P4 fb 0 below 219 71 219 0 17 1
extpool_06 P5 fb 1 below 379 51 379 0 1 1
extpool_07 P6 fb 0 below 379 51 379 0 4 1
Ø Create a new extent pool extpool_08 which will be created with ID P7.
dscli> mkextpool -rankgrp 1 -stgtype fb "extpool_08"
Date/Time: 18 September 2007 08:10:00 BST IBM DSCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx mkextpool: Extent pool P7 successfully created.
Ø Create a new rank using the mkrank command:
dscli> mkrank -stgtype fb -array A7
Date/Time: 18 September 2007 08:10:00 BST IBM DSCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx ABXUY00008 mkrank: Rank R7 successfully created .
Ø Display the newly created rank with the lsrank command
dscli> lsrank -l
Date/Time: 18 September 2007 08:20:00 BST IBM DSCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx
R0 0 Normal Normal A0 5 P0 extpool_01 ckd 1024 195
R1 1 Normal Normal A1 5 P1 extpool_02 ckd 1012 150
R2 0 Normal Normal A2 5 P2 extpool_03 ckd 1024 0
R3 1 Normal Normal A3 5 P3 extpool_04 ckd 875 0
R4 0 Normal Normal A4 5 P4 extpool_05 fb 775 500
R5 1 Normal Normal A5 5 P5 extpool_06 fb 775 200
R6 0 Normal Normal A6 5 P6 extpool_07 fb 775 200
R7 - Configuring Normal A7 5 - - fb 0 -
Ø Assign the unassigned rank to extent pool P7
dscli> chrank -extpool P7 R7
Date/Time: 18 September 2007 08: 20:00 BST IBM DSCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx ABXUY000021 chrank: Rank R7 successfully modified.
Ø Create four FB volumes with ID 1100 to 110 3
dscli> mkfbvol -extpool P7 -cap 100 1300-1303
Date/Time: 18 September 2007 08:20:00 BST IBM DSCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx ABXUY00005 mkfbvol: FB volume 1100 successfully created.
ABXUY00001 mkfbvol: FB volume 1101 successfully created.
ABXUY00003 mkfbvol: FB volume 1102 successfully created.
ABXUY00004 mkfbvol: FB volume 1103 successfully created.
Ø Create a Volume group and associate all the above created volumes with it.
dscli> mkvolgrp -volume 1100-1103 -type scsimap256 SVC_Volgrp
Date/Time: 18 September 2007 08:30:00 BST IBM DSCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx ABXUY000011 mkvolgrp: Volume group V1 successfully created.
Ø Set the I/O ports of the DS8000 to SCSI -FCP.
dscli> setioport -topology SCSI-FCP IBM.2107-75x07xx /I0231
Date/Time: 18 September 2007 08:30:00 BST IBM DSCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx ABXUY000011 setioport: I/O Port I0231 successfully configured.
Ø Configure the SVC node (HBA) connections to the IO ports of the DS8000.Note that
each node has 4 HBA’s and so it is better to define the connections to all the HBAs to all
IO ports of the DS8000.
dscli> mkhostconnect -wwname 5100xxxxxxxxxx4A -profile "IBM SAN Volume
Controller" -volgrp V1 -ioport all SVCN1_hba1
Date/Time: 18 September 2007 08:30:00 BST IBM DSCLI Version: 5.1.0.109 DS:
IBM.2107-75x07xx ABXUY000014 mkhostconnect: Host connection 000 1
successfully created.
Repeat the above command for adding all the HBA to the DS8000 IO ports.
Ø From the SVC issue the following command to detect the volumes as mdisks
Svctask detectmdisk
After the Mdisks are detected then the Mdisks can be combined together to form the
MdiskGroup. Once the MDiskgroup is created virtual disks can be created and mapped
to the hosts.
2 Acronyms Used
DS Disk System
SVC SAN Volume Controller
HBA Host Bus Adapter
IO Input Output
SCSI
Small Computer Syetem
interface
FCP Fibre channel protocol
CLI Command Line Interface
3 References:
IBM SVC Redbook
IBM DS8000 Planning and Implementation
No comments:
Post a Comment