HP 3PAR Command Line Interface Administrator's Manual: HP 3PAR OS 3.1.2 (QR482-96525, September 2013)

<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