Unity and Vmware
Unity and Vmware
NOTE: A NOTE indicates important information that helps you make better use of your product.
CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid
the problem.
WARNING: A WARNING indicates a potential for property damage, personal injury, or death.
© 2017 - 2021 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
Other trademarks may be trademarks of their respective owners.
Contents
Additional resources..................................................................................................................... 5
Chapter 1: Introduction................................................................................................................. 6
System requirements..........................................................................................................................................................6
Managed and generic host objects................................................................................................................................. 6
VMware vSphere versions.................................................................................................................................................7
Contents 3
Chapter 5: Setting up a host to use Unity vVol datastores........................................................... 23
Add the storage system as a VASA provider..............................................................................................................23
Configuring Unity File vVol datastores for the host................................................................................................. 23
Setting up the connection to a File vVol datastore.................................................................................................. 24
Add an iSCSI target for Block vVol datastores.......................................................................................................... 24
Configuring the Unity Block vVol datastores for the host...................................................................................... 24
4 Contents
Preface
As part of an improvement effort, revisions of the software and hardware are periodically released. 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 technical support professional if a
product does not function properly or does not function as described in this document.
Product information
For product and feature documentation or release notes, go to Unity Technical Documentation at: dell.com/unitydocs.
Troubleshooting
For information about products, software updates, licensing, and service, go to Support (registration required) at: dell.com/
support. After logging in, locate the appropriate product page.
Additional resources 5
1
Introduction
This chapter describes high-level host requirements.
Topics:
• System requirements
• Managed and generic host objects
• VMware vSphere versions
System requirements
Before configuring hosts to access the storage system, ensure that the following tasks are completed.
● Install and configure the system using the Initial Configuration wizard.
● Use Unisphere or the CLI to configure NAS servers or interfaces, or iSCSI or Fibre Channel (FC) LUNs, on the storage
system.
6 Introduction
● You are deploying an NFS datastore on a NAS server using NFSv4.0 or later (managed host objects deploy NFS datastores
as the default NFSv3.0).
To use generic host objects, manually set up the connection to the datastores as described in Manually setting up the iSCSI
connection for a Unity VMFS datastore or Manually setting up the connection to a Unity NFS datastore
Introduction 7
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.
Topics:
• Requirements for setting up a host
• Using network high availability
• Configuring Unity NFS datastores for the host
• Manually setting up the connection to a Unity NFS datastore
Network requirements
This topic lists the network requirements for a host attaching to a Unity system.
Ensure that you meet these network requirements:
● The host (client) is in the same LAN environment as the Unity NAS server.
● 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.
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.
Steps
1. Configure the switch ports, which are connected to the Unity system, for LACP in active mode. Refer to the documentation
provided with your switch for details.
2. Join the ports into a link aggregation using Unisphere. To do this:
a. Select the Settings icon, then select Access > Ethernet.
b. Select an Ethernet port, then select Link Aggregation > Create Link Aggregation.
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.
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.
Steps
1. Discover VMware ESXi hosts.
2. Create NFS datastores.
When you create NFS datastores for discovered VMware ESXi hosts, the Unity system automatically configures the hosts to
use the datastores. If you select multiple hosts to have access to the NFS datastore, all the selected hosts are configured
automatically.
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 Manually setting up the connection to a Unity NFS datastore
Next steps
For more information on performing these tasks, refer to the Unisphere online help or Unisphere CLI User Guide.
Steps
1. In Unisphere, as an administrator ensure hosts have access to the NFS datastore.
a. Under Storage, select VMware > Datastores.
b. Select the NFS datastore and click the Edit icon to view its properties.
NOTE: On the Host Access tab, you can choose to configure a default access for all hosts or customized access to
individual hosts. Setting up customized access for hosts overrides default access for those hosts. For an ESXi host
to be able to access an NFS datastore, it must be granted access. Also, in order to use a NAS server enabled for
Kerberos or NFSv4 for Unity NFS datastores, you must manually mount the datastores. Select NFSv4 for Mount
datastore from VMware hosts protocol for these datastores
2. Find the IP address of the NAS server for the NFS datastore. 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.
3. Log in to vSphere as an administrator.
4. For each NFS datastore:
a. From Hosts and Clusters, select the server.
b. From the Actions drop down list, select Storage > New Datastore....
The New Datastore wizard appears.
c. In the New Datastore wizard, do the following:
i. Select NFS as the datastore type.
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
Steps
1. Log in to VMware vSphere Client as administrator.
2. From Hosts and Clusters, select the server with the initiator that you want to configure.
3. Select Configure.
4. Under Storage select Storage Adapters.
5. Select Add Storage Adapter, and then select Add software iSCSI adapter and click OK.
Use the adaptor details section to complete the configuration.
6. Select the iSCSI adapter that you want to configure, and click Properties.
To configure the General and Authentication properties for the iSCSI adapter, click Edit... to the right of the related
settings heading.
7. (Optional) For General properties, click Edit... and enter a user-friendly iSCSI name and an iSCSI alias for the software
iSCSI adaptor, and then click OK.
8. [Generic host objects only] Add target addresses for the software iSCSI adapter:
a. Select Dynamic Discovery and click Add.
b. Add the target’s information and click OK.
c. Click Rescan Adapter.
9. If you want to configure CHAP credentials for the target, access the Storage Adapters page and do the following:
a. Select the adapter and click the Static Discovery tab.
b. Select the iSCSI server from the list and click Authentication.
c. Add the target's CHAP information.
d. Rescan the adapter.
Steps
1. Log in to the vSphere Client as an administrator.
2. From Hosts and Clusters, select the host.
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.
9. Under Port properties, enter the applicable VMkernel port settings and click Next.
The network label is the name that you want to identify the VMkernel port that you are creating.
10. Specify the IP settings and click Next.
11. After you review the summary information, click Finish.
12. Bind the VMkernel adapter that was created in the previous step to the iSCSI software adapter:
a. From Hosts and Clusters, select the host.
b. Select Configure.
c. Under Storage select Storage Adapters.
d. Select Network Port Binding and click Add.
e. Select the VMkernel adapter from the list of adapters and click OK.
Next steps
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:
● Create separate vSwitches for each additional network adapter by repeating the above steps for each additional adapter.
● 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.
4. If you are providing access to hosts that are not registered as ESXi, rescan for the VMFS datastores:
a. From Hosts and Clusters, select the server.
b. Select Configure.
c. Under Storage, select Storage Adapters.
d. Select the iSCSI storage adapter in the list of adapters.
e. Select Rescan Storage....
If the host can see the VMFS datastore, you must set up the host to use the datastore, as described in the next section.
If the host cannot see the VMFS datastore, you may have a problem with the connection between the host and iSCSI target
(iSCSI connection). Refer to iSCSI session troubleshooting for ESXi hosts for additional steps to resolve the problem.
Next steps
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.
A rescan of the storage is required after any change is made to the SAN.
Steps
1. Log in to the vSphere Client as an administrator.
2. From Host and Clusters, select the host with the initiator you want to configure.
3. Select Configure.
4. Under Storage click Storage Adapters.
5. If the Software iSCSI adapter is not listed, click Add Software Adapter, and then select Add software iSCSI adapter.
6. Select the iSCSI adapter that you want to configure, and click Properties.
To configure the General and Authentication settings for the iSCSI adapter, click Edit... to the right of the related
settings heading.
7. (Optional) For General settings, click Edit... and enter a user-friendly iSCSI name and an iSCSI alias for the software iSCSI
adaptor, and then click OK.
Results
The Unity VMFS datastores are configured for the ESXi host.
Steps
1. Verify the connectivity between the host and the target either from the Unity iSCSI interface IP interface or from the ESXi
host:
From the iSCSI IP interface:
a. Select the Settings icon, then select Access > Routing.
b. Select the iSCSI interface and select Ping/Trace.
c. Enter the network name of the host iSCSI adapter, select the IP address from which to send the request, and click Ping.
From the ESXi host:
a. Use vmkping to verify connectivity to the Unity iSCSI interface IP interfaces.
b. If jumbo frames are configured, you should use vmkping with the -s option at a size larger than 1500 to verify that all
network elements are properly configured for jumbo frames.
vmkping -s 9000 <IP_address_of_iSCSI _Server>
Using the IP address avoids name resolution issues.
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.
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.
Installing PowerPath
Steps
1. On the host or virtual machine, download the latest PowerPath version from the PowerPath software downloads section on
the Online Support website.
2. Install PowerPath as described in the appropriate PowerPath installation and administration guide for the host’s or virtual
machine’s operating system.
This guide is available on 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.
3. When the installation is complete, reboot the host or virtual machine.
4. When the host or virtual machine is back up, verify that the PowerPath service has started.
Next steps
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.
If the host can see the VMFS datastore, you must set up the host to use the datastore, as described in the next section.
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.
Steps
1. Log in to the vSphere client as an administrator
2. Rescan for new storage devices:
a. From Hosts and Clusters, select the server.
b. Select the Configure tab.
c. Under Storage, click Storage Adapters.
i. Select the Fiber Channel adapter from the list of adapters.
ii. Select Rescan Storage....
Results
The Unity VMFS datastores are configured for the ESXi host.
Steps
1. In vSphere, go to Networking.
2. Select Configure.
3. Select Storage providers, then select the Add icon.
4. Enter the Name of the storage system. It is recommended that you use the same system name as Unisphere.
5. Enter the VASA provider URL for the Unity system. Use the following format: https://<management IP
address>:8443/vasa/version.xml .
6. Enter the Unisphere credentials and select OK.
NOTE: The credentials must be of a user that has either the Administrator or VMware Administrator role.
Next steps
It may take a few minutes for the registration to complete.
Steps
1. Discover VMware ESXi hosts.
2. Create capability profiles, NAS protocol endpoint servers (vVols-enabled NAS servers), and File vVol datastores. You must
create a vVol-enabled NAS server.
Next steps
For more information on performing these tasks, refer to the Unisphere online help or Unisphere CLI User Guide.
Steps
1. Log into vSphere as an administrator.
2. For each File vVol datastore:
a. From Hosts and Clusters, select the host.
b. From the Actions drop down list, select Storage > New Datastore...
The New Datastore wizard appears.
c. In the New Datastore wizard, do the following:
● Select vVol as the datastore type.
● Specify the datastore name and select a backing storage container from the list of storage containers.
NOTE: Make sure to use the name that does not duplicate another datastore name in your data center
environment. If you mount the same vVols datastore to several hosts, the name of the datastore must be
consistent across all hosts.
● Select the hosts that require access to the datastore.
● Review the configuration options and click Finish.
Steps
1. From Hosts and Clusters, select the server.
2. Select Configure.
3. Under Storage, select Storage Adapters.
4. From the Storage Adapters panel, select the iSCSI software adapter.
5. In the details section of the panel, select Dynamic Discovery and click Add.
The Add Send Target Server dialog box appears.
6. Add the target’s information and click OK.
If the host can see the Block vVol datastore, you must set up the host to use the datastore, as described in the next section.
If the host cannot see the Block vVol datastore, you may have one of the following issues.
● iSCSI: A problem with the connection between the host and iSCSI target (iSCSI connection). Refer to iSCSI session
troubleshooting for ESXi hosts for additional steps to resolve the problem.
● 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.
j. On the summary page, verify the settings and then click Finish.
2. Under VMs, right-click the virtual machine that you want to migrate, select Migrate and click Next.
3. Proceed through the Migrate wizard until you reach the summary page..
4. On the summary page, verify the settings and then click Finish.