Configuring and connecting the MetroCluster IP interfaces
You must configure the MetroCluster IP (MCCIP) interfaces that are used for replication of each node's storage and nonvolatile cache. You then establish the connections using the MCCIP interfaces. This creates iSCSI connections for storage replication.
About this task
You must create two interfaces for each node. The interfaces must be associated with the VLANs defined in the MetroCluster RCF file.
Node | Interface | IP address | Subnet |
---|---|---|---|
node_A_1 | MetroCluster IP interface 1 | 10.1.1.1 | 10.1.1/24 |
MetroCluster IP interface 2 | 10.1.2.1 | 10.1.2/24 | |
node_A_2 | MetroCluster IP interface 1 | 10.1.1.2 | 10.1.1/24 |
MetroCluster IP interface 2 | 10.1.2.2 | 10.1.2/24 | |
node_B_1 | MetroCluster IP interface 1 | 10.1.1.3 | 10.1.1/24 |
MetroCluster IP interface 2 | 10.1.2.3 | 10.1.2/24 | |
node_B_2 | MetroCluster IP interface 1 | 10.1.1.4 | 10.1.1/24 |
MetroCluster IP interface 2 | 10.1.2.4 | 10.1.2/24 |
AFA DM7000F and DM7000H systems use ports e1a and e1b for the MetroCluster IP interfaces.
AFA DM5000F and DM5000H systems use VLAN ports e0a-10 and e0b-20 for the MetroCluster IP interfaces.
These physical ports are also used as cluster interfaces. The VLANs are configured automatically.
- Confirm that each node has disk autoassignment enabled: storage disk option show
Disk autoassignment will assign pool 0 and pool 1 disks on a shelf-by-shelf basis.
The Auto Assign column indicates whether disk autoassignment is enabled.Node BKg. FW. Upd. Auto Copy Auto Assign Auto Assign Policy
---------- ------------- ---------- ----------- ------------------
node_A_1 on on on default
node_A_2 on on on default
2 entries were displayed. - Verify you can create MetroCluster IP interfaces on the nodes: metrocluster configuration-settings show-status
Example
All nodes should be ready:
Cluster Node Configuration Settings Status
---------- ----------- ---------------------------------
cluster_A
node_A_1 ready for interface create
node_A_2 ready for interface create
cluster_B
node_B_1 ready for interface create
node_B_2 ready for interface create
4 entries were displayed. - Create the interfaces on node_A_1.
- Configure the interface on port e5a on node_A_1: metrocluster configuration-settings interface create -cluster-name cluster-name -home-node node-name -home-port e5a -address ip-address -netmask netmask
Example
The following example shows the creation of the interface on port e5a on node_A_1 with IP address 10.1.1.1:
cluster_A::> metrocluster configuration-settings interface create -cluster-name cluster_A
-home-node node_A_1
-home-port e1a -address 10.1.1.1 -netmask 255.255.255.0
[Job 28] Job succeeded: Interface Create is successful.
cluster_A::> - Configure the interface on port e5b on node_A_1: metrocluster configuration-settings interface create -cluster-name cluster-name -home-node node-name -home-port e5b -address ip-address -netmask netmask
Example
The following example shows the creation of the interface on port e5b on node_A_1 with IP address 10.1.2.1:
cluster_A::> metrocluster configuration-settings interface create -cluster-name cluster_A
-home-node node_A_1
-home-port e1b -address 10.1.2.1 -netmask 255.255.255.0
[Job 28] Job succeeded: Interface Create is successful.
cluster_A::>
NoteYou can verify that these interfaces are present using themetrocluster configuration-settings interface show command. - Configure the interface on port e5a on node_A_1: metrocluster configuration-settings interface create -cluster-name cluster-name -home-node node-name -home-port e5a -address ip-address -netmask netmask
- Create the interfaces on node_A_2.
- Configure the interface on port e5a on node_A_2: metrocluster configuration-settings interface create -cluster-name cluster-name -home-node node-name -home-port e5a -address ip-address -netmask netmask
Example
The following example shows the creation of the interface on port e5a on node_A_2 with IP address 10.1.1.2:
cluster_A::> metrocluster configuration-settings interface create -cluster-name cluster_A
-home-node node_A_2
-home-port e1a -address 10.1.1.2 -netmask 255.255.255.0
[Job 28] Job succeeded: Interface Create is successful.
cluster_A::> - Configure the interface on port e5b on node_A_2: metrocluster configuration-settings interface create -cluster-name cluster-name -home-node node-name -home-port e5b -address ip-address -netmask netmask
Example
The following example shows the creation of the interface on port e5b on node_A_2 with IP address 10.1.2.2:
cluster_A::> metrocluster configuration-settings interface create -cluster-name cluster_A
-home-node node_A_2
-home-port e15b -address 10.1.2.2 -netmask 255.255.255.0
[Job 28] Job succeeded: Interface Create is successful.
cluster_A::>
- Configure the interface on port e5a on node_A_2: metrocluster configuration-settings interface create -cluster-name cluster-name -home-node node-name -home-port e5a -address ip-address -netmask netmask
- Create the interfaces on node_B_1.
- Configure the interface on port e5a on node_B_1:metrocluster configuration-settings interface create -cluster-namecluster-name-home-nodenode-name-home-port e5a -addressip-address-netmask netmask
Example
The following example shows the creation of the interface on port e5a on node_B_1 with IP address 10.1.1.3:
cluster_A::> metrocluster configuration-settings interface create -cluster-name cluster_A -home-node node_B_1 -home-port e5a -address 10.1.1.3 -netmask 255.255.255.0
[Job 28] Job succeeded: Interface Create is successful.cluster_A::> - Configure the interface on port e5b on node_B_1: metrocluster configuration-settings interface create -cluster-name cluster-name -home-node node-name -home-port e5a -addressip-address -netmask netmask
Example
The following example shows the creation of the interface on port e5b on node_B_1 with IP address 10.1.2.3:
cluster_A::> metrocluster configuration-settings interface create -cluster-name cluster_A -home-node node_B_1 -home-port e5b -address 10.1.2.3 -netmask 255.255.255.0
[Job 28] Job succeeded: Interface Create is successful.cluster_A::>
- Configure the interface on port e5a on node_B_1:metrocluster configuration-settings interface create -cluster-namecluster-name-home-nodenode-name-home-port e5a -addressip-address-netmask netmask
- Create the interfaces on node_B_2.NoteThe ports used in the following examples are e5a and e5b. You must configure the interfaces on the correct ports for your platform model, as given in above.
- Configure the interface on port e5a on node_B_2:metrocluster configuration-settings interface create -cluster-name cluster-name -home-node node-name -home-port e5a -addressip-addresip-addresss ip-address -netmask netmask
Example
The following example shows the creation of the interface on port e5a on node_B_2 with IP address 10.1.1.4:
cluster_B::>metrocluster configuration-settings interface create -cluster-name cluster_B -home-node node_B_2 -home-port e5a -address 10.1.1.4 -netmask 255.255.255.0
[Job 28] Job succeeded: Interface Create is successful.cluster_A::> - Configure the interface on port e5b on node_B_2:metrocluster configuration-settings interface create -cluster-name cluster-name -home-node node-name -home-port e5b -address ip-address -netmask netmask
Example
The following example shows the creation of the interface on port e5b on node_B_2 with IP address 10.1.2.4:
cluster_B::> metrocluster configuration-settings interface create -cluster-name cluster_B -home-node node_B_2 -home-port e5b -address 10.1.2.4 -netmask 255.255.255.0
[Job 28] Job succeeded: Interface Create is successful.
cluster_A::>
- Configure the interface on port e5a on node_B_2:metrocluster configuration-settings interface create -cluster-name cluster-name -home-node node-name -home-port e5a -addressip-addresip-addresss ip-address -netmask netmask
- Verify that the interfaces have been configured: metrocluster configuration-settings interface show
Example
The following example shows that the configuration state for each interface is completed.
cluster_A::> metrocluster configuration-settings interface show
DR Config
Group Cluster Node Network Address Netmask Gateway State
----- ------- ------- --------------- --------------- --------- ----------
1 cluster_A node_A_1
Home Port: e1a
10.1.1.1 255.255.255.0 - completed
Home Port: e1b
10.1.2.1 255.255.255.0 - completed
node_A_2
Home Port: e1a
10.1.1.2 255.255.255.0 - completed
Home Port: e1b
10.1.2.2 255.255.255.0 - completed
cluster_B node_B_1
Home Port: e1a
10.1.1.3 255.255.255.0 - completed
Home Port: e1b
10.1.2.3 255.255.255.0 - completed
node_B_2
Home Port: e1a
10.1.1.4 255.255.255.0 - completed
Home Port: e1b
10.1.2.4 255.255.255.0 - completed
8 entries were displayed.
cluster_A::> - Verify that the nodes are ready to connect the MetroCluster interfaces: metrocluster configuration-settings show-status
Example
The following example shows all nodes in the ready for connection state:
Cluster Node Configuration Settings Status
---------- ----------- ---------------------------------
cluster_A
node_A_1 ready for connection connect
node_A_2 ready for connection connect
cluster_B
node_B_1 ready for connection connect
node_B_2 ready for connection connect
4 entries were displayed. - Establish the connections: metrocluster configuration-settings connection connect
The IP addresses cannot be changed after you issue this command.
Example
The following example shows cluster_A is successfully connected:
cluster_A::> metrocluster configuration-settings connection connect
[Job 53] Job succeeded: Connect is successful.
cluster_A::> - Verify that the connections have been established: metrocluster configuration-settings show-status
Example
The configuration settings status for all nodes should be completed:
Cluster Node Configuration Settings Status
---------- ----------- ---------------------------------
cluster_A
node_A_1 completed
node_A_2 completed
cluster_B
node_B_1 completed
node_B_2 completed
4 entries were displayed. - Verify that the iSCSI connections have been established:
- Change to the advanced privilege level: set -privilege advanced
You need to respond with y when you are prompted to continue into advanced mode and you see the advanced mode prompt (*>).
- Display the connections: storage iscsi-initiator show
On systems running ONTAP 9.5, there are eight MCCIP initiators on each cluster that should appear in the output.
On systems running ONTAP 9.4 and earlier, there are four MCCIP initiators on each cluster that should appear in the output.
Example
The following example shows the eight MCCIP initiators on a cluster running ONTAP 9.5:
cluster_A::*> storage iscsi-initiator show
Node Type Label Target Portal Target Name Admin/Op
---- ---- -------- ------------------ -------------------------------- --------
cluster_A-01
dr_auxiliary
mccip-aux-a-initiator
10.227.16.113:65200 prod506.com.company:abab44 up/up
mccip-aux-a-initiator2
10.227.16.113:65200 prod507.com.company:abab44 up/up
mccip-aux-b-initiator
10.227.95.166:65200 prod506.com.company:abab44 up/up
mccip-aux-b-initiator2
10.227.95.166:65200 prod507.com.company:abab44 up/up
dr_partner
mccip-pri-a-initiator
10.227.16.112:65200 prod506.com.company:cdcd88 up/up
mccip-pri-a-initiator2
10.227.16.112:65200 prod507.com.company:cdcd88 up/up
mccip-pri-b-initiator
10.227.95.165:65200 prod506.com.company:cdcd88 up/up
mccip-pri-b-initiator2
10.227.95.165:65200 prod507.com.company:cdcd88 up/up
cluster_A-02
dr_auxiliary
mccip-aux-a-initiator
10.227.16.112:65200 prod506.com.company:cdcd88 up/up
mccip-aux-a-initiator2
10.227.16.112:65200 prod507.com.company:cdcd88 up/up
mccip-aux-b-initiator
10.227.95.165:65200 prod506.com.company:cdcd88 up/up
mccip-aux-b-initiator2
10.227.95.165:65200 prod507.com.company:cdcd88 up/up
dr_partner
mccip-pri-a-initiator
10.227.16.113:65200 prod506.com.company:abab44 up/up
mccip-pri-a-initiator2
10.227.16.113:65200 prod507.com.company:abab44 up/up
mccip-pri-b-initiator
10.227.95.166:65200 prod506.com.company:abab44 up/up
mccip-pri-b-initiator2
10.227.95.166:65200 prod507.com.company:abab44 up/up
16 entries were displayed. - Return to the admin privilege level: set -privilege admin
- Change to the advanced privilege level: set -privilege advanced
- Verify that the nodes are ready for final implementation of the MetroCluster configuration: metrocluster node show
Example
cluster_A::> metrocluster node show
DR Configuration DR
Group Cluster Node State Mirroring Mode
----- ------- ------------------ -------------- --------- ----
- cluster_A
node_A_1 ready to configure - -
node_A_2 ready to configure - -
2 entries were displayed.
cluster_A::>cluster_B::> metrocluster node show
DR Configuration DR
Group Cluster Node State Mirroring Mode
----- ------- ------------------ -------------- --------- ----
- cluster_B
node_B_1 ready to configure - -
node_B_2 ready to configure - -
2 entries were displayed.
cluster_B::>