HP 3PAR Solaris Implementation Guide

Consult the HP 3PAR Management Console User’s Guide and the HP 3PAR Command Line Interface
Reference for complete details on creating volumes for the HP 3PAR OS version that is being used
on the HP 3PAR StoreServ Storage.
These documents are available on the HP SC website:
HP Support Center
NOTE: The commands and options available for creating a virtual volume may vary for earlier
versions of the HP 3PAR OS.
Exporting LUNs to a Host with a Fibre Channel Connection
This section explains how to export virtual volumes created on the HP 3PAR StoreServ Storage as
VLUNs for the Solaris host with caveats for the various drivers.
Creating a VLUN for Export
Creation of a VLUN template enables export of a virtual volume (VV) as a VLUN to one or more
Solaris hosts. There are four types of VLUN templates:
port presents - created when only the node:slot:port are specified. The VLUN is visible
to any initiator on the specified port.
host set - created when a host set is specified. The VLUN is visible to the initiators of any host
that is a member of the set.
host sees - created when the hostname is specified. The VLUN is visible to the initiators with
any of the host’s WWNs.
matched set - created when both hostname and node:slot:port are specified. The VLUN
is visible to initiators with the host’s WWNs only on the specified port.
You have the option of exporting the LUNs through the HP 3PAR Management Console or the
HP 3PAR OS CLI.
Using the HP 3PAR Management Console
1. From the menu bar, select ActionsProvisioningVLUNCreate VLUN.
2. Use the Export Virtual Volume dialog box to create a VLUN template.
Using the HP 3PAR OS CLI
To create a port presents VLUN template, issue the following command:
# createvlun [options] <VV_name | VV_set> <LUN> <node:slot:port
To create a host sees or host set VLUN template, issue the following command:
# createvlun [options] <VV_name | VV_set> <LUN> <host_name/set>
To create a matched set VLUN template, issue the following command:
# createvlun [options] <VV_name | VV_set> <LUN> <node:slot:port>/<host_name>
Here is an example:
# createvlun -cnt 5 TESTLUNs.0 0 hostname/hostdefinition
Exporting LUNs to a Host with a Fibre Channel Connection 51