Logical Networking in ONTAP Administration
Logical Networking in ONTAP Administration
Logical Networking
NetApp Confidential 1
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
Module Objectives
NetApp Confidential 2
MODULE OBJECTIVES
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
LIF Characteristics
An IP address or World Wide Port Name (WWPN) is
associated with a LIF.
One node-management LIF exists per node. It can fail over
to other data or node-management ports on the same
node.
One cluster-management LIF exists per cluster. It can fail
over or migrate throughout the cluster.
Two cluster LIFs exist per node. They can fail over or
migrate only within their node.
Multiple data LIFs are allowed per data port.
– The are client-facing (NFS, CIFS, iSCSI, and Fibre Channel
access).
– NAS data LIFs can migrate or fail over throughout the cluster.
NetApp Confidential 3
LIF CHARACTERISTICS
Each logical interface (LIF) has an associated role and must be assigned to the correct type of network port.
Data LIFs can have a many-to-one relationship with network ports: Many data IP addresses can be assigned
to a single network port. If the port becomes overburdened, NAS data LIFs can be transparently migrated to
different ports or different nodes. Clients know the data LIF IP address but do not know which node or port is
hosting the LIF. If a NAS data LIF is migrated, the client might unknowingly be contacting a different node.
The NFS mountpoint or CIFS share is unchanged.
A node can have a maximum of 128 LIFs, regardless of the type of LIF.
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
The network interface show Command
1 of 2
cluster1::> net int show
(network interface show)
Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
cluster1
cluster_mgmt up/up [Link]/24 cluster1-01 e0M true
cluster1-01
clus1 up/up [Link]/16 cluster1-01 e1a true
clus2 up/up [Link]/16 cluster1-01 e2a true
mgmt up/up [Link]/24 cluster1-01 e0a true
cluster1-02
clus1 up/up [Link]/16 cluster1-02 e1a true
clus2 up/up [Link]/16 cluster1-02 e2a true
mgmt up/up [Link]/24 cluster1-02 e0a true
vs7
vs7_lif1 up/up [Link]/24 cluster1-01 e3a true
vs7_lif2 up/up [Link]/24 cluster1-01 e3b false
NetApp Confidential 4
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
The network interface show Command
2 of 2
Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
vs7
vs7_lif1 up/up [Link]/24 cluster1-01 e3a true
vs7_lif2 up/up [Link]/24 cluster1-01 e3b false
vs7_fclif1 up/up 20:0f:00:a0:98:13:d5:d4
cluster1-01 0c true
vs7_fclif2 up/up 20:10:00:a0:98:13:d5:d4
cluster1-01 0d true
vs7_fclif3 up/up 20:14:00:a0:98:13:d5:d4
cluster1-02 0c true
vs7_fclif4 up/up 20:12:00:a0:98:13:d5:d4
cluster1-02 0d true
13 entries were displayed.
NetApp Confidential 5
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
Network Ports and Data LIFs
[Link] (vs1_d2)
[Link] (vs1_d1)
[Link] (vs2_d2)
[Link] (vs2_d1)
[Link] (vs2_d3)
21:00:00:2b:34:26:a6:54 (vs1_d4)
[Link] (vs1_d3)
[Link] (vs3_d1)
node1 node2
NetApp Confidential 6
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
LIF Roles and Compatible Ports
NetApp Confidential 7
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
LIF Static Routes
Are defined paths between LIFs and specific
destination IP addresses through gateways
Can improve the efficiency of network traffic that
travels through complicated networks
Have preferences that are associated with them:
When multiple routes are available, the “metric”
specifies the preference order of the route to use.
Are defined within “routing groups”
Are created or chosen automatically when a LIF
is created
NetApp Confidential 8
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
The network routing-groups show
Command 1 of 2
cluster1::> network routing-groups show
Routing
Vserver Group Subnet Role Metric
--------- --------- --------------- ------------ -------
cluster1
c192.168.81.0/24
[Link]/24 cluster-mgmt 20
cluster1-01
c169.254.0.0/16
[Link]/16 cluster 30
i192.168.81.0/24
[Link]/24 intercluster 40
n192.168.81.0/24
[Link]/24 node-mgmt 10
NetApp Confidential 9
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
The network routing-groups show
Command 2 of 2
Routing
Vserver Group Subnet Role Metric
--------- --------- --------------- ------------ -------
cluster1-02
c169.254.0.0/16
[Link]/16 cluster 30
i192.168.81.0/24
[Link]/24 intercluster 40
n192.168.81.0/24
[Link]/24 node-mgmt 10
vs1
d192.168.81.0/24
[Link]/24 data 20
vs2
d192.168.81.0/24
[Link]/24 data 20
9 entries were displayed.
NetApp Confidential 10
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
The network routing-groups
route show Command
cluster1::> network routing-groups route show
Routing
Vserver Group Destination Gateway Metric
--------- --------- --------------- --------------- ------
cluster1
c192.168.81.0/24
[Link]/0 [Link] 20
cluster1-01
n192.168.81.0/24
[Link]/0 [Link] 10
cluster1-02
n192.168.81.0/24
[Link]/0 [Link] 10
vs1
d192.168.81.0/24
[Link]/0 [Link] 20
vs2
...
5 entries were displayed.
NetApp Confidential 11
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
NAS Data LIF Failover and Migration
NetApp Confidential 12
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
NAS Data LIF Failover and Migration
Limits
Node-management LIFs cannot fail over or
migrate to a port on a different node.
Cluster-management LIFs and NAS data LIFs
can fail over and migrate across ports and
nodes.
Cluster LIFs can fail over and migrate only
across ports on the same node.
Data LIFs are bound to a Vserver and do not
fail over or migrate between Vservers.
SAN data LIFs never fail over or migrate.
NetApp Confidential 13
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
LIF Failover Groups
data1
e0c e0d e0c e0d e0c e0d e0c e0d
NetApp Confidential 14
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
Types of Failover Groups
System-defined
User-defined
Cluster-wide
NetApp Confidential 15
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
LIF Roles and Failover Groups
LIF Roles Failover Group Failover Target Role Failover Target Nodes
System-defined (default)
Data Data Home node or any node
User-defined
NetApp Confidential 16
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
Failover Policies
nextavail
priority
disabled
NetApp Confidential 17
FAILOVER POLICIES
nextavail (default): Enables a LIF to fail over to the next available port, preferring a port on the current node.
In some instances, a LIF configured with the nextavail failover policy selects a failover port on a remote node,
even though a failover port is available on the local node. No outages will be seen in the cluster, because the
LIFs continue to be hosted on valid failover ports.
priority: Given the list of failover targets, if the home port goes down then select the next port from the list in
order, always starting with the first port in the list.
disabled: Disables (prevents) a LIF from failing over.
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
Creating and Deleting Failover Groups
Creating or adding a port to a failover group:
cluster1::> net int failover-groups create –failover-group
customfailover1 –node cluster1-02 –port e0d
NetApp Confidential 18
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
Enabling and Disabling Failover of a LIF
NetApp Confidential 19
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
The network interface show
Command
cluster1::> net int show -vserver vs2 -lif vs2_lif1
Vserver Name: vs2
Logical Interface Name: vs2_lif1
Role: data
Data Protocol: nfs, cifs
Home Node: cluster1-02
Home Port: e0d
Current Node: cluster1-02
Current Port: e0d
Operational Status: up
Extended Status: -
Is Home: true
Network Address: [Link]
Netmask: [Link]
IPv4 Link Local: -
Bits in the Netmask: 24
Routing Group Name: d192.168.81.0/24
Administrative Status: up
Failover Policy: nextavail
Firewall Policy: data
Auto Revert: false
Fully Qualified DNS Zone Name: none
DNS Query Listen Enable: false
Failover Group Name: customfailover1
NetApp Confidential 20
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
The network interface failover-
group show Command
cluster1::> net int failover-groups show
(network interface failover-groups show)
Failover
Group Node Port
------------------- ----------------- ----------
clusterwide
cluster1-02 e0c
cluster1-02 e0d
cluster1-02 e0e
cluster1-01 a0a
cluster1-01 e0c
customfailover1
cluster1-02 e0c
cluster1-01 e0c
NetApp Confidential 21
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
NAS Load Balancing
NetApp Confidential 22
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
DNS Load-Balancing Characteristics
Uses internal “DNS zones” that contain multiple data
IP addresses (data LIFs):
– The actual data LIF that is used for an NFS mount is
chosen at NFS mount time.
– NAS data LIFs can be automatically migrated among
nodes to maintain a balanced load.
Is based on LIF weights:
Weight can be manually or automatically set (based on the
current load in the cluster).
Provides balanced cluster-wide data LIFs
NetApp Confidential 23
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
DNS Load-Balancing Commands
Assigning a weight to a LIF by using the network
interface modify command:
cluster1::> net int modify –vserver vs2 –lif data1 –lb-weight 7
NetApp Confidential 24
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
Automatic LIF Rebalancing
LIFs are automatically migrated to a less-utilized port.
Migration allows even distribution of the current load.
LIFs are migrated based on the weights.
Automatic LIF rebalancing is available only under the
advanced privilege level of operation.
NetApp Confidential 25
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
Automatic LIF Rebalancing Commands
NetApp Confidential 26
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
Verifying the LIF Rebalancing Setting: The
network interface show Command
cluster1::*> network interface show –lif data1 –instance
NetApp Confidential 27
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
Module Summary
NetApp Confidential 28
MODULE SUMMARY
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
Exercise
Module 8: Logical Networking
Time Estimate: 45 minutes
NetApp Confidential 29
EXERCISE
Please refer to your exercise guide.
© 2013 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.