Docu 69326
Docu 69326
EMC believes the information in this publication is accurate as of its publication date. The information is subject to change
without notice.
The information in this publication is provided as is. EMC Corporation makes no representations or warranties of any kind with
respect to the information in this publication, and specifically disclaims implied warranties of merchantability or fitness for a
particular purpose. Use, copying, and distribution of any EMC software described in this publication requires an applicable
software license.
EMC, EMC, and the EMC logo are registered trademarks or trademarks of EMC Corporation in the United States and other
countries. All other trademarks used herein are the property of their respective owners.
For the most up-to-date regulatory document for your product line, go to EMC Online Support (https://support.emc.com).
EMC Corporation
Hopkinton, Massachusetts 01748-9103
1-508-435-1000 In North America 1-866-464-7381
www.EMC.com
2 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
CONTENTS
Preface 5
Chapter 1 Introduction 7
System requirements...................................................................................... 8
Managed and generic host objects.................................................................. 8
VMware vSphere versions............................................................................... 9
EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores 3
CONTENTS
4 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
Additional resources
As part of an effort to improve its product lines, EMC periodically releases revisions of its software and hardware.
Therefore, some functions described in this document might not be supported by all versions of the software or
hardware currently in use. The product release notes provide the most up-to-date information on product features.
Contact your EMC technical support professional if a product does not function properly or does not function as
described in this document.
Where to get help
Support, product, and licensing information can be obtained as follows:
Product information
For product and feature documentation or release notes, go to Unity Technical
Documentation at: www.emc.com/en-us/documentation/unity-family/index.htm. You
can also access this page from the Unity product family page at: www.emc.com/en-us/
storage/unity.htm. In the Why Unity section, click Unity Product Resources.
Troubleshooting
For information about EMC products, software updates, licensing, and service, go to EMC
Online Support (registration required) at: https://Support.EMC.com. After logging in,
locate the appropriate Support by Product page.
Technical support
For technical support and service requests, go to EMC Online Support at: https://
Support.EMC.com. After logging in, locate Create a service request. To open a service
request, you must have a valid support agreement. Contact your EMC Sales
Representative for details about obtaining a valid support agreement or to answer any
questions about your account.
Special notice conventions used in this document
EMC uses the following conventions for special notices:
DANGER
Indicates a hazardous situation which, if not avoided, will result in death or serious
injury.
WARNING
Indicates a hazardous situation which, if not avoided, could result in death or serious
injury.
CAUTION
Indicates a hazardous situation which, if not avoided, could result in minor or moderate
injury.
NOTICE
Note
EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores 5
Additional resources
6 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
CHAPTER 1
Introduction
This chapter describes high-level host requirements and contains the following topics:
l System requirements.............................................................................................. 8
l Managed and generic host objects.......................................................................... 8
l VMware vSphere versions....................................................................................... 9
Introduction 7
Introduction
System requirements
Before configuring hosts to access the storage system, ensure that these requirements
are met.
Complete the following tasks before connecting hosts to the storage system:
l Install and configure the system using the Initial Configuration wizard.
l Use Unisphere or the CLI to configure NAS servers or interfaces, or iSCSI or Fibre
Channel (FC) LUNs, on the storage system.
8 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
Introduction
Note
All VVols-related vSphere instructions in this guide are based on the vSphere 6.x web
client as the VVols feature is not available in previous VMware releases of vSphere.
10 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
CHAPTER 2
Setting up a host to use Unity VMware NFS
datastores
This chapter describes how to set up a VMware ESXi host or virtual machine to use Unity
VMware NFS datastores and contains the following topics:
Network requirements
This topic lists the network requirements for a host attaching to a Unity system.
Ensure that you meet these network requirements:
l The host (client) is in the same LAN environment as the Unity NAS server.
l If the NAS server is enabled for multiprotocol (CIFS and NFS), you have connected it to
an NIS server or an LDAP server. The Unisphere online help describes how to
configure Unix Directory Service (either NIS or LDAP) on the system.
Note
Users can store files on a Unity NAS server in a Network Information Service (NIS)
environment, but you cannot configure a Unity NAS server as an NIS client.
Link aggregations
This topic describes the advantages and function of link aggregations.
Link aggregations use the Link Aggregation Control Protocol (LACP) IEEE 802.3ad
standard.
Note
12 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
Setting up a host to use Unity VMware NFS datastores
the ports bandwidth. If the connection to one port fails, the switch automatically
switches traffic to the remaining ports in the group. When the connection is restored, the
switch automatically resumes using the port as part of the group.
On the Unity system, you can configure up to four ports in a link aggregation. When you
configure a link aggregation, you are configuring two link aggregations one on each SP.
If one of the ports in an aggregation fails, the system directs network traffic to one of the
other ports in the group.
Switch requirements
This topic describes switch requirements when using link aggregation.
If the Unity ports are connected to different network switches, you should configure all
switch ports connected to these ports to immediately switch from blocking mode to
forwarding mode and not pass through spanning tree states of listening and learning
when an interface comes up. On Cisco switches, this means that you must enable the
portfast capability for each switch port connected to a Unity port to guarantee that the
switch forwards the Ethernet frame that the storage system generates when a physical
link is enabled. You enable the portfast capability on a port-to-port basis. When enabled,
the portfast variable causes the port to immediately switch from blocking to forwarding
mode. Do not use portfast on switch-to-switch connections.
For link aggregation, network switches must have IEEE 802.3ad protocol support and
guarantee that packets from a single TCP connection always go through the same link in a
single direction.
Note
Windows 7 and Windows Server 2003 do not provide link aggregation (NIC teaming)
support. Some NIC vendors provide drivers that support NIC teaming. For more
information, contact your NIC vendor. Windows Server 2008 does support NIC teaming.
For link aggregation, you have at least one 802.3ad-compliant switch, each with an
available port for each switch port you want to connect to a Unity port in the aggregation.
The term NIC teaming refers to all NIC redundancy schemes, including link aggregation
with 802.3ad.
For link aggregation, you need to perform two sets of configuration tasks:
l Configure a link aggregation from the switch to the Unity system
l Configure a link aggregation from the host to the switch
c. Select the ports for the link aggregation, then select Create.
Results
Two link aggregations are created with the same ports one aggregation on each SP.
Note
Depending on the type of NIC teaming used, you may not need to configure these
switch ports for link aggregation. For more information, refer to your VMware
documentation.
2. On an ESXi host, you create a NIC team by creating a virtual switch with two or more
physical NICs. For information on creating a virtual switch, refer to the VMware
documentation for the version of ESXi running on the host.
Note
The Unity system automatically mounts NFS datastores as NFSv3.0. NAS servers using
Kerberos security use NFSv4.1. In order to use NAS servers enabled for Kerberos or
NFSv4 for Unity NFS datastores, you must manually mount the datastores. Refer to
Configuring Unity NFS datastores for the host on page 14
14 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
Setting up a host to use Unity VMware NFS datastores
b. Select the NFS datastore and click the Edit icon to view its properties. On the
General tab, note the Export Paths.
For example, for Export Path 10.0.0.1/nfsdatastore123, 10.0.0.1 is the IP address
of the NAS server for NFS datastore nfsdatastore123.
2. Log into vSphere as an administrator.
3. For each NFS datastore:
a. On the Inventory panel, select the host and click the Configuration tab.
b. On the Hardware panel, click Storage, then Add Storage.
c. Select Network File System as the file storage type.
d. Enter the following information:
l For server, enter the IP address of the Unity NAS server.
l For folder, enter the path to the Unity share.
l For name, enter the name of the new VMware datastore.
16 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
CHAPTER 3
Setting up a host to use Unity VMware VMFS
iSCSI datastores
This chapter describes the requirements for setting up an ESXi host to use EMC Unity
VMFS datastores, how to set up the ESXi host for path management software, and how to
troubleshoot the connection between the ESXi host and a Unity VMFS datastore.
This chapter contains the following topics:
Note
The following figure shows a highly-available iSCSI network configuration for hosts
accessing a Unity storage resource (VMware VMFS datastore). Switch A and Switch B are
on separate subnets. Host A and Host B can each access the storage resource through
separate NICs. If the storage resource is owned by SP A, the hosts can access the storage
resource through the paths to the eth2 interface on SP A. Should SP A fail, the Unity
system transfers ownership of the resource to SP B and the hosts can access the storage
resource through the paths to the eth2 interface on SP B.
18 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
Setting up a host to use Unity VMware VMFS iSCSI datastores
Note
For highest availability, use two network interfaces on the iSCSI interface. The network
interfaces should be on separate subnets. You can view the network interfaces for an
iSCSI interface within Unisphere.
Installing PowerPath
Procedure
1. On the host or virtual machine, download the latest PowerPath version from the
PowerPath software downloads section on the EMC Online Support website.
2. Install PowerPath as described in the appropriate PowerPath installation and
administration guide for the hosts or virtual machines operating system.
This guide is available on EMC Online Support. If the host or virtual machine is
running the most recent version and a patch exists for this version, install it, as
described in the readme file that accompanies the patch.
20 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
Setting up a host to use Unity VMware VMFS iSCSI datastores
Procedure
1. Log in to the vSphere Client as an administrator.
2. From the Inventory panel, select the host.
3. Click the Configuration tab, and click Networking.
4. In the Virtual Switch view, click Add Networking.
5. Select VMkernel and click Next.
6. Select Create a virtual switch to create a new vSwitch.
7. Select an adapter that you want to use for iSCSI traffic and click Next.
Note
If no adapters appear under Create a virtual switch, the existing vSwitches are using
all the network adapter in the host. In this situation, you can use an existing vSwitch
for iSCSI traffic.
8. Under Port Group Properties, enter the network label, and click Next.
The network label is the name that you want to identify the VMkernel port that you are
creating.
9. Specify the IP settings and click Next.
10. After you review the summary information, click Finish.
After you finish
If your host uses only one physical network adapter for iSCSI, your network configuration
is complete.
If your host uses more than one physical network adapter for iSCSI, you must connect
additional adapters to the vSwitch and associate each port with a VMkernel port using
the port binding technique. You can do this in one of following ways:
l Create separate vSwitches for each additional network adapter by repeating the
above steps for each additional adapter.
l Use a single vSwitch for iSCSI multipathing by connecting the additional network
adapters and VMkernel ports to the vSwitch that you just created and override the
default setup so that each port maps to only one active adapter.
NOTICE
If the network adapter that you add to the software iSCSI initiator is not in the same
subnet as your iSCSI target (iSCSI interface), the host cannot establish sessions from this
network adapter to the target.
The procedure associates VMkernel ports with the iSCSI NICs using a 1-to-1 mapping.
Procedure
1. Log in to the vSphere Client as an administrator.
2. From the Inventory panel, select the host.
3. Click the Configuration tab, and click Networking.
4. Select the vSwitch that you use for iSCSI and click Properties.
5. Bind additional network adapters to the vSwitch:
a. In the vSwitch Properties dialog box, click the Network Adapters tab and click
Add.
b. From the list of adapters, select the ones that you want to add to the vSwitch and
click Next.
c. After you review the information on the summary page, click Finish.
The list of network adapters reappears, showing the network adapters that the
vSwitch claims.
6. Create VMkernel ports for that network adapters that you connected to the vSwitch:
Note
Each VMkernel port in a vSwitch with multiple network adapters must have only one
network adapter designated as active for each VMkernel port. The other adapters
must be designated as unused.
a. In the vSwitch Properties dialog box, click the Ports tab and click Add.
b. Select VMkernel and click Next.
c. Under Port Group Properties, enter a network label and click Next.
The network label is the name that you want to identify the VMkernel port group
that you are creating.
d. Specify the IP settings and click Next. When you enter the subnet mask, be sure
that the network adapter is set to the subnet of the iSCSI interface to which it
connects.
e. After you review the information on the summary page, click Finish.
7. Map each VMkernel port to just one active adapter.
By default all network adapters appear as active for each VMkernel on the vSwitch.
You must override this setup so that each port maps to only one active adapter. For
example, VMkernel port vmk1 maps to active adapter vmnic1, port vmk2 maps to
vmnic2, and so on.
For each VMkernel port on the vSwitch:
22 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
Setting up a host to use Unity VMware VMFS iSCSI datastores
Note
When you create Unity VMFS datastores for discovered VMware ESXi hosts, the system
automatically configures the hosts to use the datastores. If you select multiple
discovered hosts for the datastores, all the selected hosts are configured
automatically. The VMware VMFS datastores are presented directly to the ESXi hosts
and not to the hosts virtual machines. If an ESXi host cannot see the VMFS datastore
after you create the datastore, manually configure the connection to the VMFS
datastore.
24 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
Setting up a host to use Unity VMware VMFS iSCSI datastores
Procedure
1. Log in to the vSphere Client as an administrator.
2. From the Inventory panel, select the host with the initiator you want to configure.
3. Click the Configuration tab, and click Storage Adapters.
4. If the Software iSCSI adapter is not listed, click Add in the Add Storage Adapter dialog
box, and then select Add Software iSCSI Adapter.
5. Select the iSCSI initiator that you want to configure, and click Properties.
6. In the iSCSI Initiator Properties page, click the General tab and then click Configure.
7. If the adapter is not already enabled, select Enabled.
8. If you want a name and alias for the software iSCSI adapter, enter them under iSCSI
Initiator Properties and click OK.
d. In the Rescan dialog box, select both Scan for New Storage Devices and Scan for
New VMFS Volumes, and click OK.
3. Add each VMFS datastore to the ESXi host:
a. From the Inventory panel, select the host and click the Configuration tab.
b. Under Hardware, click Storage, and click Add Storage.
c. On the Select Disk/LUN page, select the Unity VMFS datastore that you want to use
for the datastore, and click Next.
d. On the Current Disk Layout page, review the current virtual disk layout, and click
Next.
e. On the Disk/LUN-Properties page, enter the exact same name that was used to
create the datastore on the storage system.
You can find this name using Unisphere.
f. On the Disk/LUN-Formatting page, if needed, adjust the file system values and the
capacity for the datastore, and click Next.
g. On the Ready to Complete page, review the datastore information, and click Finish
Results
The datastore (VMFS volume) is created on the Unity VMFS datastore for the ESXi host.
Note
You can find the IP address for the target by selecting Settings > iSCSI Settings in
Unisphere.
Some switches intentionally drop ping packets or lower their priority during times of
high workload. If the ping testing fails when network traffic is heavy, verify the switch
settings to ensure the ping testing is valid.
2. On the host, verify that the iSCSI adapter has been added.
Note
The iSCSI service on the iSCSI interface starts in vSphere when the storage system is
powered up.
3. If you are using CHAP authentication, ensure that the CHAP security settings are
correct for your system. See VMware vSphere steps for configuring CHAP parameters
for iSCSI adapters.
26 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
CHAPTER 4
Setting up a host to use Unity VMware VMFS FC
datastores
l Requirements for setting up a host to use Unity VMware VMFS datastores with FC
............................................................................................................................. 28
l Using multi-path management software with ESXi hosts........................................28
l Configuring ESXi host native failover..................................................................... 29
l Configuring the Unity VMware VMFS datastores for the host.................................. 30
l Manually setting up the host connection to a Unity FC VMFS datastore.................. 31
SAN requirements
For a host to connect to FC LUNs or VMware VMFS and Block VVol datastores on the Unity
system, the host must be in a SAN environment with the storage system, and zoned so
that the host and the storage system are visible to each other over the SAN. For a multi-
pathing environment, each Unity FC LUN for the host must have two paths associated
with it. These two paths should be on different switches to ensure high availability.
Note
Directly attaching a host to a storage system is supported if the host connects to both
SPs and has the required multipath software.
28 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
Setting up a host to use Unity VMware VMFS FC datastores
Installing PowerPath
Procedure
1. On the host or virtual machine, download the latest PowerPath version from the
PowerPath software downloads section on the EMC Online Support website.
2. Install PowerPath as described in the appropriate PowerPath installation and
administration guide for the hosts or virtual machines operating system.
This guide is available on EMC Online Support. If the host or virtual machine is
running the most recent version and a patch exists for this version, install it, as
described in the readme file that accompanies the patch.
Installing PowerPath 29
Setting up a host to use Unity VMware VMFS FC datastores
8. Click Close.
After you finish
You are now ready to either migrate a virtual machine to the VMFS datastore or create a
virtual machine on the VMFS datastore. To migrate a virtual disk to the VMFS datastore,
see the section on Migrating VMware Virtual Machines to the Unity System. For
information about creating a virtual machine on the VMFS datastore, refer to the VMware
documentation.
For FC connections, if you receive a connection error when the host is trying to log into an
FC LUN, or you cannot see the datastores on the target, you may be having problems with
the SAN connection between the host and the storage system. This problem may occur
because:
l The Fibre Channel SAN is zoned incorrectly.
l A physical hardware issue is disrupting the SAN connectivity.
A rescan of the storage is required after any change is made to the SAN.
Note
When you create Unity VMFS datastores for discovered VMware ESXi hosts, the system
automatically configures the hosts to use the datastores. If you select multiple
discovered hosts for the datastores, all the selected hosts are configured
automatically. The VMware VMFS datastores are presented directly to the ESXi hosts
and not to the hosts virtual machines. If an ESXi host cannot see the VMFS datastore
after you create the datastore, manually configure the connection to the VMFS
datastore.
30 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
Setting up a host to use Unity VMware VMFS FC datastores
If the host cannot see the VMFS datastore, there may be a problem with SAN
connection between the host and the FC LUN (FC connection), in which case you need
to manually configure this connection.
c. In the Rescan dialog box, select both Scan for New Storage Devices and Scan for
New VMFS Volumes, and click OK.
3. Add each VMFS datastore to the ESXi host:
a. From the Inventory panel, select the host and click the Configuration tab.
b. Under Hardware, click Storage, and click Add Storage.
c. On the Select Disk/LUN page, select the Unity VMFS datastore that you want to use
for the datastore, and click Next.
d. On the Current Disk Layout page, review the current virtual disk layout, and click
Next.
e. On the Disk/LUN-Properties page, enter the exact same name that was used to
create the datastore on the storage system.
You can find this name using Unisphere.
f. On the Disk/LUN-Formatting page, if needed, adjust the file system values and the
capacity for the datastore, and click Next.
g. On the Ready to Complete page, review the datastore information, and click Finish
Results
The datastore (VMFS volume) is created on the Unity VMFS datastore for the ESXi host.
32 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
CHAPTER 5
Setting up a host to use Unity VVol datastores
34 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
Setting up a host to use Unity VVol datastores
e. Perform a rescan in vSphere to ensure that the VMware NFS datastore is now
visible to the ESXi host.
l FC: A problem with SAN connection between the host and the FC LUN (FC
connection), in which case you need to manually configure this connection.
36 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
CHAPTER 6
Migrating VMware Virtual Machines to the Unity
system
Component Requirement
Unity Datastore sized to accommodate the existing data that you are migrating and to
allow for data growth.
Hosts One or two ESXi hosts One or two ESXi hosts, each with:
l A vMotion license and configured for
vMotion.
l Access to both the source and target
datastores.
l Sufficient resources to support two
instances of the virtual machine running
concurrently for a brief time.
38 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores
Migrating VMware Virtual Machines to the Unity system
Note
In Unisphere, the polling period for a VMware ESXi host or vCenter is once every 24 hours.
j. Proceed through the remaining pages until you reach the summary page.
k. On the summary page, verify the settings and then click Finish.
2. From the Inventory panel, select the server with the virtual machine that you want to
migrate and click the Virtual Machine tab.
3. Right-click the virtual machine that you want to migrate, select Migrate and click Next.
4. Select the Unity VMware datastore.
5. For Disk format select Same format as source and click Finish.
40 EMC Unity All Flash, EMC Unity Hybrid, EMC UnityVSA 4.0 Configuring Hosts to Access VMware Datastores