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

$Rep1=SnapcloneHostVolume ( "\\HostA2\/usr/cats", SAME, WAIT ) **
CreateHostVolume ( "\\HostA2\/usr/cats", $Rep1, "HostA4", HOST_FC_PORT )
Solaris
$Rep1=SnapcloneHostVolume ( "\\HostA2\dom01#fset1", SAME, WAIT ) **
CreateHostVolume ( "\\HostA2\dom01#fset1", $Rep1, "HostA4", HOST_FC_PORT )
Tru64 UNIX
$Rep1=SnapcloneHostVolume ( "\\HostA2\E:\pets\cats", SAME, WAIT ) **Windows
CreateHostVolume ( "\\HostA2\E:\", $Rep1, "HostA4", HOST_FC_PORT)Drive
CreateHostVolume ( "\\HostA2\E:\pets\cats", $Rep1, "HostA4", HOST_FC_PORT)Drive & folders
Comments
Associated validation commands. ValidateHost, ValidateHostVolume.
Agent and license prerequisites. Requires a host agent.
Command result value. Host volume name (UNC). For a complete list, see Command result
values.
OS specifics. Yes. See examples above.
HP-UX. If the source host volume uses HP-UX PVLinks for multiple paths, the replica will have only
one path defined. If necessary, you can use PVLinks to add paths to the replica after the job is
finished.
Windows. Creating the host volume on the same host as the original may produce undesirable
results. Windows writes a signature to the disks and the same signature will be on both the source
and the new copy.
This command uses the previously replicated, underlying storage of an existing host volume.
See also CreateHostVolumeDiscrete.
The storage is presented to the target host, and the storage structure of the source host volume
is reconstructed on the target host. The new host volume is not mounted.
To mount the host volume, use the MountHostVolume command.
See Resource names and UNC formats.
CreateHostVolumeDiscrete
Creates a new host volume by presenting the storage volumes that underlie a host volume to an
enabled host.
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
CreateHostVolumeDiscrete ( %component%, %storvol_unc_name%, %target_host%, HOST_FC_PORT)
Partition/Slice (%component%). Enter the type of host volume component on the source host.
Storage Volume UNC Name (%storvol_unc_name%). Select or enter the UNC name of the storage
volume that underlies the host volume.
Target Host (%target_host%). Select or enter the name of the enabled host to which the storage
volume is to be presented.
Host Type. Select or enter the host type. Choices are HOST_FC_PORT or HOST_ISCSI.
Examples
CreateHostVolumeDiscrete ( "1", "\\ArrayA2\Cats", "HostA4", HOST_FC_PORT)AIX
Not supported.HP-UX
Job commands 103