metrocluster configuration-settings interface create
Create a MetroCluster interface
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The metrocluster configuration-settings interface create
command configures the network logical interfaces that will be used on a node in a MetroCluster setup to mirror NV logs and access remote storage.
This command is used for MetroCluster setups that are connected though IP links. MetroCluster setups that are connected through FC links do not require the user to provision network logical interfaces to mirror NV logs and access remote storage.
The metrocluster configuration-settings
commands are run in the following order to set up MetroCluster:
-
metrocluster configuration-settings interface create
,
Before running this command , the node's DR group must be configured using the metrocluster configuration-settings dr-group create command. Run the metrocluster configuration-settings dr-group show command to verify that the node's DR group has been configured.
Parameters
-cluster-name <Cluster name>
- Cluster Name-
Use this parameter to specify the name of the local or partner cluster.
-home-node <text>
- Home Node-
Use this parameter to specify the home node in the cluster which hosts the interface.
-home-port {<netport>|<ifgrp>}
- Home Port-
Use this parameter to specify the home port provisioned for MetroCluster.
-address <IP Address>
- Network Address-
Use this parameter to specify the network address to be assigned to the home port.
-netmask <Contiguous IP Mask>
- Netmask-
Use this parameter to specify the network mask to be assigned to the interface.
[-gateway <IP Address>]
- Gateway-
Use this parameter to specify the gateway to be assigned for the routed network.
[-vlan-id <integer>]
- Virtual LAN ID-
Use this parameter to specify the VLAN id.
Examples
This example shows configuring logical interface on MetroCluster IP capable port:
clusA::> metrocluster configuration-settings interface create -cluster-name clusA -home-node A1 -home-port e0f -address 10.140.113.214 -netmask 255.255.192.0 [Job 281] Job succeeded: Interface Create is successful. clusA::> metrocluster configuration-settings interface show DR Config Group Cluster Node Network Address Netmask Gateway State ----- ------- ------- --------------- --------------- --------------- --------- 1 clusA A1 Home Port: e0f 10.140.113.214 255.255.192.0 - completed Output after configuring all the interfaces: clusA::> metrocluster configuration-settings interface show DR Config Group Cluster Node Network Address Netmask Gateway State ----- ------- ------- --------------- --------------- --------------- --------- 1 clusA A1 Home Port: e0f 10.140.113.214 255.255.192.0 - completed Home Port: e0g 10.140.113.215 255.255.192.0 - completed A2 Home Port: e0f 10.140.113.216 255.255.192.0 - completed Home Port: e0g 10.140.113.217 255.255.192.0 - completed clusB B2 Home Port: e0f 10.140.113.249 255.255.192.0 - completed Home Port: e0g 10.140.113.25 255.255.192.0 - completed B1 Home Port: e0f 10.140.113.218 255.255.192.0 - completed Home Port: e0g 10.140.113.248 255.255.192.0 - completed 8 entries were displayed. clusA::> metrocluster configuration-settings show-status Cluster Node Configuration Settings Status -------------------------- ------------------ --------------------------------- clusA A1 ready for connection connect A2 ready for connection connect clusB B1 ready for connection connect B2 ready for connection connect 4 entries were displayed. clusA::> metrocluster configuration-settings connection show DR Source Destination Group Cluster Node Network Address Network Address Partner Type Config State ----- ------- ------- --------------- --------------- ------------ ------------ 1 clusA A1 Home Port: e0f 10.140.113.214 10.140.113.216 HA Partner disconnected Home Port: e0f 10.140.113.214 10.140.113.218 DR Partner disconnected Home Port: e0f 10.140.113.214 10.140.113.249 DR Auxiliary disconnected Home Port: e0g 10.140.113.215 10.140.113.217 HA Partner disconnected Home Port: e0g 10.140.113.215 10.140.113.248 DR Partner disconnected Home Port: e0g 10.140.113.215 10.140.113.25 DR Auxiliary disconnected A2 Home Port: e0f 10.140.113.216 10.140.113.214 HA Partner disconnected Home Port: e0f 10.140.113.216 10.140.113.249 DR Partner disconnected Home Port: e0f 10.140.113.216 10.140.113.218 DR Auxiliary disconnected Home Port: e0g 10.140.113.217 10.140.113.215 HA Partner disconnected Home Port: e0g 10.140.113.217 10.140.113.25 DR Partner disconnected Home Port: e0g 10.140.113.217 10.140.113.248 DR Auxiliary disconnected clusB B2 Home Port: e0f 10.140.113.249 10.140.113.218 HA Partner disconnected Home Port: e0f 10.140.113.249 10.140.113.216 DR Partner disconnected Home Port: e0f 10.140.113.249 10.140.113.214 DR Auxiliary disconnected Home Port: e0g 10.140.113.25 10.140.113.248 HA Partner disconnected Home Port: e0g 10.140.113.25 10.140.113.217 DR Partner disconnected Home Port: e0g 10.140.113.25 10.140.113.215 DR Auxiliary disconnected B1 Home Port: e0f 10.140.113.218 10.140.113.249 HA Partner disconnected Home Port: e0f 10.140.113.218 10.140.113.214 DR Partner disconnected Home Port: e0f 10.140.113.218 10.140.113.216 DR Auxiliary disconnected Home Port: e0g 10.140.113.248 10.140.113.25 HA Partner disconnected Home Port: e0g 10.140.113.248 10.140.113.215 DR Partner disconnected Home Port: e0g 10.140.113.248 10.140.113.217 DR Auxiliary disconnected 24 entries were displayed.