beautypg.com

Processing task commands, Processing task commands -9 – HP Storage Mirroring V5 Software User Manual

Page 105

background image

8

-

9

Processing task commands

Task command processing is a Storage Mirroring feature that allows you to insert and run tasks at various points during the
replication of data. Because the tasks are user-defined, you can achieve a wide variety of goals with this feature. For example,
you might insert a task to create a snapshot or backup on the target after a certain segment of data from the source has been
applied on the target.

To process a task, enable task command processing and then use the

queuetask

command.

1.

Use the

get

command to view the current value of the

EnableTaskCmdProcessing

option. By default, the option is

disabled and thus set to

0

.

2.

Use the

set

command to enable task command processing by setting

EnableTaskCmdProcessing

to

1

.

3.

Since task command processing inserts a task inline with current replication, you must have an existing connection.
Establish a connection according to

Establishing a new connection

on page 6-12, if you do not already have one

established.

Command

GET

Description

The Text Client/DTCL sends a request to Storage Mirroring to return the value of a Storage
Mirroring program setting. The setting is retrieved by Storage Mirroring from the registry.

Syntax

GET <

option

> [

machine

]

Options

‹

option

—See

Storage Mirroring Text Client program settings

on page 14-11.

‹

machine

—Name of the machine

Examples

‹

get netport

‹

get VerifyLogName

‹

get DefaultAddress

Notes

‹

If you do not specify a machine name, the value from the current source will be returned. If you
have not identified an active source, no data will be returned.

‹

Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.

Command

SET

Description

The Text Client/DTCL sends a request to Storage Mirroring to modify the value of a Storage
Mirroring program setting. The setting is immediately applied and is then forwarded to the registry
where it is also applied.

Syntax

SET <

option

>=<

value

> [

machine

]

Options

‹

option

—See

Storage Mirroring Text Client program settings

on page 14-11.

‹

value

—See

Storage Mirroring Text Client program settings

on page 14-11.

‹

machine

—Name of the machine

Examples

‹

set netport=1500

‹

set VerifyLogName=”HA server.log”

‹

set DefaultAddress=”129.12.34.3”

Notes

‹

Some settings, although immediately applied to Storage Mirroring, will not take effect until the
client or daemon is restarted. For example, the Text Client must be closed and reopened for a
change to ClientLogName to take effect. And the daemon must be restarted to cause a change in
the modules loaded if the LoadSourceTarget setting is changed. See

Storage Mirroring Text Client

program settings

on page 14-11 for details on each configuration option.

‹

If you do not specify a machine name, the value from the current source will be updated. If you
have not identified an active source, no changes will be made.

‹

Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.

This manual is related to the following products: