Configure LIFs for NFS over RDMA

Contributors

To utilize NFS over RDMA, you must configure your LIFs to be RDMA compatible. Both the LIF and its failover pair must be RDMA capable.

Beginning in ONTAP 9.10.1, there is a new rdma_protocols parameter on the network interface commands where you can configure support, along with setting an appropriate service policy.

Procedure to create a new LIF
  1. Create a LIF:

    network interface create -vserver vserver_name -lif lif_name -service-policy service_policy_name -home-node node_name -home-port port_name {-address IP_address -netmask netmask_value | -subnet-name subnet_name} -firewall-policy policy_name -auto-revert {true|false} -rdma-protocols roce

    1. The service policy must be either default-data-files or a custom policy that includes the data-nfs network interface service.

    2. The -rdma-protocols parameter accepts a list, which is by default empty. When roce is added as a value, the LIF can only be configured on ports supporting RoCE offload, affecting bot LIF migration and failover.

Procedure to modify a LIF
  1. You can check the status of your LIFs with the network interface show command. The service policy must include the data-nfs network interface service. The -rdma-protocols list should include roce. If either of these conditions are untrue, modify the LIF.

  2. To modify the LIF, run:

    network interface modify vserver vserver_name -lif lif_name -service-policy service_policy_name -home-node node_name -home-port port_name {-address IP_address -netmask netmask_value | -subnet-name subnet_name} -firewall-policy policy_name -auto-revert {true|false} -rdma-protocols roce

It is an error to modify a LIF to require a particular offload protocol when the LIF is not currently assigned to a port that supports that protocol.

More Information