Managing HP X9000 Network Storage System Remote Replication Application Note (TA768-96049, November 2011)
handle replication requests. (The default server assignment is to use all servers that have the file
system mounted.)
The following command creates the export for example 1:
[root@ibrix02a ibfs1]# ibrix_crr_export -f ifs1 -p target1 -C ibrix01 -P
Command succeeded!
In the command:
• The -f option specifies the file system to export as a target for remote replication.
• The -p option specifies an exported directory under the exported file system.
• The -C option specifies the source cluster containing the file system to be replicated.
• The -P option is optional and does not set the default server assignments for the export. When
this option is used, you will need to define the server assignments as in the next example.
Define server assignments for the export:
[root@ibrix02a ibfs1]# ibrix_crr_nic -a -f ifs1 -p target1 -h ibrix02a,ibrix02 -n bond1
Creating CRR export preference: Engine ibrix02a will use network 10.10.125.37 (bond1)
Creating CRR export preference: Engine ibrix02b will use network 10.10.125.39 (bond1)
Command succeeded!
In the command:
• The -a option creates a server assignment.
• The -f option specifies the file system from which the export is being taken.
• The -p option specifies an exported directory under the exported file system.
• The -h option specifies the servers on the target cluster that will handle replication traffic for
this export.
• The -n option specifies the network interface for replication traffic.
The additional targets required for the examples were created in the same way. The following
command lists all exports:
[root@ibrix02a ~]# ibrix_crr_export -l
FILE SYSTEM DIRECTORY CLUSTER EXPORTED TO
----------- --------- -------------------
ifs2 target3 ibrix01
ifs2 target2 ibrix01
ifs1 target1 ibrix01
List all network preferences:
[root@ibrix02a ibfs1]# ibrix_crr_nic -l
CfrExport: ifs2 (target3)
===============================
FILE SYSTEM : ifs2
DIRECTORY EXPORTED : target3
CLUSTER EXPORTED TO : ibrix01
ID HOST NIC IP
-- -------- ----- --
7 ibrix02a bond1 10.10.125.37
8 ibrix02b bond1 10.10.125.39
CfrExport: ifs2 (target2)
================================
FILE SYSTEM : ifs2
DIRECTORY EXPORTED : target2
CLUSTER EXPORTED TO : ibrix01
ID HOST NIC IP
-- -------- ----- --
5 ibrix02a bond1 10.10.125.37
6 ibrix02b bond1 10.10.125.39
Using the CLI for the examples 13