HP P6000 Replication Solutions Manager Job Command Reference (T3680-96090, October 2012)

CAUTION: Ensure that the storage volume is not already presented to the host. Multiple
presentations to the same host can cause errors.
See Resource names and UNC formats.
PresentStorageVolumes
Begins the presentation of storage volumes to an enabled host.
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
PresentStorageVolumes ( %storvol_unc_list%, %host_name%, HOST_FC_PORT)
Storage Volume List (%storvols_unc_list%). Select or enter the UNC names of storage volumes to
be presented. See Argument lists. Or, select a variable used in a prior step that represents the
storage volumes.
Host_Name (%host_name%). Select or enter the name of the host for which the storage volumes
(virtual disks) presentation is to begin. When specifying a guest OS-enabled host, the volumes are
presented to the VM server to which the guest OS belongs.
Host Type. Select or enter the host type. Choices are HOST_FC_PORT or HOST_ISCSI.
Examples
PresentStorageVolumes ( ("\\Array2\Cats", "\\Array2\Dogs"), "HostA4", HOST_FC_PORT)
PresentStorageVolumes ( $my_svol_list , HOST_FC_PORT)
Comments
Associated validation commands. ValidateHost, ValidateStorageVolume.
Agent and license prerequisites. None.
Command result value. None. For a complete list, see Command result values.
OS specifics. None.
Each storage volume is automatically assigned the next available LUN on the host. The access
type defaults to read_write.
CAUTION: Ensure that none of the storage volumes are already presented to the host.
Multiple presentations of the same storage volume to the same host can cause errors.
See Resource names and UNC formats.
PresentStorageVolumeGuest
Begins the presentation of a storage volume to an enabled guest OS host.
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
PresentStorageVolumeGuest ( %storvol_unc_name%, %host_name%, 0, READ_WRITE , HOST_FC_PORT,
%hostvol_unc_name%)
UNC Storage Volume Name ( %storvol_unc_name%). Select or enter the full UNC name of the
storage volume (virtual disk) whose presentation you want to begin.
144 Job Commands