Skip to main content
A newer release of this product is available.

Configure a storage Network Interface Controller (NIC)

Contributors netapp-pcarriga netapp-dbagwell

If you are using an additional NIC for storage, you can SSH in to the management node or use the vCenter console and run a curl command to set up a tagged or untagged network interface.

Before you begin
  • You know your eth0 IP address.

  • Your cluster version is running NetApp Element software 11.3 or later.

  • You have deployed a management node 11.3 or later.

Configuration options

Choose the option that is relevant for your environment:

Configure a storage Network Interface Controller (NIC) for an untagged network interface

Steps
  1. Open an SSH or vCenter console.

  2. Replace the values in the following command template and run the command:

    Note Values are represented by $ for each of the required parameters for your new storage network interface. The cluster object in the following template is required and can be used for management node host name renaming. --insecure or -k options should not be used in production environments.
    curl -u $mnode_user_name:$mnode_password --insecure -X POST \
    https://$mnode_IP:442/json-rpc/10.0 \
    -H 'Content-Type: application/json' \
    -H 'cache-control: no-cache' \
    -d ' {
         "params": {
                   "network": {
                              "$eth1": {
                                       "#default" : false,
                                       "address" : "$storage_IP",
                                       "auto" : true,
                                       "family" : "inet",
                                       "method" : "static",
                                       "mtu" : "9000",
                                       "netmask" : "$subnet_mask",
                                       "status" : "Up"
                                       }
                              },
                   "cluster": {
                             "name": "$mnode_host_name"
                             }
                 },
        "method": "SetConfig"
    }
    '

Configure a storage Network Interface Controller (NIC) for a tagged network interface

Steps
  1. Open an SSH or vCenter console.

  2. Replace the values in the following command template and run the command:

    Note Values are represented by $ for each of the required parameters for your new storage network interface. The cluster object in the following template is required and can be used for management node host name renaming. --insecure or -k options should not be used in production environments.
    curl -u $mnode_user_name:$mnode_password --insecure -X POST \
    https://$mnode_IP:442/json-rpc/10.0 \
    -H 'Content-Type: application/json' \
    -H 'cache-control: no-cache' \
    -d ' {
         "params": {
                   "network": {
                              "$eth1": {
                                       "#default" : false,
                                       "address" : "$storage_IP",
                                       "auto" : true,
                                       "family" : "inet",
                                       "method" : "static",
                                       "mtu" : "9000",
                                       "netmask" : "$subnet_mask",
                                       "status" : "Up",
                                       "virtualNetworkTag" : "$vlan_id"
                                       }
                              },
                   "cluster": {
                             "name": "$mnode_host_name",
                             "cipi": "$eth1.$vlan_id",
                             "sipi": "$eth1.$vlan_id"
                             }
                 },
        "method": "SetConfig"
    }
    '

Find more Information