HP 3par: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
m (Text replacement - "[[Kategorie:" to "[[Category:") |
m (Text replacement - "</source" to "</syntaxhighlight") |
||
Line 11: | Line 11: | ||
0 cage0 1:0:1 0 0:0:1 0 24 29-35 321a 321a DCN1 n/a | 0 cage0 1:0:1 0 0:0:1 0 24 29-35 321a 321a DCN1 n/a | ||
1 cage1 1:0:2 0 0:0:2 0 24 34-36 321a 321a DCS2 n/a | 1 cage1 1:0:2 0 0:0:2 0 24 34-36 321a 321a DCS2 n/a | ||
</ | </syntaxhighlight> | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
3par-storage cli% createcpg -t r5 -ssz 4 -ha mag -p -devtype FC -mg 0-19 -cg 0 FC_R5_31_cage0 | 3par-storage cli% createcpg -t r5 -ssz 4 -ha mag -p -devtype FC -mg 0-19 -cg 0 FC_R5_31_cage0 | ||
3par-storage cli% createcpg -t r5 -ssz 4 -ha mag -p -devtype FC -mg 0-19 -cg 1 FC_R5_31_cage1 | 3par-storage cli% createcpg -t r5 -ssz 4 -ha mag -p -devtype FC -mg 0-19 -cg 1 FC_R5_31_cage1 | ||
</ | </syntaxhighlight> | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
Line 25: | Line 25: | ||
6 FC_R5_31_cage0 - - 32768 -t r5 -ssz 4 -ha mag -p -devtype FC -mg 0-19 -cg 0 | 6 FC_R5_31_cage0 - - 32768 -t r5 -ssz 4 -ha mag -p -devtype FC -mg 0-19 -cg 0 | ||
7 FC_R5_31_cage1 - - 32768 -t r5 -ssz 4 -ha mag -p -devtype FC -mg 0-19 -cg 1 | 7 FC_R5_31_cage1 - - 32768 -t r5 -ssz 4 -ha mag -p -devtype FC -mg 0-19 -cg 1 | ||
</ | </syntaxhighlight> | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
Line 32: | Line 32: | ||
3par-storage cli% createvv -wait 0 -comment "Mirror A: TESTDB" FC_R5_31_cage0 VV_DB_TEST01_DATA_DS.3 2T | 3par-storage cli% createvv -wait 0 -comment "Mirror A: TESTDB" FC_R5_31_cage0 VV_DB_TEST01_DATA_DS.3 2T | ||
3par-storage cli% createvv -wait 0 -comment "Mirror B: TESTDB" FC_R5_31_cage1 VV_DB_TEST01_DATA_DS.4 2T | 3par-storage cli% createvv -wait 0 -comment "Mirror B: TESTDB" FC_R5_31_cage1 VV_DB_TEST01_DATA_DS.4 2T | ||
</ | </syntaxhighlight> | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
Line 43: | Line 43: | ||
----------------------------------------------------------------- | ----------------------------------------------------------------- | ||
2 total 8388608 | 2 total 8388608 | ||
</ | </syntaxhighlight> | ||
==Group virtual volumes to sets (vv -> vvset)== | ==Group virtual volumes to sets (vv -> vvset)== | ||
Line 51: | Line 51: | ||
3par-storage cli% createvvset -add DevelVVSet VV_DB_TEST01_DATA_DS.3 | 3par-storage cli% createvvset -add DevelVVSet VV_DB_TEST01_DATA_DS.3 | ||
3par-storage cli% createvvset -add DevelVVSet VV_DB_TEST01_DATA_DS.4 | 3par-storage cli% createvvset -add DevelVVSet VV_DB_TEST01_DATA_DS.4 | ||
</ | </syntaxhighlight> | ||
==Create a set of initiators== | ==Create a set of initiators== | ||
Line 57: | Line 57: | ||
3par-storage cli% createhost -os Solaris -model M10 -contact "SuperAdmin" -comment "Developer node" -loc "Germany, Hamburg" -persona 1 unix14_c2 21000024ff8f5aae | 3par-storage cli% createhost -os Solaris -model M10 -contact "SuperAdmin" -comment "Developer node" -loc "Germany, Hamburg" -persona 1 unix14_c2 21000024ff8f5aae | ||
3par-storage cli% createhost -os Solaris -model M10 -contact "SuperAdmin" -comment "Developer node" -loc "Germany, Hamburg" -persona 1 unix14_c3 21000024ff8f5aaf | 3par-storage cli% createhost -os Solaris -model M10 -contact "SuperAdmin" -comment "Developer node" -loc "Germany, Hamburg" -persona 1 unix14_c3 21000024ff8f5aaf | ||
</ | </syntaxhighlight> | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
Line 63: | Line 63: | ||
3par-storage cli% createhostset -add DevelHosts unix14_c2 | 3par-storage cli% createhostset -add DevelHosts unix14_c2 | ||
3par-storage cli% createhostset -add DevelHosts unix14_c3 | 3par-storage cli% createhostset -add DevelHosts unix14_c3 | ||
</ | </syntaxhighlight> | ||
==Map virtual volumes as LUNs to a set of initiators== | ==Map virtual volumes as LUNs to a set of initiators== | ||
Line 69: | Line 69: | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
3par-storage cli% createvlun set:DevelVVSet 0+ set:DevelHosts | 3par-storage cli% createvlun set:DevelVVSet 0+ set:DevelHosts | ||
</ | </syntaxhighlight> | ||
Means map all VVs from DevelVVSet to all hosts in DevelHosts and do auto LUN numbering (+) starting with 0. | Means map all VVs from DevelVVSet to all hosts in DevelHosts and do auto LUN numbering (+) starting with 0. | ||
Line 88: | Line 88: | ||
--------------------------------------------------------------------- | --------------------------------------------------------------------- | ||
1 total | 1 total | ||
</ | </syntaxhighlight> | ||
==Watch disk initialization== | ==Watch disk initialization== | ||
Line 125: | Line 125: | ||
Compaction : 1.0 | Compaction : 1.0 | ||
Dedup : -------- | Dedup : -------- | ||
</ | </syntaxhighlight> | ||
Latest revision as of 04:53, 26 November 2021
Unsorted collection... Don't do this...
Unsortierte Sammlung... Funktioniert nicht so...
3par-clusterstorage cli% showcage
Id Name LoopA Pos.A LoopB Pos.B Drives Temp RevA RevB Model Side
0 cage0 1:0:1 0 0:0:1 0 24 29-35 321a 321a DCN1 n/a
1 cage1 1:0:2 0 0:0:2 0 24 34-36 321a 321a DCS2 n/a
3par-storage cli% createcpg -t r5 -ssz 4 -ha mag -p -devtype FC -mg 0-19 -cg 0 FC_R5_31_cage0
3par-storage cli% createcpg -t r5 -ssz 4 -ha mag -p -devtype FC -mg 0-19 -cg 1 FC_R5_31_cage1
3par-storage cli% showcpg -sdg
------(MB)------
Id Name Warn Limit Grow Args
...
6 FC_R5_31_cage0 - - 32768 -t r5 -ssz 4 -ha mag -p -devtype FC -mg 0-19 -cg 0
7 FC_R5_31_cage1 - - 32768 -t r5 -ssz 4 -ha mag -p -devtype FC -mg 0-19 -cg 1
3par-storage cli% createvv -wait 0 -comment "Mirror A: PRODDB" FC_R5_31_cage0 VV_DB_PROD01_DATA_DS.1 2T
3par-storage cli% createvv -wait 0 -comment "Mirror B: PRODDB" FC_R5_31_cage1 VV_DB_PROD01_DATA_DS.2 2T
3par-storage cli% createvv -wait 0 -comment "Mirror A: TESTDB" FC_R5_31_cage0 VV_DB_TEST01_DATA_DS.3 2T
3par-storage cli% createvv -wait 0 -comment "Mirror B: TESTDB" FC_R5_31_cage1 VV_DB_TEST01_DATA_DS.4 2T
3par-storage cli% showvv -sortcol 0 -showcols Id,Name,UsrCPG,Prov,Usr_Used_MB -cpg FC_R5_31_cage0,FC_R5_31_cage1
Id Name UsrCPG Prov Usr_Used_MB
2 VV_DB_PROD01_DATA_DS.1 FC_R5_31_cage0 full 2097152
3 VV_DB_PROD01_DATA_DS.2 FC_R5_31_cage1 full 2097152
4 VV_DB_TEST01_DATA_DS.3 FC_R5_31_cage0 full 2097152
5 VV_DB_TEST01_DATA_DS.4 FC_R5_31_cage1 full 2097152
-----------------------------------------------------------------
2 total 8388608
Group virtual volumes to sets (vv -> vvset)
3par-storage cli% createvvset -comment "Set for all vvs of Solaris Devel" DevelVVSet
3par-storage cli% createvvset -add DevelVVSet VV_DB_TEST01_DATA_DS.3
3par-storage cli% createvvset -add DevelVVSet VV_DB_TEST01_DATA_DS.4
Create a set of initiators
3par-storage cli% createhost -os Solaris -model M10 -contact "SuperAdmin" -comment "Developer node" -loc "Germany, Hamburg" -persona 1 unix14_c2 21000024ff8f5aae
3par-storage cli% createhost -os Solaris -model M10 -contact "SuperAdmin" -comment "Developer node" -loc "Germany, Hamburg" -persona 1 unix14_c3 21000024ff8f5aaf
3par-storage cli% createhostset DevelHosts
3par-storage cli% createhostset -add DevelHosts unix14_c2
3par-storage cli% createhostset -add DevelHosts unix14_c3
Map virtual volumes as LUNs to a set of initiators
3par-storage cli% createvlun set:DevelVVSet 0+ set:DevelHosts
Means map all VVs from DevelVVSet to all hosts in DevelHosts and do auto LUN numbering (+) starting with 0.
3par-storage cli% showvlun
Active VLUNs
Lun VVName HostName -Host_WWN/iSCSI_Name- Port Type Status ID
0 VV_DB_TEST01_DATA_DS.3 unix14_c2 21000024FF8F5AAE 0:1:1 host set active 1
1 VV_DB_TEST01_DATA_DS.4 unix14_c2 21000024FF8F5AAE 0:1:1 host set active 1
0 VV_DB_TEST01_DATA_DS.3 unix14_c3 21000024FF8F5AAF 0:1:2 host set active 1
1 VV_DB_TEST01_DATA_DS.4 unix14_c3 21000024FF8F5AAF 0:1:2 host set active 1
-----------------------------------------------------------------------------------------------
4 total
VLUN Templates
Lun VVName HostName -Host_WWN/iSCSI_Name- Port Type
0 set:DevelVVset set:DevelHosts ---------------- --- host set
---------------------------------------------------------------------
1 total
Watch disk initialization
3par-storage cli% showsys -space -devtype FC
------------- System Capacity (MB) -------------
Total Capacity : 57139200
Allocated : 40258560
Volumes : 36577280
Non-CPGs : 0
User : 0
Snapshot : 0
Admin : 0
CPGs (TPVVs & TDVVs & CPVVs) : 36577280
User : 36577280
Used : 36427020
Unused : 0
Snapshot : 0
Used : 0
Unused : 0
Admin : 0
Used : 0
Unused : 0
Unmapped : 0
System : 3681280
Internal : 252928
Spare : 3428352
Used : 0
Unused : 3428352
Free : 16880640
Initialized : 7827456
Uninitialized : 9053184 <--- Still initializing!!!!
Unavailable : 0
Failed : 0
------------- Capacity Efficiency --------------
Compaction : 1.0
Dedup : --------
Solaris
/kernel/drv/sd.conf
sd-config-list=“3PARdataVV”,“physical-block-size:16384”;