beautypg.com

HP Storage Mirroring V5 Software User Manual

Page 106

background image

8

-

10

4.

Use the

queuetask

command to places task(s) in the replication queue inline with current processing.

Command

QUEUETASK

Description

Queues tasks inline with replication data.

Syntax

QUEUETASK

<

job_name

>

TO

<

target_machine

>

ONQUEUE

= <

task

> [

args

]

|

ONTRANSMIT

= <

task

> [

args

] |

ONRECEIVE

= <

task

> [

args

] |

ONEXECUTE

= <

task

> [

args

]

[

TIMEOUT

= <

timeout

>] [

INTERACT

|

NOINTERACT

]

Options

‹

job_name

—Any name that you have assigned to the job. This will be the identifier you will see in

the log files.

‹

target_machine

—Name of the target machine, an IP address on the target machine, or a virtual IP

address. Depending on the network route Storage Mirroring 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.

‹

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.

‹

ONTRANSMIT

—Execute the specified task on the source machine just before the source transmits

the task to the target.

‹

ONRECEIVE

—Execute the specified task on the target machine as soon as the target receives and

queues the task.

‹

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.

‹

task

—The path and filename of the task to run relative to the machine it will be run on. Tasks

include any valid executable or batch file. If the path contains non-alphanumeric characters, you
must enclose it in quotation marks. The executables or files must exist in the specified location
on the machine where they will be executed

‹

args

—Arguments or options which need to be supplied with the task. Multiple arguments can be

supplied in a space-separated list enclosed in quotation marks.

‹

TIMEOUT

—Length of time to pause while waiting for the task to complete

‹

timeout

—Any valid number followed by an optional time indicator indicating length of time. The

valid time indicators include seconds, minutes, hours, and days. If you do not specify a time
indicator, it will default to seconds. The number zero (

0

) indicates there is no timeout delay and

the next operation is immediately processed. The keyword

FOREVER

indicates that the next

operation is not processed until the task has completed execution. No TIMEOUT
setting will default to forever.

‹

INTERACT

—Tasks interact with the desktop and, therefore, display on screen and run in the

foreground

‹

NOINTERACT

—Tasks do not interact with the desktop

Examples

qtask backup to jersey onrec=PauseAndBackup.bat onexec=resume.bat

This manual is related to the following products: