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

Storage Volume List (%storvol_snap_list%). Select the variable assigned to the previous replication
in the job or enter a list. See Argument lists.
Target Host (%target_host%). Select or enter the name or IP address of the enabled host on which
the host volume is to be created.
Host Type. Select or enter the host type. Choices are HOST_FC_PORT or HOST_ISCSI.
Examples
These examples show host volume mount points. Device names can also be used. The required
replication step that precedes the host volume creation step is marked with asterisks (**).
$Rep1=SnapcloneHostVolumeGroup ( "\\HostA2\/home/cats_vg", SAME, WAIT ) **
CreateHostVolumeGroup ( "\\HostA2\/home/cats_vg", $Rep1, "HostA4", HOST_FC_PORT )
AIX
$Rep1=SnapcloneHostVolumeGroup ( "\\HostA2\/users/cats_vg", SAME, WAIT ) **
CreateHostVolumeGroup ( "\\HostA2\/users/cats_vg", $Rep1, "HostA4", HOST_FC_PORT )
HP-UX
$Rep1=SnapcloneHostVolumeGroup ( "\\HostA2\/var/cats_vg", SAME, WAIT ) **
CreateHostVolumeGroup ( "\\HostA2\/var/cats_vg", $Rep1, "HostA4", HOST_FC_PORT )
Linux
Not applicableOpenVMS
$Rep1=SnapcloneHostVolumeGroup ( "\\HostA2\/usr/cats_vg", SAME, WAIT ) **
CreateHostVolumeGroup ( "\\HostA2\/usr/cats_vg", $Rep1, "HostA4", HOST_FC_PORT )
Solaris
$Rep1=SnapcloneHostVolume ( "\\HostA2\dom01#fset1", SAME, WAIT ) **
CreateHostVolumeGroup ( "\\HostA2\dom01#fset1", $Rep1, "HostA4", HOST_FC_PORT )
Tru64 UNIX
Not applicableWindows
Comments
Associated validation commands. ValidateHostVolumeGroup.
Agent and license prerequisites. Requires a host agent.
Command result value. Host volume group name (UNC). For a complete list, see Command
result values.
OS specifics. Yes. See examples above.
HP-UX. If the source host volume group 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.
Linux. You cannot create a host volume group replica on the same host as the source volume group.
OpenVMS. OpenVMS does not support volume groups. This command is not applicable to
OpenVMS volume sets.
Windows. Windows does not support volume groups.
See Resource names and UNC formats.
See also CreateHostVolumeDiscrete.
CreateReplicaRepository
Creates a repository that identifies the replicas of virtual disks (storage volumes) that underlie the
replica of a host's volume.
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
CreateReplicaRepository ( HOST_VOLUME, %source_unc_name%, INSTANT_RESTORE, "" )
106 Job Commands