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

Comments
Associated validation commands. ValidateHostVolume.
Agent and license prerequisites. Requires host agent.
Command result value. None. For a complete list, see Command result values.
OS specifics. Yes. See examples above.
See Resource names and UNC formats.
WaitForJob
Halts this job and checks for a specific state in another job (job instance). When the state is
detected, this job proceeds to the next step. See Job instances and Job states.
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
WaitForJob ( %jobhistory_name%, %state% )
Name of Job History (%jobhistory_name%). Select the job instance to be checked.
State to wait for (%desired_state%). Select the job instance state to check for. States are:
stoppedfailedcancelled
successpausedexecuting
Examples
WaitForJob ( "daily_backup-1", SUCCESS )
Comments
Associated validation commands. None.
Agent and license prerequisites. None.
Command result value. None. For a complete list, see Command result values.
OS specifics. None.
WaitForStorageVolumeDiscovery
Halts a job until a specific storage volume (virtual disk) is found in the replication manager database.
When found, the next step in the job is executed.
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
WaitForStorageVolumeDiscovery ( %storvol_unc_name% )
UNC Storage Volume Name ( %storvol_unc_name%). Select or enter the UNC name of the storage
volume to find in the database.
Examples
WaitForStorageVolumeDiscovery ( "\\ArrayA2\Cats" )
206 Job Commands