Vsphere HTML Host Client 18 Guide
Vsphere HTML Host Client 18 Guide
EN-002314-00
vSphere Single Host Management - VMware Host Client
You can find the most up-to-date technical documentation on the VMware Web site at:
http://www.vmware.com/support/
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to:
[email protected]
Copyright © 2016 VMware, Inc. All rights reserved. Copyright and trademark information.
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
2 VMware, Inc.
Contents
VMware, Inc. 3
vSphere Single Host Management - VMware Host Client
Index 125
4 VMware, Inc.
About vSphere Single Host Management -
VMware Host Client
vSphere Single Host Management - VMware Host Client provides information about managing single hosts with
the VMware Host Client.
The VMware Host Client can be utilized to conduct emergency management when vCenter Server is
unavailable. You can use the VMware Host Client to perform administrative tasks and basic troubleshooting
tasks, as well as advanced administrative tasks.
Intended Audience
This information is intended for anyone who wants to use the VMware Host Client to manage single ESXi
hosts. The information is written for experienced Windows or Linux system administrators who are familiar
with virtual machine technology and datacenter operations.
VMware, Inc. 5
vSphere Single Host Management - VMware Host Client
6 VMware, Inc.
VMware Host Client Overview 1
The VMware Host Client is an HTML5-based client that is used to connect to and manage single ESXi hosts.
You can use the VMware Host Client to perform administrative and basic troubleshooting tasks, as well as
advanced administrative tasks on your target ESXi host. You can also use the VMware Host Client to
conduct emergency management when vCenter Server is not available.
It is important to know that the VMware Host Client is different from the vSphere Web Client, regardless of
their similar user interfaces. You use the vSphere Web Client to connect to vCenter Server and manage
multiple ESXi hosts, whereas you use the VMware Host Client to manage a single ESXi host.
VMware Host Client functions include, but are not limited to the following operations:
n Basic virtualization operations, such as deploying and configuring virtual machines of various
complexity
The following guest operating systems and Web browser versions are supported for the
VMware Host Client.
Table 1‑1. Supported Guest Operating Systems and Browser Versions for the VMware Host Client
Supported Browsers Mac OS Windows Linux
VMware, Inc. 7
vSphere Single Host Management - VMware Host Client
Note The VMware Host Client only works for administrative users.
Procedure
1 In a Web browser enter the target host name or IP address using the form http://host-name/ui or
http://host-IP-address/ui.
4 Review the VMware Customer Experience Improvement Program (CEIP) page and choose whether you
want to join the program.
To learn about the program and how to configure it at any time, see “Configuring Customer Experience
Improvement Program,” on page 9.
5 Click OK.
Note Closing a VMware Host Client session does not stop the host.
Procedure
u To log out of the ESXi host, click the user name at the top of the VMware Host Client window and select
Log out from the drop-down menu.
You are now logged out of the VMware Host Client. Your target ESXi host continues to run all its
normal activities.
8 VMware, Inc.
Chapter 1 VMware Host Client Overview
Details regarding the data collected through CEIP and the purposes for which it is used by VMware are set
forth at the Trust & Assurance Center at http://www.vmware.com/trustvmware/ceip.html. To join or leave
the CEIP for this product, see “Leave and Rejoin the Customer Experience Improvement Program in the
VMware Host Client,” on page 9.
Procedure
1 To leave and rejoin the CEIP, click the user name at the top of the VMware Host Client page.
2 Point to Client settings> Send usage statistics, to leave or rejoin the CEIP.
VMware, Inc. 9
vSphere Single Host Management - VMware Host Client
10 VMware, Inc.
Host Management with the
VMware Host Client 2
With the VMware Host Client, you can manage single ESXi hosts during vCenter Server upgrades or when
vCenter Server stops responding or becomes unavailable.
The VMware Host Client has a crucial set of troubleshooting functions, which allow you to perform tasks on
the ESXi host that you are logged in to if vCenter Server is unavailable. These functions include but are not
limited to configuring advanced host settings, licensing, managing certificates, using the ESXi Shell,
enabling Lockdown mode, and so on.
n “Managing Hardware for an ESXi Host by Using the VMware Host Client,” on page 13
n “Managing Security and Users for an ESXi Host by Using the VMware Host Client,” on page 17
n “Reboot or Shut Down an ESXi Host in the VMware Host Client,” on page 23
VMware, Inc. 11
vSphere Single Host Management - VMware Host Client
Caution Changing advanced options is considered unsupported unless VMware technical support or a KB
article instruct you to do so. In all other cases, changing these options is considered unsupported. In most
cases, the default settings produce the optimum result.
Procedure
1 Click Manage in the VMware Host Client inventory and click System.
2 Click Advanced settings.
3 Right-click the appropriate item from the list and select Edit option from the drop-down menu.
5 (Optional) Right-click the appropriate item from the list and select Reset to default to go back to the
original settings of the item.
Procedure
1 Click Manage in the VMware Host Client inventory and click System.
2 Click Autostart.
Procedure
1 Click Manage in the VMware Host Client inventory and click System.
12 VMware, Inc.
Chapter 2 Host Management with the VMware Host Client
4 Select an option for setting the time and date of the host.
Option Description
Manually configure the date and Set the time and date for the host manually.
time on this host
Use Network Time Protocol (Enable Synchronize the time and date of the host with an NTP server. The NTP
NTP client) service on the host periodically takes the time and date from the NTP
server.
a In the NTP Servers text box, enter the IP addresses or host names of
the NTP servers that you want to use.
b From the NTP Service Startup Policy drop-down menu, select an
option for starting and stopping the NTP service on the host.
n Start and stop with port usage. Starts or stops the NTP service
when the NTP client port is enabled or disabled for access in the
security profile of the host.
n Start and stop with host. Starts and stops the NTP service when
the host powers on and shuts down.
n Start and stop manually. Enables manual starting and stopping of
the NTP service.
You can use the Start, Stop, or Restart buttons to control the status of the
NTP service on the host at any time regardless of the selected startup
policy for the NTP service. If you select the Start and stop manually policy,
the status of the NTP service only changes when you use the UI controls.
Selecting a high-performance policy provides more absolute performance, but at lower efficiency and
performance per watt. Low-power policies provide less absolute performance, but at higher efficiency.
You can select a policy for the host that you manage by using the VMware Host Client. If you do not select a
policy, ESXi uses Balanced by default.
VMware, Inc. 13
vSphere Single Host Management - VMware Host Client
When a CPU runs at lower frequency, it can also run at lower voltage, which saves power. This type of
power management is typically called Dynamic Voltage and Frequency Scaling (DVFS). ESXi attempts to
adjust CPU frequencies so that virtual machine performance is not affected.
When a CPU is idle, ESXi can apply deep halt states, also known as C-states. The deeper the C-state, the less
power the CPU uses, but it also takes longer for the CPU to start running again. When a CPU becomes idle,
ESXi applies an algorithm to predict the idle state duration and chooses an appropriate C-state to enter. In
power management policies that do not use deep C-states, ESXi uses only the shallowest halt state for idle
CPUs, C1.
Procedure
1 Click Manage in the VMware Host Client inventory and click Hardware.
3 Select the radio button next to the policy that you want to apply.
4 Click OK.
To license an ESXi host, you must assign it a vSphere license that meets the following prerequisites:
n The license must have sufficient CPU capacity to license all physical CPUs on the host. For example, to
license two ESXi hosts that have four CPUs each, you need to assign a vSphere license with a minimum
capacity of 8 CPUs to the hosts.
n The license must support all the features that the host uses. For example, if the host is associated with a
vSphere Distributed Switch, the license that you assign must support the vSphere Distributed Switch
feature.
If you attempt to assign a license that has insufficient capacity or does not support the features that the host
uses, the license assignment fails.
You can assign and reassign the CPU capacity of a vSphere license to any combination of ESXi hosts. . You
can assign a vSphere license for 10 CPUs to any of the following combinations of hosts:
Dual-core and quad-core CPUs, such as Intel CPUs that combine two or four independent CPUs on a single
chip, count as one CPU.
14 VMware, Inc.
Chapter 2 Host Management with the VMware Host Client
Evaluation Mode
When you install ESXi, its default license is evaluation mode. Evaluation mode licenses expire after 60 days.
An evaluation mode license provides the set of features that equals the highest vSphere product edition.
If you assign a license to an ESXi host before its evaluation period expires, the time available in the
evaluation period is decreased by the time already used. To explore the entire set of features that are
available for the host, you can set it back to evaluation mode, and use it for the remaining evaluation period.
For example, if you use an ESXi host in evaluation mode for 20 days and then assign a vSphere Standard
license to the host and then set the host back to evaluation mode, you can explore the entire set of features
that are available for the host for the remaining evaluation period of 40 days.
If you upgrade an ESXi host to a version that starts with a different number, you must apply a new license.
For example, if you upgrade an ESXi host from 5.x to 6.x, you need to license the host with a vSphere 6
license.
vSphere Desktop
vSphere Desktop is intended for VDI environments such as Horizon View. The license usage for vSphere
Desktop equals the total number of powered on desktop virtual machines running on the hosts that are
assigned a vSphere Desktop license.
Procedure
u Click Manage in the VMware Host Client inventory and click Licensing.
You can view the license key, the expiration date, and all the available features and assets.
Prerequisites
Verify that you have the Global.Licenses privilege.
Note If you use vCenter Server to manage your ESXi host, you can only change your licenses from the
vSphere Web Client.
VMware, Inc. 15
vSphere Single Host Management - VMware Host Client
Procedure
1 Click Manage in the VMware Host Client inventory and click Licensing.
2 Click Assign license, enter a license key in the form XXXXX-XXXXX-XXXXX-XXXXX-XXXXX, and click Check
license.
3 Click Assign license to save your changes.
For example, suppose that you have upgraded a vSphere license from 5.5 to 6.0 in My VMware. You assign
the license to ESXi 6.0 hosts. After assigning the new vSphere 6.0 licenses, you must remove the old vSphere
5.5 license from the inventory.
Procedure
1 Click Manage in the VMware Host Client inventory and click Licensing.
Procedure
1 Click Manage in the VMware Host Client inventory and click Services.
n Restart
n Start
n Stop
4 (Optional) From the Actions drop-down menu, select Policy and select an option for the service from
the menu.
16 VMware, Inc.
Chapter 2 Host Management with the VMware Host Client
Join an ESXi Host to a Directory Service Domain by Using the VMware Host Client
To use a directory service for your host, you must join the host to the directory service domain.
n name.tld (for example, domain.com): The account is created under the default container.
Procedure
1 Click Manage in the VMware Host Client inventory and click Security & Users.
4 Enter the user name and password of a directory service user account that has permissions to join the
host to the domain and click Join domain.
5 (Optional) If you intend to use an authentication proxy, enter the proxy server IP address and click Join
domain.
Creating local user accounts on each host presents challenges with having to synchronize account names
and passwords across multiple hosts. Join ESXi hosts to an Active Directory domain to eliminate the need to
create and maintain local user accounts. Using Active Directory for user authentication simplifies the ESXi
host configuration and reduces the risk for configuration issues that could lead to unauthorized access.
When you use Active Directory, users supply their Active Directory credentials and the domain name of the
Active Directory server when adding a host to a domain.
VMware, Inc. 17
vSphere Single Host Management - VMware Host Client
vSphere Authentication Proxy is especially useful when used with Auto Deploy. You can set up a reference
host that points to Authentication Proxy and set up a rule that applies the reference host's profile to any
ESXi host provisioned with Auto Deploy. Even if you use vSphere Authentication Proxy in an environment
that uses certificates that are provisioned by VMCA or third-party certificates, the process works seamlessly
as long as you follow the instructions for using custom certificates with Auto Deploy. See the vSphere
Security guide.
Note You cannot use vSphere Authentication Proxy in an environment that supports only IPv6.
View Certificate Details for an ESXi Host in the VMware Host Client
For ESXi 6.0 and later, hosts that are in VMCA mode or custom mode, you can view certificate details when
you are logged in to the host with the VMware Host Client. The certificate information can be useful for
debugging.
Procedure
1 Click Manage in the VMware Host Client inventory and click Security & Users.
2 Click Certificates.
Field Description
Issuer The issuer of the certificate.
Not valid after Date on which the certificate expires.
Not valid before Date on which the certificate is generated.
Subject The subject used during certificate generation.
Import a New Certificate for an ESXi Host in the VMware Host Client
You can import a certificate from a trusted certificate authority when you are logged in to an ESXi host with
the VMware Host Client.
Procedure
1 Click Manage in the VMware Host Client inventory and click Security & Users.
3 Generate a certificate signing request, which is either an FQDN signing request or an IP signing request.
The certificate signing request is then passed to the certificate authority to generate the official
certificate.
An FQDN request has the fully qualified hostname of the host in the resulting common name field of
the certificate. The IP signing request has the current IP address of the host in the common name field.
18 VMware, Inc.
Chapter 2 Host Management with the VMware Host Client
4 Paste a PEM formatted certificate in the certificate text box and click Import.
You do not have to import the certificate immediately but you cannot reboot the host between
generating the certificate signing request and importing the certificate.
Users and roles control who has access to the ESXi host components and what actions each user can
perform.
In vSphere 5.1 and later, ESXi user management has the following caveats .
n The users created when you connect directly to an ESXi host are not the same as the vCenter Server
users. When the host is managed by vCenter Server, vCenter Server ignores users created directly on
the host.
n You cannot create ESXi users by using the vSphere Web Client. You must log in to the host directly with
the VMware Host Client to create ESXi users .
n ESXi 5.1 and later does not support local groups. However, Active Directory groups are supported.
To prevent anonymous users, such as root, from accessing the host with the Direct Console User Interface
(DCUI) or ESXi Shell, remove the user's administrator privileges on the root folder of the host. This applies
to both local users and Active Directory users and groups.
Prerequisites
Review the password requirements in the vSphere Security documentation.
Procedure
1 Log in to ESXi with the VMware Host Client.
You cannot create ESXi users with the vSphere Web Client. You must directly log in to the host with the
VMware Host Client to create ESXi users.
2 Click Manage in the VMware Host Client inventory and click Security & Users.
3 Click Users.
4 ClickAdd user.
Note Do not create a user named ALL. Privileges associated with the name ALL might not be available
to all users in some situations. For example, if a user named ALL has Administrator privileges, a user
with the ReadOnly privileges might be able to log in to the host remotely. This is not the intended
behavior.
n Create a password that meets the length and complexity requirements. The host checks for
password compliance using the default authentication plug-in, pam_passwdqc.so. If the password is
not compliant, an error message indicates password requirements.
6 Click Add.
VMware, Inc. 19
vSphere Single Host Management - VMware Host Client
Procedure
1 Click Manage in the VMware Host Client inventory and click Security & Users.
2 Click Users.
Remove a Local ESXi User from a Host in the VMware Host Client
You can remove a local ESXi user from the host.
If you remove a user from the host, they lose permissions to all objects on the host and cannot log in again.
Note Users who are logged in and are removed from the domain keep their host permissions until you
restart the host.
Procedure
1 Click Manage in the VMware Host Client inventory and click Security & Users.
2 Click Users.
3 Select the user that you want to remove from the list, click Remove user, and click Yes.
ESXi hosts provide three default roles, and you cannot change the privileges associated with these roles.
Each subsequent default role includes the privileges of the previous role. For example, the Administrator
role inherits the privileges of the Read Only role. Roles that you create do not inherit privileges from any of
the default roles.
You can create custom roles by using the role-editing dunctions in the VMware Host Client to create
privilege sets that match your user needs. Also, the roles you create directly on a host are not accessible in
vCenter Server. You can work with these roles only if you log in to the host directly from the
VMware Host Client.
Note When you add a custom role and do not assign any privileges to it, the role is created as a read-only
role with the System.Anonymous, System.View, and System.Read system-defined privilege.
If you manage an ESXi host through vCenter Server, maintaining custom roles in the host and
vCenter Server can result in confusion and misuse. In this type of configuration, maintain custom roles only
in vCenter Server.
You can create host roles and set permissions through a direct connection to the ESXi host with the
VMware Host Client.
20 VMware, Inc.
Chapter 2 Host Management with the VMware Host Client
Prerequisites
Verify that you are logged in as a user with Administrator privileges, such as root or vpxuser.
Procedure
1 Click Manage in the VMware Host Client inventory and click Security & Users.
2 Click Roles.
5 Select privileges from the list to associate with the new role and click Add.
Prerequisites
Verify that you are logged in as a user with Administrator privileges, such as root or vpxuser.
Procedure
1 Click Manage in the VMware Host Client inventory and click Security & Users.
2 Click Roles.
Caution You must understand how users will be affected before removing all assignments or replacing
them. Users who have no permissions granted to them cannot log in.
Prerequisites
Verify that you are logged in as a user with Administrator privileges, such as root or vpxuser.
Procedure
1 Click Manage in the VMware Host Client inventory and click Security & Users.
2 Click Roles.
3 Select the name of the role that you want to remove from the list.
4 Click Remove role, select Remove only if unused, and click Yes.
VMware, Inc. 21
vSphere Single Host Management - VMware Host Client
For information about configuration management of ESXi hosts, see the vSphere Networking documentation,
the vSphere Storage documentation, and the vSphere Security documentation.
If you provide a VIB, an existing VIB that is installed to your VMware Host Client environment is updated
to the new VIB.
If a link to a metadata.zip file is provided, the entire ESXi system is updated to the version described by the
metadata.zip file.
Caution If the host is managed by vSphere Update Manager, updating the host via this message might
cause Update Manager to report the host as non-compliant.
Procedure
1 Click Manage in the VMware Host Client and click Packages.
2 Click Install update and enter the URL of the VIB or a metadata.zip file.
3 Click Update.
Unable to Connect from the VMware Host Client to an ESXi Host after
Upgrading to ESXi 6.0 or Later
After you upgrade your host from ESXi 5.5 to ESXi 6.0 or later, your browser console might display an error
message when you attempt to access your ESXi host by using the VMware Host Client, and your connection
might fail.
Problem
After you upgrade your ESXi host from 5.5 to 6.0 or later, attempting to navigate to http://host-name/ui or
http://host-IP-address/ui might result in the following error:
Cause
A change to /etc/vmware/rhttpproxy/endpoints.conf remains after an upgrade and causes the /ui endpoint
to override the VMware Host Client.
When the /ticket is missing from the endpoint.conf file on your 6.0 or later ESXi host, your in-browser
virtual machine console displays a Failed to connect error message but the VMware Remote Console
continues to work.
Solution
1 Log in to your ESXi host either by using SSH or ESXi Shell.
If you use SSH, you might need to enable SSH first. You can enable SSH by using DCUI.
22 VMware, Inc.
Chapter 2 Host Management with the VMware Host Client
cp
/etc/vmware/rhttpproxy/endpoints.conf /tmp
3 Open the /etc/vmware/rhttpproxy/endpoints.conf file in an editor and add the following line.
/etc/init.d/rhttpproxy restart
Procedure
1 Right-click Host in the VMware Host Client inventory and select Manage with vCenter Server from the
drop-down menu.
The vCenter Server login page opens in a new window.
Disconnect an ESXi Host from vCenter Server by Using the VMware Host Client
If you no longer want to use the advanced set of capabilities available throughvCenter Server for host
management, or if vCenter Server has failed and you must perform emergency operations on the host, you
can disconnect your ESXi host from vCenter Server.
Procedure
1 Right-click Host in the VMware Host Client inventory and select Disconnect from vCenter Server from
the pop-up menu.
Note Disconnecting a host signals vCenter Server that this host is not responding.
Prerequisites
To be able to reboot or shut down a host, you need these privileges.
n Host.Configuration.Maintenance
n Global.Log event
Always perform the following tasks before you reboot or shut down a host:
VMware, Inc. 23
vSphere Single Host Management - VMware Host Client
Procedure
1 Right-click the host, select Shut down host or Reboot host.
Note If the host is not in maintenance mode, shutting down or rebooting it does not stop the virtual
machines that are running on this host safely and unsaved data may be lost. If the host is part of a
Virtual SAN cluster, you might lose access to the Virtual SAN data on the host.
Enable the ESXi Shell for troubleshooting only. The ESXi Shell is independent of in lockdown mode. The
host running in lockdown mode does not prevent you from enabling or disabling the ESXi Shell.
ESXi Shell Enable this service to access the ESXi Shell locally.
SSH Enable this service to access the ESXi Shell remotely by using SSH.
See vSphere Security.
The root user and users with the Administrator role can access the ESXi Shell. Users who are in the Active
Directory group ESX Admins are automatically assigned the Administrator role. By default, only the root
user can run system commands (such as vmware -v) by using the ESXi Shell.
Note Do not enable the ESXi Shell unless you actually need access.
Procedure
1 To enable or disable the Secure Shell (SSH), right-click Host in the VMware Host Client inventory.
2 Select Services from the drop-down menu and select Secure Shell (SSH).
3 Select a task to perform.
Procedure
1 To enable or disable the Console Shell, right-click Host in the VMware Host Client inventory.
2 Select Services from the drop-down menu and select Console Shell.
24 VMware, Inc.
Chapter 2 Host Management with the VMware Host Client
The host is in a state of Entering Maintenance Mode until all running virtual machines are powered off or
migrated to different hosts. You cannot power off virtual machines or migrate virtual machines to a host that
is entering or in maintenance mode.
To place a host in maintenance mode, all virtual machines that are running on the host must be powered off
or migrated to different hosts. If you attempt to place a host that has running virtual machines on it in
maintenance mode, DRS must power off or migrate the running virtual machines for the task to complete. If
a time out occurs before the virtual machines are powered off or migrated, an error message appears.
When all virtual machines on the host are inactive, the host's icon displays under maintenance and the
host's Summary panel indicates the new state. While in maintenance mode, the host does not allow you to
deploy or power on a virtual machine.
Prerequisites
Before you place a host in maintenance mode, power off all virtual machines that are running on that host or
migrate them to another host either manually or automatically by DRS.
Procedure
u Right-click the host and select Enter maintenance mode.
The host is in maintenance mode until you select Exit maintenance mode.
For example, to configure memory for the host, a user must be granted a role that includes the
Host.Configuration.Memory Configuration privilege. By assigning different roles to users for different
objects, you can control the tasks that users can perform by using the VMware Host Client.
When connecting directly to a host with the VMware Host Client, the root and vpxuser user accounts have
the same access rights as any user assigned the Administrator role on all objects.
All other users initially have no permissions on any object, which means the users cannot view or perform
tasks on these objects. A user with Administrator privileges must assign permissions to these users to allow
them to perform tasks.
Many tasks require permissions on more than one object. The following rules can help you determine which
roles to assign to users to allow particular tasks:
n Any task that consumes hard disk space, such as creating a virtual disk or taking a snapshot, requires
the Datastore.Allocate Space privilege on the target datastore and the privilege to perform the
operation itself.
n Each host and cluster has its own implicit resource pool that contains all the resources of that host or
cluster. Deploying a virtual machine directly to a host or cluster requires the Resource.Assign Virtual
Machine to Resource Pool privilege.
VMware, Inc. 25
vSphere Single Host Management - VMware Host Client
The list of privileges is the same for both ESXi and vCenter Server.
You can create roles and set permissions through a direct connection to the ESXi host.
Permission Validation
vCenter Server and ESXi hosts that use Active Directory regularly validate users and groups against the
Windows Active Directory domain. Validation occurs whenever the host system starts and at regular
intervals specified in the vCenter Server settings.
For example, if user Smith was assigned permissions and in the domain the user’s name was changed to
Smith2, the host concludes that Smith no longer exists and removes permissions for that user when the next
validation occurs.
Similarly, if user Smith is removed from the domain, all permissions are removed when the next validation
occurs. If a new user Smith is added to the domain before the next validation occurs, the new user Smith
receives all the permissions the old user Smith was assigned.
Assign Permissions to a User for an ESXi Host in the VMware Host Client
In order to perform particular activities on an ESXi host, a user must have permissions that are associated
with a particular role. In the VMware Host Client you can assign roles to users and give the users the
permissions necessary to perform various tasks on the host.
Procedure
1 Right-click Host in the VMware Host Client inventory and click Permissions.
3 Click the arrow next to the Select a user text box and select the user that you would like to assign a role
to.
4 Click the arrow next to the Select a role text box and select a role from the list.
If you set a permission at a vCenter Server level and propagate it to the children objects, the permission
applies to data centers, folders, clusters, hosts, virtual machines, and other objects in the vCenter Server
instance.
Procedure
1 Right-click Host in the VMware Host Client inventory and click Permissions.
3 Click Close.
26 VMware, Inc.
Chapter 2 Host Management with the VMware Host Client
Assign a User Permissions for a Virtual Machine in the VMware Host Client
Assign a role to a particular user to give that user permissions to perform specific tasks on a virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
4 Click the arrow next to the Select a user text box and select the user that you want to assign a role for.
5 Click the arrow next to the Select a role text box and select a role from the list.
If you set a permission at a vCenter Server level and propagate it to the children objects, the permission
applies to data centers, folders, clusters, hosts, virtual machines, and similar objects in the
vCenter Server instance.
Removing a permission for a user does not remove the user from the list of users available. It also does not
remove the role from the list of available items. It removes the user and role pair from the selected inventory
object.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
4 Click Close.
Procedure
1 Right-click Host in the VMware Host Client inventory and select Generate support bundle from the
drop-down menu.
A dialog that contains a link to download the bundle pops up when the support bundle is created.
2 (Optional) Click Monitor in the VMware Host Client inventory, click Tasks and click a log bundle from
the list.
You can view the link to the log bundle under the table.
VMware, Inc. 27
vSphere Single Host Management - VMware Host Client
Lockdown Mode
To increase the security of your ESXi hosts, you can put them in lockdown mode. In lockdown mode,
operations must be performed through vCenter Server by default.
Normal Lockdown Mode In normal lockdown mode, the DCUI service remains active. If the
connection to the vCenter Server system is lost, and access through the
vSphere Web Client is unavailable, privileged accounts can log in to the ESXi
host's Direct Console Interface and exit lockdown mode. Only the following
accounts can access the Direct Console User Interface:
n Accounts in the Exception User list for lockdown mode who have
administrative privileges on the host. The Exception Users list is meant
for service accounts that perform specific tasks. Adding ESXi
administrators to this list defeats the purpose of lockdown mode.
n Users defined in the DCUI.Access advanced option for the host. This
option is for emergency access to the Direct Console Interface in case the
connection to vCenter Server is lost. These users do not require
administrative privileges on the host.
Strict Lockdown Mode In strict lockdown mode, the DCUI service is stopped. If the connection to
vCenter Server is lost and the vSphere Web Client is no longer available, the
ESXi host becomes unavailable, unless the ESXi Shell and SSH services are
enabled and Exception Users are defined. If you cannot restore the
connection to the vCenter Server system, you must reinstall the host.
When a host is in lockdown mode, users on the Exception Users list can access the host from the ESXi Shell
and through SSH if they have the Administrator role on the host. This access is possible even in strict
lockdown mode. Leaving the ESXi Shell service and the SSH service disabled is the most secure option.
Note The Exception Users list is meant for service accounts that perform specific tasks such as host
backups, and not for administrators. Adding administrator users to the Exception Users list defeats the
purpose of lockdown mode.
Put an ESXi Host in Normal Lockdown Mode by Using the VMware Host Client
You can use the VMware Host Client to enter normal lockdown mode.
Procedure
1 Right-click Host in the VMware Host Client inventory, select Lockdown mode from the drop-down
menu, and select Enter normal lockdown.
28 VMware, Inc.
Chapter 2 Host Management with the VMware Host Client
Put an ESXi Host in Strict Lockdown Mode by Using the VMware Host Client
You can use the VMware Host Client to enter strict lockdown mode.
Procedure
1 Right-click Host in the VMware Host Client inventory, select Lockdown mode from the drop-down
menu, and select Enter strict lockdown.
Procedure
u Right-click Host in theVMware Host Client inventory, select Lockdown mode from the drop-down
menu, and select Exit lockdown.
Exception users are host local users or Active Directory users with privileges defined locally for the ESXi
host. They are not members of an Active Directory group and are not vCenter Server users. These users are
allowed to perform operations on the host based on their privileges. That means, for example, that a read-
only user cannot disable lockdown mode on a host.
Note The exception users list is useful for service accounts that perform specific tasks, such as host
backups, and not for administrators. Adding administrator users to the exception users list defeats the
purpose of lockdown mode.
Procedure
1 Click Manage in the VMware Host Client inventory and click Security & Users.
3 Click Add user exception, enter the name of the user, and click Add exception.
4 (Optional) Select a name from the exception users list, click Remove user exception, and click Confirm.
Procedure
1 Click Host in the VMware Host Client inventory.
VMware, Inc. 29
vSphere Single Host Management - VMware Host Client
You can view the information about the number and type of physical processors, and the number of
logical processors.
Prerequisites
Power off the virtual machine.
Procedure
1 Right-click the virtual machine in the VMware Host Client inventory and select Edit settings.
3 Under Scheduling Affinity, select physical processor affinity for the virtual machine.
To reduce memory consumption, the VMware Host Client only contains statistics for the last hour.
Procedure
1 Click Monitor in the VMware Host Client and click Performance.
2 (Optional) To view the host usage for the last hour, select an option from the drop-down menu.
n To view the percentage of CPU that the host used during the last hour, select CPU.
n To view the percentage of memory that the host consumed during the last hour, select Memory.
u To view the memory and CPU composite that the host consumed during the last hour, select CPU +
memory composite.
u To view the percentage of network that the host consumed during the last hour, select Network.
u To view the disk usage that the host consumed during the last hour, select Disk.
Note Hardware health status is only available when the underlying hardware supports it.
30 VMware, Inc.
Chapter 2 Host Management with the VMware Host Client
Procedure
1 Click Monitor in the VMware Host Client inventory and click Hardware.
3 (Optional) Use the filter controls above the list to filter the list.
4 (Optional) Click a column heading to sort the list.
Prerequisites
Required privilege: Read-only.
Procedure
u Click Monitor in the VMware Host Client inventory and click Events.
b (Optional) Use the filter controls above the list to filter the list.
c (Optional) Click a column heading to sort the list.
Procedure
u Click Monitor in the VMware Host Client inventory and click Tasks.
b (Optional) Use the filter controls above the list to filter the list.
Procedure
1 Click Monitor in the VMware Host Client inventory and click Logs.
The list of logs is displayed.
VMware, Inc. 31
vSphere Single Host Management - VMware Host Client
Procedure
1 Click Monitor in the VMware Host Client inventory and click Notifications.
A message with a recommended action and a description is displayed under the notifications list.
32 VMware, Inc.
Virtual Machine Management with the
VMware Host Client 3
Virtual machines can be configured like physical computers and can perform the same tasks as physical
computers. Virtual machines also support special features that physical computers do not support.
You can use the VMware Host Client to create, register, and manage virtual machines, and to conduct daily
administrative and troubleshooting tasks.
n “Deploying a Virtual Machine from an OVF or OVA File in the VMware Host Client,” on page 37
When you create a virtual machine, you associate it with a particular datastore and select an operating
system and virtual hardware options . After you power on the virtual machine, it consumes resources
dynamically as the workload increases, or returns resources dynamically as the workload decreases.
Every virtual machine has virtual devices that provide the same function as physical hardware. A virtual
machine gets CPU and memory, access to storage, and network connectivity from the host it runs on.
1 Start the Virtual Machine Creation Process in the VMware Host Client on page 34
You use the New Virtual Machine wizard to create a virtual machine to place in the
VMware Host Client inventory.
2 Select a Method for Adding a New Virtual Machine on the Host with the VMware Host Client on
page 35
You use the Select creation type page of the New Virtual Machine wizard to create a new virtual
machine, deploy a virtual machine from an OVF or OVA file, or register an existing virtual machine.
VMware, Inc. 33
vSphere Single Host Management - VMware Host Client
3 Select a Name and a Guest Operating System for the Virtual Machine in the VMware Host Client on
page 35
When you create a new virtual machine, provide a unique name for the virtual machine to distinguish
it from existing virtual machines on the host you are managing. After you select a guest operating
system, the wizard provides the appropriate defaults for the operating system installation.
4 Select a Storage for Your Virtual Machine in the VMware Host Client on page 35
Select the datastore or datastore cluster to store the virtual machine configuration files and all of the
virtual disks in. You can select the datastore that has the most suitable properties, such as size, speed,
and availability, for your virtual machine storage.
5 Customize the Virtual Machine Settings in the VMware Host Client on page 36
Before you deploy a new virtual machine, you have the option to configure the virtual machine
hardware and the virtual machine options.
Start the Virtual Machine Creation Process in the VMware Host Client
You use the New Virtual Machine wizard to create a virtual machine to place in the VMware Host Client
inventory.
The selections you make in the New Virtual Machine wizard are not saved until you click Finish on the
Ready to Complete page. If you close the wizard without completing all tasks, you cannot resume the
wizard where you left off. You must start a new creation task.
Prerequisites
Verify that you have the VirtualMachine.Inventory.Create privileges.
Depending on the properties of the virtual machine you want to create, you might need the following
additional privileges:
n VirtualMachine.Config.AddNewDisk if including a virtual disk device that creates a new virtual disk
file (not RDM).
n Datastore.AllocateSpace required on all datastores where the virtual machine and its virtual disks are
created.
n Network.Assign required on the network which is assigned to the new virtual machine that is being
created.
34 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
Procedure
u Right-click Host in the VMware Host Client inventory and select Create/Register VM.
Select a Method for Adding a New Virtual Machine on the Host with the
VMware Host Client
You use the Select creation type page of the New Virtual Machine wizard to create a new virtual machine,
deploy a virtual machine from an OVF or OVA file, or register an existing virtual machine.
Procedure
u Select a creation type and click Next.
Option Description
Create a new virtual machine Creates a new virtual machine. You can customize processors, memory,
network connections, and storage. You will need to install a guest
operating system after you create the VM.
Deploy a virtual machine from an Deploys a virtual machine from an OVF and VMDK files.
OVF or OVA file OVA deployment is currently limited to files under 1 gigabyte in size due
to Web browser limitations.
If you want to deploy an OVA greater than 1 gigabyte, extract the OVA
using tar and provide the OVF and VMDK files separately.
Register an existing virtual machine Registers a virtual machine that already exists on a datastore.
Select a Name and a Guest Operating System for the Virtual Machine in the
VMware Host Client
When you create a new virtual machine, provide a unique name for the virtual machine to distinguish it
from existing virtual machines on the host you are managing. After you select a guest operating system, the
wizard provides the appropriate defaults for the operating system installation.
The following procedure applies if you want to create a new virtual machine.
Procedure
1 Enter a name for your virtual machine.
2 Select the virtual machine compatibility from the Compatibility drop-down menu.
3 Select the guest operating system family from the Guest OS family drop-down menu.
4 Select a guest operating system version from the Guest OS version drop-down menu.
5 Click Next.
Select a Storage for Your Virtual Machine in the VMware Host Client
Select the datastore or datastore cluster to store the virtual machine configuration files and all of the virtual
disks in. You can select the datastore that has the most suitable properties, such as size, speed, and
availability, for your virtual machine storage.
Procedure
1 In the list of accessible datastores, on the Select storage page of the New Virtual Machine wizard, click
the destination datastore that you want to store the virtual machine configuration files and all of the
virtual disks in.
2 Click Next.
VMware, Inc. 35
vSphere Single Host Management - VMware Host Client
For information about virtual machine options and virtual disk configuration, including instructions for
adding different types of devices, see vSphere Virtual Machine Administration.
Procedure
1 Configure the virtual machine hardware settings on the Virtual Hardware tab of the Customize settings
page in the New Virtual Machine wizard.
2 (Optional) To add a new virtual hardware device, select the device from the Add other device drop-
down menu on the Customize settings page of the New Virtual Machine wizard.
Option Description
CPU The CPU or processor is the portion of a computer system that carries out
the instructions of a computer program and is the primary element
carrying out the computer's functions. CPUs contain cores. The number of
virtual CPUs that are available to a virtual machine depends on the
number of licensed CPUs on the host, and the number of CPUs supported
by the guest operating system. To use the VMware multicore virtual CPUs
feature, you must comply with the requirements of the guest operating
system EULA.
Memory You can add, change, or configure virtual machine memory resources or
options to enhance virtual machine performance. You can set most of the
memory parameters during virtual machine creation or after the guest
operating system is installed. The memory resource settings for a virtual
machine determine how much of the host's memory is allocated to the
virtual machine. The virtual hardware memory size determines how much
memory is available to applications that run in the virtual machine.
Hard disk You can add large-capacity virtual disks to virtual machines and add more
space to existing disks, even when the virtual machine is running. You can
set most of the virtual disk parameters during virtual machine creation or
after you install the guest operating system.
SCSI controller Storage controllers appear to a virtual machine as different types of SCSI
controllers, including BusLogic Parallel, LSI Logic Parallel, LSI Logic SAS,
and VMware Paravirtual SCSI. You can set the type of SCSI bus sharing for
a virtual machine and indicate whether the SCSI bus is shared. Depending
on the type of sharing, virtual machines can access the same virtual disk
simultaneously on the same server or on any server. You can change the
SCSI controller configuration for a virtual machine on an ESXi host only.
SATA controller If a virtual machine has multiple hard disks or CD/DVD-ROM devices,
you can add up to three additional SATA controllers to assign the devices
to. When you spread the devices among several controllers, you can
improve performance and avoid data traffic congestion. You can also add
additional controllers if you exceed the thirty-device limit for a single
controller. You can boot virtual machines from SATA controllers and use
them for large-capacity virtual hard disks.
36 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
Option Description
Network adapter When you configure a virtual machine, you can add network adapters
(NICs) and specify the adapter type. The type of network adapters that are
available depend on the following factors:
n The virtual machine compatibility, which depends on the host that
created or most recently updated it.
n Whether the virtual machine compatibility has been updated to the
latest version for the current host.
n The guest operating system.
CD/DVD drive You can configure DVD or CD devices to connect to client devices, host
devices, or Datastore ISO files.
This option appears only for virtual hardware that you can remove safely.
5 Configure the virtual machine options on the VM Options tab of the Customize settings page in the
New Virtual Machine wizard.
6 Click Next.
Procedure
1 On the Ready to complete page of the New Virtual Machine wizard, review the configuration settings
for the virtual machine.
3 (Optional) Click Cancel to discard the creation task and close the wizard.
4 Click Finish to complete the creation task and close the wizard.
The virtual machine appears in the VMware Host Client inventory under Virtual Machines.
What to do next
Before you can use the new virtual machine, you must partition and format the virtual drive, install a guest
operating system, and install VMware Tools. Typically, the operating system's installation program handles
partitioning and formatting the virtual drive.
You can map the virtual machine's CDROM/DVD to an ISO file and start the virtual machine. This triggers
the operating system install.
1 OVF and OVA Limitations for the VMware Host Client on page 38
You can create a virtual machine in the VMware Host Client by using OVF and VMDK files, or OVA
files. However, several limitations are applicable to this deployment method .
VMware, Inc. 37
vSphere Single Host Management - VMware Host Client
2 Deploy a Virtual Machine from an OVF or OVA File in the VMware Host Client on page 38
Use the New Virtual Machine wizard to deploy virtual machines from OVF and VMDK files, or from
OVA files.
3 Select OVF and VMDK, or OVA Files to Deploy in the VMware Host Client on page 39
Select the OVF and VMDK files, or OVA file for the virtual machine that you would like to deploy.
5 Complete the Deployment of a Virtual Machine from an OVF or OVA File in the VMware Host Client
on page 39
In the Ready to complete page, review the configuration selections that you made for the virtual
machine.
OVA Limitations
You can upload OVA files by using either a Web browser or a client. The memory requirements are
significant and might cause the Web browser to stop responding or make the system unstable. The size of
the OVA file that can be uploaded depends on how much memory is available on your system. VMware
tests show that Google Chrome can upload OVA files of about 1 gigabyte. Mozilla Firefox can extract larger
OVA files, but might become unresponsive.
To deploy a large OVA file, VMware recommends to first extract the OVA on your system by running the
command tar -xvf <file.ova>. Then you can provide the deployment wizard with the OVF and VMDKs as
separate files.
OVF Limitations
The size of OVF files that a Web browser can upload are also limited. Different Web browsers have different
file size limits. Recent versions of Internet Explorer can upload OVF files up to 4 gigabytes in size. Mozilla
Firefox also has a 4 gigabyte limit. Google Chrome can handle larger files and there is no documented limit.
Deploy a Virtual Machine from an OVF or OVA File in the VMware Host Client
Use the New Virtual Machine wizard to deploy virtual machines from OVF and VMDK files, or from OVA
files.
OVA deployment is limited to files under 1 gigabyte in size due to Web browser limitations. If you want to
deploy an OVA file greater than 1 gigabyte, extract the OVA file using tar and provide the OVF and VMDK
files separately.
Procedure
1 Right-click Host in the VMware Host Client inventory and select Create/Register VM .
2 On the Select creation type page of the wizard, select Deploy a virtual machine from an OVF or OVA
file and click Next.
38 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
Select OVF and VMDK, or OVA Files to Deploy in the VMware Host Client
Select the OVF and VMDK files, or OVA file for the virtual machine that you would like to deploy.
Procedure
1 Enter a name for your virtual machine.
Virtual machine names can contain up to 80 characters and must be unique within each ESXi instance.
2 Click the blue pane to select an OVF and a VMDK, or an OVA file to deploy.
3 Select the file that you want to deploy your virtual machine from and click Open.
4 Click Next.
Procedure
1 Click a datastore from the list of accessible datastores on the Select storage page of the New Virtual
Machine wizard.
2 Click Next.
Complete the Deployment of a Virtual Machine from an OVF or OVA File in the
VMware Host Client
In the Ready to complete page, review the configuration selections that you made for the virtual machine.
Procedure
1 On the Ready to complete page of the New Virtual Machine wizard, review the configuration settings
for the virtual machine.
4 Click Finish to complete the creation task and close the wizard.
The virtual machine appears in the VMware Host Client inventory under Virtual Machines.
VMware, Inc. 39
vSphere Single Host Management - VMware Host Client
Use the datastore browser to select either a datastore, a directory, or a .vmx file to add to the list of virtual
machines that you register. Selecting a datastore or directory searches for all .vmx files in that location. You
can browse more than once to append virtual machines to the list.
Procedure
1 Right-click Host in the VMware Host Client inventory and select Create/Register VM.
The New virtual machine wizard allows you to select one or more virtual machines that you would like to
register. By selecting a datastore or a directory, you choose to register all virtual machines on that datastore
or in that directory.
Procedure
1 Click Select one or more virtual machines, a datastore, or a directory, locate the virtual machine or
virtual machines that you would like to register, and click Select.
2 (Optional) To remove a virtual machine from the list, select the name of the file and click Remove
selected.
3 (Optional) To clear your selection and start again, click Remove all.
4 Click Next.
Procedure
u Review your selections in the Ready to complete page of the New Virtual Machine wizard and click
Finish to register your virtual machine.
40 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
You can use a browser console to gain access to the guest operating system without installing additional
software. For additional console functionalities, such as attaching local hardware, install VMware Remote
Console.
Note Currently browser consoles support only US, Japanese and German keyboard layouts. You must
select the desired keyboard layout before opening the console.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
n Select Open browser console to view the virtual machine console in a pop-up window.
n Select Open console in new window to view the virtual machine console in a separate window.
VMware, Inc. 41
vSphere Single Host Management - VMware Host Client
Install the VMware Remote Console Application in the VMware Host Client
The VMware Remote Console (VMRC) is a stand-alone console application for Windows that enables you to
connect to client devices and launch virtual machine consoles on remote hosts.
Procedure
1 Click on Virtual Machines in the VMware Host Client inventory.
3 Click Actions, select Console from the drop-down menu, and click Download VMRC.
Launch Remote Console for a Virtual Machine in the VMware Host Client
You can access virtual machines in the VMware Host Client by using VMware Remote Console. You can
launch one or more consoles to access several remote virtual machines at the same time.
Prerequisites
Verify that VMware Remote Console is installed on your local system.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory and select a virtual machine from the list.
2 Click Console and select Launch remote console from the drop-down menu.
The VMware Remote Console opens as a stand-alone application for the selected virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory and click a virtual machine in the list.
2 To shut down a virtual machine, right click the virtual machine in the VMware Host Client inventory,
select Guest OS from the pop-up menu, and select Shut down.
3 To restart a virtual machine, right-click the virtual machine in the VMware Host Client inventory, select
Guest OS from the drop-down menu, and select Restart.
42 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
When you set the guest operating system type for a new virtual machine, vCenter Server applies
configuration defaults based on the type of guest operating system. Changing the guest operating system
type setting affects the available ranges and recommendations of the virtual machine settings.
Prerequisites
Power off the virtual machine.
Procedure
1 In the VMware Host Client inventory, right-click the virtual machine and select Edit Settings.
VMware Tools enhances the performance of a virtual machine and makes possible many of the ease-of-use
features in VMware products. For example, the following features are just some of the features that are
available only if VMware Tools is installed:
VMware highly recomments that you always run the latest version of VMware Tools. You can configure
your virtual machine to automatically check for and apply VMware Tools upgrades each time you power on
your virtual machines. For information about enabling automatic upgrade of VMware Tools on your virtual
machines, see vSphere Virtual Machine Administration.
Installing VMware Tools is part of the process of creating new virtual machines. It is important to upgrade
VMware Tools as updates become available. For information about creating virtual machines, see the Virtual
Machine Administration Guide.
The installers for VMware Tools are ISO image files. An ISO image file looks like a CD-ROM to your guest
operating system. Each type of guest operating system, including Windows, Linux, Solaris, FreeBSD, and
NetWare, has an ISO image file. When you install or upgrade VMware Tools, the first virtual CD-ROM disk
drive of the virtual machine temporarily connects to the VMware Tools ISO file of your guest operating
system.
For information about installing or upgrading VMware Tools in Windows virtual machines, Linux virtual
machines, Mac OS X virtual machines, Solaris virtual machines, NetWare virtual machines, or FreeBSD
virtual machines, see Virtual Machine Administration Guide.
VMware, Inc. 43
vSphere Single Host Management - VMware Host Client
You can install VMware Tools in one or more virtual machines by using the VMware Host Client.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
3 Click Actions, select Guest OS from the drop-down menu, and select Install VMware Tools.
The guest operating system checks the version of VMware Tools when you power on a virtual machine. The
status bar of your virtual machine displays a message when a new version is available.
In Windows virtual machines, you can set VMware Tools to notify you when an upgrade is available. If this
notification option is enabled, the VMware Tools icon in the Windows taskbar includes a yellow caution icon
when a VMware Tools upgrade is available.
To install a VMware Tools upgrade, you can use the same procedure that you used for installing VMware
Tools the first time. Upgrading VMware Tools means installing a new version.
For Windows and Linux guest operating systems, you can configure the virtual machine to automatically
upgrade VMware Tools. Although the version check is performed when you power on the virtual machine,
on Windows guest operating systems, the automatic upgrade occurs when you power off or restart the
virtual machine. The status bar displays the message Installing VMware Tools ... when an upgrade is in
progress.
Important After you upgrade VMware Tools on Linux guest operating systems, new network modules
are available but are not used until you either restart the guest operating system or stop networking, unload
and reload the VMware networking kernel modules, and restart networking. This behavior means that even
if VMware Tools is set to automatically upgrade, you must restart or reload network modules to make new
features available.
This strategy avoids network interruptions and allows you to install VMware Tools over SSH.
Upgrading VMware Tools on Windows guest operation systems automatically installs the WDDM graphics
drivers. The WDDM graphics driver makes the sleep mode available in guest OS power settings to adjust
the sleep options. For example, you can use the sleep mode setting Change when the computer sleeps to
configure your guest OS to automatically go to sleep mode after a certain time or prevent your guest OS
from automatically switching to sleep mode after being idle for some time.
Prerequisites
Power on the virtual machine.
44 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
3 Click Actions, select Guest OS from the drop-down menu, and select Upgrade VMware Tools.
Options View and configure a number of virtual machine properties such as power
management interaction between the guest operating system and the virtual
machine, and VMware Tools settings.
Check the Hardware Version of a Virtual Machine in the VMware Host Client
You can check the hardware version of a virtual machine by looking at the virtual machine summary page.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 Click VM Options.
4 In the VM Name text box, enter a new name for the virtual machine.
5 Click Save.
VMware, Inc. 45
vSphere Single Host Management - VMware Host Client
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
4 Record the location of the configuration files and the working files.
Configure the Virtual Machine Power States in the VMware Host Client
Changing virtual machine power states is useful when you do maintenance on the host. You can use the
system default settings for the virtual machine power controls, or you can configure the controls to interact
with the guest operating system. For example, you can configure the Power off control to power off the
virtual machine or shut down the guest operating system.
You can modify many virtual machine configurations while the virtual machine is running, but you might
need to change the virtual machine power state for some configurations.
You cannot configure a Power on ( ) action. This action powers on a virtual machine that is stopped, or
starts a virtual machine and runs a script if the virtual machine is suspended and VMware Tools is installed
and available. If VMware Tools is not installed, it starts the suspended virtual machine and does not run a
script.
Prerequisites
n Verify that you have privileges to perform the intended power operation on the virtual machine.
n To set optional power functions, install VMware Tools on the virtual machine.
n Power off the virtual machine before editing the VMware Tools options.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine from the list and select Edit settings from the drop-down menu.
4
Select an option for the virtual machine Power off ( ) control from the drop-down menu.
Option Description
Power Off Immediately stops the virtual machine. A Power Off action shuts down the
guest operating system or powers off the virtual machine. A message
indicates that the guest operating system might not shut down properly.
Use this power off option only when necessary.
Shut Down Guest Uses VMware Tools to initiate an orderly system shut down of the virtual
machine. Soft power operations are possible only if the tools are installed
in the guest operating system.
Default Follows system settings. The current value of the system settings appears
in parentheses.
46 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
5
Select an option for the Suspend ( ) control from the drop-down menu.
Option Description
Suspend Pauses all virtual machine activity. When VMware Tools is installed and
available, a suspend action runs a script and suspends the virtual machine.
If VMware Tools is not installed, a Suspend action suspends the virtual
machine without running a script.
Default Follows system settings. The current value of the system settings appears
in parentheses.
6
Select an option for the Reset ( ) control from the drop-down menu.
Option Description
Reset Shuts down and restarts the guest operating system without powering off
the virtual machine. If VMware Tools is not installed, a Reset action resets
the virtual machine.
Restart Guest Uses VMware Tools to initiate an orderly restart. Soft power operations are
possible only if the tools are installed in the guest operating system.
Default Follows system settings. The current value of the system settings appears
in parentheses.
7 Click Save.
Important Changing or adding parameters when a system does not have problems might lead to
decreased system performance and instability.
n To change a parameter, you must change the existing value for the keyword/value pair. For example, if
the existing pair is keyword/value, and you change it to keyword/value2, the new keyword is value2.
Caution You must assign a value to configuration parameter keywords. If you do not assign a value, the
keyword might receive a value of 0, false, or disable, which might result in a virtual machine that cannot
power on.
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
5 (Optional) To add a parameter, click Add Parameter and enter a name and value for the parameter.
6 (Optional) To change a parameter, type a new value in the Value text box for that parameter.
VMware, Inc. 47
vSphere Single Host Management - VMware Host Client
7 Click Save.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
3 Select Autostart from the pop-up menu and click an option to configure the auto start options for this
virtual machine.
Option Description
Increase priority Increase the start priority of this virtual machine so it starts before other
virtual machines.
Decrease priority Decrease the start priority of this virtual machine so it starts after other
virtual machines.
For information about virtual machine hardware versions and compatibility, see vSphere Virtual Machine
Administration.
Prerequisites
n Create a backup or snapshot of the virtual machines. See “Using Snapshots To Manage Virtual
Machines,” on page 71.
n Upgrade VMware Tools. On virtual machines that run Microsoft Windows, if you upgrade the
compatibility before you upgrade VMware Tools, the virtual machine might lose its network settings.
n Verify that all .vmdk files are available to the ESXi host on a VMFS3, VMFS5, or NFS datastore.
n Verify that the virtual machine is stored on VMFS3, VMFS5 or NFS datastores.
n Verify that the compatibility settings for the virtual machines are not set to the latest supported version.
n Determine the ESXi versions that you want the virtual machines to be compatible with. See vSphere
Virtual Machine Administration.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine from the list and select Upgrade VM Compatibility from the pop-up
menu.
48 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
VMware uses the following terminology. Understanding these terms can help you plan your strategy for
CPU resource allocation.
CPU The CPU or processor is the component of a computer system that performs
the tasks required for computer programs to run, and is the primary element
that performs the computer functions. CPUs contain cores.
Core A core contains a unit containing an L1 cache and functional units needed to
run programs. Cores can independently run programs or threads. One or
more cores can exist on a single CPU.
Resource sharing Shares specify the relative priority or importance of a virtual machine or
resource pool. If a virtual machine has twice as many shares of a resource as
another virtual machine, it is entitled to consume twice as much of that
resource when the two virtual machines are competing for resources.
Resource allocation You can change CPU resource allocation settings, such as shares, reservation,
and limit, when available resource capacity does not meet demands. For
example, if at year end, the workload on accounting increases, you can
increase the accounting resource pool reserve.
vSphere Virtual Virtual SMP or vSphere Virtual Symmetric Multiprocessingis a feature that
Symmetric enables a single virtual machine to have multiple processors.
Multiprocessing (Virtual
SMP)
VMware, Inc. 49
vSphere Single Host Management - VMware Host Client
n A virtual machine cannot have more virtual CPUs than the number of logical cores on the host. The
number of logical cores is equal to the number of physical cores if hyperthreading is disabled or two
times that number if hyperthreading is enabled.
n Not every guest operating system supports Virtual SMP, and guest operating systems that support this
functionality might support fewer processors than are available on the host. For information about
Virtual SMP support, see the VMware Compatibility Guide at
http://www.vmware.com/resources/compatibility.
n Hyperthreaded hosts might affect virtual machine performance, depending on the workload. The best
practice is to test your workload to determine whether to enable or disable hyperthreading on your
hosts.
Important When you configure your virtual machine for multicore virtual CPU settings, you must ensure
that your configuration complies with the requirements of the guest operating system EULA.
Using multicore virtual CPUs can be useful when you run operating systems or applications that can take
advantage of only a limited number of CPU sockets.
You can configure a virtual machine that runs on an ESXi host 6.0 and later to have up to 128 virtual CPUs.
A virtual machine cannot have more virtual CPUs than the actual number of logical CPUs on the host. The
number of logical CPUs means the number of physical processor cores or two times that number if
hyperthreading is enabled. For example, if a host has 128 logical CPUs, you can configure the virtual
machine for 128 virtual CPUs.
You configure how the virtual CPUs are assigned in terms of cores and cores per socket. Determine how
many CPU cores you want in the virtual machine, then select the number of cores you want in each socket,
depending on whether you want a single core CPU, dual-core CPU, tri-core CPU, and so on. Your selection
determines the number of sockets that the virtual machine has.
For more information about multicore CPUs, see the vSphere Resource Management documentation.
Virtual CPU hot add is supported for virtual machines with multicore CPU support and ESXi 5.0 and later
compatibility. When the virtual machine is turned on and CPU hot add is enabled, you can hot add virtual
CPUs to running virtual machines. The number of CPUs that you add must be a multiple of the number of
cores that exist on each socket.
Important When you configure your virtual machine for multicore virtual CPU settings, you must ensure
that your configuration complies with the requirements of the guest operating system EULA.
50 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
Prerequisites
n If virtual CPU hot add is not enabled, turn off the virtual machine before adding virtual CPUs.
n To hot add multicore CPUs, verify that the virtual machine is compatible with ESXi 5.0 and later.
n Verify that you have the Virtual Machine.Configuration.Change CPU Count privilege.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, expand CPU, and select the number of cores from the CPU drop-down
menu.
4 Select the number of cores per socket from the Cores Per Socket drop-down menu.
5 Click Save.
Limit Places a limit on the consumption of CPU time for a virtual machine. This
value is expressed in MHz or GHz.
Reservation Specifies the guaranteed minimum allocation for a virtual machine. The
reservation is expressed in MHz or GHz.
Shares Each virtual machine is granted CPU shares. The more shares a virtual
machine has, the more often it receives a time slice of a CPU when there is no
CPU idle time. Shares represent a relative metric for allocating CPU capacity.
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, expand CPU, and allocate CPU capacity for the virtual machine.
Option Description
Reservation Guaranteed CPU allocation for this virtual machine.
Limit Upper limit for this virtual machine’s CPU allocation. Select Unlimited to
specify no upper limit.
Shares CPU shares for this virtual machine in relation to the parent’s total. Sibling
virtual machines share resources according to their relative share values
bounded by the reservation and limit. Select Low, Normal, or High, which
specify share values respectively in a 1:2:4 ratio. Select Custom to give each
virtual machine a specific number of shares, which express a proportional
weight.
4 Click Save.
VMware, Inc. 51
vSphere Single Host Management - VMware Host Client
The memory resource settings for a virtual machine determine how much of the host's memory is allocated
to the virtual machine. The virtual hardware memory size determines how much memory is available to
applications that run in the virtual machine. A virtual machine cannot benefit from more memory resources
than its configured virtual hardware memory size. ESXi hosts limit the memory resource use to the
maximum amount useful for the virtual machine, so that you can accept the default of Unlimited memory
resources.
Change the Memory Configuration of a Virtual Machine in the VMware Host Client
You can reconfigure the amount of memory allocated to a virtual machine to enhance performance.
Minimum memory size is 4MB for virtual machines that use BIOS firmware. Virtual machines that use EFI
firmware require at least 96MB of RAM or they cannot power on.
Maximum memory size for a virtual machine depends on the host's physical memory and the virtual
machine's compatibility setting.
If the virtual machine memory is greater than the host memory size, swapping occurs, which can have a
severe effect on virtual machine performance. The maximum for best performance represents the threshold
above which the host’s physical memory is insufficient to run the virtual machine at full speed. This value
fluctuates as conditions on the host change, for example, as virtual machines are powered on or off.
The ESXi host version indicates when support began for the increased memory size. For example, the
memory size of a virtual machine with ESX/ESXi 3.5 and later compatibility running on ESXi 5.0 is restricted
to 65,532MB.
Prerequisites
Power off the virtual machine.
Verify that you have the Virtual machine.Configuration.Memory privilege on the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
52 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
4 In the RAM text box, type the amount of RAM to assign to the virtual machine or select one of the
suggested values from the drop-down menu.
The following user-defined settings affect the memory resource allocation of a virtual machine.
Limit Places a limit on the consumption of memory for a virtual machine. This
value is expressed in megabytes.
Reservation Specifies the guaranteed minimum allocation for a virtual machine. The
reservation is expressed in megabytes. If the reservation cannot be met, the
virtual machine will not turn on.
Shares Each virtual machine is granted a number of memory shares. The more
shares a virtual machine has, the greater share of host memory it receives.
Shares represent a relative metric for allocating memory capacity. For more
information about share values, see the vSphere Resource Management
documentation.
You cannot assign a reservation to a virtual machine that is larger than the virtual machine's configured
memory. If you give a virtual machine a large reservation and reduce the virtual machine's configured
memory size, the reservation is reduced to match the new configured memory size.
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, expand Memory, and allocate the memory capacity for the virtual
machine.
Option Description
Reservation Guaranteed memory allocation for this virtual machine.
Limit Upper limit for this virtual machine’s memory allocation. Select Unlimited
to specify no upper limit.
Shares The values Low, Normal, High, and Custom are compared to the sum of
all shares of all virtual machines on the server.
4 Click Save.
VMware, Inc. 53
vSphere Single Host Management - VMware Host Client
Enabling memory hot add produces extra memory overhead on the ESXi host for the virtual machine.
Prerequisites
n Power off the virtual machine.
n Verify that the virtual machine has a guest operating system that supports memory hot add capabilities.
n Verify that the virtual machine compatibility is ESXi 4.x and later.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, expand Memory, and select Enable to enable adding memory to the
virtual machine while it is turned on.
4 Click Save.
The networking features also allow management of ESXi hosts and enable communication between
VMkernel services, such as NFS, iSCSI, or vSphere vMotion, and the physical network. When you configure
networking for a virtual machine, you select or change an adapter type, a network connection, and whether
to connect the network when the virtual machine powers on.
The type of network adapters that are available depend on the following factors:
n The virtual machine compatibility, which depends on the host that created or most recently updated it.
n Whether the virtual machine compatibility has been updated to the latest version for the current host.
E1000E Emulated version of the Intel 82574 Gigabit Ethernet NIC. E1000E is the
default adapter for Windows 8 and Windows Server 2012.
E1000 Emulated version of the Intel 82545EM Gigabit Ethernet NIC, with drivers
available in most newer guest operating systems, including Windows XP and
later and Linux versions 2.4.19 and later.
Flexible Identifies itself as a Vlance adapter when a virtual machine boots, but
initializes itself and functions as either a Vlance or a VMXNET adapter,
depending on which driver initializes it. With VMware Tools installed, the
VMXNET driver changes the Vlance adapter to the higher performance
VMXNET adapter.
54 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
Vlance Emulated version of the AMD 79C970 PCnet32 LANCE NIC, an older 10
Mbps NIC with drivers available in 32-bit legacy guest operating systems. A
virtual machine configured with this network adapter can use its network
immediately.
VMXNET 2 (Enhanced) Based on the VMXNET adapter but provides high-performance features
commonly used on modern networks, such as jumbo frames and hardware
offloads. VMXNET 2 (Enhanced) is available only for some guest operating
systems on ESX/ESXi 3.5 and later.
VMXNET 3 A paravirtualized NIC designed for performance. VMXNET 3 offers all the
features available in VMXNET 2 and adds several new features, such as
multiqueue support (also known as Receive Side Scaling in Windows), IPv6
offloads, and MSI/MSI-X interrupt delivery. VMXNET 3 is not related to
VMXNET or VMXNET 2.
PVRDMA A paravirtualized NIC that supports remote direct memory access (RDMA)
between virtual machines through the OFED verbs API. All virtual machines
must have a PVRDMA device and should be connected to a distributed
switch. PVRDMA supports VMware vSphere vMotion and snapshot
technology. It is available in virtual machines with hardware version 13 and
guest operating system Linux kernel 4.6 and later.
SR-IOV passthrough Representation of a virtual function (VF) on a physical NIC with SR-IOV
support. The virtual machine and the physical adapter exchange data
without using the VMkernel as an intermediary. This adapter type is suitable
for virtual machines where latency might cause failure or that require more
CPU resources.
SR-IOV passthrough is available in ESXi 5.5 and later for guest operating
systems Red Hat Enterprise Linux 6 and later, and Windows Server 2008 R2
with SP2. An operating system release might contain a default VF driver for
certain NICs, while for others you must download and install it from a
location provided by the vendor of the NIC or of the host.
For network adapter compatibility considerations, see the VMware Compatibility Guide at
http://www.vmware.com/resources/compatibility.
VMware, Inc. 55
vSphere Single Host Management - VMware Host Client
If you do not upgrade a virtual machine to correspond with an upgrade to a newer version of an ESXi host,
your adapter settings remain unchanged. If you upgrade your virtual machine to take advantage of newer
virtual hardware, your default adapter settings will likely change to be compatible with the guest operating
system and upgraded host hardware.
To verify the network adapters that are available to your supported guest operating system for a particular
version of vSphere ESXi, see the VMware Compatibility Guide at
http://www.vmware.com/resources/compatibility.
Prerequisites
Required privileges:
n Virtual Machine.Configuration.Modify device settings for editing the MAC address and network.
n Virtual Machine.Interaction.Device connection for changing Connect and Connect at power on.
n Network.Assign network
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 Click the Virtual Hardware tab and select the appropriate Network Adapter (NIC) from the hardware
list.
4 (Optional) To connect the virtual NIC when the virtual machine is powered on, select Connect at power
on.
Option Description
Automatic vSphere assigns a MAC address automatically.
Manual Enter the MAC address to use.
6 Click Save.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
56 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
3 Click the Virtual Hardware tab and click Add network adapter.
4 In the network connection panel, select either a network with a specific label or a legacy network.
5 (Optional) To configure the virtual NIC to connect when the virtual machine is powered on, select
Connect at power on.
6 Click Save.
You can store virtual machine data in a new virtual disk, an existing virtual disk, or a mapped SAN LUN. A
virtual disk, which appears as a single hard disk to the guest operating system, is composed of one or more
files on the host file system. You can copy or move virtual disks on the same hosts or between hosts.
For virtual machines running on an ESXi host, you can store the virtual machine data directly on a SAN
LUN instead of storing it in a virtual disk file. This ability is useful if you are running applications in your
virtual machines that must detect the physical characteristics of the storage device. Additionally, mapping a
SAN LUN allows you to use existing SAN commands to manage storage for the disk.
To accelerate virtual machine performance, you can configure virtual machines to use vSphere Flash Read
Cache™. For details about Flash Read Cache behavior, see the vSphere Storage documentation.
When you map a LUN to a VMFS volume, vCenter Server or the ESXi host creates a raw device mapping
(RDM) file that points to the raw LUN. Encapsulating disk information in a file allows vCenter Server or the
ESXi host to lock the LUN so that only one virtual machine can write to it. This file has a .vmdk extension,
but the file contains only disk information that describes the mapping to the LUN on the ESXi system. The
actual data is stored on the LUN. You cannot deploy a virtual machine from a template and store its data on
a LUN. You can store only its data in a virtual disk file.
The amount of free space in the datastore is always changing. Ensure that you leave sufficient space for
virtual machine creation and other virtual machine operations, such as growth of sparse files, snapshots,
and so on. To review space utilization for the datastore by file type, see the vSphere Monitoring and
Performance documentation.
Thin provisioning lets you create sparse files with blocks that are allocated upon first access, which allows
the datastore to be over-provisioned. The sparse files can continue growing and fill the datastore. If the
datastore runs out of disk space while the virtual machine is running, it can cause the virtual machine to
stop functioning.
NFS datastores with Hardware Acceleration and VMFS datastores support the following disk provisioning
policies. On NFS datastores that do not support Hardware Acceleration, only thin format is available.
VMware, Inc. 57
vSphere Single Host Management - VMware Host Client
You can use Storage vMotion or cross-host Storage vMotion to transform virtual disks from one format to
another.
Thick Provision Lazy Creates a virtual disk in a default thick format. Space required for the virtual
Zeroed disk is allocated when the disk is created. Data remaining on the physical
device is not erased during creation, but is zeroed out on demand later on
first write from the virtual machine. Virtual machines do not read stale data
from the physical device.
Thick Provision Eager A type of thick virtual disk that supports clustering features such as Fault
Zeroed Tolerance. Space required for the virtual disk is allocated at creation time. In
contrast to the thick provision lazy zeroed format, the data remaining on the
physical device is zeroed out when the virtual disk is created. It might take
longer to create virtual disks in this format than to create other types of
disks.
Thin Provision Use this format to save storage space. For the thin disk, you provision as
much datastore space as the disk would require based on the value that you
enter for the virtual disk size. However, the thin disk starts small and at first,
uses only as much datastore space as the disk needs for its initial operations.
If the thin disk needs more space later, it can grow to its maximum capacity
and occupy the entire datastore space provisioned to it.
Thin provisioning is the fastest method to create a virtual disk because it
creates a disk with just the header information. It does not allocate or zero
out storage blocks. Storage blocks are allocated and zeroed out when they
are first accessed.
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, expand the hard disk to view all disk options.
4 (Optional) To change the size of the disk, enter a new value in the text box and select the units from the
drop-down menu.
58 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
5 (Optional) To change the way that disks are affected by snapshots, select a disk mode from the Disk
Mode drop-down menu.
Option Description
Dependent Dependent disks are included in snapshots.
Independent-Persistent Disks in persistent mode behave like conventional disks on your physical
computer. All data written to a disk in persistent mode are written
permanently to the disk.
Independent-Nonpersistent Changes to disks in nonpersistent mode are discarded when you turn off
or reset the virtual machine. With nonpersistent mode, you can restart the
virtual machine with a virtual disk in the same state every time. Changes
to the disk are written to and read from a redo log file that is deleted when
you turn off or reset the virtual machine.
6 Click Save.
Add a New Hard Disk to a Virtual Machine in the VMware Host Client
You can add a virtual hard disk to an existing virtual machine, or you can add a hard disk when you
customize the virtual machine hardware during the virtual machine creation process. For example, you
might need to provide additional disk space for an existing virtual machine with a heavy work load. During
virtual machine creation, you might want to add a hard disk that is preconfigured as a boot disk.
Prerequisites
n Verify that you are familiar with configuration options and caveats for adding virtual hard disks. See
“Virtual Disk Configuration,” on page 57.
n Before you add disks larger than 2TB in size to a virtual machine, see vSphere Virtual Machine
Administration.
n Verify that you have the Virtual machine.Configuration.Add new disk privilege on the destination
folder or datastore.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 (Optional) To delete an existing hard disk, move your pointer over the disk and click the Remove icon
(X).
The disk is removed from the virtual machine. If other virtual machines share the disk, the disk files are
not deleted.
4 On the Virtual Hardware tab, select Add hard disk and select New hard disk from the drop-down
menu.
6 (Optional) Enter a value for the hard disk size and select the units from the drop-down menu.
7 Select the datastore location where you want to store the virtual machine files.
VMware, Inc. 59
vSphere Single Host Management - VMware Host Client
Option Description
Thick Provision Lazy Zeroed Create a virtual disk in a default thick format. Space required for the
virtual disk is allocated during creation. Any data remaining on the
physical device is not erased during creation, but is zeroed out on demand
at a later time on first write from the virtual machine.
Thick Provision Eager Zeroed Create a thick disk that supports clustering features such as Fault
Tolerance. Space required for the virtual disk is allocated at creation time.
In contrast to the flat format, the data remaining on the physical device is
zeroed out during creation. It might take much longer to create disks in
this format than to create other types of disks.
Thin Provision Use the thin provisioned format. At first, a thin provisioned disk uses only
as much datastore space as the disk initially requires. If the thin disk needs
more space later, it can grow to the maximum capacity allocated to it.
9 In the Shares drop-down menu, select a value for the shares to allocate to the virtual disk.
Shares is a value that represents the relative metric for controlling disk bandwidth. The values Low,
Normal, High, and Custom are compared to the sum of all shares of all virtual machines on the host.
11 In the Limit IOPs box, enter the upper limit of storage resources to allocate to the virtual machine, or
select Unlimited.
This value is the upper limit of I/O operations per second allocated to the virtual disk.
In most cases, you can accept the default device node. For a hard disk, using a nondefault device node
makes controlling the boot order or having different SCSI controller types easier. For example, you
might want to boot from an LSI Logic controller and share a data disk with another virtual machine that
is using a Buslogic controller with bus sharing turned on.
Option Description
Dependent Dependent disks are included in snapshots.
Independent-Persistent Disks in persistent mode behave like conventional physical computer
disks. All data written to a disk in persistent mode are written
permanently to the disk.
Independent-Nonpersistent Changes to disks in nonpersistent mode are discarded when you power off
or reset the virtual machine. The virtual disk returns to the same state
every time you restart the virtual machine. Changes to the disk are written
to and read from a redo log file that is deleted when you power off or reset.
14 Click Save.
Add an Existing Hard Disk to a Virtual Machine in the VMware Host Client
You can add an existing virtual hard disk to a virtual machine when you customize the virtual machine
hardware during the virtual machine creation process or after the virtual machine is created. For example,
you might want to add an existing hard disk that is preconfigured as a boot disk.
During virtual machine creation, a hard disk and a SCSI or SATA controller are added to the virtual machine
by default, based on the guest operating system that you select. If this disk does not meet your needs, you
can remove it and add an existing hard disk at the end of the creation process.
60 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
Prerequisites
n Verify that you are familiar with controller and virtual device node behavior for different virtual hard
disk configurations.
n Verify that you have the Virtual machine.Configuration.Add existing disk privilege on the destination
folder or datastore.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, select Add hard disk and select Existing hard disk from the drop-down
menu.
4 (Optional) To delete an existing hard disk, move your pointer over the disk and click the Remove icon
(X).
The disk is removed from the virtual machine. If other virtual machines share the disk, the disk files are
not deleted.
5 In the Datastore column, expand a datastore, select a virtual machine folder, and select the disk to add.
The disk file appears in the Contents column. The File type menu shows the compatibility file types for
this disk.
6 Click Select and click Save to add the existing hard disk.
Use Disk Shares to Prioritize Virtual Machines in the VMware Host Client
You can change the disk resources for a virtual machine. If multiple virtual machines access the same VMFS
datastore and the same logical unit number (LUN), use disk shares to prioritize the level of access that
virtual machines have to resources. Disk shares distinguish high-priority from low-priority virtual
machines.
You can allocate the I/O bandwidth of the host to the virtual hard disks of a virtual machine. You cannot
pool disk I/O across a cluster.
The shares value represents the relative metric for controlling disk bandwidth to all virtual machines.
Disk shares are relevant only within a given host. The shares assigned to virtual machines on one host have
no effect on virtual machines on other hosts.
You can select an IOP limit, which sets an upper limit for storage resources that are allocated to a virtual
machine. IOPs are the number of I/O operations per second.
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, expand the hard disk to view the disk options.
4 In the Shares drop-down menu, select a value for the shares to allocate to the virtual machine.
VMware, Inc. 61
vSphere Single Host Management - VMware Host Client
6 In the Limit - IOPs text box, enter the upper limit of storage resources to allocate to the virtual machine,
or select Unlimited.
7 Click Save.
You can add one virtual xHCI controller, one virtual EHCI controller, and one virtual UHCI controller per
virtual machine. With Hardware Version 11, the supported number of root hub ports per xHCI controller is
eight (four logical USB 3.0 ports and four logical USB 2.0 ports).
The conditions for adding a controller vary, depending on the device version, the type of passthrough (host
or client computer), and the guest operating system.
xHCI 3.0, 2.0, and 1.1 Yes (USB 3.0, 2.0, and 1.1 Yes (Linux, Windows 8 and later, and
devices only) Windows Server 2012 and later
guests)
For Mac OS X systems, the EHCI+UHCI controller is enabled by default and is required for USB mouse and
keyboard access.
For virtual machines with Linux guests, you can add one or both controllers, but 3.0 superspeed devices are
not supported for passthrough from an ESXi host to a virtual machine. You cannot add two controllers of
the same type.
For USB passthrough from an ESXi host to a virtual machine, the USB arbitrator can monitor a maximum of
15 USB controllers. If your system includes controllers that exceed the 15 controller limit and you connect
USB devices to them, the devices are not available to the virtual machine.
Prerequisites
n ESXi hosts must have USB controller hardware and modules that support USB 3.0, 2.0, and 1.1 devices
present.
n Client computers must have USB controller hardware and modules that support USB 3.0, 2.0, and 1.1
devices present.
n To use the xHCI controller on a Linux guest, ensure that the Linux kernel version is 2.6.35 or later.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
62 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
3 On the Virtual Hardware tab, click Add other device, and click USB Controller from the drop-down
menu.
The new USB controller appears at the bottom of the Virtual Hardware device list.
5 Click Save.
What to do next
Add one or more USB devices to the virtual machine.
Adding a new hard disk on an unused SCSI Bus number creates a new SCSI controller.
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, select Add hard disk and select New hard disk from the drop-down
menu.
5 In the Virtual Device Node section, select an unused SCSI Bus number from the drop-down menu.
For example, bus and device numbers 0:0 - 0:15 are used by the initial SCSI controller. The second SCSI
controller uses bus and device numbers 1:0 - 1:15.
6 Click Save.
The new hard disk and new SCSI controller are simultaneously created.
Change the SCSI Bus Sharing Configuration in the VMware Host Client
You can set the type of SCSI bus sharing for a virtual machine and indicate whether to share the SCSI bus.
Depending on the type of sharing, virtual machines can access the same virtual disk simultaneously on the
same server or on any server.
You can change the SCSI controller configuration for a virtual machine only if the virtual machine is on an
ESXi host.
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, expand the SCSI Controller that you want to edit.
VMware, Inc. 63
vSphere Single Host Management - VMware Host Client
Option Description
None Virtual disks cannot be shared by other virtual machines.
Virtual Virtual disks can be shared by virtual machines on the same server.
Physical Virtual disks can be shared by virtual machines on any server.
5 Click Save.
The choice of SCSI controller does not affect whether your virtual disk is an IDE or SCSI disk. The IDE
adapter is always ATAPI. The default for your guest operating system is already selected. Older guest
operating systems have BusLogic adapter as their default controller.
If you create an LSI Logic virtual machine and add a virtual disk that uses BusLogic adapters, the virtual
machine boots from the BusLogic adapters disk. LSI Logic SAS is available only for virtual machines with
hardware version 7 or later. Disks with snapshots might not experience performance gains when used on
LSI Logic SAS, VMware Paravirtual, and LSI Logic Parallel adapters.
Caution Changing the SCSI controller type might result in a virtual machine boot failure.
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
5 Click Save.
VMware Paravirtual SCSI controllers are available for virtual machines with ESXi 4.x and later compatibility.
Disks on such controllers might not experience optimal performance gains if they have snapshots or if
memory on the ESXi host is over committed. This behavior does not mitigate the overall performance gain
of using VMware Paravirtual SCSI controllers as compared to other SCSI controller options.
If you have virtual machines with VMware Paravirtual SCSI controllers, those virtual machines cannot be
part of an MSCS cluster.
For platform support for VMware Paravirtual SCSI controllers, see the VMware Compatibility Guide at
http://www.vmware.com/resources/compatibility.
64 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
VMware Paravirtual SCSI controllers are best suited for environments, especially SAN environments, that
run I/O-intensive applications.
Prerequisites
n Verify that the virtual machine has a guest operating system with VMware Tools installed.
n Familiarize yourself with VMware Paravirtual SCSI limitations. See vSphere Virtual Machine
Administration .
n To access boot disk devices attached to a VMware Paravirtual SCSI controller, verify that the virtual
machine has a Windows 2003 or Windows 2008 guest operating system.
n In some operating systems, before you change the controller type you must create a virtual machine
with an LSI Logic controller and install VMware Tools.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, click Add other device and select SCSI Controller from the drop-down
menu.
4 Click on the New SCSI Controller and select VMware Paravirtual from the drop-down menu.
5 Click Save.
You can boot virtual machines from SATA controllers and use them for large-capacity virtual hard disks.
Not all guest operating systems support AHCI SATA controllers. Typically, when you create virtual
machines with ESXi 5.5 and later compatibility and Mac OS X guest operating systems, a SATA controller is
added by default for the virtual hard disk and CD/DVD-ROM devices. Most guest operating systems,
including Windows Vista and later, have a default SATA controller for CD/DVD-ROM devices. For
verification, see the appropriate VMware Compatibility Guide at
http://www.vmware.com/resources/compatibility.
Prerequisites
n Verify that the virtual machine compatibility is ESXi 5.5 and later.
n Verify that you are familiar with storage controller behavior and limitations. See vSphere Virtual Machine
Administration.
n Verify that you have the Virtual machine.Configuration.Add or remove device privilege on the virtual
machine.
VMware, Inc. 65
vSphere Single Host Management - VMware Host Client
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, select Add other device, and select SATA Controller from the drop-
down menu.
4 Click Save.
If you want to add a CD/DVD drive that is backed up by USB CD/DVD drive on the host, you must add the
drive as a SCSI device. Hot adding or removing SCSI devices from an ESXi host is not supported.
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, select Add other device and select CD/DVD Drive from the drop-down
menu.
Option Description
Use physical drive a Select Client Device as the location.
b From the Device Mode drop-down menu, select Emulate CD-ROM or
Passthrough CD-ROM.
Use ISO Image a Select Datastore ISO File as the location.
b Enter the path and filename for the image file, or click Browse to
navigate to the file.
5 If you do not want the CD-ROM drive to connect when the virtual machine starts, deselect Connect at
power on.
6 Select the virtual device node that the drive uses in the virtual machine.
7 Click Save.
ESXi does not support floppy drives that are backed up by a physical floppy drive on the host.
66 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
Prerequisites
n Power off the virtual machine.
n Verify that you have the Virtual machine.Configuration.Add or remove device privilege on the virtual
machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, select Add other device and select Floppy Drive from the drop-down
menu.
4 Expand Floppy drive and select the type of device you want to use.
Option Description
Client Device Select this option to connect the floppy device to a physical floppy device
or a .flp floppy image on the system from which you access the
VMware Host Client .
Use existing floppy image a Select this option to connect the virtual device to an existing image of a
floppy drive on a datastore accessible to the host .
b Click Browse and select the floppy image.
5 (Optional) Select Connect at power on to configure the device to connect when the virtual machine
powers on.
6 Click Save.
Prerequisites
n Familiarize yourself with the different media types that the port can access, vSPC connections, and any
conditions that might apply. See vSphere Virtual Machine Administration.
n To connect a serial port over a network, add a Firewall rule set. See vSphere Virtual Machine
Administration.
VMware, Inc. 67
vSphere Single Host Management - VMware Host Client
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, select Add other device and select Serial Port.
The Serial Port appears in the hardware list.
4 In the hardware list, expand the serial port and select the type of media port to access.
Option Description
Use output file Browse to the location of the file on the host to store the output of the
virtual serial port.
Use physical serial port Select the port from the drop-down menu.
Use named pipe a Type a name for the pipe in the Pipe name field
b Select the Near End and Far End of the pipe from the drop-down
menus.
Use network a From the Direction drop-down menu, select Server or Client.
b Type the port URI.
The URI is the remote end of the serial port to which the serial port of
the virtual machine should connect.
c If vSPC is used as an intermediate step to access all virtual machines
through a single IP address, select Use Virtual Serial Port
Concentrator and enter the vSPC URI location.
5 (Optional) Deselect Connect at power on if you do not want the parallel port device to connect when
the virtual machine powers on.
6 Click Save.
Example: Establishing Serial Port Network Connections to a Client or Server Without Authentication
Parameters
If you do not use vSPC and you configure your virtual machine with a serial port connected as a server with
a telnet://:12345 URI, you can connect to your virtual machine's serial port from your Linux or Windows
operating system.
Similarly, if you run the Telnet Server on your Linux system on port 23 (telnet://yourLinuxBox:23), you
configure the virtual machine as a client URI.
telnet://yourLinuxBox:23
The virtual machine initiates the connection to your Linux system on port 23.
Note To add a parallel port to a virtual machine that runs on an ESXi 4.1 or earlier host, you can also select
to send output to a physical parallel port on the host. This option is not available with ESXi 5.0 and later host
versions.
Prerequisites
n Power off the virtual machine.
68 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
n Verify that you have the Virtual machine.Configuration.Add or remove device privilege on the virtual
machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, select Add other device and select Parallel Port.
4 In the virtual hardware list, expand the parallel port and click Browse to locate a folder to create the file
in.
6 (Optional) Select Connect at power on to configure the device to connect when the virtual machine
powers on.
7 Click Save.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, select Add other device and select Sound controller from the drop-down
menu.
You can see the sound controller in the list of available devices for the virtual machine.
4 In the Sound card section, select an option for the sound controller from the drop-down menu.
5 Click Save.
Prerequisites
Assign a USB device to the ESXi host where the virtual machine is located by plugging the USB device into
the host.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click the virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, select Add other device and select USB device from the drop-down
menu.
You can see the USB device in the list of available devices for the virtual machine.
4 Select the USB device that you want to add from the drop-down stack that appears in the list of
available devices for the virtual machine.
5 Click Save.
VMware, Inc. 69
vSphere Single Host Management - VMware Host Client
To display a virtual machine in the VMware Host Client inventory, power on the virtual machine.
Procedure
u To access the virtual machines that are available on the host that you are logged in to, click Virtual
Machines in the VMware Host Client inventory.
You can now edit the virtual machine settings and perform different administrative and troubleshooting
tasks on the virtual machines in the list.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Click Columns and select the information that you want to display or hide in the virtual machine panel.
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click the virtual machine from the list and select Unregister.
3 To confirm that you want to remove the virtual machine from the inventory, click Yes.
The host removes the virtual machine from the inventory and no longer tracks its condition.
70 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
Remove Virtual Machines from the Datastore in the VMware Host Client
Remove unnecessary virtual machines from the VMware Host Client inventory to free space on the
datastore. Removing a virtual machine from the host deletes all virtual machine files from the datastore,
including the configuration file and virtual disk files.
Prerequisites
n Power off the virtual machine.
n Verify that the virtual machine does not share the disk with another virtual machine. If two virtual
machines are sharing the same disk, the disk files are not deleted.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click the virtual machine from the list and select Delete from the drop-down menu.
3 Click Delete.
Procedure
1 Click Storage in the VMware Host Client inventory.
3 Select the virtual machine you want to register from the list and click Register.
You can take multiple snapshots of a virtual machine to create restoration positions in a linear process. With
multiple snapshots, you can save many positions to be able to perform many types of work processes.
Snapshots operate on individual virtual machines. Taking snapshots of multiple virtual machines, for
example, taking snapshots for all members of a team, requires that you take a separate snapshot of each
team member's virtual machine.
Snapshots are useful as a short term solution for testing software with unknown or potentially harmful
effects. For example, you can use a snapshot as a restoration point during a linear or iterative process, such
as installing update packages, or during a branching process, such as installing different versions of a
program. Using snapshots ensures that each installation begins from an identical baseline.
With snapshots, you can preserve a baseline before making changes to a virtual machine in the snapshot
tree.
Several operations for creating and managing virtual machine snapshots and snapshot trees are available in
the Snapshot Manager of the VMware Host Client. These operations enable you to create snapshots, restore
any snapshot in the snapshot hierarchy, delete snapshots, and more. You can create extensive snapshot trees
that you can use to save the state of a virtual machine at any specific time and restore the virtual machine
state later. Each branch in a snapshot tree can have up to 32 snapshots.
VMware, Inc. 71
vSphere Single Host Management - VMware Host Client
n Virtual machine settings. The virtual machine directory, which includes the disks added or changed
after you take the snapshot.
n Power state. The virtual machine can be powered on, powered off, or suspended.
Parent Snapshots The first virtual machine snapshot that you create is the base parent
snapshot. The parent snapshot is the most recently saved version of the
current state of the virtual machine. Taking a snapshot creates a delta disk
file for each disk attached to the virtual machine and optionally, a memory
file. The delta disk files and memory file are stored with the base .vmdk file.
The parent snapshot is always the snapshot that appears immediately above
the You are here icon in the Snapshot Manager. If you revert or restore a
snapshot, that snapshot becomes the parent of the You are here current state.
Note The parent snapshot is not always the snapshot that you took most
recently.
Child Snapshots A snapshot of a virtual machine taken after the parent snapshot. Each child
snapshot contains delta files for each attached virtual disk, and optionally a
memory file that points from the present state of the virtual disk (You are
here). Each child snapshot's delta files merge with each previous child
snapshot until reaching the parent disks. A child disk can later be a parent
disk for future child disks.
The relationship of parent and child snapshots can change if you have multiple branches in the snapshot
tree. A parent snapshot can have more than one child. Many snapshots have no children.
Important Do not manually manipulate individual child disks or any of the snapshot configuration files
because doing so can compromise the snapshot tree and result in data loss. This restriction includes disk
resizing and making modifications to the base parent disk by using vmkfstools.
Snapshot Behavior
Taking a snapshot preserves the disk state at a specific time by creating a series of delta disks for each
attached virtual disk or virtual RDM and optionally preserves the memory and power state by creating a
memory file. Taking a snapshot creates a snapshot object in the Snapshot Manager that represents the virtual
machine state and settings.
72 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
Each snapshot creates an additional delta .vmdk disk file. When you take a snapshot, the snapshot
mechanism prevents the guest operating system from writing to the base .vmdk file and instead directs all
writes to the delta disk file. The delta disk represents the difference between the current state of the virtual
disk and the state that existed at the time that you took the previous snapshot. If more than one snapshot
exists, delta disks can represent the difference between each snapshot. Delta disk files can expand quickly
and become as large as the entire virtual disk if the guest operating system writes to every block of the
virtual disk.
Snapshot Files
When you take a snapshot, you capture the state of the virtual machine settings and the virtual disk. If you
are taking a memory snapshot, you also capture the memory state of the virtual machine. These states are
saved to files that reside with the virtual machine's base files.
Snapshot Files
A snapshot consists of files that are stored on a supported storage device. A Take Snapshot operation
creates .vmdk, -delta.vmdk, .vmsd, and .vmsn files. By default, the first and all delta disks are stored with the
base .vmdk file. The .vmsd and .vmsn files are stored in the virtual machine directory.
Delta disk files A .vmdk file to which the guest operating system can write. The delta disk
represents the difference between the current state of the virtual disk and the
state that existed at the time that the previous snapshot was taken. When you
take a snapshot, the state of the virtual disk is preserved, which prevents the
guest operating system from writing to it, and a delta or child disk is created.
A delta disk has two files, including a descriptor file that is small and
contains information about the virtual disk, such as geometry and child-
parent relationship information, and a corresponding file that contains the
raw data.
The files that make up the delta disk are referred to as child disks or redo
logs.
Flat file A -flat.vmdk file that is one of two files that comprises the base disk. The flat
disk contains the raw data for the base disk. This file does not appear as a
separate file in the Datastore Browser.
Database file A .vmsd file that contains the virtual machine's snapshot information and is
the primary source of information for the Snapshot Manager. This file
contains line entries, which define the relationships between snapshots and
between child disks for each snapshot.
Memory file A .vmsn file that includes the active state of the virtual machine. Capturing
the memory state of the virtual machine lets you revert to a turned on virtual
machine state. With nonmemory snapshots, you can only revert to a turned
off virtual machine state. Memory snapshots take longer to create than
nonmemory snapshots. The time the ESXi host takes to write the memory
onto the disk is relative to the amount of memory the virtual machine is
configured to use.
A Take Snapshot operation creates .vmdk, -delta.vmdk, vmsd, and vmsn files.
VMware, Inc. 73
vSphere Single Host Management - VMware Host Client
File Description
vmname-number.vmdk and vmname- Snapshot file that represents the difference between the current state of the virtual
number-delta.vmdk disk and the state that existed at the time the previous snapshot was taken.
The filename uses the following syntax, S1vm-000001.vmdk where S1vm is the
name of the virtual machine and the six-digit number, 000001, is based on the
files that already exist in the directory. The number does not consider the number
of disks that are attached to the virtual machine.
vmname.vmsd Database of the virtual machine's snapshot information and the primary source of
information for the Snapshot Manager.
vmname.Snapshotnumber.vmsn Memory state of the virtual machine at the time you take the snapshot. The file
name uses the following syntax, S1vm.snapshot1.vmsn, where S1vm is the
virtual machine name, and snapshot1 is the first snapshot.
Note A .vmsn file is created each time you take a snapshot, regardless of the
memory selection. A .vmsn file without memory is much smaller than one with
memory.
Snapshot Limitations
Snapshots can affect virtual machine performance and do not support some disk types or virtual machines
configured with bus sharing. Snapshots are useful as short-term solutions for capturing point-in-time virtual
machine states and are not appropriate for long-term virtual machine backups.
n VMware does not support snapshots of raw disks, RDM physical mode disks, or guest operating
systems that use an iSCSI initiator in the guest.
n Virtual machines with independent disks must be powered off before you take a snapshot. Snapshots of
powered-on or suspended virtual machines with independent disks are not supported.
n Snapshots are not supported with PCI vSphere Direct Path I/O devices.
n VMware does not support snapshots of virtual machines configured for bus sharing. If you require bus
sharing, consider running backup software in your guest operating system as an alternative solution. If
your virtual machine currently has snapshots that prevent you from configuring bus sharing, delete
(consolidate) the snapshots.
n Snapshots provide a point-in-time image of the disk that backup solutions can use, but Snapshots are
not meant to be a robust method of backup and recovery. If the files containing a virtual machine are
lost, its snapshot files are also lost. Also, large numbers of snapshots are difficult to manage, consume
large amounts of disk space, and are not protected in the case of hardware failure.
n Snapshots can negatively affect the performance of a virtual machine. Performance degradation is based
on how long the snapshot or snapshot tree is in place, the depth of the tree, and how much the virtual
machine and its guest operating system have changed from the time you took the snapshot. Also, you
might see a delay in the amount of time it takes the virtual machine to power-on. Do not run production
virtual machines from snapshots on a permanent basis.
n If a virtual machine has virtual hard disks larger than 2TBs, snapshot operations can take significantly
longer to finish.
When you take a snapshot, other activity that is occurring in the virtual machine might affect the snapshot
process when you revert to that snapshot. The best time to take a snapshot from a storage perspective, is
when you are not incurring a large I/O load. The best time to take a snapshot from a service perspective is
when no applications in the virtual machine are communicating with other computers. The potential for
74 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
problems is greatest if the virtual machine is communicating with another computer, especially in a
production environment. For example, if you take a snapshot while the virtual machine is downloading a
file from a server on the network, the virtual machine continues downloading the file and communicating its
progress to the server. If you revert to the snapshot, communications between the virtual machine and the
server are confused and the file transfer fails. Depending on the task that you are performing, you can create
a memory snapshot or you can quiesce the file system in the virtual machine.
Memory Snapshots The default selection for taking snapshots. When you capture the virtual
machine's memory state, the snapshot retains the live state of the virtual
machine. Memory snapshots create a snapshot at a precise time, for example,
to upgrade software that is still working. If you take a memory snapshot and
the upgrade does not complete as expected, or the software does not meet
your expectations, you can revert the virtual machine to its previous state.
When you capture the memory state, the virtual machine's files do not
require quiescing. If you do not capture the memory state, the snapshot does
not save the live state of the virtual machine and the disks are crash
consistent unless you quiesce them.
Quiesced Snapshots When you quiesce a virtual machine, VMware Tools quiesces the file system
of the virtual machine. A quiesce operation ensures that a snapshot disk
represents a consistent state of the guest file systems. Quiesced snapshots are
appropriate for automated or periodic backups. For example, if you are
unaware of the virtual machine's activity, but want several recent backups to
revert to, you can quiesce the files.
If the virtual machine is powered off or VMware Tools is not available, the
Quiesce parameter is not available. You cannot quiesce virtual machines that
have large capacity disks.
Important Do not use snapshots as your only backup solution or as a long-term backup solution.
When you create a memory snapshot, the snapshot captures the state of the virtual machine's memory and
the virtual machine power settings. When you capture the virtual machine's memory state, snapshots that
capture the memory state of a virtual machine take longer to complete. You might also see a momentary
lapse in response over the network.
When you quiesce a virtual machine, VMware Tools quiesces the file system in the virtual machine. The
quiesce operation pauses or alters the state of running processes on the virtual machine, especially processes
that might modify information stores on the disk during a restore operation.
Application-consistent quiescing is not supported for virtual machines with IDE or SATA disks.
Note Do not use VMware snapshots to backup dynamic disks on Windows. If you take a snapshot of a
dynamic disks on Windows you cannot revert to the snapshot. Snapshot technology does not have visibility
in dynamic disks and cannot preserve the quiesced state of the disk files.
Prerequisites
n If you are taking a memory snapshot of a virtual machine that has multiple disks in different disk
modes, verify that the virtual machine is powered off. For example, if you have a special purpose
configuration that requires you to use an independent disk, you must power off the virtual machine
before taking a snapshot.
VMware, Inc. 75
vSphere Single Host Management - VMware Host Client
n To capture the memory state of the virtual machine, verify that the virtual machine is powered on.
n To quiesce the virtual machine files, verify that the virtual machine is powered on and that VMware
Tools is installed.
n Verify that you have the Virtual machine .Snapshot management. Create snapshot privilege on the
virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine from the list, select Snapshots, and select Take snapshot from the pop-up
menu.
5 (Optional) Select the Snapshot the virtual machine's memory check box to capture the memory of the
virtual machine.
6 (Optional) Deselect Snapshot the virtual machine's memory and select Quiesce guest file system
(needs VMware Tools installed) check box to pause running processes on the guest operating system
so that file system contents are in a known consistent state when you take the snapshot.
Quiesce the virtual machine files only when the virtual machine is powered on and you do not want to
capture the virtual machine's memory.
7 Click OK.
Restoring Snapshots
To return a virtual machine to its original state, or to return to another snapshot in the snapshot hierarchy,
you can restore a snapshot.
When you restore a snapshot, you return the virtual machine's memory, settings, and the state of the virtual
machine disks to the state they were in at the time you took the snapshot. If you want the virtual machine to
be suspended, powered on, or powered off when you start it, make sure that it is in the correct state when
you take the snapshot.
Revert to Latest Restores the parent snapshot, one level up in the hierarchy from the You are
Snapshot Here position. Revert to Latest Snapshot activates the parent snapshot of the
current state of the virtual machine.
Revert To Lets you restore any snapshot in the snapshot tree and makes that snapshot
the parent snapshot of the current state of the virtual machine. Subsequent
snapshots from this point create a new branch of the snapshot tree.
n The current disk and memory states are discarded, and the virtual machine reverts to the disk and
memory states of the parent snapshot.
n Existing snapshots are not removed. You can restore those snapshots at any time.
76 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
n If the snapshot includes the memory state, the virtual machine will be in the same power state as when
you created the snapshot.
Powered on (includes memory) Reverts to the parent snapshot, and the virtual machine is
powered on and running.
Powered on (does not include memory) Reverts to the parent snapshot and the virtual machine is
powered off.
Powered off (does not include memory) Reverts to the parent snapshot and the virtual machine is
powered off.
Virtual machines running certain kinds of workloads can take several minutes to resume responsiveness
after reverting from a snapshot.
Note vApp metadata for virtual machines in vApps does not follow the snapshot semantics for virtual
machine configuration. vApp properties that are deleted, modified, or defined after a snapshot is taken
remain intact (deleted, modified, or defined) after the virtual machine reverts to that snapshot or any
previous snapshots.
Prerequisites
Verify that you have the Virtual machine.Snapshot management.Revert to snapshot privilege on the
virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click the virtual machine in the list, select Snapshots, and select Revert to snapshot from the pop-
up menu.
Note The current state of the virtual machine will be lost unless you save it in a snapshot.
3 Click Revert to revert the virtual machine to the most recent snapshot.
Deleting Snapshots
Deleting a snapshot removes the snapshot from the Snapshot Manager. The snapshot files are consolidated
and written to the parent snapshot disk and merge with the virtual machine base disk.
Deleting a snapshot does not change the virtual machine or other snapshots. Deleting a snapshot
consolidates the changes between snapshots and previous disk states and writes all the data from the delta
disk that contains the information about the deleted snapshot to the parent disk. When you delete the base
parent snapshot, all changes merge with the base virtual machine disk.
To delete a snapshot, a lot of information needs to be read and written to a disk. This can reduce virtual
machine performance until consolidation is complete. Consolidating snapshots removes redundant disks,
which improves virtual machine performance and saves storage space. The time it takes to delete snapshots
and consolidate the snapshot files depends on the amount of data that the guest operating system writes to
the virtual disks after you take the last snapshot. The required time is proportional to the amount of data the
virtual machine is writing during consolidation if the virtual machine is powered on.
VMware, Inc. 77
vSphere Single Host Management - VMware Host Client
Failure of disk consolidation can reduce the performance of virtual machines. You can check whether any
virtual machines require separate consolidation operations by viewing a list. For information about locating
and viewing the consolidation state of multiple virtual machines and running a separate consolidation
operation, see vSphere Virtual Machine Administration.
Delete Use the Delete option to remove a single parent or child snapshot from the
snapshot tree. Delete writes disk changes that occur between the state of the
snapshot and the previous disk state to the parent snapshot.
You can also use the Delete option to remove a corrupt snapshot and its files
from an abandoned branch of the snapshot tree without merging them with
the parent snapshot.
Delete All Use the Delete All option to delete all snapshots from the Snapshot Manager.
Delete all consolidates and writes the changes that occur between snapshots
and the previous delta disk states to the base parent disk and merges them
with the base virtual machine disk.
To prevent snapshot files from merging with the parent snapshot if, for example, an update or installation
fails, first use the Restore command to restore to a previous snapshot. This action invalidates the snapshot
delta disks and deletes the memory file. You can then use the Delete option to remove the snapshot and any
associated files.
Be careful not to accidentally delete a snapshot that you need. You cannot restore a deleted snapshot. For
example, you might want to install several browsers, a, b, and c, and capture the virtual machine state after
you install each browser. The first, or base snapshot, captures the virtual machine with browser a and the
second snapshot captures browser b. If you restore the base snapshot that includes browser a and take a
third snapshot to capture browser c and delete the snapshot that contains browser b, you cannot return to
the virtual machine state that includes browser b.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click the virtual machine in the list, select Snapshots from the pop-up menu and click Manage
Snapshots.
3 Click the snapshot that you want to delete and click Delete.
4 Click Remove.
After you take a snapshot, you can right-click a virtual machine and click Revert to snapshot to restore the
virtual machine to the state of the snapshot at any time.
If you have a series of snapshots, you can use the Snapshot Manager to restore any parent or child snapshot.
Subsequent child snapshots that you take from the restored snapshot create a branch in the snapshot tree.
Use the Snapshot Manager to delete a snapshot from the tree.
78 VMware, Inc.
Chapter 3 Virtual Machine Management with the VMware Host Client
You are here icon The You are here icon represents the current and active state of the virtual machine.
The Restore, Delete, and Edit actions are disabled for the You are here state.
Details Shows the snapshot name and description, the date you created the snapshot. The Console
shows the power state of the virtual machine when a snapshot was taken. The Name,
Description, and Created text boxes are blank if you do not select a snapshot.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
3 Expand the virtual machine in the VMware Host Client inventory and click Monitor.
4 Click Performance.
5 To view the virtual machine resource usage for the last hour, select an option from the drop-down
menu.
n To view the percentage of CPU that the virtual machine used during the last hour, select CPU
usage.
n To view the memory that the host consumed during the last hour, select Memory usage.
Prerequisites
Required privilege: Read only.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
3 Expand the virtual machine in the VMware Host Client inventory and click Monitor.
4 Click Events.
VMware, Inc. 79
vSphere Single Host Management - VMware Host Client
6 (Optional) Use the filter controls above the list to filter the list.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
3 Expand the virtual machine in the VMware Host Client inventory and click Monitor.
4 Click Tasks.
6 (Optional) Use the filter controls above the list to filter the list.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
3 Expand the virtual machine in the VMware Host Client inventory and click Monitor.
4 Click Logs.
5 (Optional) Click Generate support bundle to consolidate all the logs for troubleshooting.
6 Right-click a log from the list and select Open in new window to view the log.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
3 Expand the virtual machine in the VMware Host Client inventory and click Monitor.
4 Click Notifications.
80 VMware, Inc.
Managing Storage in the
VMware Host Client 4
When you connect to an ESXi host by using the VMware Host Client, you can perform different storage
management tasks on the ESXi host, including configuring adapters, creating datastores, and viewing
storage device information.
n “Performing Storage Refresh and Rescan Operations in the VMware Host Client,” on page 104
Depending on the type of storage you use, datastores can be of the following types:
You can increase datastore capacity after you create a datastore but only if it is a VMFS datastore.
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
2 To view the details for a specific datastore, select the datastore from the list.
1 Start the VMFS Datastore Creation Process in the VMware Host Client on page 82
You can use the New datastore wizard to create datastores in the VMware Host Client.
VMware, Inc. 81
vSphere Single Host Management - VMware Host Client
2 Select a Method for Adding a New Datastore to the Host in the VMware Host Client on page 82
You can use the Select creation type page of the New datastore wizard to choose whether you want to
create a new VMFS datastore, extend an existing one, or mount an NFS datastore.
3 Select a Device on Which to Add a VMFS Datastore in the VMware Host Client on page 82
Select where to create a VMFS datastore in the VMware Host Client.
Start the VMFS Datastore Creation Process in the VMware Host Client
You can use the New datastore wizard to create datastores in the VMware Host Client.
Prerequisites
Install and configure any adapters that your storage requires. Rescan the adapters to discover newly added
storage devices.
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
Select a Method for Adding a New Datastore to the Host in the VMware Host Client
You can use the Select creation type page of the New datastore wizard to choose whether you want to create
a new VMFS datastore, extend an existing one, or mount an NFS datastore.
Procedure
u Select a creation type for the new datastore and click Next.
Option Description
Create new VMFS datastore Creates a new VMFS datastore on a local disk device.
Increase the size of an existing Increases the size of an existing datastore by adding a new extent on
datastore another disk.
Mount NFS datastore Creates a new datastore by mounting a remote NFS volume.
Select a Device on Which to Add a VMFS Datastore in the VMware Host Client
Select where to create a VMFS datastore in the VMware Host Client.
The following procedure applies if you want to create a new VMFS datastore.
Procedure
1 Enter a name for the new datastore.
The list contains only devices that have enough available space.
82 VMware, Inc.
Chapter 4 Managing Storage in the VMware Host Client
Procedure
1 Click the Select partitioning scheme drop-down menu and select an option.
Option Description
Use Full Disk It shows you all the free space that is available on the device.
Custom Click the Free space bar and use the horizontal scroller to partition the
device.
2 Click Next.
Procedure
u Review the configuration selections summary and click Finish.
n Dynamically grow any expandable datastore extent, so that it fills the available adjacent capacity. The
extent is considered expandable when the underlying storage device has free space immediately after
the extent.
n Dynamically add a new extent. The datastore can span over up to 32 extents with the size of each extent
of more than 2TB, yet appear as a single volume. The spanned VMFS datastore can use any or all of its
extents at any time. It does not need to fill up a particular extent before using the next one.
Note Datastores that only support hardware assisted locking, also called atomic test and set (ATS)
mechanism cannot span over non-ATS devices. For more information, see vSphere Storage.
If a shared datastore has powered on virtual machines and becomes 100% full, you can increase the
datastore's capacity only from the host that the powered on virtual machines are registered on.
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
3 Click Increase the size of an existing VMFS datastore and click Next.
VMware, Inc. 83
vSphere Single Host Management - VMware Host Client
Select the Datastore You Want to Increase in the VMware Host Client
Review the capacity and the available space on your datastores and choose which datastore you want to
increase.
Procedure
u From the list of datastores, click the datastore that you want to increase and click Next.
Procedure
u Select a device from the list of unclaimed devices and click Next.
Procedure
1 Click the Select partitioning scheme drop-down menu and select an option.
Option Description
Use Full Disk It shows you all the free space that is available on the device.
Custom Click the Free space bar and use the horizontal scroller to partition the
device.
2 Click Next.
Procedure
u Review the configuration selections summary and click Finish.
84 VMware, Inc.
Chapter 4 Managing Storage in the VMware Host Client
5 Complete the NFS Datastore Mounting Process in the VMware Host Client on page 86
In the Ready to complete page you can review your configuration selections for your NFS datastore.
Typically, the NFS volume or directory is created by a storage administrator and is exported from the NFS
server. You do not need to format the NFS volume with a local file system, such as VMFS. Instead, you
mount the volume directly on the ESXi hosts and use it to store and boot virtual machines in the same way
that you use the VMFS datastores.
In addition to storing virtual disks on NFS datastores, you can use NFS as a central repository for ISO
images, virtual machine templates, and so on. If you use the datastore for the ISO images, you can connect
the CD-ROM device of the virtual machine to an ISO file on the datastore. You then can install a guest
operating system from the ISO file.
Prerequisites
Because NFS requires network connectivity to access data on remote servers, before configuring NFS, you
must first configure VMkernel networking.
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
Procedure
1 Enter a name for the NFS datastore.
VMware, Inc. 85
vSphere Single Host Management - VMware Host Client
For the server name, you can enter an IP address, a DNS name, or an NFS UUID.
Note When you mount the same NFS volume on different hosts, make sure that the server and folder
names are identical across the hosts. If the names do not match, the hosts detect the same NFS volume
as two different datastores. This might result in a failure of features such as vMotion. An example of
such discrepancy is if you enter filer as the server name on one host and filer.domain.com on the
other.
4 Click Next
Complete the NFS Datastore Mounting Process in the VMware Host Client
In the Ready to complete page you can review your configuration selections for your NFS datastore.
Procedure
u Review the settings for the NFS datastore and click Finish.
Do not perform any configuration operations that might result in I/O to the datastore while the unmount is
in progress.
Prerequisites
Note Make sure that the datastore is not used by vSphere HA heartbeating. vSphere HA heartbeating does
not prevent you from unmouting the datastore. However, if the datastore is used for heartbeating,
unmounting it might cause the host to fail and restart all active virtual machines.
Before unmounting a datastore, also make sure that the following prerequisites are met:
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
2 Right-click the datastore to unmount from the list and click Unmount.
86 VMware, Inc.
Chapter 4 Managing Storage in the VMware Host Client
Problem
The operation to unmount or remove a datastore fails if the datastore has any opened files. For these user
operations, the vSphere HA agent closes all of the files that it has opened, for example, heartbeat files. If the
agent is not reachable by vCenter Server or the agent cannot flush out pending I/Os to close the files, a The
HA agent on host '{hostName}' failed to quiesce file activity on datastore '{dsName} fault is
triggered.
Cause
If the datastore to be unmounted or removed is used for heartbeating, vCenter Server excludes it from
heartbeating and chooses a new one. However, the agent does not receive the updated heartbeat datastores
if it is not reachable, that is, if the host is isolated or in a network partition. In such cases, heartbeat files are
not closed and the user operation fails. The operation can also fail if the datastore is not accessible because of
storage failures such as all paths down.
Note When you remove a VMFS datastore, the datastore is removed from all the hosts in inventory. So if
there are any hosts in a vSphere HA cluster that are unreachable or that cannot access the datastore, the
operation fails.
Solution
Ensure that the datastore is accessible and the affected hosts are reachable.
Note Virtual Volumes do not support uploading files directly to the virtual datastores. You must first
create a folder on the virtual datastore, and then upload the files into the folder.
In addition to their traditional use as a storage for virtual machine files, datastores can serve to store data or
files related to virtual machines. For example, you can upload ISO images of operating systems from a local
computer to a datastore on the host. You then use these images to install guest operating systems on the new
virtual machines.
Prerequisites
Required privilege: Datastore.Browse Datastore
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
3 Select the datastore that you want to store the file on.
VMware, Inc. 87
vSphere Single Host Management - VMware Host Client
6 Locate the item that you want to upload from your local computer and click Open.
7 (Optional) Refresh the datastore file browser to see the uploaded file on the list.
8 Click Close to exit the file browser.
Download Files from a Datastore to Your System in the VMware Host Client
Use the datastore file browser to download files from the datastores available on the host that you are
managing to your local system.
Prerequisites
Required privilege: Datastore.Browse Datastore
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
6 Click Download.
Prerequisites
Required privilege: Datastore.Browse Datastore
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
4 Select the folder that contains the file that you want to delete.
5 Click the file that you want to remove from the datastore, click Delete, and click Delete again.
88 VMware, Inc.
Chapter 4 Managing Storage in the VMware Host Client
Note Virtual disk files are moved and copied without format conversion. If you move a virtual disk to a
datastore on a type of host that is different from the type of the source host, you might need to convert the
virtual disks before you can use them.
Prerequisites
Required privilege: Datastore.Browse Datastore
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
4 Select the file or folder that you want to move to another location and click Move.
Note Virtual disk files are moved and copied without format conversion. If you move a virtual disk to a
datastore on a type of host that is different from the type of the source host, you might need to convert the
virtual disks.
Prerequisites
Required privilege: Datastore.Browse Datastore
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
4 Select the file or folder that you want to move to another location and click Copy.
Prerequisites
Required privilege: Datastore.Browse Datastore
VMware, Inc. 89
vSphere Single Host Management - VMware Host Client
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
2 Right-click a datastore in the list and select Rename from the drop-down menu.
3 Enter a new name for the datastore and click Save to apply your changes.
4 (Optional) Click Refresh to see the new name of the datastore in the list of available datastores.
Note The datastore delete operation permanently deletes all files associated with virtual machines on the
datastore. Although you can delete the datastore without unmounting, it is preferable that you unmount the
datastore first
Prerequisites
Remove all virtual machines from the datastore.
Procedure
1 Click Storage in the VMware Host Client inventory and click Datastores.
2 Right-click the datastore from the list and select Delete from the drop-down menu.
The hardware acceleration is supported by block storage devices, Fibre Channel and iSCSI, and NAS
devices.
For additional details, see the VMware knowledge base article at http://kb.vmware.com/kb/1021976.
90 VMware, Inc.
Chapter 4 Managing Storage in the VMware Host Client
Changing advanced settings is considered unsupported unless VMware Technical Support instructs you to
do so.
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click the virtual machine in the list and select Edit Settings from the drop-down menu.
5 Click Save.
Thin provisioning is a method that optimizes storage utilization by allocating storage space in a flexible on-
demand manner. Thin provisioning contrasts with the traditional model, called thick provisioning. With
thick provisioning, a large amount of storage space is provided in advance in anticipation of future storage
needs. However, the space might remain unused causing underutilization of storage capacity.
The VMware thin provisioning features help you eliminate storage underutilization problems at the
datastore and storage array level.
The following procedure assumes that you are creating a new virtual machine. For more information, see
“Creating a Virtual Machine in the VMware Host Client,” on page 33.
Procedure
1 Right-click Host in the VMware Host Client inventory and select Create/Register VM.
2 Select a method for adding a new virtual machine on the host and click Next.
4 Select the virtual machine compatibility from the Compatibility drop-down menu.
5 Select a guest operating system version from the Guest OS version drop-down menu and click Next.
6 From the list of accessible datastores on the Select storage page of the New Virtual Machine wizard,
select the destination datastore for the virtual machine configuration files and all of the virtual disks.
VMware, Inc. 91
vSphere Single Host Management - VMware Host Client
8 Under Disk Provisioning, select the Thin provisioned radio button and click Next.
9 On the Ready to complete page of the New Virtual Machine wizard, review the configuration settings
for the virtual machine and click Finish to save your settings.
Resource Consumption shows how much datastore space is occupied by virtual machine files, including
configuration files, log files, snapshots, virtual disks, and so on. When the virtual machine is running, the
used storage space also includes swap files.
For virtual machines with thin disks, the actual storage usage value might be less than the size of the virtual
disk.
Procedure
1 Click the virtual machine in the VMware Host Client inventory.
2 Review the Resource Consumption information in the lower right area of the virtual machine summary
page.
Procedure
1 Right-click the virtual machine in the VMware Host Client inventory and select Edit settings.
The Type text box shows the format of your virtual disk.
When you enable iSCSI on the host that you are managing in your VMware Host Client environment, you
can configure and add new network port bindings, static and dynamic targets, you can manage CHAP
authentication, and configure various advanced settings on your host storage.
Procedure
1 Click Storage in the VMware Host Client inventory and click Adapters.
All storage adapters available to the host are listed under Adapters.
2 To view details for a specific adapter, select the adapter from the list.
92 VMware, Inc.
Chapter 4 Managing Storage in the VMware Host Client
Note Before you can use the software iSCSI adapter, you must set up networking, activate the adapter, and
configure parameters such as CHAP.
n Enabling iSCSI on your host. See“Enable iSCSI for an ESXi Host in the VMware Host Client,” on
page 96
n Adding a port binding. See “Add Port Binding in the VMware Host Client,” on page 99
n Removing port binding. See“Remove Port Binding in the VMware Host Client,” on page 99
Configuring the network connection involves creating a virtual VMkernel adapter for each physical network
adapter. You then associate the VMkernel adapter with an appropriate iSCSI adapter. This process is called
port binding.
For specific considerations on when and how to use network connections with software iSCSI, see the
VMware knowledge base article at http://kb.vmware.com/kb/2038869.
You can connect the software iSCSI adapter with any physical NICs available on your host. The dependent
iSCSI adapters must be connected only to their own physical NICs.
Note Physical NICs must be on the same subnet as the iSCSI storage system they connect to.
VMware, Inc. 93
vSphere Single Host Management - VMware Host Client
virtual
vmk1 vmk2 vmk1 vmk2
adapters
vSwitch vSwitch
IP network
The iSCSI adapter and physical NIC connect through a virtual VMkernel adapter, also called the virtual
network adapter or the VMkernel port. You create a VMkernel adapter (vmk) on a vSphere switch (vSwitch)
using 1:1 mapping between each virtual and physical network adapter.
One way to achieve the 1:1 mapping when you have multiple NICs, is to designate a separate vSphere
switch for each virtual-to-physical adapter pair.
Note If you use separate vSphere switches, you must connect them to different IP subnets. Otherwise,
VMkernel adapters might experience connectivity problems and the host fails to discover the iSCSI LUNs.
The following examples show configurations that use vSphere standard switches, but you can use
distributed switches as well. For more information about vSphere distributed switches, see the vSphere
Networking documentation.
94 VMware, Inc.
Chapter 4 Managing Storage in the VMware Host Client
iSCSI1 vmnic1
vmk1
vSwitch2
iSCSI2 vmnic2
vmk2
An alternative is to add all NICs and VMkernel adapters to a single vSphere standard switch. In this case,
you must override the default network setup and make sure that each VMkernel adapter maps to only one
corresponding active physical adapter.
Note If the VMkernel adapters are on the same subnet, use the single vSwitch configuration.
iSCSI2 vmnic2
vmk2 vmnic1
iSCSI1
vmk1
The following table summarizes the iSCSI networking configuration discussed in this topic.
Software iSCSI
vmk2 vmnic2
VMware, Inc. 95
vSphere Single Host Management - VMware Host Client
Procedure
1 Click Storage in the VMware Host Client inventory, click Adapters, and click Configure iSCSI.
3 (Optional) Configure the parameters and components that you want to change.
Note Make sure that all target portals are reachable from all VMkernel ports when port binding is used.
Otherwise, iSCSI sessions might fail to create. As a result, the rescan operation might take longer than
expected.
No Port Binding
If you do not use port binding, the ESXi networking layer selects the best VMkernel port based on its
routing table. The host uses the port to create an iSCSI session with the target portal. Without the port
binding, only one session per each target portal is created.
If your target has only one network portal, you can create multiple paths to the target by adding multiple
VMkernel ports on your ESXi host and binding them to the iSCSI initiator.
96 VMware, Inc.
Chapter 4 Managing Storage in the VMware Host Client
vmk1
192.168.0.1/24
vmnic1
Same subnet
vmk2
192.168.0.2/24
vmnic2 Single Target:
IP 192.168.0.10/24
vmk3 Network
192.168.0.3/24
vmnic3
vmk2
192.168.0.4/24
vmnic4
In this example, all initiator ports and the target portal are configured in the same subnet. The target is
reachable through all bound ports. You have four VMkernel ports and one target portal, so total of four
paths are created.
You can create multiple paths by configuring multiple ports and target portals on different IP subnets. By
keeping initiator and target ports in different subnets, you can force ESXi to create paths through specific
ports. In this configuration, you do not use port binding because port binding requires that all initiator and
target ports are on the same subnet.
vmk1 SP/Controller A:
IP
Network
vmk2 SP/Controller B:
ESXi selects vmk1 when connecting to Port 0 of Controller A and Controller B because all three ports are on
the same subnet. Similarly, vmk2 is selected when connecting to Port 1of Controller A and B. You can use
NIC teaming in this configuration.
Paths Description
VMware, Inc. 97
vSphere Single Host Management - VMware Host Client
Paths Description
In this example, you keep all bound vmkernel ports in one subnet (N1) and configure all target portals in
another subnet (N2). You can then add a static route for the target subnet (N2).
N1 N2
vmk1
SP/Controller A
192.168.1.1/24 Port 0
10.115.179.1/24
vmnic1
IP
Network
vmk2
SP/Controller B
192.168.1.2/24 Port 0
10.115.179.2/24
vmnic2
In this configuration, you use static routing when using different subnets. You cannot use the port binding
with this configuration.
vmk1
SP/Controller A
192.168.1.1/24 Port 0
0.115.155.1/24
vmnic1
IP
Network
vmk2
SP/Controller A
192.168.2.1/24 Port 0
0.115.179.1/24
vmnic2
You configure vmk1 and vmk2 in separate subnets, 192.168.1.0 and 192.168.2.0. Your target portals are also
in separate subnets, 10.115.155.0 and 10.155.179.0.
You can add the static route for 10.115.155.0 from vmk1. Make sure that the gateway is reachable from
vmk1.
You then add static route for 10.115.179.0 from vmk2. Make sure that the gateway is reachable from vmk2.
98 VMware, Inc.
Chapter 4 Managing Storage in the VMware Host Client
Starting with vSphere 6.5, you can configure a separate gateway per VMkernel port. If you use DHCP to
obtain IP configuration for a VMkernel port, gateway information can also be obtained using DHCP.
To see gateway information per VMkernel port, use the following command:
Name IPv4 Address IPv4 Netmask IPv4 Broadcast Address Type Gateway DHCP DNS
---- -------------- ------------- -------------- ------------ -------------- --------
vmk0 10.115.155.122 255.255.252.0 10.115.155.255 DHCP 10.115.155.253 true
vmk1 10.115.179.209 255.255.252.0 10.115.179.255 DHCP 10.115.179.253 true
vmk2 10.115.179.146 255.255.252.0 10.115.179.255 DHCP 10.115.179.253 true
With separate gateways per VMkernel port, you use port binding to reach targets in different subnets.
Prerequisites
n Create a virtual VMkernel adapter for each physical network adapter on your host. If you use multiple
VMkernel adapters, set up the correct network policy.
Procedure
1 Click Storage in the VMware Host Client inventory, click Adapters, and click Configure iSCSI.
Note Make sure that the network policy for the VMkernel adapter is compliant with the binding
requirements.
You can bind the software iSCSI adapter to one or more VMkernel adapters. For a dependent hardware
iSCSI adapter, only one VMkernel adapter associated with the correct physical NIC is available.
4 Click Select.
Procedure
1 Click Storage in the VMware Host Client inventory, click Adapters, and click Configure iSCSI.
2 In the Network port bindings section, select a VMkernel NIC from the list.
VMware, Inc. 99
vSphere Single Host Management - VMware Host Client
Dynamic Discovery Also known as SendTargets discovery. Each time the initiator contacts a
specified iSCSI server, the initiator sends the SendTargets request to the
server. The server responds by supplying a list of available targets to the
initiator. The names and IP addresses of these targets appear on the Static
Discovery tab. If you remove a static target added by dynamic discovery, the
target might be returned to the list the next time a rescan happens, the iSCSI
adapter is reset, or the host is rebooted.
Note With software and dependent hardware iSCSI, ESXi filters target
addresses based on the IP family of the iSCSI server address specified. If the
address is IPv4, IPv6 addresses that might come in the SendTargets response
from the iSCSI server are filtered out. When DNS names are used to specify
an iSCSI server, or when the SendTargets response from the iSCSI server has
DNS names, ESXi relies on the IP family of the first resolved entry from DNS
lookup.
Static Discovery In addition to the dynamic discovery method, you can use static discovery
and manually enter information for the targets. The iSCSI adapter uses a list
of targets that you provide to contact and communicate with the iSCSI
servers.
When you set up Static Discovery, you can only add new iSCSI targets. You cannot change the IP address,
DNS name, iSCSI target name, or port number of an existing target. To make changes, remove the existing
target and add a new one.
Prerequisites
Required privileges: Host.Configuration.Storage Partition Configuration
Procedure
1 Click Storage in the VMware Host Client inventory, click Adapters, and click Configure iSCSI.
3 To add a name for the new static target, click the target in the list and enter the name.
4 To add an address for the new static target, click the target in the list and type the address.
5 (Optional) To change the port number of the new static target, click the target Port text box and type the
new port number.
6 (Optional) To edit the static target settings, select the new target from the list of available targets, click
Edit settings, configure the parameters that you want to change, and click Save.
7 (Optional) To delete a specific target, select the target and click Remove static target.
When you set up Dynamic Discovery, you can only add a new iSCSI system. You cannot change the IP
address, DNS name, or port number of an existing iSCSI system. To modify the parameters, delete the
existing system and add a new one.
Prerequisites
Required privilege: Host.Configuration.Storage Partition Configuration
Procedure
1 Click Storage in the VMware Host Client inventory, click Adapters, and click Configure iSCSI.
3 To add an address for the new dynamic target, click the target in the list and enter the address .
4 (Optional) To change the port number of the new dynamic target, click the target Port text box and
enter the new port number.
5 (Optional) To edit the dynamic target settings, select the new target from the list of available targets,
click Edit settings, configure the parameters that you want to change, and click Save.
6 (Optional) To delete a specific target, select the target and click Remove dynamic target.
Caution Do not change the advanced iSCSI settings unless you are working with the VMware support
team or otherwise have thorough information about the values to provide for the settings modification.
Prerequisites
Required privilege: Host.Configuration.Storage Partition Configuration
Procedure
1 Click Storage in the VMware Host Client inventory, click Adapters, and click Configure iSCSI.
3 Edit the parameters that you want to change and click Save configuration.
Set Up CHAP Authentication for an iSCSI Adapter in the VMware Host Client
You can set up all targets to receive the same CHAP name and secret from the iSCSI initiator at the initiator
level. By default, all discovery addresses or static targets inherit the CHAP parameters that you set up at the
initiator level.
The CHAP name must be fewer than 511 alphanumeric characters and the CHAP secret must be fewer than
255 alphanumeric characters. Some adapters, for example the QLogic adapter, might have lower limits, 255
for the CHAP name and 100 for the CHAP secret.
Prerequisites
n Before you set up CHAP parameters for software or dependent hardware iSCSI, determine whether to
configure one-way, also known as normal, or mutual CHAP. Independent hardware iSCSI adapters do
not support mutual CHAP.
n In mutual CHAP, both the target and the initiator authenticate each other. Use different secrets for
CHAP and mutual CHAP.
When you configure CHAP parameters, verify that they match the parameters on the storage side.
Procedure
1 Click Storage in the VMware Host Client inventory, click Adapters, and click Configure iSCSI.
Make sure that the name you enter matches the name configured on the storage side.
c Enter a one-way CHAP secret to use for authentication. Use the same secret that you enter on the
storage side.
3 To configure mutual CHAP, select Use CHAP as an option for one-way CHAP. Expand Mutual CHAP
authentication to display all parameters.
Use different secrets for the one-way CHAP and the mutual CHAP.
If you change the authentication settings for an iSCSI adapter, you only use the updated credentials for new
iSCSI sessions. Existing sessions persist until either the connection is lost due to some outside factor, such as
force re-authentication, or you remove and add the adapter iSCSI targets.
The Storage Devices view allows you to list the host storage devices, analyze their information, and modify
properties.
Procedure
1 Click Storage in the VMware Host Client inventory and click Devices.
All storage devices available to the host are listed under Devices.
2 To view details for a specific device, select the device from the list.
Prerequisites
Verify that the device is not in use by ESXi as boot disk, VMFS datastore, or Virtual SAN.
Procedure
1 Click Storage in the VMware Host Client and click Devices.
2 Right-click a device from the list, click Clear partition table and click Yes.
Prerequisites
Verify that the device is not in use by ESXi as boot disk, VMFS datastore, or Virtual SAN.
Procedure
1 Click Storage in the VMware Host Client and click Devices.
Procedure
1 Click Storage in the VMware Host Client inventory.
2 Click Datastores.
4 Click Monitor under the name of the datastore in the VMware Host Client.
Procedure
1 Click Storage in the VMware Host Client inventory and click Adapters.
2 Click Rescan.
Procedure
1 Click Storage in the VMware Host Client inventory and click Devices.
2 Click Rescan.
Change the Number of Scanned Storage Devices in the VMware Host Client
An ESXi host is limited to accessing 256 SCSI storage devices, but the range of LUN IDs can be from 0 to
1023. ESXi ignores LUN IDs that are 1024 or greater. This limit is controlled by Disk.MaxLUN, which has a
default value of 1024.
The value of Disk.MaxLUN also determines how many LUNs the SCSI scan code attempts to discover by using
individual INQUIRY commands if the SCSI target does not support direct discovery by using
REPORT_LUNS.
You can modify the Disk.MaxLUN parameter depending on your needs. For example, if your environment has
a smaller number of storage devices with LUN IDs from 0 to 100, you can set the value to 101 to improve
device discovery speed on targets that do not support REPORT_LUNS. Lowering the value can shorten the
rescan time and boot time. However, the time to rescan storage devices might depend on other factors,
including the type of storage system and the load on the storage system.
In other cases, you might need to increase the value if your environment uses LUN IDs that are greater than
1023.
Procedure
1 Click Manage in the VMware Host Client inventory and click Advanced Settings.
2 Scroll down to Disk.MaxLUN.
The SCSI scan code does not scan the LUNs with IDs greater than or equal to the value you enter.
For example, to discover LUN IDs from 0 to 100, set Disk.MaxLUN to 101.
n “Managing Physical Network Adapters in the VMware Host Client,” on page 117
n “Managing VMkernel Network Adapters in the VMware Host Client,” on page 117
n “View TCP/IP Stack Configuration on a Host in the VMware Host Client,” on page 119
n “Change the Configuration of a TCP/IP Stack on a Host in the VMware Host Client,” on page 120
n “Monitoring Networking Events and Tasks in the VMware Host Client,” on page 122
Procedure
1 Click Networking in the VMware Host Client inventory and click Port groups.
Information about network details, virtual switch topology, NIC teaming policy, offload policy, and
security policy is displayed.
Procedure
1 Right-click Networking in the VMware Host Client inventory and click Add port group from the pop-
up menu.
The VLAN ID also reflects the VLAN tagging mode in the port group.
External Switch Tagging (EST) 0 The virtual switch does not pass traffic associated with a VLAN.
Virtual Switch Tagging (VST) From 1 to 4094 The virtual switch tags traffic with the tag that you entered.
Virtual Guest Tagging (VGT) 4095 Virtual machines handle VLANs. The virtual switch permits
traffic from any VLAN.
5 Expand Security and select options that you want to enable for promiscuous mode, MAC address
changes, and forged transmits.
6 Click Add.
7 (Optional) Click Refresh to display the new port group in the list.
Procedure
1 Click Networking in the VMware Host Client inventory and click Port groups.
2 Right-click the port group in the list that you want to edit and select Edit settings.
The VLAN ID reflects the VLAN tagging mode in the port group.
External Switch Tagging (EST) 0 The virtual switch does not pass traffic associated with a VLAN.
Virtual Switch Tagging (VST) From 1 to 4094 The virtual switch tags traffic with the tag that you entered.
Virtual Guest Tagging (VGT) 4095 Virtual machines handle VLANs. The virtual switch permits
traffic from any VLAN.
5 (Optional) Expand Security and select whether to reject, accept, or inherit the Security policy exceptions
from vSwitch.
Option Description
Promiscuous Mode n Reject. Placing a guest adapter in promiscuous mode has no effect on
which frames are received by the adapter.
n Accept. Placing a guest adapter in promiscuous mode causes it to
detect all frames passed on the vSphere distributed switch that are
allowed under the VLAN policy for the port group that the adapter is
connected to.
n Inherit from vSwitch. Placing a guest adapter in promiscuous mode
causes it to inherit the configuration from the associated virtual switch.
MAC Address Changes n Reject. If you set the MAC Address Changes to Reject and the guest
operating system changes the MAC address of the adapter to anything
other than what is in the .vmx configuration file, all inbound frames
are dropped.
If the guest operating system changes back the MAC address to match
the MAC address in the .vmx configuration file, inbound frames are
passed again.
n Accept. Changing the MAC address from the guest operating system
has the intended effect: frames to the new MAC address are received.
n Inherit from vSwitch. If you set MAC Address Changes to Inherit
from vSwitch, the MAC address changes to one of the associated
virtual switches.
Forged Transmits n Reject. Any outbound frame with a source MAC address that is
different from the one set on the adapter are dropped.
n Accept. No filtering is performed and all outbound frames are passed.
n Inherit from vSwitch. The outbound frame configuration is inherited
from the associated virtual switch.
Option Description
Load Balancing Specify how to choose an uplink.
n Inherit from vSwitch. Choose the uplink that is selected for the
associated virtual switch.
n Route based on IP hash. Choose an uplink based on a hash of the
source and destination IP addresses of each packet. For non-IP packets,
whatever is at those offsets is used to compute the hash.
n Route based on source MAC hash. Choose an uplink based on a hash
of the source Ethernet.
n Route based on originating port ID. Choose an uplink based on the
originating port ID.
n Use explicit failover order. Always use the highest order uplink from
the list of active adapters which passes failover detection criteria .
Note IP-based teaming requires the physical switch to be configured
with etherchannel. For all other options, etherchannel must be disabled.
Network Failover Detection Specify the method to use for failover detection.
n
n Inherit from vSwitch. Inherits the respective configuration of the
associated virtual switch.
n Link Status only. Relies only on the link status that the network
adapter provides. This option detects failures, such as cable pulls and
physical switch power failures, but not configuration errors, such as a
physical switch port being blocked by a spanning tree or that is
misconfigured to the wrong VLAN or cable pulls on the other side of a
physical switch.
n Beacon only. Sends out and listens for beacon probes on all NICs in
the team and uses this information, in addition to link status, to
determine link failure. This detects many of the failures that are not
detected by link status only.
Note Do not use beacon probing with IP-hash load balancing.
Notify Switches Select Yes, No, or Inherit from vSwitch to notify switches in the case of
failover.
If you select Yes, when a virtual NIC is connected to the distributed switch
or that virtual NIC’s traffic is routed over a different physical NIC in the
team because of a failover event, a notification is sent out over the network
to update the lookup tables on physical switches. In almost all cases, this
process is preferred for the lowest latency of failover occurrences and
migrations with vMotion.
Note Do not use this option when the virtual machines using the port
group are using Microsoft Network Load Balancing in unicast mode. No
such issue exists with NLB running in multicast mode.
Option Description
Failback Select Yes, No, or Inherit from vSwitch to disable or enable failback.
This option determines how a physical adapter is returned to active duty
after recovering from a failure. If failback is set to the default setting of Yes,
the adapter returns to active duty immediately upon recovery, displacing
the standby adapter that took over its slot, if any. If failback is set to No, a
failed adapter is left inactive even after recovery until another currently
active adapter fails, requiring its replacement.
Failover Order Specify how to distribute the workload for uplinks. If you want to use
some uplinks but reserve others for emergencies in case the uplinks in use
fail, set this condition by moving them into different groups:
n Active Uplinks. Continue to use the uplink when the network adapter
connectivity is up and active.
n Standby Uplinks . Use this uplink if one of the active adapter’s
connectivity is down.
Note When using IP-hash load balancing, do not configure standby
uplinks. You cannot configure failover order if any of the port group
components are configured to inherit the configuration from the associated
virtual switch.
7 (Optional) To configure traffic shaping, expand Traffic shaping, click Enabled, and specify the
following parameters.
Option Description
Average Bandwidth Establishes the number of bits per second to limit across a port, averaged
over time—the allowed average load.
Peak Bandwidth The maximum number of bits per second to limit across a port when it is
sending/receiving a burst of traffic. This is the maximum bandwidth used
by a port whenever it is using its burst bonus.
Burst Size The maximum number of bytes to limit in a burst. If this parameter is set, a
port might gain a burst bonus when it does not use all its allocated
bandwidth. Whenever the port needs more bandwidth than specified by
Average Bandwidth, it might be allowed to temporarily transmit data at a
higher speed if a burst bonus is available. This parameter represents the
maximum number of bytes that might be accumulated in the burst bonus
and so transferred at a higher speed.
Traffic shaping policy is applied to the traffic of each virtual network adapter attached to the virtual
switch.
8 Click Save to apply your changes.
Prerequisites
Verify that there are no VMkernel NICs and no powered-on virtual machines connected to the port group
that you want to remove.
Procedure
1 Click Networking in the VMware Host Client inventory and click Port groups.
2 Right-click the port group that you want to remove and select Remove from the pop-up menu.
4 (Optional) Click Refresh to verify that you have removed the port group.
Procedure
1 Click Networking in the VMware Host Client inventory and click Virtual switches.
Information about virtual switch configuration, network details, and virtual switch topology is
displayed.
Procedure
1 Right-click Networking in the VMware Host Client inventory and click Add standard vSwitch in the
pop-up menu.
2 (Optional) Click Add uplink to add a new physical uplink to a virtual switch.
3 Enter a name for the virtual switch and click Create virtual switch.
5 Expand Link discovery and select an option for the virtual switch mode.
Operation Description
Listen ESXi detects and displays information about the associated physical switch
port, but information about the vSphere Standard Switch is not available to
the switch administrator.
Advertise ESXi makes information about the vSphere Standard Switch available to
the switch administrator, but does not detect and display information
about the physical switch.
Both ESXi detects and displays information about the associated physical switch
and makes information about the vSphere Standard Switch available to the
switch administrator.
None ESXi does not detect or display information about the associated physical
switch port, and information about the vSphere Standard Switch is not
available to the switch administrator.
6 In the Protocol section, select Cisco Discovery Protocol from the drop-down menu.
7 Expand Security and accept or reject promiscuous mode, MAC address changes, and forged transmits
of the virtual machines attached to the standard switch.
Option Description
Promiscuous mode n Reject. The VM network adapter receives only frames that are
addressed to the virtual machine.
n Accept.The virtual switch forwards all frames to the virtual machine in
compliance with the active VLAN policy for the port to which the VM
network adapter is connected.
Note Promiscuous mode is insecure mode of operation. Firewalls, port
scanners, intrusion detection systems, must run in promiscuous mode.
MAC address changes n Reject. If the guest OS changes the effective MAC address of the
virtual machine to a value that is different from the MAC address of
the VM network adapter (set in the .vmx configuration file), the switch
drops all inbound frames to the adapter.
8 Click Add.
Procedure
1 Click Networking in the VMware Host Client inventory and click Virtual switches.
2 Right-click the virtual switch that you want to remove from the list and click Remove.
Procedure
1 Click Networking in the VMware Host Client inventory and click Virtual switches.
2 Click a virtual switch from the list and click Add uplink.
4 Click Save.
Procedure
1 Click Networking in the VMware Host Client inventory and click Virtual switches.
2 Right-click the virtual switch that you want to edit and click Edit Settings.
3 (Optional) Click Add uplink to add a new physical uplink to the virtual switch.
The MTU improves the networking efficiency by increasing the amount of payload data transmitted
with a single packet, that is, enabling jumbo frames.
5 (Optional) Click the Remove icon ( ) to remove the old uplink from the virtual switch.
6 Expand Link discovery and select an option for the virtual switch mode.
Operation Description
Listen ESXi detects and displays information about the associated physical switch
port, but information about the vSphere Standard Switch is not available to
the switch administrator.
Advertise ESXi makes information about the vSphere Standard Switch available to
the switch administrator, but does not detect and display information
about the physical switch.
Both ESXi detects and displays information about the associated physical switch
and makes information about the vSphere Standard Switch available to the
switch administrator.
None ESXi does not detect or display information about the associated physical
switch port, and information about the vSphere Standard Switch is not
available to the switch administrator.
7 In the Protocol section, select Cisco Discovery Protocol from the drop-down menu.
8 Expand Security and accept or reject promiscuous mode, MAC address changes, and forged transmits
of the virtual machines attached to the standard switch.
Option Description
Promiscuous mode n Reject. The VM network adapter receives only frames that are
addressed to the virtual machine.
n Accept.The virtual switch forwards all frames to the virtual machine in
compliance with the active VLAN policy for the port to which the VM
network adapter is connected.
Note Promiscuous mode is insecure mode of operation. Firewalls, port
scanners, intrusion detection systems, must run in promiscuous mode.
MAC address changes n Reject. If the guest OS changes the effective MAC address of the
virtual machine to a value that is different from the MAC address of
the VM network adapter (set in the .vmx configuration file), the switch
drops all inbound frames to the adapter.
Option Description
Load Balancing Specify how to choose an uplink.
n Route based on IP hash. Choose an uplink based on a hash of the
source and destination IP addresses of each packet. For non-IP packets,
whatever is at those offsets is used to compute the hash.
n Route based on source MAC hash. Choose an uplink based on a hash
of the source Ethernet.
n Route based on originating port ID. Choose an uplink based on the
originating port ID.
n Use explicit failover order. Always use the highest order uplink from
the list of Active adapters which passes failover detection criteria.
Note IP-based teaming requires the physical switch to be configured
with etherchannel. For all other options, etherchannel must be disabled.
Network Failover Detection Specify the method to use for failover detection.
n Link Status only. Relies only on the link status that the network
adapter provides. This option detects failures, such as cable pulls and
physical switch power failures, but not configuration errors, such as a
physical switch port being blocked by spanning tree or that is
misconfigured to the wrong VLAN or cable pulls on the other side of a
physical switch.
n Beacon only. Sends out and listens for beacon probes on all NICs in
the team and uses this information, in addition to link status, to
determine link failure. This detects many of the failures previously
mentioned that are not detected by link status alone.
Note Do not use beacon probing with IP-hash load balancing.
Option Description
Notify Switches Select Yes, No, or Inherit from vSwitch to notify switches in the case of
failover.
If you select Yes, whenever a virtual NIC is connected to the distributed
switch or whenever that virtual NIC’s traffic would be routed over a
different physical NIC in the team because of a failover event, a
notification is sent out over the network to update the lookup tables on
physical switches. In almost all cases, this process is desirable for the
lowest latency of failover occurrences and migrations with vMotion.
Note Do not use this option when the virtual machines using the port
group are using Microsoft Network Load Balancing in unicast mode. No
such issue exists with NLB running in multicast mode.
Failback Select Yes, No, or Inherit from vSwitch to disable or enable failback.
This option determines how a physical adapter is returned to active duty
after recovering from a failure. If failback is set to Yes (default), the adapter
is returned to active duty immediately upon recovery, displacing the
standby adapter that took over its slot, if any. If failback is set to No, a
failed adapter is left inactive even after recovery until another currently
active adapter fails, requiring its replacement.
Failover Order Specify how to distribute the work load for uplinks. If you want to use
some uplinks but reserve others for emergencies in case the uplinks in use
fail, set this condition by moving them into different groups:
n Active Uplinks. Continue to use the uplink when the network adapter
connectivity is up and active.
n Standby Uplinks . Use this uplink if one of the active adapter’s
connectivity is down.
Note When using IP-hash load balancing, do not configure standby
uplinks.
10 (Optional) To configure traffic shaping, expand Traffic shaping, click Enabled, and specify the
following parameters.
Option Description
Average Bandwidth Establishes the number of bits per second to allow across a port, averaged
over time—the allowed average load.
Peak Bandwidth The maximum number of bits per second to allow across a port when it is
sending or receiving a burst of traffic. This tops the bandwidth used by a
port whenever it is using its burst bonus.
Burst Size The maximum number of bytes to allow in a burst. If this parameter is set,
a port may gain a burst bonus when it doesn’t use all its allocated
bandwidth. Whenever the port needs more bandwidth than specified by
Average Bandwidth, it may be allowed to temporarily transmit data at a
higher speed if a burst bonus is available. This parameter tops the number
of bytes that may be accumulated in the burst bonus and thus transferred
at a higher speed.
Traffic shaping policy is applied to the traffic of each virtual network adapter attached to the virtual
switch.
11 Click Save.
Procedure
1 Click Networking in the VMware Host Client inventory and click Physical NICs.
2 Click on the network adapter that you want to view information about.
Procedure
1 Click Networking in the VMware Host Client inventory and click Physical NICs.
3 Click Edit settings and select a speed from the drop-down menu.
4 Click Save.
Procedure
1 Click Networking in the VMware Host Client inventory and click VMkernel NICs.
Procedure
1 Right-click Networking in the VMware Host Client inventory and click Add VMkernel NICs.
2 On the Add new VMkernel interface page, configure the settings for the VMkernel adapter.
Option Description
Port Group Label Adding a new VMkernel NIC also adds a new port group. Specify a name
for that port group.
VLAN ID Enter a VLAN ID to determine the VLAN for the network traffic of the
VMkernel adapter to use.
IP Version Select IPv4, IPv6, or both.
Note The IPv6 option does not appear on hosts that do not have IPv6
enabled.
3 (Optional) Expand the IPv4 settings section to select an option for obtaining IP addresses.
Option Description
Use DHCP to obtain IP settings IP settings are obtained automatically. A DHCP server must be present on
the network.
Use static IP settings Enter the IPv4 address and subnet mask for the VMkernel adapter.
The VMkernel Default Gateway and DNS server addresses for IPv4 are
obtained from the selected TCP/IP stack.
4 (Optional) Expand the IPv6 settings section to select an option for obtaining IPv6 addresses.
Option Description
DHCPv6 Use DHCP to obtain IPv6 addresses. A DHCPv6 server must be present on
the network.
Auto Configuration Use router advertisement to obtain IPv6 addresses.
Static IPv6 Addresses a Click Add address to add a new IPv6 address.
b Enter the IPv6 address and subnet prefix length.
After you set a TCP/IP stack for the VMkernel adapter, you cannot change it. If you select the vMotion
or the Provisioning TCP/IP stack, you can use only this stack to handle vMotion or for Provisioning
traffic on the host. All VMkernel adapters for vMotion on the default TCP/IP stack are disabled for
future vMotion sessions. If you use the Provisioning TCP/IP stack, VMkernel adapters on the default
TCP/IP stack are disabled, and you cannot perform some operations including traffic Provisioning, such
as virtual machine cold migration, cloning, and snapshot creation.
7 (Optional) Enable vMotion for the default TCP/IP stack on the host.
vMotion enables the VMkernel adapter to advertise itself to another host as the network connection
where vMotion traffic is sent. It is not possible to use vMotion to perform migrations to selected hosts if
the vMotion service is not enabled for any VMkernel adapter on the default TCP/IP stack, or if no
adapters use the vMotion TCP/IP stack.
Procedure
1 Click Networking in the VMware Host Client inventory and click VMkernel NICs.
2 Select the VMkernel adapter that resides on the target standard switch, click Actions, and select Edit
settings from the drop-down menu.
The VLAN ID determines the VLAN that the network traffic of the VMkernel adapter uses.
4 (Optional) To edit the IP version, select IPv4, IPv6, or both from the drop-down list.
Note The IPv6 option does not appear on hosts that do not have IPv6 enabled.
5 (Optional) Expand the IPv4 settings section to select an option for obtaining IP addresses.
Option Description
Use DHCP to obtain IP settings IP settings are obtained automatically. A DHCP server must be present on
the network.
Use static IP settings Enter the IPv4 address and subnet mask for the VMkernel adapter.
The VMkernel Default Gateway and DNS server addresses for IPv4 are
obtained from the selected TCP/IP stack.
6 (Optional) Expand the IPv6 settings section to select an option for obtaining IPv6 addresses.
Option Description
DHCPv6 Use DHCP to obtain IPv6 addresses. A DHCPv6 server must be present on
the network.
Auto Configuration Use router advertisement to obtain IPv6 addresses.
Static IPv6 Addresses a Click Add address to add a new IPv6 address.
b Enter the IPv6 address and subnet prefix length.
7 (Optional) Enable or disable vMotion for the default TCP/IP stack on the host.
vMotion enables the VMkernel adapter to advertise itself to another host as the network connection
where vMotion traffic is sent. It is not possible to use vMotion to perform migrations to selected hosts if
the vMotion service is not enabled for any VMkernel adapter on the default TCP/IP stack, or if no
adapters use the vMotion TCP/IP stack.
8 Review your setting modifications and click Save to apply your changes.
Procedure
1 Click Networking in the VMware Host Client inventory and click VMkernel NICs.
2 Right-click the VMkernel adapter that you want to remove and click Remove.
Procedure
1 Click Networking in the host inventory and click TCP/IP stacks.
Procedure
1 Click Networking in the VMware Host Client inventory and click TCP/IP stacks.
3 Specify how the host obtains settings for this TCP/IP stack.
n Select the Use DHCP services from the following adapter radio button, and select an adapter from
which to receive the default settings configuration for the TCP/IP stack.
n Select the Manually configure the settings for this TCP/IP stack to change the settings
configuration.
Option Description
Basic configuration
Host name Edit the name of your local host.
4 Click Save.
As you open ports on the firewall, consider that unrestricted access to services running on an ESXi host may
expose a host to outside attacks and unauthorized access. Reduce the risk by configuring the ESXi firewall to
allow access only from authorized networks.
Note The firewall also allows Internet Control Message Protocol, or ICMP, pings and communication with
DHCP and DNS (UDP only) clients.
Note If different services have overlapping port rules, enabling one service might implicitly enable other
services. You can specify which IP addresses are allowed to access each service on the host to avoid this
problem.
Procedure
1 Click Networking in the VMware Host Client inventory.
The VMware Host Client displays a list of active incoming and outgoing connections with the
corresponding firewall ports.
3 For some services you can manage service details. Right-click a service and select an option from the
pop-up menu.
n Use the Start, Stop, or Restart buttons to change the status of a service temporarily.
n Change the Startup Policy to configure the service to start and stop with the host, the firewall ports,
or manually.
Add Allowed IP Addresses for an ESXi Host by Using the VMware Host Client
By default, the firewall for each service allows access to all IP addresses. To restrict traffic, configure each
service to allow traffic only from your management subnet. You can also deselect some services if your
environment does not use them.
Procedure
1 Click Networking in the VMware Host Client inventory and click Firewall rules.
3 In the Allowed IP Addresses section, click Only allow connections from the following networks and
enter the IP addresses of networks that you want to connect to the host.
Separate IP addressees with commas. You can use the following address formats:
n 192.168.0.0/24
n 192.168.1.2, 2001::1/64
n fd3e:29a6:0a81:e478::/64
4 Click OK.
Procedure
1 Click Networking in the VMware Host Client inventory.
4 Click Monitor under the port group name in the VMware Host Client inventory.
5 (Optional) Click Events to view the events associated with the port group.
Procedure
1 Click Networking in the VMware Host Client inventory.
4 Click Monitor under the virtual switch name in the VMware Host Client inventory.
5 (Optional) Click Events to view the events associated with the virtual switch.
Procedure
1 Click Networking in the VMware Host Client inventory.
The physical network adapter expands in the VMware Host Client inventory.
4 Click Monitor under the physical network adapter name in the VMware Host Client inventory.
5 (Optional) Click Events to view the events associated with the physical network adapter.
Procedure
1 Click Networking in the VMware Host Client inventory.
The VMkernel network adapter expands in the VMware Host Client inventory.
4 Click Monitor under the VMkernel network adapter name in the VMware Host Client inventory.
5 (Optional) Click Events to view the events associated with the VMkernel network adapter.
Procedure
1 Click Networking in the VMware Host Client inventory.
4 Click Monitor under the TCP/IP stack name in the VMware Host Client inventory.
5 (Optional) Click Events to view the events associated with the TCP/IP stack.
6 (Optional) Click Tasks to view the tasks associated with the TCP/IP stack.
managing access 19 N
managing authentication 17 network adapter, configuring 56
managing certificates 18 network configuration, virtual machine 54
managing host 23 network details, viewing 107
managing permissions 26 Network Time Protocol 12
managing roles 25 network adapter settings, editing 118
network adapters
managing security 17
adding 56
managing snapshots 78
supported types 54
managing storage 81 network file system datastore, mounting 85
managing users 17, 19 network partition 87
managing advanced settings 12 networking configurations 107
managing ESXi host 11 new datastore 82
managing system settings 12 new hard disk 59
managing user list 19 new virtual machine, creating 35
managing virtual machines 33, 70 New Virtual Machine wizard 34, 35
maximum number of connections 120 new VM name 45
memory, hot adding 54 NFS datastore, mounting 84, 85
memory resources, allocating 53 NFS name, specifying 85
migration NFS server, specifying 85
cross-host Storage vMotion 57 NFS share, specifying 85
storage 57 NFS storage
modify vm settings 39 adding 85
modify VM settings 37 guidelines 85
modifying privileges 20 NFS datastore mounting, complete process 86
NFS datastores, maximum size 85
modifying NIC settings 117
NFS mount details, providing 85
modifying user settings 20
NIC, See network adapters
monitor performance 30
NIC teaming, configuring 108
monitor status 30 NIC teaming policy, viewing 107
monitor host health 30 nic teaming, configuring 108
monitoring datastores 104 NICs
monitoring health 30 adding 56
monitoring NICs 122 configuring 56
monitoring performance 30 legacy virtual machines 56
monitoring storage 104 normal lockdown mode 28
monitoring tasks 122 NTP 12
monitoring a virtual machine 79
monitoring events 122 O
offload policy, viewing 107
monitoring physical network adapters 122
open virtual appliance 37
monitoring physical NICs 122
open virtualization format 37
monitoring port groups 122
opening console 41
monitoring storage adapters 104
OVA 37
monitoring storage devices 104
OVA deployment 38
monitoring TCP/IP stacks 122, 123
OVA limitations 38
monitoring virtual switches 122
OVF 37
monitoring VMkenrel NICs 122
OVF deployment 38
monitoring VMkernel network adapters 123
OVF limitations 38
mounting NFS datastore 82, 84
OVF file 39
moving datastore files 87, 89
moving datastore folders 89
P
multicore CPUs 50 parallel port, adding 68
parallel port configuration 67
users snapshots 71
removing 26 unregistering 70
removing from hosts 20 See also virtual hardware
using consoles 41 virtual switch
utilities, VMware Tools 43 adding 112
changing 108
V removing 113
view health status 30 virtual switches
viewing charts 30 configuring 107
viewing events 31 monitor 122
viewing licensing information 15 viewing details 112
virtual devices
viewing notifications 32
adding USB controller 62
viewing certificate details 18
CPU limitations 50
viewing host events 31 virtual disk configuration, changing 58
viewing logs 80 virtual disks
viewing system logs 31 configuring 57
viewing tasks 31 formats 57
viewing virtual machines 70 sparse 57
virtual disk thin provisioning 57
editing settings 58 virtual hard disks 59
increasing size 58 virtual hardware, multicore CPUs 50
virtual machine virtual machine compatibility, upgrading 48
assigning to a specific processor 30 virtual machine configuration 45
deleting from host 71 virtual machine console, opening 42
deploying from OVA 37 virtual machine creation 33, 34, 37, 39
deploying from OVF 37 virtual machine events, viewing 79
finish registration 40 virtual machine hardware, customize 36
monitoring 79 virtual machine management 33
opening console 41 virtual machine name 35, 45
power off 46 virtual machine notifications, viewing 79, 80
power on 46 virtual machine options 45
registering 39, 40, 71 virtual machine performance, viewing 79
registration 39, 40 virtual machine removal 71
removing from datastore 70 virtual machine settings 45
removing from host 70 virtual machine tasks, viewing 79, 80
restart 46 virtual machine disk format 92
returning to host 70 virtual machine hardware version 45
select to register 40 virtual memory
suspend 46 allocation 52
virtual machines configuring 52
adding hard disks 59 virtual switch events, viewing 122
adding hard disk 60 virtual switch settingsvirtual switch name
configuration parameters 47 changing 114
configuring devices 66 editing 114
virtual switch tasks, viewing 122
CPU configuration 50
virtual switch topology, viewing information 107
CPU resources 49 VLAN ID, modifying 108
creating 33 VM network, configuring 54
guest operating systems 43 VM creation type, selecting 35
hot add enablement 54 VM name 45
memory 52 VM options 36
memory resources 53 VMDK file 39
performance with hyperthreaded hosts 50 VMFS 87
VMFS datastore
creating 81, 82
increasing capacity 83
VMFS datastores, increasing 83
VMFS partition, adding 84
VMFS volume 57
VMkernel network adapters
adding 117
monitor 123
VMkernel NICs
adding 117
configuring 107
viewing configuration information 117
VMkernel network adapter, removing 119
VMkernel network adapter tasks, viewing 123
VMkernel network adapter events, viewing 123
VMkernel NIC, modifying settings 118
VMware Host Client
functionalities 7
overview 7
VMware Paravirtual SCSI controllers 64
VMware Remote Console 41
VMware Tools, install and upgrade 43
VMware Tools installation 43, 44
VMware Tools upgrade, process 44
vSphere Authentication Proxy 17, 18
vSphere license 14
W
working with datastores 81