HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 90

Validating and Repairing Virtual Volumes, Exporting Virtual Volumes, Creating VLUN Templates

Page 90 highlights

Validating and Repairing Virtual Volumes To verify that virtual volumes are valid, and to repair virtual volumes corrupted by an uncontrolled system shutdown, issue the checkvv {-y|-n} command, where: • {-y|-n} specifies that if validity errors are found they are to be corrected (-y), or left unmodified (-n). If this option is not specified, errors are not corrected. • represents the name of the virtual volume to be validated and repaired. For a complete list of options available for the checkvv command, see the HP 3PAR Command Line Interface Reference and the HP 3PAR CLI Help. Exporting Virtual Volumes Virtual volumes are the only logical storage component visible to hosts. A virtual volume can be exported, or made accessible, to one or more hosts. The host sees the exported volume as a LUN connected to one or more ports. Once the virtual volume is exported to a host, the host can send requests to the LUN. A volume-LUN, or VLUN, is a pairing between a virtual volume and a logical unit number (LUN), expressed as either a VLUN template or an active VLUN. The maximum number of supported VLUNs per host is 16,000. The maximum number of supported VLUNs per system is 32,000. For more information about VLUNs, see the HP 3PAR StoreServ Storage Concepts Guide. NOTE: When adding virtual volume sets, leave a gap between the virtual volume set export and any further exports to allow for expansion. This example uses the next free VLUN from 100 onwards, which this allows you to take advantage of the auto LUN functionality while retaining separation between virtual volume set ranges: createvlun 100+ |set:. Creating VLUN Templates A VLUN template creates an association between a virtual volume and a LUN-host, LUN-port, or LUN-host-port combination by establishing the export rule, or the manner in which the volume is exported. A VLUN template enables the export of a virtual volume as a VLUN to a host or hosts. Those volume exports, which are seen as LUNs by the host or hosts, are active VLUNs. A VLUN template can be one of the following types: • Host sees-allows only a specific host to see a volume. • Host set-allows any host that is a member of the host set to see a volume. • Port presents-allows any host on a specific port to see the volume. • Matched set-allows only a specific host on a specific port to see the volume. Creating a Host Sees or Host Set VLUN Template To create a host sees or host set VLUN template, issue the createvlun |set: |set: command, where: • is the name of the virtual volume being exported to the host. • is the name of the virtual volume set being exported to the host. • is the LUN where the virtual volume is to be exported, expressed as an integer ranging from 0 through 16383. 90 Managing CPGs and Virtual Volumes

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

Validating and Repairing Virtual Volumes
To verify that virtual volumes are valid, and to repair virtual volumes corrupted by an uncontrolled
system shutdown, issue the
checkvv {-y|-n} <VV_name>
command, where:
{-y|-n}
specifies that if validity errors are found they are to be corrected (
-y
), or left
unmodified (
-n
). If this option is not specified, errors are not corrected.
<VV_name>
represents the name of the virtual volume to be validated and repaired.
For a complete list of options available for the
checkvv
command, see the
HP 3PAR Command
Line Interface Reference
and the HP 3PAR CLI Help.
Exporting Virtual Volumes
Virtual volumes are the only logical storage component visible to hosts. A virtual volume can be
exported, or made accessible, to one or more hosts. The host sees the exported volume as a LUN
connected to one or more ports. Once the virtual volume is exported to a host, the host can send
requests to the LUN.
A volume-LUN, or VLUN, is a pairing between a virtual volume and a logical unit number (LUN),
expressed as either a
VLUN template
or an
active VLUN
. The maximum number of supported
VLUNs per host is 16,000. The maximum number of supported VLUNs per system is 32,000. For
more information about VLUNs, see the
HP 3PAR StoreServ Storage Concepts Guide
.
NOTE:
When adding virtual volume sets, leave a gap between the virtual volume set export and
any further exports to allow for expansion. This example uses the next free VLUN from 100 onwards,
which this allows you to take advantage of the auto LUN functionality while retaining separation
between virtual volume set ranges:
createvlun <VV_name> 100+
<host>|set:<host_set>.
Creating VLUN Templates
A
VLUN template
creates an association between a virtual volume and a LUN-host, LUN-port, or
LUN-host-port combination by establishing the
export rule
, or the manner in which the volume is
exported. A VLUN template enables the export of a virtual volume as a VLUN to a host or hosts.
Those volume exports, which are seen as LUNs by the host or hosts, are active VLUNs.
A VLUN template can be one of the following types:
Host sees
—allows only a specific host to see a volume.
Host set
—allows any host that is a member of the host set to see a volume.
Port presents
—allows any host on a specific port to see the volume.
Matched set
—allows only a specific host on a specific port to see the volume.
Creating a Host Sees or Host Set VLUN Template
To create a host sees or host set VLUN template, issue the
createvlun
<VV_name>|set:<set_name> <LUN> <host>|set:<host_set>
command, where:
<VV_name>
is the name of the virtual volume being exported to the host.
<set_name>
is the name of the virtual volume set being exported to the host.
<LUN>
is the LUN where the virtual volume is to be exported, expressed as an integer ranging
from 0 through 16383.
90
Managing CPGs and Virtual Volumes