Starting an intracluster remote replication task, Starting a run-once directory replication task, Stopping a remote replication task – HP StoreAll Storage User Manual

Page 131: Pausing a remote replication task

Advertising
background image

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]

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

Use the -o option to start a run-once task. The -S option specifies a directory under the source
file system to synchronize with the target directory.

Starting a run-once directory replication task

Use the following command to start a run-once directory replication for file system SRC_FSNAME.
The -S option specifies the directory under the source file system to synchronize with the target
directory. The -P option specifies the target directory.

ibrix_crr -s -f SRC_FSNAME -o -S SRCDIR -P TGTDIR

Stopping a remote replication task

Use the following command to stop a continuous or run-once replication task. Use the ibrix_task
-l

command to obtain the appropriate ID.

ibrix_crr -k –n TASKID

The stopped replication task is moved to the inactive task list. Use ibrix_task -l -c to view
the inactive task list.

To forcefully stop a replication task, use the following command:

ibrix_crr -k –n TASKID

The stopped task is removed from the list of inactive tasks.

Pausing a remote replication task

Use the following command to pause a continuous replication or run-once replication task with the
specified task ID. Use the ibrix_task -l command to obtain the appropriate ID.

ibrix_crr -p –n TASKID

Configuring and managing replication tasks from the CLI

131

Advertising