Upload
sreenathonweb
View
32
Download
0
Embed Size (px)
DESCRIPTION
DS8000_CLI
Citation preview
IBM System Storage™
IBM SystemsDS8000 POWER To Perform |
IBM System StorageTM DS8000 series- Virtualization concepts
Aravindhan Subramanian
IBM System Storage™
2 IBM SystemsDS8000 POWER To Perform |
Agenda
Configuring new fixed block storage
Managing your logical storage configuration
Server decommissioning
IBM System Storage™
3 IBM SystemsDS8000 POWER To Perform |
Configuring new fixed block storage
Create extent pools
Create Arrays
Create Ranks
Create fixed block volumes
Create volume groups
Configuring fibre channel I/O ports
Creating host port connections
IBM System Storage™
4 IBM SystemsDS8000 POWER To Perform |
Extent pools
Creating the extent pools before the arrays and ranks saves a processing step
Each extent pool is defined with the rank group of 0 or 1 and a storage type of fb.
Create extent pool
– dscli>mkextpool -dev IBM.2107-75FA120 -rankgrp 0 -stgtype fb P0
Verify that the extent pool has been created
– dscli>lsextpool -dev storage_image_ID -l
IBM System Storage™
5 IBM SystemsDS8000 POWER To Perform |
Arrays
Find the arraysite that are in the un-assigned state
– dscli>lsarraysite -dev storage_image_ID -state unassigned
Create the array with RAID type
– dscli>mkarray -dev storage_image_ID -raidtype [5 | 10] -arsite array_site
Make sure the array is created
– dscli>lsarray –l (or) dscli>lsarraysite -l
IBM System Storage™
6 IBM SystemsDS8000 POWER To Perform |
Ranks
A rank is a logically contiguous storage space that is made up of one array
The rank configuration state is unassigned until it is assigned to an extent pool.
Note: You can assign a rank to an unassigned array and also assign the rank to an extent pool at the same time if you have already created the extent pools and the arrays. Creating extent pools first saves a step in the configuration.
Listing out arrays with unassigned state
– dscli>lsarray -dev IBM.2107-75FA120 -state unassigned
Creating Rank
– dscli>mkrank -dev IBM.2107-75FA120 -array A44 -stgtype fb -extpool p1
Verify that the rank is created
– dscli>lsrank -dev IBM.2107-75FA120 -l
IBM System Storage™
7 IBM SystemsDS8000 POWER To Perform |
Volumes
To View your list of fixed block extent pool IDs
– dscli>lsextpool -dev IBM.2107-13AAD7A -stgtype fb -l
To view the available address group
– dscli> lsaddressgrp -dev IBM.2107-75FA120 -l
Select a address group that can used for the creation of volumes
To view the LSS available in that address group
– dscli> lslss -addrgrp 2
Determine which lss id to use
To view the volumes already created in that lss issue the command
– dscli> lsfbvol -lss 20
create the fb volume
– dscli>mkfbvol -dev IBM.2107-75FA120 -extpool P1 -name finance#d -cap 8.6 0100-010F
IBM System Storage™
8 IBM SystemsDS8000 POWER To Perform |
Volume Group
To create a volume group
– dscli>mkvolgrp -dev IBM.2107-75FA120 -hosttype pSeries -volume 0001-0010,0120 my_nickname
To check if the volume group is created properly
– dscli>lsvolgrp -dev IBM.2107-75FA120 –l
We can use “hosttype” (or) “type”
– dscli> mkvolgrp –dev IBM.2107-75amar1 –type scsimap256 – volme 230C DCASESX001_VG
Types
– scsimask,scsimap256,scsiall,os400all,os400mask,ficonall
IBM System Storage™
9 IBM SystemsDS8000 POWER To Perform |
Host connection
To create a host connection
– dscli>mkhostconnect -dev storage_image_ID -wwname wwpn -hosttype host_type -volgrp volume_group_ID -ioport port_ID host_name
IBM System Storage™
10 IBM SystemsDS8000 POWER To Perform |
Managing your logical storage configuration
Extent pool
Arraystie
Array
Rank
LSS
Volumes
IBM System Storage™
11 IBM SystemsDS8000 POWER To Perform |
Extent pool
Modifying an extent pool
– dscli>chextpool -dev storage_image_ID -name new_extent_pool_name -extentlimit [on | off] -limit extent_limit_percentage -threshold extent_threshold_percentage -extentpool_ID
– extentlimit – Whether to limit the extent allocation as specified in the limitextent_limit_percentage
– threshold – minimum no of extents that should be available
Viewing extent pool status
– dscli>showextpool -dev storage_image_ID extentpool_ID (or) lsextpool –dev storage_image_ID extentpool_ID
Viewing extent pool performance metrics
– dscli>showextpool -dev storage_image_ID -metrics extentpool_ID
IBM System Storage™
12 IBM SystemsDS8000 POWER To Perform |
Extent pool
Deleting an extent pool
The volumes associated with the extent pool must be removed.
The logical control units (LCUs) that are associated with the extent pool must be removed. ( For CKD only)
The ranks that are assigned to the extent pool must be unassigned or removed.
The arrays that are assigned to the extent pool must be removed.
– dscli>rmextpool -dev storage_image_ID extentpool_ID
IBM System Storage™
13 IBM SystemsDS8000 POWER To Perform |
Arraysite
To view individual DDMs
– dscli>lsddm -l storage_image_ID
To view array site status
– dscli>showarraysite storage_image_ID -fullid site_ID
IBM System Storage™
14 IBM SystemsDS8000 POWER To Perform |
Array
Viewing the status of array / arrays
– dscli>lsarray -dev storage_image_ID -l
– dscli>lsarray -dev storage_image_ID -l -state unassigned
– dscli>lsarray -dev storage_image_ID -l -state assigned
Viewing properties of one array
– dscli>showarraysite -dev storage_image_ID site_ID
Removing arrays
– Host I/O access to the volumes should be stopped
– The associated volume groups should be removed
– The volumes to be removed
– The ranks must have been removed
– dscli>lsarray -dev storage_image_ID -state unassigned
– dscli>rmarray -dev storage_image_ID array_ID
IBM System Storage™
15 IBM SystemsDS8000 POWER To Perform |
Rank Adding a rank to an extent pool
– dscli>chrank -dev storage_image_ID -extpool extentpool_ID rank_ID
To designate the rank as reserved
– dscli>chrank -dev storage_image_ID -reserve rank_ID
– Once a rank is designated as reserved, the extents associated with that rank are not used for allocation, but the already allocated extents remain intact
To release a rank from it’s designated reserved status
– dscli>chrank -dev storage_image_ID -release rank_ID
To remove the rank from the extent pool, but not delete it
– dscli>chrank -dev storage_image_ID -unassign rank_ID
Viewing rank status
– dscli>lsrank -dev storage_image_ID -l
– dscli>showrank -dev storage_image_ID rank_ID
IBM System Storage™
16 IBM SystemsDS8000 POWER To Perform |
Rank - Continued
Removing (or) deleting a rank
– Host access to be stopped
– Associated volume group to be removed
– Associated volumes to be removed
– dscli>rmrank -dev storage_image_ID rank_ID