6.5 HP StoreAll OS CLI Reference Guide

Table Of Contents
ibrix_crr
Starts and stops the replication process and monitors the state of replication activity.
Description
The Continuous Remote Replication service (CRR) provides a transparent method to replicate
changes in a source file system on one cluster to a target file system on either the same cluster or
a second cluster. .
Replication tasks are started from the source cluster with ibrix_crr -s. When a replication task
is started for a file system, ibrix_crr dynamically generates a new task with a unique task ID
for the replication instance.
The remote replication service has two modes:
Continuous: Use ibrix_crr -s without 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
manually stopped by the user.
Run-once: Use the ibrix_crr -o option for the run-once mode to synchronize single
directories or entire file systems on the source and target in a single pass. The run-once tasks
terminate on their own when the synchronization is completed. Any task can be stopped
manually if necessary.
For more information about replication modes, see the HP StoreAll Storage File System User Guide.
Consider the following when managing replication tasks:
Multiple replication tasks (run-once and/or continuous) can be started simultaneously.
Command options to get the status of replication can be executed from either the source cluster
or the remote target cluster.
Remote replication must be configured (clusters registered with each other, and remote
replication exports configured) before replication tasks to remote clusters can be started. For
detailed information about configuring remote replication, see the HP StoreAll Storage File
System User Guide.
While continuous replication tasks ensure that file systems remain synchronized, run-once tasks
replicate a single-pass state of the source, and therefore can experience variations if there is
I/O activity while the task is running. For example, if the source file foo.txt has already
been replicated by the active task and is then edited or deleted while the run-once task is still
active, the changes to foo.txt are not made on the target. The foo.txt file on the target
remains as written by the run-once task.
If a source or target file system is unmounted and ibrix_fsck is run to check it, a full
resynchronization is recommended.
Synopsis
Start a continuous or run-once remote replication task to a remote cluster:
ibrix_crr -s -f SRC_FSNAME [-o [-S SRC_DIR] ] -C TGT_CLUSTERNAME -F
TGT_FSNAME [-X TGTEXPORT] [-P TGTDIR] [-R] [-e EXCLUDE_PATTERNS] -d [-w
CRR_SECURITY_TOKEN]
Starts a replication task.-s
Specifies the source file system to be replicated.-f SRC_FSNAME
Starts a run-once replication task. If you do not specify a source directory with the -S
SRC_DIR option, replication starts at the root of the file system.
-o [-S SRC_DIR]
Specifies the remote target cluster.-C TGT_CLUSTERNAME
48 StoreAll commands