HP 3PAR StoreServ 7450 4-node HP 3PAR Command Line Interface Administrator& - Page 91

Creating a Port Presents VLUN Template, Unexporting Virtual Volumes

Page 91 highlights

• is the name of the host to which the virtual volume is exported. This option creates a host sees VLUN template. • is the name of the host set to which the virtual volume is exported. This option creates a host set VLUN template. For detailed information about the createvlun command, see the HP 3PAR Command Line Interface Reference. Creating a Port Presents VLUN Template To create a port presents VLUN template, issue the createvlun |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. • is the location of the target port used to export the virtual volume. For detailed information about the createvlun command, see the HP 3PAR Command Line Interface Reference. Creating a Matched Set VLUN Template To create a matched 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 to which the virtual volume is to be exported, expressed as an integer ranging from 0 through 16383. • is the location of the target port used to export the virtual volume. • is the name of the host to which the virtual volume is exported. • is the name of the host set to which the virtual volume is exported. For detailed information about the createvlun command, see the HP 3PAR Command Line Interface Reference. Unexporting Virtual Volumes In order to halt the export of a virtual volume, you must remove the VLUNs associated with that volume. You must remove a VLUN template in order to remove the active VLUNs associated with that template. Removing all VLUNs for a host stops the host from accessing any volumes. Removing a Host Sees or Host Set VLUN Template To remove a host sees VLUN template and all active VLUNs associated with it, issue the removevlun |set: |set: command, where: • is the name of the virtual volume. • is the name of the virtual volume set. • is the LUN for the virtual volume, expressed as an integer ranging from 0 through 16383. Unexporting Virtual Volumes 91

  • 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

<host>
is the name of the host to which the virtual volume is exported. This option creates a
host sees VLUN template.
<host_set>
is the name of the host set to which the virtual volume is exported. This option
creates a host set VLUN template.
For detailed information about the
createvlun
command, see the
HP 3PAR Command Line
Interface Reference
.
Creating a Port Presents VLUN Template
To create a port presents VLUN template, issue the
createvlun <VV_name>|set:<set_name>
<LUN> <N:S:P>
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.
<N:S:P>
is the location of the target port used to export the virtual volume.
For detailed information about the
createvlun
command, see the
HP 3PAR Command Line
Interface Reference
.
Creating a Matched Set VLUN Template
To create a matched set VLUN template, issue the
createvlun <VV_name>|set:<set_name>
<LUN> <N:S:P> <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 to which the virtual volume is to be exported, expressed as an integer
ranging from 0 through 16383.
<N:S:P>
is the location of the target port used to export the virtual volume.
<host>
is the name of the host to which the virtual volume is exported.
<host_set>
is the name of the host set to which the virtual volume is exported.
For detailed information about the
createvlun
command, see the
HP 3PAR Command Line
Interface Reference
.
Unexporting Virtual Volumes
In order to halt the export of a virtual volume, you must remove the VLUNs associated with that
volume. You must remove a VLUN template in order to remove the active VLUNs associated with
that template.
Removing all VLUNs for a host stops the host from accessing any volumes.
Removing a Host Sees or Host Set VLUN Template
To remove a host sees VLUN template and all active VLUNs associated with it, issue the
removevlun <VV_name>|set:<set_name> <LUN> <host>|set:<host_set>
command,
where:
<VV_name>
is the name of the virtual volume.
<set_name>
is the name of the virtual volume set.
<LUN>
is the LUN for the virtual volume, expressed as an integer ranging from 0 through
16383.
Unexporting Virtual Volumes
91