Target Host (%target_host%). Select or enter the n ame or IP address of the enabled host on which the
host volume is to be created.
Examples
Theseexamplesshowhostvolumemountpoints.Devicenamescanalsobeused.Therequiredreplication
step that prec
edes the host volume creation step is marked with asterisks (**).
AIX
$Rep1=SnapcloneHostVolumeGroup ( "\\HostA2\/home/cats_vg", SAME, WAIT ) **
CreateHostVolumeGroup ( "\\HostA2\/home/cats_vg", $Rep1, "HostA4" )
HP-UX
$Rep1=SnapcloneHostVolumeGroup ( "\\HostA2\/users/cats_vg", SAME, WAIT ) **
CreateHostVo
lumeGroup ( "\\HostA2\/users/cats_vg", $Rep1, "HostA4" )
Linux
$Rep1=SnapcloneHostVolumeGroup ( "\\HostA2\/var/cats_vg", SAME, WAIT ) **
CreateHostVolumeGroup ( "\\HostA2\/var/cats_vg", $Rep1, "HostA4" )
OpenVMS
Not applicable
Solaris
$Rep1=Snapcl
oneHostVolumeGroup ( "\\HostA2\/usr/cats_vg", SAME, WAIT ) **
CreateHostVolumeGroup ( "\\HostA2\/usr/cats_vg", $Rep1, "HostA4" )
Tru64 UNIX
$Rep1=SnapcloneHostVolume ( "\\HostA2\dom01#fset1", SAME, WAIT ) **
CreateHostVolumeGroup ( "\\HostA2\dom01#fset1", $Rep1, "HostA4" )
Windows Not applicable
Comments
• Assoc iated validation comm ands. ValidateHostVolumeGroup.
• Agent and license prerequisites. Requires a host agent.
• Comma nd result value. Host volume group name (UN C). 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 c annot 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 also CreateHostVolumeDiscrete.
• See resource names and UNC formats.
CreateHostVolumesUsingRepository
Createsahostvolumeforeachreplicated storage volume that u nderlies an Oracle database. The
appropriate storage volumes are automatically presented, and host volumes are created, by reference to
the enabled host and database specified by the repository.
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
CreateH
ostVolumesUsingRepository ( %oraclerepository_unc_name%, %target_host% )
UNC Oracle Repository Name (%oraclerepository_unc_name% ). Select or enter the UNC name of the
reposi
tory whose underlying storage volumes are to be used to create host volumes.
HP StorageWorks Replication Solutions Manager 4.0.1
273