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

OS specifics. None.
The mirrorclone to restore from must be fractured. See the HP P6000 Replication Solutions
Manager User Guide for mirrorclone guidelines.
See Resource names and UNC formats.
Launch
Executes a command, batch file, or script on an enabled host. The wait and success value arguments
allow you to control how to proceed to the next step in the job.
NOTE: The Launch job verb times out after six hours.
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
Launch ( %hostname%, %command%, "", WAIT, "0" )
Host Name (%hostname%). Select or enter the name of the enabled host on which the command,
batch file or script will be executed.
Command (%command%). Enter the full path and name for the host command, batch file, or script
to be executed on the enabled host.
Arguments. Enter parameters that accompany the command, batch file or script.
Wait for activity to complete?. Select wait to have the job wait for a result from the host command
before executing the next step. A result can be a return code or message that is issued from the
specified host command. Select nowait to go immediately to the next step after issuing the host
command.
Success Value. If waiting for any result, leave the argument empty. If waiting for a specific code,
enter the integer value of the exit code. For example, if you are checking for success and the 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 ("").
Examples
Launch ( "HostA2", "/home/zap_application.sh", "", WAIT, "0" )AIX
Launch ( "HostA2", "/users/zap_application.sh", "", WAIT, "0" )HP-UX
Launch ( "HostA2", "/var/zap_application.sh", "", WAIT, "0" )Linux
Launch ( "HostA2", "CATS.ZAP_APPLICATION.COM", "", WAIT, "0" )OpenVMS
Launch ( "HostA2", "/usr/zap_application.sh", "", WAIT, "0" )Solaris
Launch ( "HostA2", "/var/zap_application.sh", "", WAIT, "0" )Tru64 UNIX
Windows
Launch ( "HostA2", "E:\zap_application.bat", "", WAIT, "0" )Drive
Launch ( "HostA2", "E:\pets\cats\zap_application.bat", "", WAIT, "0" )Drive & folders
Comments
Associated validation commands. ValidateHost.
Agent and license prerequisites. Requires a host agent.
Command result value. None. For a complete list, see Command result values.
OS specifics. Yes. See examples above.
Job commands 127