Starting an intracluster remote replication task – HP StoreAll Storage User Manual

Page 191

Advertising
background image

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.

-X TGTEXPORT

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).

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

Use the -e option to provide a comma separated list of file and directory exclude
patterns, which should be excluded during replication. Enter up to 16 patterns per

-e

task. Enclose the list of patterns in double-quotes. The syntax of the patterns should be
proper. To exclude a directory and all its contents, the exclude pattern to be provided
is the following: dir_name/***

To exclude any file starting with some pattern, the exclude pattern to be used is
pattern*

. To exclude any file ending with a particular pattern, the exclude pattern

to be provided is *pattern. For example to exclude text files, the exclude pattern
will be *.txt.

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:

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

a/b/c

The replication now goes to /destFs/1/2/3/a/b/c{contents_under_c}.

Starting an intracluster remote replication task

Use the following command to start a continuous or run-once intracluster replication task for the
specified file system:

ibrix_crr -s -f SRC_FSNAME [-o [-S SRCDIR]] -F TGT_FSNAME [-P TGTDIR] [-e EXCLUDE_PATTERNS]

The -F option specifies the name of the target file system (the default is the same as the source file
system). The -P option specifies the target directory under the target file system (the default is the
root of the file system).

Configuring and managing replication tasks from the CLI

191

Advertising