HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96022, November 2010)
6. The target processes the Storage Mirroring Recover task command and completes
whatever task is defined, perhaps a snapshot or backup. Since the Storage
Mirroring Recover task command is user-defined, you can insert any valid
executable or batch file.
Storage Mirroring Recover task command processing must be enabled, and there must
be an active Storage Mirroring Recover connection for task command processing to
function properly. To insert a task command, you would use the queuetask command.
Command
QUEUETASK
Description
Queues tasks inline with replication data
Syntax
QueueTASK <job_name> TO <target> ONQueue = <task> [args] |
ONTRANSmit = <task> [args] | ONRECeive = <task> [args] |
ONEXECute = <task> [args] [TIMEOUT = <timeout>] [INTERACT |
NOINTERACT]
Options
l job_name—Unique job name assigned to this task. This will be the
identifier you see in the log files.
l target—Name of the target, an IP address on the target, or a virtual IP
address. Depending on the network route Storage Mirroring Recover
uses to access the target, you may need to specify the fully qualified
domain name. The target is required even if you are only queuing a
task to be executed on the source.
l ONQueue—Execute the specified task on the source machine as soon
as the source receives and queues the task. During heavy replication,
there may be a delay while the task is queued inline with the replication
operations.
l ONTRANSmit—Execute the specified task on the source machine just
before the source transmits the task to the target.
l ONRECeive—Execute the specified task on the target machine as
soon as the target receives and queues the task.
l ONEXECute—Execute the specified task on the target when the target
processes the task from the queue. Since the task is not executed until
it is processed, if the target is paused, the task will be held in queue.