HP StoreAll Storage User Manual

Page 139

Advertising
background image

Configuring and managing replication tasks from the CLI

NOTE:

When configuring replication tasks, be sure to following the guidelines described in

“Overview” (page 127)

.

Starting a remote replication task to a remote cluster

Use the following command to start a continuous or run-once replication task to a remote cluster.
The command is executed from the source cluster.

ibrix_crr -s -f SRC_FSNAME [-o] [-S SRCDIR] –C TGT_CLUSTERNAME -F TGT_FSNAME [-X TGTEXPORT] [-P TGTDIR] [-R]

Use the –s option to start a continuous remote replication task. The applicable options are:

The source file system to be replicated.

-f SRC_FSNAME

The remote target cluster.

–C TGT_CLUSTERNAME

The remote target file system.

-F TGT_FSNAME

The remote replication target (exported directory). The default is the root of the file
system.

NOTE:

This option is used only for replication to a remote cluster. The file system

specified with -F and the directory specified with -X must both be exported from the
target cluster (target export).

-X TGTEXPORT

A directory under the remote replication target export (optional). This directory must
exist on the target, but does not need to be exported.

-P TGTDIR

Bypass retention compatibility checking.

-R

Omit the -o option to start a continuous replication task. A continuous replication task does an
initial full synchronization and then continues to replicate any new changes made on the source.
Continuous replication tasks continue to run until you stop them manually.

Use the -o option for run-once tasks. This option synchronizes single directories or entire file systems
on the source and target in a single pass. If you do not specify a source directory with the -S
option, the replication starts at the root of the file system. The run-once job terminates after the
replication is complete; however, the job can be stopped manually, if necessary.

Use -P to specify an optional target directory under the target export. For example, you could
configure the following replication, which does not include the optional target directory:

Source directory: /srcFS/a/b/c

Exported file system and directory on target: /destFS/1/2/3

The replication command is:

ibrix_crr –s -o –f srcFs –S a/b/c –C tcluster –F destFs –X 1/2/3

The contents of /srcFS/a/b/c is replicated to destFs/1/2/3/{contents_under_c}.

When the same command includes the –P option to specify the target directory a/b/c:

Configuring and managing replication tasks from the CLI

139

Advertising