3PAR – How Tos for Operation

Print Friendly

Complete provision using CLI

Create Host Group A

# createhost -persona 11 node1-hga 10:00:00:00:00:01
# createhost -persona 11 node2-hga 10:00:00:00:00:02

Create Host Group B
# createhost -persona 11 node1-hga 20:00:00:00:00:01
# createhost -persona 11 node2-hga 20:00:00:00:00:02

Create Host Set A
# createhostset cluster-hsa node1-hga
# createhostset -add cluster-hsa node2-hga

Create Host Set B
# createhostset cluster-hsb node1-hgb
# createhostset -add cluster-hsb node2-hgb

Create Virtual Volume
# createvv -f -tpvv IMPDATA_CPG TESTVOL 10G
Export Volume
# createvlun -f TESTVOL 1 set:cluster-hsa
# createvlun -f TESTVOL 1 set:cluster-hsb

How to create CPG

# createcpg -sdgs 32g -sdgl 0g -sdgw 0g -t r6 -ha mag TEST_CPG
Creates a CPG names TEST_CPG with following options
-sdgs => growth increment of 32gb
-sdgl => auto-grow limit of 0gb means no enforced limit
-sdgw => logical disk growth warning threshold of 0GB means no warning will be issued
Note that the growth increment is the default value for a two-node system, and the growth warning and limit are set to 0 by default. CLI will create a CPG using FC as the device type. You can specify the device type and disk speed with the -devtype and -rpm parameters.

Move volume to another CPG

# tunevv SOURCECPG TARGETCPG -f -tpvv VOLNAME

Reclaim a volume from one cluster and allocate to other cluster on the same array

Information needed beforehand – source vvname and target lun number
Reclaim First Path
# removevlun -f VOLNAME 31 set:cluster1-hsa
Reclaim second path
# removevlun -f VOLNAME 31 set:cluster1-hsb
Rename VV
# setvv -name NEWVOLNAME VOLNAME
Export to target set A
# createvlun -f NEWVOLNAME 40 set:cluster2-hsa
Export to target set B
# createvlun -f NEWVOLNAME 40 set:cluster2-hsb

, , , , , , ,

sanaswati
No comments yet.

Leave a Reply

*