Managing HP X9000 Network Storage System Remote Replication Application Note (TA768-96049, November 2011)
CfrExport: ifs1 (target1)
================================
FILE SYSTEM : ifs12
DIRECTORY EXPORTED : target1
CLUSTER EXPORTED TO : ibrix01
ID HOST NIC IP
-- -------- ----- --
3 ibrix02a bond1 10.10.125.37
4 ibrix02b bond1 10.10.125.39
Example 1: Continuous replication of a complete file system
Start the replication from the source cluster:
[root@ibrix01a ~]# ibrix_crr -s -f ifs1 -C ibrix02 -F ifs1 -X target1
Submitted CRR operation to background. ID of submitted task: crr-1
Command succeeded!
In the command:
• The -s option starts a replication task for the specified file system.
• The -f option specifies the source file system.
• The -C specifies the target cluster name.
• The -F option specifies the target file system.
• The -X option specifies the directory export on the target file system.
Check the status of the task:
[root@ibrix01a ~]# ibrix_crr -l
TASK ID TYPE FILE SYSTEM SUBMITTED BY TASK STATUS IS COMPLETED? EXIT STATUS STARTED
AT ENDED AT
------- ---------------------- ----------- -------------------- ----------- ------------- -----------
--------------------- --------
crr-1 Continuous Replication ifs1 root from Local Host RUNNING No Aug 18,
2011 10:31:55
Example 2: Run-once replication of a directory
The options are slightly different for a run-once replication task. Start the replication from the source
cluster:
[root@ibrix01a ~]# ibrix_crr -s -f ifs2 -o -S src1 -C ibrix02 -F ifs2 -X target2
Submitted CRR operation to background. ID of submitted task: crr-6
Command succeeded!
In the command:
• The -s option starts a replication task.
• The -f option specifies the source file system.
• The -o option specifies that this is a run-once task.
• The -S option specifies the source directory within the source file system.
• The -C option specifies the target cluster name.
• The -F option specifies the target file system.
• The -X option specifies the directory export on the target file system.
Example 3: Run-once replication of a snapshot
HP strongly recommends using the GUI to replicate snapshots; however, you can create a snapshot
replication task with the CLI if required. The task is started using command syntax similar to example
14 Using remote replication