HP StorageWorks 60 HP StorageWorks Replication Solutions Manager 4.0.1 job com
HP StorageWorks 60 - Modular Smart Array Manual
View all HP StorageWorks 60 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP StorageWorks 60 manual content summary:
- HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 1
HP StorageWorks Replication Solutions Manager 4.0.1 job command reference Part number: T3680-96306 Fourth edition: June 2008 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 2
Confidential computer software. Valid license from HP required for possession, use or copying. Consistent HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 3
9 Related documentation 9 Document conventions and symbols 10 HP technical support 10 Subscription service 11 HP websites 11 Documentation feedback 11 Product feedback 11 1 to a host (template 56 Replicate host volumes (template 58 HP StorageWorks Replication Solutions Manager 4.0.1 3 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 4
Replicate host volumes, mount to a host (template 59 Replicate host volumes, mount to a host, then to a different host (template 62 Replicate host volumes via preallocated replication, mount to a host (template 64 Replicate host volume, mount components to a host (template 66 Replicate raw - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 5
151 SetListVariable 151 SetMountPointsPrefixInRepository 152 SetNotificationPolicy 153 SetOracleModeUsingRepository 154 SetStorageVolumeName 154 SetStorageVolumeWriteCacheMode 155 SetStorageVolumesWriteCacheMode 155 HP StorageWorks Replication Solutions Manager 4.0.1 5 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 6
SetVariable 156 SetWriteCacheModesUsingRepository 156 SnapcloneDiskDevice 157 SnapcloneHostDiskDeviceToContainerInManagedSet 158 SnapcloneHostVolume 159 SnapcloneHostVolumeGroup 160 SnapcloneHostVolumeGroupToContainersInManagedSet 161 SnapcloneHostVolumeToContainers 162 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 7
201 WaitHostDiskDeviceNormalization 201 WaitHostVolumeNormalization 202 WaitStorageVolumeNormalization 202 WaitStorageVolumesNormalization 203 WaitUntil 203 WaitVolumeGroupNormalization 204 Index 207 HP StorageWorks Replication Solutions Manager 4.0.1 7 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 8
Tables 1 Document conventions 10 8 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 9
http://www.hp.com/support/manuals. In the Storage section, click Storage software and then select the product. Replication Solutions Manager • HP StorageWorks Replication Solutions Manager online help • HP StorageWorks Replication Solutions Manager user guide • HP StorageWorks Replication Solutions - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 10
clarifying information or specific instructions. NOTE: Provides additional information. TIP: Provides helpful hints and shortcuts. HP technical support For worldwide technical support information, see the HP support website: http://www.hp.com/support Before contacting HP, collect the following - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 11
websites For additional information, see the following HP websites: • http://www.hp.com • http://www.hp.com/go/storage • http://www.hp.com/service_locator • http://www.hp.com/support/manuals • http://www.hp.com/support/downloads Documentation feedback HP welcomes your feedback. To make comments and - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 12
12 About this reference - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 13
tasks. A typical job consists of commands, assignments (variables), branching instructions, labels, comments and exits. Jobs with launch commands often include transactions , save, run, schedule, and manage jobs that automate replication tasks. HP StorageWorks Replication Solutions Manager 4.0.1 13 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 14
to quickly create typical jobs, for example, making local or remote copies of virtual disks. See job templates list. Job commands You can also create custom format of a job-instance name is the job name, plus a sequence number. For example, the job named daily_backup when run two times would have - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 15
and enclosed in parenthesis. For example, a list of storage volumes (virtual disks): ("\\Array2\Cats", "\\Array2\Dogs", "\\Array3\Cars") Assignments ( ONERROR PAUSEAT E1: ... // 13 E2: DeleteStorageVolumes ( $Rep1 ) ONERROR PAUSEATE2: ... HP StorageWorks Replication Solutions Manager 4.0.1 15 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 16
Usage Assignments are: • Local to each job and cannot be referenced across jobs. • Not case sensitive. Format • The first two characters must be a dollar sign ($) followed by an alpha character. No special characters are allowed after the first character. • Upper and lower case, alpha and numeric - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 17
Managed set name of virtual disk containers (simple) CreateContainersForHostVolume Managed set name of virtual disk containers (simple) List of host volume names (UNC) CreateStorageVolume Storage volume name (UNC) HP StorageWorks Replication Solutions Manager 4.0.1 17 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 18
Job command DeleteContainer DeleteDrGroup DeleteDrGroupMember DeleteHostVolume DeleteHostVolumeGroup DeleteHostVolumesUsingRepository DeleteOracleRepository DeleteReplicaRepository DeleteStorageVolume DeleteStorageVolumes DeleteStorageVolumesInManagedSet DeleteStorageVolumesUsingRepository - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 19
SetStorageVolumeName SetStorageVolumeWriteCacheMode SetStorageVolumesWriteCacheMode Command result value (format) Mount point name (UNC) The resources listed in the argument (UNC) New name for the storage volume (UNC) - HP StorageWorks Replication Solutions Manager 4.0.1 19 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 20
Job command SetVariable SetWriteCacheModesUsingRepository SnapcloneDiskDevice SnapcloneHostDiskDeviceToContainerInManagedSet SnapcloneHostVolume SnapcloneHostVolumeGroup SnapcloneHostVolumeGroupToContainersInManagedSet SnapcloneHostVolumeToContainers SnapcloneHostVolumeToContainersInManagedSet - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 21
WaitForWriteCacheFlushUsingRepository WaitHostDiskDeviceNormalization WaitHostVolumeNormalization WaitStorageVolumeNormalization WaitStorageVolumesNormalization WaitUntil WaitVolumeGroupNormalization Command result value (format) - HP StorageWorks Replication Solutions Manager 4.0.1 21 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 22
open. If you close the window, the implicit job continues to run. Imported jobs Replication manager jobs that have been imported from legacy HP Business Copy 2.X jobs include special comments to help resolve potential command conversion issues. For example: 22 Job concepts, templates and commands - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 23
replication features of a storage system. Storage family indicates the storage system family that the command supports. Some commands cannot be used unless a host agent is running on the target host. local yes CombineLists general ~ ~ HP StorageWorks Replication Solutions Manager 4.0.1 23 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 24
Job command ConvertStorageVolumeIntoContainer ConvertStorageVolumesInManagedSetIntoContainers ConvertStorageVolumesIntoContainers ConvertStorageVolumesIntoContainersUsingRepository CreateContainer CreateContainerForHostDiskDevice CreateContainersForHostVolume CreateContainersForHostVolumeGroup - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 25
~ local, mirrorclone local, snapshot ~ ~ ~ local, mirrorclone local, mirrorclone local, mirrorclone Requires host agent ~ ~ yes ~ yes yes yes ~ ~ ~ ~ ~ yes ~ yes yes yes ~ ~ ~ ~ yes ~ ~ yes yes yes HP StorageWorks Replication Solutions Manager 4.0.1 25 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 26
Job command MirrorcloneHostVolumeGroupToContainersInManagedSet MirrorcloneHostVolumeToContainers MirrorcloneHostVolumeToContainersInManagedSet MirrorcloneStorageVolume MountEntireVolumeGroup MountHostVolume MountHostVolumesUsingRepository MountVolumeGroupComponent Pause PresentStorageVolume - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 27
local, snapclone local, snapclone local, snapclone Requires host agent ~ yes yes yes yes ~ yes ~ yes ~ ~ ~ ~ yes yes yes yes yes yes yes yes yes yes ~ ~ ~ HP StorageWorks Replication Solutions Manager 4.0.1 27 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 28
Job command SnapshotDiskDevice SnapshotHostDiskDeviceToContainerInManagedSet SnapshotHostVolume SnapshotHostVolumeGroup SnapshotHostVolumeGroupToContainersInManagedSet SnapshotHostVolumeToContainers SnapshotHostVolumeToContainersInManagedSet SnapshotOracleToContainersUsingRepository - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 29
local, snapclone local, snapshot local, snapshot local, snapshot ~ ~ ~ ~ remote remote ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Requires host agent yes yes ~ yes yes yes yes yes yes ~ ~ ~ ~ ~ yes yes yes ~ ~ ~ yes HP StorageWorks Replication Solutions Manager 4.0.1 29 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 30
Job templates list Job templates provide frameworks and guidelines for creating typical jobs. Template name (alphabetical order) Empty template Replication type - Remarks Fracture host volumes, mount to a host local requires host agent Instant restore storage volumes to other storage volumes - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 31
hosts, host volumes, Oracle, storage systems, and virtual disks (storage volumes) Resource names in job commands When you initially enter a command in a job, the command's resource arguments are displayed as %variable% names, for example: HP StorageWorks Replication Solutions Manager 4.0.1 31 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 32
examples for resource types follow. DR groups Name format (UNC) \\array name\path\DR group name Example \\ArrayA2\DrGrpPets Identifies the home/cats HP-UX \\HostA2\/users/cats Linux \\HostA2\/var/cats OpenVMS \\HostA2\CATS Solaris \\HostA2\/usr/cats Tru64 UNIX \\HostA2\/users/cats Windows - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 33
fic enabled host AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows 8 The replication manager does not 8 actively limit the number of job instances per specific enabled host. 1 However, HP does not support more than the maximums shown. 1 8 8 4 HP StorageWorks Replication Solutions Manager - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 34
, but is paused by a job command or user action. Paused/Error Running, but is paused due is executed as an entity. It consists of two parts: Do and Always. Transactions are typically used with line 9 suspends host I/O to a storage volume (virtual disk). The transaction begins at line 10 and ends on - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 35
resource. For example, ValidateStorageVolume checks for the availability of a specific virtual disk on a specific storage system, while ValidateSnapcloneStorageVolume checks whether the storage command, the job is stopped with a success status. HP StorageWorks Replication Solutions Manager 4.0.1 35 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 36
• Skip validation. If the line is a validation command it is ignored. In the validate-only and skip validation cases, job transactions and branches within validation commands are ignored. Resource validation processing in transactions Special cases exist for validation commands in a transaction - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 37
Task 1 // This is an empty job template. 2 // 3 // 4 // Wait for user to initiate rollback. 5 Pause () 6 // 7 // Rollback. 8 Exit (SUCCESS) 9 mirrorclones with their sources. Template options • Number of volumes to replicate. Adds commands for HP StorageWorks Replication Solutions Manager 4.0.1 37 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 38
• Include e-mail notification. Adds a command for e-mail notification of the job instance status. See SetNotificationPolicy. Considerations • Tru64 UNIX. When replicating AdvFS volumes that have heavy I/O, select the option Suspend source before replication. Example This template was generated to - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 39
user ) the write cache of the storage volume (virtual disk) to cache of the source storage volume. NOTE: This template cannot be used with some older versions of controller software. Template options • Number HP recommends that you perform restores of host volumes using the GUI. HP StorageWorks - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 40
storage volume(s). 11 DO { 12 SetStorageVolumeWriteCacheMode ($source_storvol_unc1, WRITE_CACHE_DISABLED, NOWAIT) 13 // 14 // Wait for the cache flush to complete. 15 WaitForStorageVolumeWriteCacheFlush ($source_storvol_unc1) 16 // 17 // Convert the destination storage volume(s) into container - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 41
continued by a user. D. After options • Number of volumes HP-UX host volumes. • When used with Tru64 UNIX hosts, this template supports only UFS file systems. Example This template was generated to mount one existing storage volume on a host. No other template options were selected. HP StorageWorks - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 42
(%component%, $storvol_unc1, $mount_host) onerror pauseat E1: 13 $MP1 = MountHostVolume ($HV1, %mount_point1%) onerror pauseat E2: 14 // 15 // Wait for user to initiate rollback. 16 Pause () 17 // 18 // Rollback. 19 E3: UnmountHostVolume ($MP1) onerror pauseat E3: 20 E2: DeleteHostVolume ($HV1 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 43
exist at site 3. Guidelines apply. Template Options • Number of virtual disks in DR group. Adds commands for each virtual disk. • Suspend source before replication. Adds launch 18 $DR_source_storvol_unc1 = SetVariable(%DR_source_storvol_unc1%) HP StorageWorks Replication Solutions Manager 4.0.1 43 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 44
// Validate some resources needed by this job: 21 // - The arrays at Sites 1, 2 and 3. 22 // - The source DR group at Site 1 and it's virtual disk member(s). 23 // - The storage system at Site 2 with the destination DR group and it's virtual disk member(s). 24 // - The host name at Site 2. 25 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 45
Agent, but instead 63 // use the name of a 'dummy' EVA host that you have set up in Command View. 64 PresentStorageVolume ($Rep1 nished allocating. 74 // The time required depends on virtual disk size, workload, etc. 75 ddgwt: Wait ("0:0:3" HP StorageWorks Replication Solutions Manager 4.0.1 45 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 46
a failover of two sites in the case where the source site resources and link remain available.he DR group pair contains one storage volume (virtual disk) at the source and destination sites. A. Stops an application on the enabled host at site 1 (if necessary). B. Unmounts the host volume on the - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 47
, fsck volumes, etc. 29 // Mount devices on the remote host. 30 // Start the application on the remote host. 31 Pause() 32 // 33 Exit (SUCCESS 34 // HP StorageWorks Replication Solutions Manager 4.0.1 47 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 48
link is no longer available. The DR group pair contains one storage volume (virtual disk) at the source and destination sites. A. Performs a failover from site • Guidelines apply. IMPORTANT: During actual emergencies, HP recommends that you manually perform a failover by using the Failover action - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 49
. B. Between each snapclone, wait for the previous one to normalize. C. Mount the replicas on a host. D. Pause. E. Delete the mounted host volumes. F. Delete the storage volumes. HP StorageWorks Replication Solutions Manager 4.0.1 49 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 50
Template options • Number of times to snapclone. Adds commands for each snapclone. • Suspend source before replication. Adds launch commands for interacting with an enabled host, for example to - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 51
= MountHostVolume ($HV1, %mount_point1%) onerror pauseat E3: 19 // 20 // Wait for user to initiate rollback. 21 Pause () 22 // 23 // Rollback. 24 E4: UnmountHostVolume // 31 // Failure exit - no rollback needed. 32 E1: Exit (FAILURE) HP StorageWorks Replication Solutions Manager 4.0.1 51 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 52
the raw host volume from the second enabled host. E. Unpresents and deletes the storage volume copies from the storage system Template options • Number of volumes to replicate. Adds commands for each volume. • Suspend source before replication. Adds launch commands for interacting with an enabled - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 53
CreateDiskDevice ($Rep1, $mount_host, %LUN%, READ_WRITE) onerror pauseat E2: 17 // 18 // Wait for user to initiate rollback. 19 Pause () 20 // 21 // Rollback. 22 E3: RemoveDiskDevice ($Rep1, $ host (creates a new host volume group). HP StorageWorks Replication Solutions Manager 4.0.1 53 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 54
deletes the storage volume copies from the storage system. Template options • Number of components to mount. Enter 1 or more. Adds mount and status. See SetNotificationPolicy. Comments • Tru64 UNIX. Replication is not supported when an AdvFS domain spans partitions. • Tru64 UNIX. When replicating - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 55
, $source_VG_component_unc1, %mount_point1%) onerror pauseat E3: 19 // 20 // Wait for user to initiate rollback. 21 Pause () 22 // 23 // Rollback. 24 E4: 30 // 31 // Failure exit - no rollback needed. 32 E1: Exit (FAILURE) HP StorageWorks Replication Solutions Manager 4.0.1 55 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 56
storage volume copies from the storage system. Template options • Number of volume groups to replicate. Adds commands for each component. status. See SetNotificationPolicy. Comments • Tru64 UNIX. Replication is not supported when an AdvFS domain spans partitions. • Tru64 UNIX. When replicating AdvFS - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 57
HV1, $source_VolumeGroup_unc1, %VGcopyPrefix%) onerror pauseat E3: 18 // 19 // Wait for user to initiate rollback. 20 Pause () 21 // 22 // Rollback. 23 E4: // 30 // Failure exit - no rollback needed. 31 E1: Exit (FAILURE) HP StorageWorks Replication Solutions Manager 4.0.1 57 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 58
volume on an enabled host. B. Pauses the job. C. After continuing, deletes the storage volume copies from the storage system. Template Options • Number of volumes to replicate. Adds commands for each volume. • Suspend source before replication. Adds launch commands for interacting with an enabled - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 59
WAIT) onerror pauseat E1: 12 // 13 // Wait for user to initiate rollback. 14 Pause () 15 // 16 // volume copies from the storage system. Template options • Number of volumes to replicate. Adds commands for each volume. a tape backup. HP StorageWorks Replication Solutions Manager 4.0.1 59 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 60
• Use snapclone instead of snapshot. Generates a template that uses snapclone replication. • Include e-mail notification. Adds a command for e-mail notification of the job instance status. See SetNotificationPolicy. Considerations • Tru64 UNIX. When replicating AdvFS volumes that have heavy I/O, select - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 61
= MountHostVolume ($HV1, %mount_point1%) onerror pauseat E3: 20 // 21 // Wait for user to initiate rollback. 22 Pause () 23 // 24 // Rollback. 25 E4: UnmountHostVolume // 32 // Failure exit - no rollback needed. 33 E1: Exit (FAILURE) HP StorageWorks Replication Solutions Manager 4.0.1 61 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 62
from the storage system. * EH1 though EH5 are labels in the summary only. They are not variables in the template. Template options • Number of volumes to replicate. Adds commands for each volume. • Suspend source before replication. Adds launch commands for interacting with an enabled host, for - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 63
40 // 41 // Wait for user to initiate rollback. 42 Pause ( 43 // 44 // Rollback. 45 E4: UnmountHostVolume ($MP2) onerror pauseat E4: 46 E3: DeleteHostVolume ($HV2) onerror pauseat E3: 47 E2: DeleteStorageVolumes ($Rep1) onerror pauseat E2: 48 // HP StorageWorks Replication Solutions Manager - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 64
that underlie the host volume to containers. C. Re-enables the write cache of the source storage volumes that underlie the host volume. D. Waits for used with some older versions of controller software. Template options • Number of volumes to replicate. Adds commands for each volume. • Suspend - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 65
($source_hostvol_unc1 12 // 13 // Begin flushing the cache on the host volume(s). 14 SetHostVolumeWriteCacheMode ($source_hostvol_unc1, mount_point1%) onerror pauseat E3: 36 // 37 // Wait for user to initiate rollback. 38 Pause () HP StorageWorks Replication Solutions Manager 4.0.1 65 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 66
unmounts the component from the second enabled host, unpresents and deletes the storage volume copies from the storage system. Template options • Number of components to mount. Adds commands for each component. • Suspend source before replication. Adds launch commands for interacting with an enabled - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 67
= MountHostVolume ($HV1, %mount_point1%) onerror pauseat E3: 20 // 21 // Wait for user to initiate rollback. 22 Pause () 23 // 24 // Rollback. 25 E4: UnmountHostVolume // 32 // Failure exit - no rollback needed. 33 E1: Exit (FAILURE) HP StorageWorks Replication Solutions Manager 4.0.1 67 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 68
the raw host volume from the enabled host. E. Unpresents and deletes the storage volume copy from the storage system. Template options • Number of volumes to replicate. Adds commands for each volume. • Use snapclone instead of snapshot. Generates a template that uses snapclone replication. • Include - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 69
($Rep1, $mount_host, %LUN%, READ_WRITE) onerror pauseat E2: 17 // 18 // Wait for user to initiate rollback. 19 Pause () 20 // 21 // Rollback. 22 E3: RemoveDiskDevice ($Rep1, deletes the storage volume copies from the storage system. HP StorageWorks Replication Solutions Manager 4.0.1 69 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 70
Template options • Number of volumes . See SetNotificationPolicy. Considerations • Tru64 UNIX. When replicating virtual disks with AdvFS volumes that have heavy I/O, select the option , WAIT) onerror pauseat E1: 12 // 13 // Wait for user to initiate rollback. 14 Pause () 15 // 16 // Rollback. - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 71
UNIX. When replicating virtual disks with AdvFS volumes that have heavy I/O, select the option Suspend source before replication. Example This template was generated to replicate one storage volume. No other template options were selected. HP StorageWorks Replication Solutions Manager 4.0.1 71 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 72
// 19 } ALWAYS { 20 // Restore the writeback cache on the storage volume(s). 21 SetStorageVolumesWriteCacheMode ($source_storvol_list, WRITE_CACHE_ENABLED, NOWAIT) onerror continue 22 // 23 } 24 // 25 // Wait for user to initiate rollback. 26 Pause () 27 // 28 E2: DeleteStorageVolumes ( - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 73
items in the repository. 16 SnapshotOracleUsingRepository ($repository, FULLY_ALLOCATED, SAME, ORACLE_TABLESPACE, NOWAIT) onerror pauseat E2: 17 // 18 } ALWAYS { 19 // Put the database back into normal mode. HP StorageWorks Replication Solutions Manager 4.0.1 73 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 74
. 30 SnapshotOracleUsingRepository ($repository, FULLY_ALLOCATED, SAME, ORACLE_ARCHIVE_LOG_FILE, NOWAIT) onerror pauseat E3: 31 // 32 // Wait for user to initiate rollback. 33 Pause () 34 // 35 // Rollback. 36 E3: DeleteStorageVolumesUsingRepository ($repository, REPLICATED) onerror - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 75
is not backing up archive log files. 25 // 26 // Force a log switch to get the most current archive logs. 27 SwitchOracleArchiveLogFilesUsingRepository ( $repository ) onerror pauseat E3: HP StorageWorks Replication Solutions Manager 4.0.1 75 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 76
repository, REPLICATED) onerror pauseat E4: 37 // 38 // Wait for user to initiate rollback. 39 Pause () 40 // 41 // Rollback. 42 the Oracle database by putting it in 'hot backup' mode. C. Flush the cache on the storage volumes used by the host volumes. D. Replicate the tablespace(s) into - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 77
) onerror pauseat E2: 14 // 15 // Begin flushing the cache on the host volume(s). 16 SetWriteCacheModesUsingRepository ($repository, ORIGINAL, ORACLE_TABLESPACE, FULLY_ALLOCATED, ORACLE_TABLESPACE, NOWAIT) onerror pauseat E2: 20 // HP StorageWorks Replication Solutions Manager 4.0.1 77 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 78
23 SetOracleModeUsingRepository ($repository, TSONLINE) 24 // Restore the writeback cache on the host volume(s). 25 SetWriteCacheModesUsingRepository ($repository, ORIGINAL, , REPLICATED) onerror pauseat E4: 49 // 59 // Wait for user to initiate rollback. 51 Pause ( 52 // 53 // Rollback. - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 79
job instance status. See SetNotificationPolicy. Example This template was generated to restore tablespaces to a different server than the original. No template options were selected. HP StorageWorks Replication Solutions Manager 4.0.1 79 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 80
summary Establishes and configures a DR group pair and initiates remote replication between two sites. The DR group pair contains one storage volume (virtual disk) at the source and destination sites. A. Creates a DR group pair that contains the source storage volume that is to be remotely replicated - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 81
storage volume manually. 27 // Default name is the same as the source storage volume. 28 PresentStorageVolume (%dest_storvol%, $dest_host_name, %lun_number%, READ_WRITE) 29 // 30 Exit (SUCCESS) 31 // 32 // Failure exit - no rollback needed. 33 E1: Exit (FAILURE) HP StorageWorks Replication - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 82
have normalized across the two sites. C. After normalization is completed, resumes the remote replication in the non-critical DR group pairs. Template options • Number of non-critical DR groups in the CA configuration. Adds commands for the non-critical DR groups. • Include e-mail notification. Adds - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 83
existing host volumes (template) Template summary Unmounts and deletes host volumes. Template options • Number of volumes to unmount and delete. Adds commands for each volume. • Include e-mail volume. No other template options were selected. HP StorageWorks Replication Solutions Manager 4.0.1 83 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 84
and be in the replication manager database when this job is run. B. The underlying storage volume remains presented to the host. Template options • Number of volumes to unmount. Adds commands for each volume. • Include e-mail notification. Adds a command for e-mail notification of the job instance - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 85
tablespaces in a database to a specific repository. The appropriate tablespaces are automatically added by reference to the enabled host and database specified by the repository. HP StorageWorks Replication Solutions Manager 4.0.1 85 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 86
. In other words, this command establishes a remote copy relationship between storage volumes on the source and destination storage arrays. Syntax and arguments When initially inserted into a job, the command syntax and default arguments are: AddDrGroupMember ( %drgroup_unc_name%, %storvol_unc_name - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 87
see command result values. • OS specifics. None • The maximum number of virtual disks per DR group is controller software dependent. • See resource names AddOracleTablespacesToRepository ( "\\HostA2\Catalog 20051214.021405", "\\HostA2\SYSTEM" ) HP StorageWorks Replication Solutions Manager 4.0.1 87 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 88
step in the same job. • See sresource names and UNC formats. AddReplicaToReplicaRepository Adds to a replica repository the storage volume replica (virtual disk replica) that underlies a host volume. Syntax and arguments When initially inserted into a job, the command syntax and default arguments - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 89
prior to the step that combines them. ConvertStorageVolumeIntoContainer Converts a storage volume (virtual disk) to a storage container. Syntax and arguments When initially inserted into of the storage volume to be converted to a container. HP StorageWorks Replication Solutions Manager 4.0.1 89 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 90
be used with some older versions of controller software. • See resource names and UNC formats. ConvertStorageVolumesIntoContainers Converts storage volumes (virtual disks) to storage containers. Syntax and arguments When initially inserted into a job, the command syntax and default arguments are - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 91
and UNC formats. CreateContainer Creates a storage container on a storage system. Syntax and arguments When initially inserted into a job, the command syntax and default arguments are: HP StorageWorks Replication Solutions Manager 4.0.1 91 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 92
Creates a managed set of storage containers that correspond to the virtual disks that underlie a host disk device. Syntax and arguments When which the storage containers are to be added. Examples AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows CreateContainerForHostDiskDevice ( "\\HostA2\/dev - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 93
HostA2\/home/cats", "hvol_cats" ) HP-UX CreateContainersForHostVolume ( "\\HostA2\/users/cats", "hvol_cats" ) Linux virtual disks that underlie a host volume group. Syntax and arguments When initially inserted into a job, the command syntax and default arguments are: HP StorageWorks - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 94
added. Examples AIX HP-UX Linux OpenVMS Solaris users Instructs an enabled host to create a raw host volume (disk device) from a storage volume (virtual disk). The storage volume (virtual to which the storage volume is to be presented. LUN Number. Select or enter a host LUN for the presented storage - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 95
. Select or enter the name of the disk group in which to create the source storage volume (virtual disk). If omitted, a default is applied when the job is run. Destination Log Disk Group. list, see command result values. • OS specifics. None HP StorageWorks Replication Solutions Manager 4.0.1 95 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 96
• Guidelines apply. • The maximum number of virtual disks per DR group and other properties are is run, some job arguments may specify features that are not available on the target array. • See resource names and UNC formats. CreateDrGroupFromHostVolume Creates a DR group pair by specifying - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 97
SAME, "", "", 10, FALSE ) HP-UX CreateDrGroupFromHostVolume ( "DrGrpPets", "\\HostA2\/users/cats", "ArrayB7", "", "", SAME apply. • The maximum number of virtual disks per DR group and other properties are controller software dependent. HP StorageWorks Replication Solutions Manager 4.0.1 97 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 98
• After a DR group pair is created, you can add more virtual disks. See AddDrGroupMember. • When a job is run, some job arguments may specify features that are not available on the target array. • See resource names and UNC formats. CreateHostVolume Creates a new host volume - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 99
home/cats", $Rep1, "HostA4" ) HP-UX $Rep1=SnapcloneHostVolume ( "\\HostA2\/users/cats", SAME, WAIT ) ** CreateHostVolume ( "\\HostA2\/users/cats", $Rep1, "HostA4" ) Linux %). Enter the type of host volume component on the source host. HP StorageWorks Replication Solutions Manager 4.0.1 99 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 100
name (UNC). For a complete list, see command result values. • OS specifics. Yes. See examples above. HP-UX. This command is not supported with HP-UX hosts. OpenVMS. This command is not supported with OpenVMS hosts. Tru64 UNIX • The Partition/Slice (%component%) value must be 0 (zero). • The command - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 101
HP-UX $Rep1=SnapcloneHostVolume ( "\\HostA2\/users/cats", SAME, WAIT ) ** CreateHostVolumeFromDiskDevices ( "\\HostA2\/users the just the final low level operations that are part of the CreateHostVolume command. See CreateHostVolume. • The HP StorageWorks Replication Solutions Manager 4.0.1 101 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 102
Rep1, "HostA4" ) HP-UX $Rep1=SnapcloneHostVolumeGroup ( "\\HostA2\/users/cats_vg", SAME, WAIT ) ** CreateHostVolumeGroup ( "\\HostA2\/users/cats_vg", $Rep1, not applicable to OpenVMS volume sets. Windows. Windows does not support volume groups. • See also CreateHostVolumeDiscrete. • See resource - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 103
host and database specified by the repository. Syntax and arguments When initially inserted into a job, the command syntax and default arguments are: CreateRestoredHostVolumesUsingRepository ( %oraclerepository_unc_name% ) HP StorageWorks Replication Solutions Manager 4.0.1 103 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 104
. • Compare with CreateHostVolumesUsingRepository. • See resource names and UNC formats. 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 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 105
HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows Drive Drive & folders CreateReplicaRepository ( HOST_VOLUME, "\\HostA2\/home/cats", INSTANT_RESTORE, "Replica of cats" ) CreateReplicaRepository ( HOST_VOLUME, "\\HostA2\/users Creates a storage volume (virtual disk) on a HP StorageWorks Replication - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 106
disk) name (UNC). For a complete list, see command result values. • OS specifics. None. • Virtual disks can only be created at the root level of the array. • See resource names and UNC formats. DeleteContainer Deletes a storage container from a storage system. Syntax and arguments When initially - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 107
connection is not operational, DR groups are still deleted but you must manually delete the destination virtual disks when the connection is reestablished. • If you delete a volume (virtual disks) and notifies the enabled host that the storage is no longer available. HP StorageWorks Replication - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 108
/cats" ) HP-UX DeteleHostVolume ( "\\HostA2\/users/cats" ) supported when the host volume is on a cluster host (a virtual enabled host). The command is supported when the host volume is on a physical enabled host in a cluster. • See resource names and UNC formats. DeleteHostVolumeGroup Instructs - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 109
HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows DeleteHostVolumeGroup ( "\\HostA2\/home/vg02" ) DeleteHostVolumeGroup ( "\\HostA2\/users OpenVMS volume sets. Windows. Windows does not support volume groups. • See resource names and UNC formats. HP StorageWorks Replication Solutions Manager 4.0.1 109 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 110
Select or enter the name of the replica repository to be deleted. Delete Replica Flag. Select whether or not to delete the virtual disks (storage volumes) in the replica repository. Choices are true and false. Examples DeleteReplicaRepository ( "RR-20070223.015320.588", FALSE ) Comments • Associated - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 111
• See resource names and UNC formats. DeleteStorageVolumes Deletes multiple storage volumes (virtual disks). Syntax and arguments When initially inserted into a job, the command into a job, the command syntax and default arguments are: HP StorageWorks Replication Solutions Manager 4.0.1 111 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 112
the same job. • See resource names and UNC formats. DetachMirrorclones Detaches fractured mirrorclone virtual disks from their source virtual disks. The detached virtual disks become independent (original) virtual disks. Syntax and arguments When initially inserted into a job, the command syntax and - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 113
the name of the enabled host that you want to discover the presented storage volume. Virtual Disk Name (%storvol_unc_name%). Select or enter full UNC name of the presented storage volume a job, the command syntax and default arguments are: HP StorageWorks Replication Solutions Manager 4.0.1 113 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 114
arguments are: DiscoverDiskDevicesForDrGroup ( %hostname%, %drgroup_unc_name% ) Host Name (%hostname%). Select or enter the name of the enabled host on which the DR group's raw virtual disks have been presented. DR Group UNC Name. Select or enter the UNC name of the DR group for which you want to - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 115
database are used in conjunction with job commands, rather than using properties from the server cache memory, which might not have been up to date. Syntax and arguments When initially job execution. Examples Exit ( SUCCESS ) Exit (FAILURE) HP StorageWorks Replication Solutions Manager 4.0.1 115 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 116
Comments • Associated validation command. None • Agent and license prerequisites. None • Command result values. None. For a complete list, see command result values. • OS specifics. None Export Exports the RSM database. This feature allows administrators to create a copy of the active RSM database. - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 117
Guidelines apply. • During actual emergencies, HP recommends that you manually perform a failover by using the Failover cache on an enabled host. This command applies only to mounted host volumes and does not flush the underlying virtual disks write caches on the storage array. HP StorageWorks - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 118
host volumes (on an enabled host) whose caches are to be flushed. Examples These examples ( "\\HostA2\/home/cats" ) HP-UX HFS, VxFS FlushCache ( "\\HostA2\/users/cats" ) Linux Ext2, Ext3 The data is copied directly from the source group virtual disk to the destination group, without using any - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 119
Wait Flag. Select wait or nowait. See jobs wait/nowait argument. Examples AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows FractureHostDiskDeviceMirrorclone ( "\\HostA2\/dev/dsk/hd1", . Select wait or nowait. See jobs wait/nowait argument. HP StorageWorks Replication Solutions Manager 4.0.1 119 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 120
. Device names can also be used. AIX FractureHostVolumeMirrorclones ( "\\HostA2\/home/cats" ) HP-UX FractureHostVolumeMirrorclones ( "\\HostA2\/users/cats" ) Linux FractureHostVolumeMirrorclones ( "\\HostA2\/var/cats" ) OpenVMS FractureHostVolumeMirrorclones ( "\\HostA2\CATS" ) Solaris - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 121
None. • Guidelines apply. • A flush of the underlying source virtual disks write caches is required before the fracture is started. See also SetHostVolumesWriteCacheMode and job, the command syntax and default arguments are: HP StorageWorks Replication Solutions Manager 4.0.1 121 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 122
Import ( %full_file_name% ) Full path name. Enter the full path and file name of the RSM database copy to import. Examples Import ( "C:\colorado\RSMdb_on_server2_Mar_15_2007.xml") Import ( "C:\colorado\CADATA_20050211135232.export" ) Comments • Associated validation commands. None • Agent and license - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 123
host command returns a zero for success, enter a zero (0). Do not enclose a value in quotes. This is done automatically. An empty value appears as two quotes (""). HP StorageWorks Replication Solutions Manager 4.0.1 123 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 124
Examples AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows Drive Drive & folders Launch ( "HostA2", "/home/zap_application.sh", "", WAIT, "0" ) Launch ( "HostA2", "/users/zap_application.sh", "", WAIT, "0" ) Launch ( "HostA2", "/var/zap_application.sh", "", WAIT, "0" ) Launch ( "HostA2", "CATS. - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 125
the Job Monitor window. MirrorcloneHostDiskDeviceToContainer Creates a synchronized mirrorclone of the storage volume (virtual disk) that underlies a host disk device, by using a container. Syntax or nowait. See jobs wait/no wait argument. HP StorageWorks Replication Solutions Manager 4.0.1 125 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 126
Examples AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows MirrorcloneHostDiskDeviceToContainer ( "\\HostA2\/dev/ Set Name ( %managed_set_name%). Select or enter the name of the managed set in which the virtual disk container is a member. Wait Flag. Select wait or nowait. See jobs wait/no wait - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 127
names and UNC formats. MirrorcloneHostVolumeGroupToContainers Creates synchronized mirrorclones of the storage volumes (virtual disks) that underlie a host volume group, by using containers. Syntax or nowait. See jobs wait/no wait argument. HP StorageWorks Replication Solutions Manager 4.0.1 127 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 128
HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows MirrorcloneHostVolumeGroupToContainers ( "\\HostA2\/home/cats_vg", "\\ArrayA2\CatsContainer", WAIT ) MirrorcloneHostVolumeGroupToContainers ( "\\HostA2\/users of the managed set in which the virtual disk containers are members. Wait Flag. Select - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 129
HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows MirrorcloneHostVolumeGroupToContainersInManagedSet ( "\\HostA2\/home/cats_vg", "hvol_cats_set", WAIT ) MirrorcloneHostVolumeGroupToContainersInManagedSet ( "\\HostA2\/users volumes (virtual disks) HP StorageWorks Replication Solutions Manager 4.0.1 129 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 130
HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows Drive Drive & folders MirrorcloneHostVolumeToContainers ( "\\HostA2\/home/cats", ("\\ArrayA2\CatsContainer", WAIT ) MirrorcloneHostVolumeToContainers ( "\\HostA2\/users name of the managed set in which the virtual disk containers are members. Wait or No - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 131
WAIT ) MirrorcloneHostVolumeToContainersInManagedSet ( "\\HostA2\/users/cats", "hvol_cats_set", WAIT ) ( "\\ArrayA2\Cats", "\\ArrayA2\CatsContainer", WAIT ) Comments • Associated validation commands. ValidateStorageVolume. HP StorageWorks Replication Solutions Manager 4.0.1 131 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 132
list, see command result values. • OS specifics. None. MountEntireVolumeGroup Instructs an enabled host to mount all of the replica logical volumes in a a unique mount point prefix for each replica. Examples AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows MountEntireVolumeGroup ( "cats_vg", - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 133
. Windows does not support volume groups. • See resource names and UNC formats. MountHostVolume Instructs an enabled host to cats" ) MountHostVolume ( "\\HostA2\dev/dsk/c2t0d2", "/users/cats" ) MountHostVolume ( "\\HostA2\dev/sda3", "/var HP StorageWorks Replication Solutions Manager 4.0.1 133 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 134
• The repository must already exist or be created by a previous step in the same job. • See resource names and UNC formats. MountVolumeGroupComponent Instructs an enabled host to mount a specific component (logical volume) in a host volume group replica. The host volume group replica must have been - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 135
HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows MountVolumeGroupComponent ( "VG02Copy", "VG02", "/dev/lv01", "/home/pets" ) MountVolumeGroupComponent ( "VG02Copy", "VG02", "/dev/lv01", "/users . OpenVMS does not support volume groups. This HP StorageWorks Replication Solutions Manager 4.0.1 135 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 136
) whose presentation you want to begin. Host_Name (%host_name%). Select or enter the name of the host for which the storage volume (virtual disk) presentation is to begin. LUN Number. Select or enter a presentation LUN for the storage volume. The LUN cannot already be in use when the job is run. You - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 137
storage volume is unpresented. • See resource names and UNC formats. ResyncMirrorclone Restarts the local replication from a source virtual disk to its fractured mirrorclone. The fractured mirrorclone becomes a synchronized mirrorclone again. HP StorageWorks Replication Solutions Manager 4.0.1 137 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 138
formats. ResyncMirrorclones Restarts the local replication from source virtual disks to their fractured mirrorclones. The fractured None. • See resource names and UNC formats. RetainLatestRoundRobinReplicasForHostStorageVolume Specifies the number of replicas of a host disk device to use in a job for - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 139
%, 7 ) Source Host Volume UNC Name (%source_hostvol_unc_name%). Select or enter the UNC name of the host volume to be replicated in a round robin job. Number of Copies. Enter the number of replicas to use in the round robin replication job. HP StorageWorks Replication Solutions Manager 4.0.1 139 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 140
the number of replicas to use in the round robin replication job. The maximum is seven. Examples AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows RetainLatestRoundRobinReplicasForHostVolumeGroup ( "\\HostA2\/home/cats_vg", 7 ) RetainLatestRoundRobinReplicasForHostVolumeGroup ( "\\HostA2\/users - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 141
ficationPolicy. • You can send e-mail (text message) to a phone number if the e-mail service supports it. SetDiskGroupForSnapclone Temporarily overrides a storage system default and specifies the disk which the snapclones are to be created. HP StorageWorks Replication Solutions Manager 4.0.1 141 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 142
values. • OS specifics. None. • When a job is run, some job arguments may specify features that are not available on the target array. • See resource names and UNC formats. SetDrGroupComments Creates or replaces the comment about a source or destination DR group. Syntax and arguments When initially - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 143
and default arguments are: SetDrGroupFailsafe ( %drgroup_unc_name%, DISABLED ) UNC DR Group Name (%drgroup_unc_name%). Select or enter the UNC name of the DR group to be changed. HP StorageWorks Replication Solutions Manager 4.0.1 143 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 144
and UNC formats. SetDrGroupFailsafeOnLinkDownPowerUp Specifies whether or not virtual disks in a source DR group are automatically re- , some job arguments may specify features that are not available on the target array. • See resource names and UNC formats. SetDrGroupHome Specifies the home property - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 145
, see command result values. • OS specifics. None • See resource names and UNC formats. SetDrGroupMaxLogSize Specifies the maximum log disk size for a DR group. HP StorageWorks Replication Solutions Manager 4.0.1 145 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 146
Syntax and arguments When initially inserted into a job, the command syntax and default arguments are: SetDrGroupMaxLogSize ( %drgroup_unc_name%, 0 ) UNC Disk Group Name ( %drgroup_unc_name%). Select or enter the UNC name of the DR group whose maximum log disk size is to be set. Max Size (MB). Enter - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 147
Disabled No change in write cache operation Disable Enabled Write caching is stopped and the cache memory is written to disk (flushed) Enable Disabled Write caching is started Enable Enabled No change in write cache operation HP StorageWorks Replication Solutions Manager 4.0.1 147 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 148
resource names and UNC formats. SetHostVolumeGroupWriteCacheMode Enables or disables (stops and flushes) the write cache of the storage volumes (virtual disks) that underlie a host volume group. When the job is run, the virtual disk write cache mode is enabled or disabled as specified. If the write - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 149
of the storage volumes (virtual disks) that underlie a host volume. When the job is run, the virtual disk write cache mode is enabled or disabled as specified. If the write cache mode is already as specified, no change in operation occurs. HP StorageWorks Replication Solutions Manager 4.0.1 149 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 150
enter the name of the host volume whose write cache mode is to be set. Write Cache Mode. Select the write cache mode for the host volume. Choices are write_cache_enabled /cats", WRITE_CACHE_ENABLED, NOWAIT ) HP-UX SetHostVolumeWriteCacheMode ( "\\HostA2\/users/cats", WRITE_CACHE_ENABLED, NOWAIT ) - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 151
cache of the storage volumes (virtual disks) that underlie host volumes. When the job is run, the virtual disk write cache mode is enabled or disabled as specified. If the write cache throughout a job rather than entering the individual values. HP StorageWorks Replication Solutions Manager 4.0.1 151 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 152
assigns mount points on this path. Examples AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows Drive Drive & folders Not supported Not supported Not supported Not supported Not supported Not supported SetMountPointsPrefixInRepository ( "\\HostA2\Catalog 20051214.021405", "E:\" ) SetMountPointsPre - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 153
state: executed a Pause() step. Job state: paused due to error or user action. job_started Job instance has started. job_started_or_stopped Job instance has started. Also sent only if the specified condition occurs. Compare with SendEmail HP StorageWorks Replication Solutions Manager 4.0.1 153 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 154
be created by a previous step in the same job. • See resource names and UNC formats. SetStorageVolumeName Renames a storage volume (virtual disk). Syntax and arguments When initially inserted into a job, the command syntax and default arguments are: SetStorageVolumeName ( %storvol_unc_name%, %name - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 155
Specifies the write cache mode for multiple storage volumes (virtual disks). Syntax and arguments Cache Mode. Select the write cache mode for the storage volume. Choices are write_cache_enabled, and write_cache_disabled Wait Flag. Select wait or nowait. See jobs wait/no wait argument. HP StorageWorks - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 156
• To refer to the variable elsewhere in the job, you must enter a variable assignment. See assignments. SetWriteCacheModesUsingRepository Sets the write cache mode of the storage volumes that underlie an Oracle database. The appropriate storage volumes are automatically selected by reference to the - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 157
Mode. Select the write cache mode for the storage volume Virtual Disk Name (%new_storvol_name%). Enter a name for the copy. Wait for Discovery. Select wait or nowait. See jobs wait/nowait argument. Examples These examples show host volume mount points. Device names can also be used. HP StorageWorks - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 158
HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows Drive Drive & folders SnapcloneDiskDevice ( "\\HostA2\/home/cats", "\\ArrayA2\DskGrp3", 12, READ_WRITE, "Cats_copy", WAIT ) SnapcloneDiskDevice ( "\\HostA2\/users of the managed set in which the virtual disk container is a member. Wait Flag. Select - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 159
level for the copies. Choices are RAID0, RAID1, RAID5, and same. See virtual disks redundancy level. Wait for Discovery. Select wait or nowait. See jobs wait/nowait argument. Examples Host volume mount points or device names can be used. HP StorageWorks Replication Solutions Manager 4.0.1 159 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 160
HP-UX OpenVMS Solaris Tru64 UNIX Windows Drive Drive & folders SnapcloneHostVolume ( "\\HostA2\/home/cats", SAME, WAIT ) SnapcloneHostVolume ( "\\HostA2\/users the copies. Choices are RAID0, RAID1, RAID5, and same. See virtual disks redundancy level. Wait for Discovery Select wait or nowait. See - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 161
. OpenVMS does not support volume groups. This command is not applicable to OpenVMS volume sets. Tru64 UNIX. Replication is not supported when an AdvFS domain the virtual disk containers are members. Wait Flag. Select wait or nowait. See jobs wait/nowait argument. HP StorageWorks Replication - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 162
HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows SnapcloneHostVolumeGroupToContainersInManagedSet ( "\\HostA2\/home/cats_vg", "hvol_cats_set", NOWAIT ) SnapcloneHostVolumeGroupToContainersInManagedSet ( "\\HostA2\/users -time copies) of the storage volumes (virtual disks) that underlie a host volume, - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 163
of the host volume to be copied. Managed Set Name (%managed_set_of_containers%). Select or enter the name of the managed set in which the virtual disk containers are members. Wait Flag. Select wait or nowait. See jobs wait/nowait argument. HP StorageWorks Replication Solutions Manager 4.0.1 163 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 164
be used. AIX SnapcloneHostVolumeToContainersInManagedSet ( "\\HostA2\/home/cats", "hvol_cats_set", WAIT ) HP-UX SnapcloneHostVolumeToContainersInManagedSet ( "\\HostA2\/users/cats", "hvol_cats_set", WAIT ) Linux SnapcloneHostVolumeToContainersInManagedSet ( "\\HostA2\/var/cats", "hvol_cats_set - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 165
apply to the copy. Choices are RAID0, RAID1, RAID5, and same. See virtual disks redundancy level. Tablespaces or Archived Logs. Select the resources to replicate. Choices repository oracle_tablespace Replicate tablespaces in the repository HP StorageWorks Replication Solutions Manager 4.0.1 165 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 166
be created. RAID Level. Select the storage redundancy level that you want to apply to the copy. Choices are RAID0, RAID1, RAID5, and same. See virtual disks redundancy level. Snapclone Name. Enter a name for the copy. Wait for Discovery. Select wait or nowait. See jobs wait/nowait argument. Examples - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 167
see command result values. • OS specifics. None • A flush of the source virtual disk write cache is required before replication is started. • This command cannot be used with some older ( $my_svol_list, $cont_list, NOWAIT ) HP StorageWorks Replication Solutions Manager 4.0.1 167 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 168
of snapclone storage volume names (UNC). For a complete list, see command result values. • OS specifics. None • A flush of the source virtual disks write cache is required before replication is started. • This command cannot be used with some older versions of controller software. • See resource names - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 169
Name (%managed_set_of_containers%). Select or enter the name of the managed set in which the virtual disk container is a member. Snapshot Type. The only type is fully_allocated. Wait Flag. Select wait or nowait. See jobs wait/nowait argument. HP StorageWorks Replication Solutions Manager 4.0.1 169 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 170
Examples AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows SnapshotHostDiskDeviceToContainerInManagedSet ( UNC formats. SnapshotHostVolume Creates snapshots (point-in-time copies) of the storage volumes (virtual disks) that underlies a host volume. The snapshot copies are presented to the enabled - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 171
or fully_allocated. RAID Level. Select the redundancy level for the copy. Choices are RAID0, RAID1, RAID5, and same. See virtual disks redundancy level. Wait for Discovery. Select wait or nowait. See jobs wait/nowait argument. HP StorageWorks Replication Solutions Manager 4.0.1 171 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 172
, SAME, WAIT ) HP-UX SnapshotHostVolumeGroup ( "\\HostA2\/users/cats_vg", DEMAND_ALLOCATED, SAME, support volume groups. • See resource names and UNC formats. SnapshotHostVolumeGroupToContainersInManagedSet Creates preallocated snapshots (point-in-time copies) of the storage volumes (virtual - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 173
HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows SnapshotHostVolumeGroupToContainersInManagedSet ( "\\HostA2\/home/cats_vg", "hvol_cats_set", FULLY_ALLOCATED, NOWAIT ) SnapshotHostVolumeGroupToContainersInManagedSet ( "\\HostA2\/users (virtual HP StorageWorks Replication Solutions Manager 4.0.1 173 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 174
HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows Drive Drive & folders SnapshotHostVolumeToContainers ( "\\HostA2\/home/Cats", "\\Array2\Cats", DEMAND_ALLOCATED, WAIT ) SnapshotHostVolumeToContainers ( "\\HostA2\/users the managed set in which the virtual disk containers are members. Wait Flag. - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 175
"hvol_cats_set", WAIT ) HP-UX SnapshotHostVolumeToContainersInManagedSet ( "\\HostA2\/users/cats", "hvol_cats_set", WAIT of the managed set of containers (virtual disks) to be used for the snapshots. Snapshot Type. Select fully_allocated. HP StorageWorks Replication Solutions Manager 4.0.1 175 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 176
Tablespaces or Archived Logs. Select the resources to replicate. Choices are: Value Remarks all Replicate tablespaces and archived redo logs in the repository oracle_archive_log_file Replicate archived redo logs in the repository oracle_tablespace Replicate tablespaces in the repository Wait - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 177
cannot be copied using snapshot replication. • See resource names and UNC formats. SnapshotStorageVolumeToContainer Creates a preallocated snapshot (point-in-time copy, using a container) of a storage volume. HP StorageWorks Replication Solutions Manager 4.0.1 177 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 178
Syntax and arguments When initially inserted into a job, the command syntax and default arguments are: SnapshotStorageVolumeToContainer ( %storvol_unc_name%, %container_unc_name%, DEMAND_ALLOCATED, NOWAIT ) UNC Storage Volume Name (%storvol_unc_name%). Select or enter the UNC name of the storage - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 179
% ) Name of Job History (%jobhistory_name%). Select the job instance to be checked. Desired State (%desired_state%). Select the job instance state to check for. States are: HP StorageWorks Replication Solutions Manager 4.0.1 179 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 180
result values. • OS specifics. None. UnmountEntireVolumeGroup Instructs an enabled host to unmount all of the logical to be unmounted. Examples AIX HP-UX Linux OpenVMS Solaris Tru64 not support volume groups. This command is not applicable to OpenVMS volume sets. Windows. Windows does not support - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 181
HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows Drive Drive & folders UnmountHostVolume ( "\\HostA2"\/users" ) UnmountHostVolume ( "\\HostA2"\/users names and UNC formats. UnmountHostVolumes Instructs enabled hosts to unmount host volumes HP StorageWorks Replication Solutions Manager 4.0.1 181 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 182
Examples AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows Drive Drive & folders UnmountHostVolumes ( ( "\\HostA2\/users", "\\HostA5\/users/cats" ) ) UnmountHostVolumes ( ( "\\HostA2\/users", "\\HostA5\/users/cats" ) ) UnmountHostVolumes ( ( "\\HostA2\/var", "\\HostA5\/var/cats" ) ) - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 183
and license prerequisites. None • Command result value. None. For a complete list, see command result values. • OS specifics. None • See resource names and UNC formats. HP StorageWorks Replication Solutions Manager 4.0.1 183 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 184
ValidateHost Checks if an enabled host is an available resource. When the job is run, the validation command checks for availability of the resource. If the resource is not available, the job stops. Syntax and arguments When initially inserted into a job, the command syntax and default arguments are - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 185
( "\\HostA2\/home/cats" ) HP-UX ValidateHostVolumeDoesNotExist ( "\\HostA2\/users/cats" ) Linux ValidateHostVolumeDoesNotExist ( "\\HostA2 pets\cats" ) Comments • Agent and license prerequisites. Requires a host agent. HP StorageWorks Replication Solutions Manager 4.0.1 185 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 186
( "\\HostA2\/home/cats_vg" ) HP-UX ValidateHostVolumeGroup ( "\\HostA2\/users/cats_vg" ) Linux ValidateHostVolumeGroup ( "\\ OpenVMS. OpenVMS does not support volume groups. This command is not applicable to OpenVMS volume sets. Windows. Windows does not support volume groups. • See - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 187
ValidateHostVolumeMirrorclones ( "\\HostA2\/home/cats" ) HP-UX ValidateHostVolumeMirrorclones ( "\\HostA2\/users/cats" ) Linux ValidateHostVolumeMirrorclones ( "\\HostA2\/ values. • OS specifics. None • See resource names and UNC formats. HP StorageWorks Replication Solutions Manager 4.0.1 187 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 188
ValidateOracleTablespaces Checks if an Oracle tablespace is an available resource. When the job is run, the validation command checks for availability of the resource. If the resource is not available, the job stops. Syntax and arguments When initially inserted into a job, the command syntax and - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 189
( "\\HostA2\/home/vg02" ) HP-UX ValidateSnapcloneHostVolumeGroup ( "\\HostA2\/users/vg02" ) Linux ValidateSnapcloneHostVolumeGroup ( "\\HostA2 applicable Comments • Agent and license prerequisites. Requires a host agent. HP StorageWorks Replication Solutions Manager 4.0.1 189 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 190
volume groups. This command is not applicable to OpenVMS volume sets. Windows. Windows does not support volume groups. • See resource names and UNC formats. ValidateSnapcloneStorageVolume Checks if a storage volume is an available resource and that it can be replicated using the - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 191
Examples AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows ValidateSnapshotHostVolumeGroup ( "\\HostA2\/home/vg02" ) ValidateSnapshotHostVolumeGroup ( "\\HostA2\/users/vg02" ) value. None. For a complete list, see command result values. HP StorageWorks Replication Solutions Manager 4.0.1 191 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 192
volume groups. This command is not applicable to OpenVMS volume sets. Windows. Windows does not support volume groups. • See resource names and UNC formats. ValidateSnapshotStorageVolume Checks if a storage volume is an available resource and that it can be replicated using the - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 193
", "\\Array2\Dogs") ) ValidateStorageVolumes ( $my_svol_list ) Comments • Agent and license prerequisites. None • Command result value. None. For a complete list, see command result values. • OS specifics. None HP StorageWorks Replication Solutions Manager 4.0.1 193 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 194
result value. None. For a complete list, see command result values. • OS specifics. None WaitDrGroupNormalization Halts a job until all of the storage volumes (virtual disks) in a DR group are normalized (unshared). When all of the volumes are normalized, the job proceeds to the next step. Syntax and - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 195
Halts a job until the write cache has been flushed for the storage volume (virtual disk) that underlies a host disk device. When the write cache has been flushed, the job disk/dsk100c" ) WaitForHostDiskDeviceWriteCacheFlush ( "\HostA2\Disk3" ) HP StorageWorks Replication Solutions Manager 4.0.1 195 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 196
check for completion of a write-cache flush. Examples AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX ( "\\HostA2\/users/cats_vg" ) the write caches have been flushed for all of the storage volumes (virtual disks) that underlie a host volume. When all of the write caches have been - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 197
the UNC names of the host volumes to check for completion of a write-cache flush. See argument lists. Or, select a variable used in a prior step that represents the host volumes. Examples Host volume mount points or device names can be used. HP StorageWorks Replication Solutions Manager 4.0.1 197 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 198
AIX HP-UX Linux OpenVMS Solaris Tru64 UNIX Windows Drive Drive & folders WaitForHostVolumesWriteCacheFlush ( ("\\HostA2\/users", "\\HostA5\/users/cats") ) WaitForHostVolumesWriteCacheFlush ( ("\\HostA2\/users", "\\HostA5\/users/cats") ) WaitForHostVolumesWriteCacheFlush ( ("\\HostA2\/var", "\\ - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 199
See resource names and UNC formats. WaitForStorageVolumesDiscovery Halts a job until specific storage volumes (virtual disks) are found in the replication manager database. When all are found, the next . • See resource names and UNC formats. HP StorageWorks Replication Solutions Manager 4.0.1 199 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 200
formats. WaitForStorageVolumesWriteCacheFlush Halts a job until the write cache of the storage volumes have been flushed. When the write caches has been flushed in all, the job proceeds %). Select or enter the storage volumes to check for write cache flush. See argument lists. Or, select a variable used - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 201
whose underlying storage volumes write caches are to be flushed. names and UNC formats. WaitHostDiskDeviceNormalization Halts a job until the storage volume (virtual disk) that underlies a host volume has been normalized. When the HostA2\Disk3" ) HP StorageWorks Replication Solutions Manager - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 202
and UNC formats. WaitHostVolumeNormalization Halts a job until all of the storage volumes (virtual disks) that underlie a host volume have been normalized. When all are normal "\\HostA2\/home/cats" ) HP-UX WaitHostVolumeNormalization ( "\\HostA2\/users/cats" ) Linux WaitHostVolumeNormalization ( - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 203
resource names and UNC formats. WaitStorageVolumesNormalization Halts a job until specific storage volumes (virtual disks) are normalized (unshared). When all of the storage volumes are normalized, omit a date and specify a time of day only. HP StorageWorks Replication Solutions Manager 4.0.1 203 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 204
of the job. WaitVolumeGroupNormalization Halts a job until all of the storage volumes (virtual disks) that underlie a host volume group are normalized (unshared). When all "\\HostA2\/home/vg02" ) HP-UX WaitVolumeGroupNormalization ( "\\HostA2\/users/vg02" ) Linux WaitVolumeGroupNormalization ( - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 205
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. HP StorageWorks Replication Solutions Manager 4.0.1 205 - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 206
206 Job concepts, templates and commands - HP StorageWorks 60 | HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 207
UNC formats, 201 S Subscriber's Choice, HP, 11 T technical support HP, 10 service locator website, 11 templates, job list, 30 throttling i/o template, 82 W web sites product manuals, 9 websites HP , 11 HP Subscriber's Choice for Business, 11 HP StorageWorks Replication Solutions Manager 4.0.1 207
HP StorageWorks Replication Solutions
Manager 4.0.1
job command reference
Part number: T3680-96306
Fourth edition: June 2008