5.6 HP StorageWorks X9000 File Serving Software User Guide (TA768-96035, June 2011)

Configuring and managing replication tasks from the CLI
NOTE: When configuring replication tasks, be sure to following the guidelines described in
“Overview” (page 87).
Starting a remote replication task to a remote cluster
Use the following command to start remote replication on the specified source file system. The
command is executed from the source cluster.
ibrix_cfrjob -s -f SRC_FSNAME [-o [-S SRCDIR] ] C TGT_CLUSTERNAME -F TGT_FSNAME
[-P TGTDIR]
The f option specifies the source file system to be replicated. The -C option specifies the target
cluster. If you are replicating to a directory on the target, -P specifies the target directory. If the
-P option is not used, the mount point of the target filesystem will be used as the root of the
replicated data.
Use the -o option for run-once jobs. This option can be used to synchronize 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.
Starting an intra-cluster remote replication task
Use the following command to start a continuous or run-once intra-cluster replication task:
ibrix_cfrjob -s -f SRC_FSNAME [-o [-S SRCDIR]] -F TGT_FSNAME [-P TGTDIR]
The command starts a continuous or run-once intra-cluster replication task for file system
SRC_FSNAME. 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 job. 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_cfrjob -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_cfrjob -k n TASKID
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_cfrjob -p n TASKID
Resuming a remote replication task
Use the following command to resume a continuous or run-once replication task with the specified
task ID. Use the ibrix_task -l command to obtain the appropriate ID.
ibrix_cfrjob -r n TASKID
Configuring and managing replication tasks from the CLI 93