Professional Documents
Culture Documents
VMW VCF Iscsi Uslet 101 Hi Res
VMW VCF Iscsi Uslet 101 Hi Res
CONNECTING IP-BASED
(NFS OR ISCSI)
EXTERNAL STORAGE TO
VMWARE CLOUD FOUNDATION™
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
Contents
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Assumptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
iSCSI and NFS Storage Array. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Trunking Required VLANs Where Necessary to Enable Access to
Network Attached Storage Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Conclusion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Acknowledgments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
References. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
W H I T E PA P E R | 2
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
Audience
This document contains guidance for VMware Cloud Foundation™ administrators
who want to add secondary network attached storage, either NFS or iSCSI, to their
Cloud Foundation deployment.
On each vSphere host, the two 10GbE host network interfaces are cabled as shown
in Figures 1 and 2.
W H I T E PA P E R | 3
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
Customer
Network
DC Uplink DC Uplink
MC-LAG
LAG (LACP)
Customer
Network
DC Uplink DC Uplink
MC-LAG
LAG (LACP)
Dell PowerEdge R630 with 10G SFP+
Data Path
W H I T E PA P E R | 4
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
With vSphere 6.5, routed iSCSI is supported for connectivity between initiators and
targets in different IP subnets. This makes it much easier to configure multipathing
without requiring that the initiator and target be on the same network. See “Best
Practices for Configuring Networking with Software iSCSI.”
Further, vSphere 6.5 also supports overriding the default gateway to provide different
gateways for options such as VMware vSphere vMotion®, iSCSI, vSAN, and so on.
See “Overriding the Default Gateway of a VMkernel Adapter” and “Configure the
VMkernel Adapter Gateway by Using ESXCLI.”
Other use cases include storing content libraries and templates, storing backup
images, and more.
NOTE: Cloud Foundation includes native vSAN support. This document does not suggest
replacement of vSAN resources; it recommends the addition of existing network attached
storage for the previously listed use cases.
W H I T E PA P E R | 5
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
Assumptions
iSCSI and NFS Storage Array
NFS storage arrays often export an NFS share via a single IP address. iSCSI arrays
often present storage resources via multiple iSCSI portal IP addresses that are
assigned or bound to one or more iSCSI target interfaces on the array. These portals
or targets might require access from an isolated L2 network segment or might
support routable iSCSI connectivity. iSCSI arrays might employ security by requiring
CHAP authentication or use network-based security that defines permitted iSCSI
initiator IP and subnet.
NOTE: The procedures for configuring CHAP or network-based security are out of scope for this
guidance document. For more information, see iSCSI array vendor documentation and existing
VMware software iSCSI documentation.
NOTE: VMware Cloud Foundation does not currently support automated disjoint L2
or L3 networking.
NOTE: The Data Center Connection Wizard is located in SDDC Manager under Settings ➝
Network Settings ➝ Data Center.
W H I T E PA P E R | 6
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
After a new data center connection has been created or saved, SDDC Manager
automates the configuration of TOR switch ports and VDS with new port groups
mapped to new VLANs.
Figure 4. SDDC Manager – Activate Automated Configuration of TOR Switch Ports and VDS
W H I T E PA P E R | 7
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
To add a VMkernel network interface, right-click a host, select Add Networking, and
then select VMkernel Network Adapter. Click Next.
Browse to select the target network. List the newly created data center network using
the following format:
W H I T E PA P E R | 8
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
On the Port Properties page, leave all settings at default. Click Next.
Configure IPv4 settings as needed. Click Next. Verify the summary and click Finish.
NOTE: The new VMkernel interface is defined with an MTU of 1500 bytes by default.
NOTE: The host-facing TOR ports are configured by default with an MTU of 9216. The TOR
uplink ports are not configured by default with an MTU of 9216.
W H I T E PA P E R | 9
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
Troubleshooting
Host CLI commands—that is, esxcfg-vmknic and vmkping—can be used to
display configured interfaces and to ping network resources from specific
VMkernel interfaces.
Figure 9. SDDC Manager – Use Host CLI Commands to Display Configured Interfaces
W H I T E PA P E R | 1 0
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
Continue with the wizard to add the NFS storage to the host.
NOTE: After storage has been added to the first host, use the shortcut to mount the datastore
on the remaining hosts in the cluster.
Right-click the newly added datastore. Choose Mount Datastore to Additional Hosts.
Select the additional hosts from the list and click OK.
W H I T E PA P E R | 1 1
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
W H I T E PA P E R | 1 2
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
Next, choose iSCSI Software Adapter. Click Targets. Under Dynamic Discovery,
click Add.
W H I T E PA P E R | 1 3
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
NOTE: Using Dynamic Discovery, an initiator transmits a Send Targets request to the iSCSI
server. Return all available targets to the initiator. Target rescanning reoccurs automatically if the
adapter is reset or if hosts reboot—that is, LCM updates.
Enter the iSCSI Server (portal) IP address and Port. Click OK.
After the Targets have been entered, click iSCSI Software Adapter. Then click the icon
below it to scan the selected host storage adapter for new storage devices.
Figure 19. SDDC Manager – Scan Host Storage Adapter for New Storage Devices
W H I T E PA P E R | 1 4
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
Click Paths to ensure that all paths have been discovered. In Figure 21, there are two
portal IPs registered, each bound to a unique target interface. Each target interface
presents four 10G LUNs.
Repeat the process on each host in the cluster until all hosts can detect all devices
and paths.
W H I T E PA P E R | 1 5
CONNECTING IP-BASED (NFS/ISCSI) EXTERNAL STORAGE
TO VMWARE CLOUD FOUNDATION
The esxcfg-mpath host command can facilitate determination of device paths and
availability status.
Figure 22. SDDC Manager – See Device Paths and Availability Status
Conclusion
VMware Cloud Foundation is an integrated cloud infrastructure platform
designed for the hybrid cloud. This paper provides guidance for configuring a
Cloud Foundation deployment to attach to existing NFS or iSCSI storage resources
in the customer network environment, using a simplified process that provides
availability and performance.
Acknowledgments
The author thanks Ven Immani, Todd Simmons, and Chandra Avutu from the
VMware Cloud Foundation Marketing, Architecture, and Engineering teams for
their expertise, guidance, and review of this document.
References
“Limitations of the LACP Support on a vSphere Distributed Switch”
W H I T E PA P E R | 1 6
VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com
Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at
http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. and its subsidiaries in the United States and other jurisdictions. All other marks and names mentioned herein
may be trademarks of their respective companies. Item No: VMW-VCF-ISCSI-USLET-101
12/17