FAS and V-Series Storage Systems Discussions

FAS2720 iSCSI and NFS with single IP address?

Have a new FAS2720.  Previously had a 2220 that was using 7-mode.  This FAS2720 is my first experience with clustered mode and the "new" (to me anyway) version of ontap. The SVM method is definately new to me and the way you configure interfaces is somewhat different to 7-mode.  

 

I have created an SVM that has both NFS and iSCSI for the purpose of attaching hosts directly to the netapp (ie, vmware and iscsi directly from servers).

 

When I create an interface and choose the proper SVM, I am unable to choose both NFS and iSCSI, if I choose one it then greys out the other.  Apparently, it wants me to only run one of these protocols on a single interface at one time, it doesnt appear to want iSCSI and NFS being shared. 

 

However, what I can do, is it will let me created two separate interfaces, 1 for NFS and then 1 for iSCSI, that both have the SAME IP address.  In 7-mode I had 1 IP address as the connection point for all services which was simple and clean in my mind.

 

Is this acceptable to use a single IP ?  Or should I be using separate IP addresses for both of these NFS and iSCSI interfaces?

13 REPLIES 13

Re: FAS2720 iSCSI and NFS with single IP address?

NAS and SAN LIFs have different failover policies so you cannot really combine them in single interface. Use two different LIFs.

Re: FAS2720 iSCSI and NFS with single IP address?


@aborzenkov wrote:

NAS and SAN LIFs have different failover policies so you cannot really combine them in single interface. Use two different LIFs.


Yes, it will not allow me to combine them both on a single LIF so right now i have 2 separate LIFs, one for NFS and one for iSCSI precisely how you state.

 

However, and this is my question:  Even though I have 2 separte LIFS, the netapp does allow me to assign the SAME IP address for both of these separte LIFs.  Is assigning a the same IP address OK to do?

 

Example:

LIF-1 for iSCSI - IP is 10.10.10.10

LIF-2 for NFS - IP is 10.10.10.10

 

both the same IP, but 2 separate LIFs, Is this acceptable?



 

Re: FAS2720 iSCSI and NFS with single IP address?

Nope.  it'll say duplicate IP.   You also probably want a second IP for iSCSI too. 

 

why are you needing to configure like this? 

Re: FAS2720 iSCSI and NFS with single IP address?


@LSOTECHUSER wrote:

Is this acceptable?



 


No. Even if it may appear to work on the same node (which I doubt) NFS LIF may migrate to another node at any time which will result in duplicated IP. Also to avoid dsruption during node failure (or planned reboot) for iSCSI you need at least one second LIF on partner node which must have different IP anyway.

 

So at the minumum you need 3 IPs.

Re: FAS2720 iSCSI and NFS with single IP address?

Hello. This is one of the things coming to CDOT that may take a bit of getting used to, the complexity of it. There is a bit more of a learning curve. It's recommended and almost needed for iSCSI to have LIFs on every node (assuming a HA pair). The benefits of the tad bit of extra complexity is that you get more features, way better logging should you have problems, and way more ability to customize the system to meet your needs.

 

The only way you can have the same IP is if you have different broadcast domains (really different networks). This was so customers who provide storage hosting for their customers can have multi-tenant workloads on the same physical storage. That is a completely different use case than what you likely are doing, so I would suggest just configuring multiple LIFs and trying to mount so if you have a volume on node 1, it is connected to node 1's LIF by the client/DNS. SAN should auto-discover the best path.

Re: FAS2720 iSCSI and NFS with single IP address?


@paul_stejskal wrote:

The only way you can have the same IP is if you have different broadcast domains


You probably mean IPspaces.

Highlighted

Re: FAS2720 iSCSI and NFS with single IP address?

You're right. Thanks for the correction.

Re: FAS2720 iSCSI and NFS with single IP address?

Thanks for the clarification.

 

Interestingly, it does indeed allow me to create the iSCSI LIF using the same IP address as the address used with the NFS LIF.  However, clients are not able to connect this way, and iSCSI discovery times out.  Changing the iSCSI LIF IP to a different address as required fixes the issue and clients can connect.

 

Also, the reason I wanted to pursue a single IP is merely for the sake of simplicity.  It is easier to simply have a "one stop shop" IP address that handles all protocols.  You only need to know the single IP per node.  This was how our setup was in 7-mode which is why I initially even tried. No big deal though, as we are only dealing with a handful of addresses anyway.

Re: FAS2720 iSCSI and NFS with single IP address?

What version of ONTAP are you running?  I just tried a several different senarios in my lab to get two lifs to share the same IP and was always met with " Error: command failed: Duplicate ip address 192.168.100.102" 

 

So back to the why;   In ONTAP some types of lifs will move (CIFS, NFS, cluster mgmt) during a failover and some won't  (iSCSI, FC, node mgmt).     Different types of lifs get different policies applied. 

  https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-nmg%2FGUID-94D4F8DD-3437-4474-81A6-9DB6FF6A244D.html

 

During a failover (unplanned, or planned) NFS/CIFS/Cluster Mgmt the NFS lif will move over to the partner node.    The iSCSI however, will simple go offline,  and it's up to the host to move data access to the surviving path. 

 

On your 7mode set up: 

Do you  just have a single IP for each controller?   

How are your current iSCSI target(s) configured?  

Do you currently have multi pathing? 

 

 

Forums