3PAR Remote Copy configuration using RCFC ports(CLI version)-Part 1

We have to consider following items first, while we configure remote copy on 3PAR storage system.

1.RCFC can be set up only on storage systems that communicate over FC storage area networks.
2.Understand the Storage area network that is used to connect the storage systems
3.The storage array ports, which are to be configured for RCFC, should be part of same zoneset

the first step is to establish zones between the RCFC ports of System1 and System2 which are to be configured for Replication.
In this demo setup, we are using Brocade SAN switches and both the systems are on the same SAN Fabric. If your systems are on different SAN Fabric and you have Brocade switches, you have to cerate LSANs to establish the connectivity between the RCFC ports.

Create RCFC zones on Fabric1

alicreate  "System1_RCFC_1_2_1", "21:21:00:02:ac:00:ab:cd"
alicreate  "System2_RCFC_1_2_1", "21:21:00:02:ac:00:cd:ab"
zonecreate   "System2_RCFC_1_2_1_System1_RCFC_1_2_1", "System1_RCFC_1_2_1;System2_RCFC_1_2_1"
cfgadd  "cfgfabric1", "System2_RCFC_1_2_1_System1_RCFC_1_2_1"
cfgsave
cfgenable  cfgfabric1
Do the zoning part on the other fabric as well(applicable only if you have redundant fabric)

alicreate  "System1_RCFC_0_2_1", "20:21:00:02:ac:00:ab:cd"
alicreate  "System2_RCFC_0_2_1", "20:21:00:02:ac:00:cd:ab"
zonecreate   "System1_RCFC_0_2_1_System2_RCFC_0_2_1", "System1_RCFC_0_2_1;System2_RCFC_0_2_1"
cfgadd  "cfgfabric2", "System1_RCFC_0_2_1_System2_RCFC_0_2_1"
cfgsave
cfgenable  cfgfabric2 
 Once the zones are ready and activated, we can start the actual RCFC configuration on 3PAR.
If these ports were not set up during the initial setup of the storage system, or if the configuration
has changed, reconfigure the ports before you set up the remote-copy.

1.Setting Up Remote-Copy Interface for RCFC


To configure the ports, use the "controlport config" command.

System1 cli% controlport config rcfc 0:2:1
Are you sure you want to run controlport config rcfc on port 0:2:1 (connection type point)?
select q=quit y=yes n=no: y
System1 cli%

System1 cli% controlport offline 0:2:1
Are you sure you want to run controlport offline on port 0:2:1?
select q=quit y=yes n=no: y

System1 cli% controlport rst 0:2:1
Are you sure you want to run controlport rst on port 0:2:1?
select q=quit y=yes n=no: y

Remember to repeat this step for all the RCFC ports on both System1 and System2.

To verify that the FC communication links have been established, issue the "showrctransport
-rcfc" command.The FC adaptor ports should appear, and the State column should display new.
System1 cli% showrctransport -rcfc
N:S:P    Peer_Node_WWN    Peer_Port_WWN State
0:2:1 2FF70002AC00ABCD 20210002AC00ABCD new
1:2:1 2FF70002AC00ABCD 21210002AC00ABCD new

To initialize the FC adaptor port, issue the controlport rcfc init command on one
system

System1 cli% controlport rcfc init -f 0:2:1

Repeat the same steps on System2 as well and verify the port status using "showrctransport
-rcfc"command.

System1 cli% showrctransport -rcfc
N:S:P    Peer_Node_WWN    Peer_Port_WWN State
0:2:1 2FF70002AC00ABCD 20210002AC00ABCD ready
1:2:1 2FF70002AC00ABCD 21210002AC00ABCD ready
Note:-If the State column displays incomplete or new, Repeat initialization step until the port is in a ready state.

Part-2 - Click to proceed!

1 comment :

Admin Helpline™ © , All Rights Reserved.
Privacy Policy