Section 7 - Administrative and Operational Tasks
Section 7 - Administrative and Operational Tasks
Section 7
Administrative and Operational Tasks
Objective 7.1
Identify how to create and manage VM 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.
Power off the virtual machine and delete any existing snapshots before you change the disk
mode. Deleting a snapshot involves committing the existing data on the snapshot disk to the
parent disk.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 1
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Required privileges:
2 On the Virtual Hardware tab, expand Hard disk, and select an independent disk mode
option.
Option Description
3 Click OK.
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, the snapshot operation takes 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 stored on the disk during a
revert operation.
Application-consistent quiescing is not supported for virtual machines with IDE or SATA disks.
Note If you take a snapshot of a Dynamic Disk (a Microsoft-specific disk type), the snapshot
technology preserves the quiesce state of the file system, but does not preserve the quiesce
state of the application.
Prerequisites
· 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.
· To capture the memory state of the virtual machine, verify that the virtual machine is
powered on.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 2
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· To quiesce the virtual machine files, verify that the virtual machine is powered on and that
VMware Tools is installed.
1 In the vSphere Client, navigate to a virtual machine and click the Snapshots tab.
2 Click Take Snapshot.
The Take snapshot dialog box opens.
3 Enter a name for the snapshot.
4 (Optional) Enter a description for the snapshot.
5 (Optional) To capture the memory of the virtual machine, select the Snapshot the virtual
machine’s memory check box.
6 (Optional) To pause running processes on the guest operating system so that file system
contents are in a known consistent state when you take a snapshot, select the Quiesce
guest file system (requires VMware Tools) check box.
You can quiesce the virtual machine files only when the virtual machine is powered on and
the Snapshot the virtual machine's memory check box is deselected.
7 Click Create.
· The current disk and memory states are discarded, and the virtual machine reverts to the
disk and memory states of the parent snapshot.
· Existing snapshots are not removed. You can revert those snapshots at any time.
· If the snapshot includes the memory state, the virtual machine will be in the same power
state as when you created the snapshot.
Virtual Machine State When Parent Snapshot Is Virtual Machine State After Restoration
Taken
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.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 3
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
When you revert to a snapshot, disks that you added or changed after the snapshot was
taken are reverted to the snapshot point. For example, when you take a snapshot of a virtual
machine, add a disk, and revert the snapshot, the added disk is removed.
Independent disks are also removed when you revert to a snapshot that was taken before
the disk was added. If the latest snapshot includes an independent disk, its contents do not
change when you revert to that snapshot.
Prerequisites
· To revert a snapshot, navigate to a virtual machine in the vSphere Client inventory and
click the Snapshots tab.
· Navigate to a snapshot in the snapshot tree, click Revert, and click the Revert button.
Delete a Snapshot
Deleting a snapshot permanently removes the snapshot from the snapshot tree. The
snapshot files are consolidated and written to the parent snapshot disk and merge with the
virtual machine base disk. You can delete a single snapshot or all snapshots in a snapshot
tree.
Deleting a snapshot does not change the virtual machine or other snapshots. Deleting a
snapshot consolidates the changes between snapshots and previous disk states. Then it
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 large amount of information must be read and written to a disk. This
process can reduce the virtual machine performance until the consolidation is complete.
Consolidating snapshots removes redundant disks, which improves the virtual machine
performance and saves storage space. The time 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. If the virtual machine is powered on, the
required time is proportional to the amount of data the virtual machine is writing during
consolidation.
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.
This option writes disk changes that occur between the state of the snapshot and the
previous disk state to the parent snapshot.
Note Deleting a single snapshot preserves the current state of the virtual machine and does
not affect any other 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 tree. The Delete all
option consolidates and writes the changes that occur between snapshots and the previous
delta disk states to the base parent disk. It then merges them with the base virtual machine
disk.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 4
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
To prevent snapshot files from merging with the parent snapshot if, for example, an update or
installation fails, first use the Revert button to revert 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.
Caution Use care when you delete snapshots. You cannot revert 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 revert 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.
Prerequisites
· Familiarize yourself with the delete and delete all actions and how they affect virtual
machine performance.
· Required Privilege: Virtual machine.Snapshot management.Remove Snapshot on the
virtual machine.
Procedure
· To delete snapshots from a snapshot tree, navigate to a virtual machine in the vSphere
Web Client inventory and click the Snapshots tab.
Option Action
Delete a single snapshot a Navigate to and select a snapshot in the snapshots tree.
b Click Delete and click the Delete button.
The snapshot data is consolidated to the parent snapshot and the
selected snapshot is removed from the snapshot tree.
Delete all snapshots a Click Delete All and click the Delete all button.
All immediate snapshots before the You are here current state are
consolidated to the base parent disk. All existing snapshots are
removed from the snapshot tree and the virtual machine.
Consolidate Snapshots
The presence of redundant delta disks can adversely affect the virtual machine performance.
You can combine such disks without violating a data dependency. After consolidation,
redundant disks are removed, which improves the virtual machine performance and saves
storage space.
Snapshot consolidation is useful when snapshot disks fail to compress after a Revert, Delete,
or Delete all operation. This might happen, for example, if you delete a snapshot but its
associated disk does not commit back to the base disk.
Prerequisites
1 Navigate to a virtual machine in the vSphere Web Client inventory and click the
Snapshots tab.
2 Perform the necessary snapshot operations.
If the virtual machine snapshot files must be consolidated, the Consolidation is required
message appears.
3 Click the Consolidate button.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 5
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
A Yes status indicates that the snapshot files for the virtual machine must be
consolidated. A Not Required status indicates that the files are consolidated.
vSphere Virtual Machine Administration Update 1 - VMware vSphere 7.0, page 259
Managing Snapshots
You can view and manage all snapshots for an active virtual machine. You can review the
snapshots information, revert to the latest snapshot, change the name and description, or
delete a snapshot.
You can manage the snapshots when you select a virtual machine in the vSphere Client
inventory and click the Snapshots tab.
The snapshot tree displays all snapshots of the virtual machine and the power state of the
virtual machine when a snapshot was taken. The detailed information region contains the
snapshot name and description, time of creation, and the disk space. You can also see
whether you took a snapshot of the virtual machine memory and if you quiesced the guest
file system.
The You are here pin represents the current and active state of the virtual machine and it is
always visible.
vSphere Virtual Machine Administration Update 1 - VMware vSphere 7.0, page 259
Objective 7.2
Identify how to manage VM templates and clones.
Managing VM Templates
In vSphere 7.0, you can manage VM templates in an efficient and flexible manner. You can
edit the contents of the VM templates by checking them out, making the necessary changes,
and checking them in.
You can track history of changes over time by using the vertical timeline view. The vertical
timeline view provides you with detailed information about the different VM template
versions, the updates that privileged users have made, and when the last change was made.
By using the vertical timeline, you can revert VM templates back to their previous state or
delete the previous version of a VM template.
In addition, you can deploy a virtual machine from the latest version of the VM template
without any disruptions while it is checked out for update. You can update the virtual machine
and check it back in into the same VM template.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 6
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Templates are primary copies of virtual machines that you can use to deploy virtual machines
that are customized and ready for use. Templates promote consistency throughout your
vSphere environment. You can use the content library to store and manage templates of
virtual machines and vApps. You can use VM templates and vApp templates to deploy virtual
machines and vApps to a destination object, such as a host or a cluster.
Content libraries support two types of templates, the OVF Template type and the VM
Template type.
In a content library, you can store and manage virtual machine templates as OVF templates or
VM templates. vApps are always converted to OVF templates in the content library.
VM Templates in the Content Library and VM Templates in the vCenter Server Inventory
When you create a VM template in a content library, the library item is backed by a VM
template in the vCenter Server inventory. The content library item and the corresponding
inventory object are related in the following ways.
· If you convert the VM template in the vCenter Server inventory to a virtual machine, the
corresponding VM template library item is also deleted.
· If you rename the VM template in the vCenter Server, the corresponding VM template
library item is also renamed.
· If you rename the VM template library item the associated VM template in the vCenter
Server inventory is also renamed.
· If you delete the VM template in the vCenter Server inventory, the corresponding VM
template library item is also deleted.
· If you delete the VM template library item, the associated VM template in the vCenter
Server inventory is also deleted.
VM Templates and OVF Templates in the Content Library
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 7
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
You can use both VM templates and OVF templates to deploy new virtual machines in your
vSphere environment. However, the two types of templates have different properties and
support different deployment options.
See the following table for a detailed list of the differences between VM templates and OVF
templates in a content library.
Table 4-2. VM Templates and OVF Templates Properties
Datastore VM templates can be stored on any OVF templates can only be stored
datastore that you have privileges on the datastore that is associated
to. with the content library.
Note VM templates cannot be stored
in a library that uses NFS or SMB
storage.
Host/Datastore Maintenance Mode When the host becomes When either the host or the
inaccessible, VM templates are datastore becomes inaccessible, you
automatically migrated to another must manually migrate the OVF
host. templates to another host or
datastore.
The supported operations on a content library template are different depending on the
template type. You can edit the settings for both OVF and VM templates. However, you can
update, export, and clone a template only if it is an OVF template.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 8
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Datastore.Allocate space
· If you want to power on the checked out virtual machine, verify that you have the Virtual
machine.Interaction.Power On privilege.
Procedure
Option Action
From the vSphere Client inventory a Navigate to Menu > VMs and Templates and click the VM template.
b Click the Versioning tab and in the vertical timeline view, click Check
out VM from this template.
2 On the Name and location page, enter a virtual machine name, select the virtual machine
location, and click Next.
3 On the Select compute resource page, select the compute resource for the checked out
virtual machine and click Next.
The checked out virtual machine appears in the selected location marked with a blue circle
icon. You can perform the necessary configuration changes.
What to do next
After you complete the virtual machine updates, you can check in the virtual machine back to
the template.
Verify that the virtual machine is powered off or suspended. You cannot check in a powered
on virtual machine to a VM template.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 9
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Required privileges:
Option Action
From the vSphere Client inventory a Navigate to Menu > VMs and Templates and click the VM template.
b Click the Versioning tab and in the vertical timeline view, click Check
in VM to template.
The updated version of the VM template appears in the vertical timeline. You can see the
check-in comment, the name of the user who made the changes, and the date of the change.
Required privileges:
· Virtual machine.Inventory.Delete
Procedure
Option Action
From the vSphere Client inventory a Navigate to Menu > VMs and Templates and click the VM template.
b Click the Versioning tab in the vertical timeline.
c Click the horizontal ellipsis icon () that appears in the checked out VM
template box, and select Discard Checked Out VM.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 10
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
2 The Discard Checked Out VM dialog box opens.
3 To delete the checked out virtual machine and discard all changes, click Discard.
Results
You deleted the virtual machine from the inventory and discarded all changes.
Required privileges:
Option Action
From the vSphere Client inventory a Navigate to Menu > VMs and Templates and click the VM
template.
b Click the Versioning tab.
2 From the vertical timeline, navigate to the previous state of the VM template, click the
horizontal ellipsis icon (), and select Revert to This Version.
The Revert to Version dialog box opens.
Required privileges:
Option Action
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 11
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
c On the Templates tab, select a VM template.
From the vSphere Client inventory a Navigate to Menu > VMs and Templates and click the VM
template.
b Click the Versioning tab.
2 From the vertical timeline, navigate to the previous state of the VM template, click the
horizontal ellipsis icon (), and select Delete Version.
The Confirm Delete dialog box opens.
3 To delete permanently the VM template and its contents, click Yes.
vSphere Virtual Machine Administration Update 1 - VMware vSphere 7.0, page 78
Objective 7.3
Identify the considerations when provisioning a VM.
To begin provisioning virtual machines, determine whether to create a single virtual machine
and install an operating system and VMware tools, work with templates and clones, or deploy
virtual machines, virtual appliances, or vApps stored in Open Virtual Machine Format (OVF).
After you provision and deploy virtual machines into the vSphere infrastructure, you can
configure and manage them. You can configure existing virtual machines by modifying or
adding hardware or install or upgrade VMware Tools. You might need to manage multitiered
applications with VMware vApps or change virtual machine startup and shutdown settings,
use virtual machine snapshots, work with virtual disks, or add, remove, or delete virtual
machines from the inventory.
vSphere Virtual Machine Administration Update 1 - VMware vSphere 7.0, page 10
Objective 7.4
Identify the options that can be performed on different inventory objects.
Note Managed object names cannot exceed 214 bytes (UTF-8 encoded).
vCenter Server monitors and manages the following inventory objects:
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 12
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Networks
· Datastores
Clusters
A collection of ESXi hosts and associated virtual machines intended to work together as a
unit. When you add a host to a cluster, the host’s resources become part of the cluster’s
resources. vCenter Server manages the resources of all hosts in a cluster as one unit.
Datastores
A virtual representation of physical storage resources in the data center. A datastore is the
storage location for virtual machine files. In an on-premises SDDC, these physical storage
resources can come from the local SCSI disk of the ESXi host, the Fibre Channel SAN disk
arrays, the iSCSI SAN disk arrays, or Network Attached Storage (NAS) arrays. For both on-
premises and cloud SDDCs, vSAN datastores hide the idiosyncrasies of the underlying
physical storage and present a uniform model for the storage resources required by virtual
machines.
Folders
Folders allow you to group objects of the same type so you can easily manage them. For
example, you can use folders to set permissions across objects, to set alarms across
objects, and to organize objects in a meaningful way.
A folder can contain other folders, or a group of objects of the same type: data centers,
clusters, datastores, networks, virtual machines, templates, or hosts. For example, one
folder can contain hosts and a folder containing hosts, but it cannot contain hosts and a
folder containing virtual machines.
Hosts
The physical computer on which ESXi is installed. All virtual machines run on hosts or
clusters.
Networks
A set of virtual network interface cards (virtual NICs), distributed switches or vSphere
Distributed Switches, and port groups or distributed port groups that connect virtual
machines to each other or to the physical network outside of the virtual data center. You
can monitor networks and set permissions and alarms on port groups and distributed port
groups.
Resource pools
Resource pools are used to compartmentalize the CPU and memory resources of a host or
cluster. Virtual machines run in, and draw their resources from, resource pools. You can
create multiple resource pools as direct children of a standalone host or cluster and then
delegate control over each resource pool to other individuals or organizations.
You can monitor resources and set alarms on them.
Templates
A template is a primary copy of a virtual machine that can be used to create and provision
new virtual machines. Templates can have a guest operating system and application
software installed. They can be customized during deployment to ensure that the new
virtual machine has a unique name and network settings.
Virtual machines
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 13
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
A virtualized computer environment in which a guest operating system and associated
application software can run. Multiple virtual machines can operate on the same managed
host machine concurrently.
vApps
vSphere vApp is a format for packaging and managing applications. A vApp can contain
multiple virtual machines.
vCenter Server and Host Management Update 1 - VMware vSphere 7.0, page 19
· Create a Folder
· Extend a Cluster
Required privileges:
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 14
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Datacenter.Create datacenter
Procedure
1 In the vSphere Client home page, navigate to Home > Hosts and Clusters.
2 Right-click the vCenter Server object and select New Datacenter.
3 (Optional) Enter a name for the data center and click OK.
What to do next
Add hosts, clusters, resource pools, vApps, networking, datastores, and virtual machines to
the data center.
Create a Folder
You can use folders to group objects of the same type for easier management. For example,
you can apply a common set of permissions to the folder and these permissions apply to all
objects grouped in the folder.
A folder can contain other folders, or a group of objects of the same type. For example, one
folder can contain both virtual machines and another folder that contains virtual machines, but
it cannot contain both hosts and a folder that contains virtual machines.
Procedure
1 In the vSphere Client, select either a data center or another folder as a parent object for
the folder that you want to create.
2 Right-click the parent object and click New Folder.
· If the parent object is a folder, the new folder is of the same type as the parent folder
- it can contain only objects of the same type that the parent folder contains.
· If the parent object is a data center, you can create one of four types of folders: Host
and Cluster folders, Network folders, Storage folders, and VM and Template folders.
3 Enter a name for the folder and click OK.
What to do next
Move objects into the folder by right-clicking the object and selecting Move To. Select the
folder as the destination. You can also move an object by dragging it to the destination folder.
· Obtain the user name and password of the root user account for the host.
· Verify that hosts behind a firewall are able to communicate with the vCenter Server
system and all other hosts through port 902 or another custom-configured port.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 15
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Verify that you have the proper privileges. Different sets of privileges apply when you
add multiple hosts to a cluster and a single host to a cluster or a data center. For more
information, see Required Privileges for Common Tasks in the vSphere Security
documentation.
· If you want to add a host with more than 512 LUNs and 2,048 paths to the vCenter Server
inventory, verify that the vCenter Server instance is suitable for a large or an x-large
environment.
Procedure
1 In the vSphere Client, navigate to a data center or folder within a data center.
2 Right-click the data center or folder and select Add Host.
3 Enter the IP address or the name of the host and click Next.
4 Enter administrator credentials and click Next.
5 Review the host summary and click Next.
6 License the host through one of the following methods.
· Assign an already existing license.
A new task for adding the host appears in the Recent Tasks pane. It might take a few minutes
for the task to complete.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 16
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
1. Cluster basics You can edit the cluster name and enable or disable cluster services. The card lists
the services you enabled.
2. Add hosts You can add new ESXi hosts. After the hosts are added, the card shows the total
number of the hosts present in the cluster and health check validation for those
hosts.
3.Configure cluster You can configure network settings for vMotion traffic, review and customize cluster
services. After the cluster is configured, the card provides details on configuration
mismatch and reports cluster health results through the vSAN Health service.
The Skip Quickstart button prompts you to continue configuring the cluster and its hosts
manually. To confirm exiting the simplified configuration workflow, click Continue. After you
dismiss the Cluster quickstart workflow, you cannot restore it for the current cluster.
You must create clusters if you plan to enable vSphere High Availability (HA), vSphere
Distributed Resource Scheduler (DRS), and the VMware vSAN features.
Starting with vSphere 7.0, you can create a cluster that you manage with a single image. By
using vSphere Lifecycle Manager images, you can easily update and upgrade the software
and firmware on the hosts in the cluster. For more information about using images to manage
ESXi hosts and clusters, see the Managing Host and Cluster Lifecycle documentation.
Starting with vSphere 7.0 Update 1, vSphere Cluster Services (vCLS) is enabled by default and
runs in all vSphere clusters. vCLS ensures that if vCenter Server becomes unavailable, cluster
services remain available to maintain the resources and health of the workloads that run in the
clusters. For more information about vCLS, see vSphere Cluster Services (vCLS).
Create a Cluster
You create a new and empty cluster object by using the Quickstart workflow in the vSphere
Client.
Starting with vSphere 7.0, the clusters that you create can use vSphere Lifecycle Manager
images for host updates and upgrades.
· Verify that a data center, or a folder within a data center, exists in the inventory.
· Verify that hosts have the same ESXi version and patch level.
· Obtain the user name and password of the root user account for the host.
· Verify that hosts do not have a manual vSAN configuration or a manual networking
configuration.
· To create a cluster that you manage with a single image, review the requirements and
limitations information in the Managing Host and Cluster Lifecycle documentation and
verify that you have an ESXi image available in the vSphere Lifecycle Manager depot.
Required privileges:
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 17
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Host.Inventory.Create cluster
Procedure
1 In the vSphere Client home page, navigate to Home > Hosts and Clusters.
2 Select a data center.
3 Right-click the data center and select New Cluster.
4 Enter a name for the cluster.
5 Select DRS, vSphere HA, or vSAN cluster features.
Option Description
To use DRS with this cluster a Slide the switch to the right to enable the DRS service.
b (Optional) Click the info icon on the left to see the Default
Settings for the DRS service. The default values are:
· Automation Level: Fully Automated Migration
· Threshold: 3
To use vSphere HA with this cluster a Slide the switch to the right to enable the vSphere HA
service.
b (Optional) Click the info icon on the left to see the Default
Settings for the vSphere HA service. You are present with
the following default values:
VM Monitoring: Disabled
To use vSAN with this cluster · Slide the switch to the right to enable the vSAN service.
For more information on vSAN, see Creating a vSAN Cluster in
the vSAN Planning and Deployment documentation.
Verify you have an ESXi Version 7.0 or later in the vSphere Lifecycle Manager repository.
a Select an ESXi Version from the drop-down menu.
b (Optional) Select a Vendor Addon and a Vendor Addon version from the drop-down
menu.
You can edit the image specification later from the Updates tab.
If you do not set up an image for the cluster, you must manage the cluster by using
baselines and baseline groups. You can switch from using baselines to using images at a
later time.
7 Click OK.
The cluster appears in the vCenter Server inventory. The Quickstart service appears
under the Configure tab.
8 (Optional) To rename your cluster and to enable or disable cluster services, click Edit in
the Cluster basics card.
Results
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 18
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Verify that hosts have the same ESXi version and patch level.
· Obtain the user name and password of the root user account for the host.
· Verify that hosts do not have a manual vSAN configuration or a manual networking
configuration.
· Verify that you have the proper privileges. Different sets of privileges apply when you
add multiple hosts to a cluster and a single host to a cluster or a data center. For more
information, see Required Privileges for Common Tasks in the vSphere Security
documentation.
· To add a host to a cluster that you manage with a single image, review the requirements
andlimitations information in the Managing Host and Cluster Lifecycle documentation.
Procedure
5 (Optional) Select the Use the same credentials for all hosts option to reuse the
credentials for all added hosts.
6 On the Add hosts page, click the Existing hosts tab, and add hosts that are managed by
the vCenter Server and are in the same data center as your cluster.
7 Click Next.
The Host summary page lists all hosts that will be added to the cluster and related
warnings.
Note If a host cannot be validated automatically by the system, you are prompted to
manually validate its certificate and accept its thumbprint in the Security Alert pop-up.
8 On the Host summary page, review the details of the added hosts and click Next.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 19
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
9 On the Ready to complete page, review the IP addresses or FQDN of the added hosts
and click Finish.
Review the number of added hosts and the health check validation, performed by the
vSAN Health service, in the Add hosts card.
10 (Optional) Click Re-validate to retrigger the validation of the hosts.
Results
All hosts are placed in maintenance mode and added to your cluster. You can manually exit
the maintenance mode.
What to do next
Configure a Cluster
To configure the host networking settings on your host and to customize the cluster settings,
start the Configure cluster wizard, part of the Cluster quickstart workflow.
Procedure
Note To configure your cluster host networking and services manually by referring to
different parts of the vSphere software, click the Skip quickstart button. If you dismiss the
Cluster quickstart workflow, you cannot restore it, and you have to configure manually
any hosts that you add to this cluster in the future.
Alternatively, you can select the Configure networking settings later check box to
configure the default settings only for the cluster services and to hide all options that are
related to host networking.
Caution After you select the Configure networking settings later check box, and
complete the Configure cluster workflow, you cannot perform the networking
configuration in the future by using the Configure cluster wizard.
a Specify the number of distributed switches to create from the drop-down menu.
The selected distributed switches are configured as part of this workflow and all hosts
in the cluster connect to them.
b Enter a unique name for each of the distributed switches you are about to create.
c (Optional) Click Use Existing to select an existing compatible distributed switch and an
existing compatible distributed port group.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 20
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
d To set up the vMotion network, select a distributed switch from the drop-down menu
and assign a new default port group to it.
e In the Physical adapters section, for each physical network adapter (NIC), select the
distributed switch name from the drop-down menu.
The new distributed switch must be assigned to at least one physical adapter.
Note If you are using an existing distributed switch, the physical adapter selection
must match the current mapping of the distributed switch. Any variation results in an
error.
This mapping of physical NICs to the distributed switches is applied to all hosts in this cluster.
f Click Next.
If you enabled the vSphere DRS feature during cluster creation, the vMotion traffic
page appears.
g (Optional) Select the Use VLAN check box and enter an ID for the vMotion distributed
port group.
h (Optional) Select a protocol type from the drop-down menu.
i (Optional) Populate the text boxes for each host in the cluster depending on the IP
address type you need for setting up the networking.
If the IP address type is set to DHCP, these text boxes are dimmed.
5 Click Next.
If you enable admission control, you can specify the failover capacity by number of hosts.
7 (Optional) If you enabled the vSphere DRS feature during cluster creation, the Distributed
Resource Scheduler section is visible.
8 In the Host Options section, set the Lockdown mode to Strict, Normal or Disabled, and
enter an NTP server address.
You have created a fully configured cluster in the vCenter Server inventory.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 21
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
What to do next
Extend a Cluster
You extend a configured cluster by adding hosts to it with the Cluster quickstart workflow in
the vSphere Client.
After you configure your cluster, you can scale it out by adding more hosts. Then, you specify
the network configuration for the new hosts in the cluster. During the initial configuration of
the cluster, if you postponed configuring the host networking, no configuration, as for the
existing hosts, is applied to the newly added hosts.
· Verify that you have an existing cluster and hosts added to it.
· During the initial cluster configuration, select the Configure networking settings later
check box. For more information, see Configure a Cluster.
· Verify that hosts have the same ESXi version and patch level.
· Obtain the user name and password of the root user account for the host.
· To add a host to a cluster that you manage with a single image, review the requirements
and limitations information in the Managing Host and Cluster Lifecycle documentation.
Procedure
1 In the vSphere Client home page, navigate to Home > Hosts and Clusters and select a
configured cluster.
2 Right-click the cluster and select Add Hosts.
The Add hosts wizard appears.
3 From the Add hosts wizard, add new and existing hosts from the vCenter Server
inventory and review the Host summary.
4 On the Ready to complete page, click Finish.
The Extend Cluster Guide page appears.
5 In the Configure hosts card, select Configure.
A pop-up window appears. It informs you that the configuration for the hosts that exist in
the cluster is applied to the newly added hosts.
6 Select Continue.
Results
After successful validation, your newly added hosts are configured as the existing hosts in
your cluster, and the Configure button in the Configure hosts card becomes inactive. You can
only click Re-validate to verify the cluster configuration.
What to do next
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 22
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Configure the host networking manually and add more hosts to the cluster.
· Verify that you have an existing cluster and hosts added to it.
· In the initial cluster configuration, you configured the host networking.
· Verify that hosts have the same ESXi version and patch level.
· Obtain the user name and password of the root user account for the host.
· Verify that hosts do not have a manual vSAN configuration or a manual networking
configuration.
· To add a host to a cluster that you manage with a single image, review the requirements
and limitations information in the Managing Host and Cluster Lifecycle documentation.
Procedure
1 In the vSphere Client home page, navigate to Home > Hosts and Clusters and select a
configured cluster.
2 Right-click the cluster and select Add Hosts.
The Add hosts wizard appears.
3 From the Add hosts wizard, add new and existing hosts from the vCenter Server
inventory, review the Host summary and click Finish on the Ready to complete page.
If the IP address type is set to DHCP, these text boxes are dimmed.
8 Click Next.
The Ready to complete page appears.
9 Review the settings and select Finish.
The card closes, and the progress of the operation appears in the Recent Tasks tab.
Results
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 23
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
After successful validation, your newly added hosts are configured as the existing hosts in
your cluster and the Configure button in the Configure hosts card becomes inactive. You can
only click Re-validate to verify the cluster configuration.
What to do next
Objective 7.6
Identify the concepts of role-based user management
System roles
System roles are permanent. You cannot edit the privileges associated with these roles.
Sample roles
VMware provides sample roles for certain frequently performed combination of tasks. You
can clone, modify, or remove these roles.
Note To avoid losing the predefined settings in a sample role, clone the role first and make
modifications to the clone. You cannot reset the sample to its default settings.
Users can schedule tasks only if they have a role that includes privileges to perform that task
at the time the task is created.
Note Changes to roles and privileges take effect immediately, even if the users involved are
logged in. The exception is searches, where changes take effect after the user has logged out
and logged back in.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 24
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
When you manage a host using vCenter Server, the permissions associated with that host are
created through vCenter Server and stored on vCenter Server. If you connect directly to a
host, only the roles that are created directly on the host are available.
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 three system-defined privileges: System.Anonymous, System.View,
and System.Read.
Option Description
To create the role by cloning Select a role, and click the Clone role
action icon.
Note When creating a cloned role, you cannot change privileges. To change
privileges, select the cloned role after it is created and click the Edit role action icon.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 25
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
You can now create permissions by selecting an object and assigning the role to a user or
group for that object.
By default, the [email protected] user has the Administrator role on both vCenter
Single Sign-On and vCenter Server after installation. That user can then associate other
users with the Administrator role on vCenter Server.
Read Only Role
Users with the Read Only role for an object are allowed to view the state of the object and
details about the object. For example, users with this role can view virtual machine, host,
and resource pool attributes, but cannot view the remote console for a host. All actions
through the menus and toolbars are disallowed.
No Access Role
Users with the No Access role for an object cannot view or change the object in any way.
New users and groups are assigned this role by default. You can change the role on an
object-by-object basis.
The administrator of the vCenter Single Sign-On domain, [email protected] by
default, the root user, and vpxuser are assigned the Administrator role by default. Other
users are assigned the No Access role by default.
Users with the No cryptography administrator role for an object have the same privileges as
users with the Administrator role, except for Cryptographic operations privileges. This role
allows administrators to designate other administrators that cannot encrypt or decrypt
virtual machines or access encrypted data, but that can perform all other administrative
tasks.
Trusted Infrastructure Administrator Role
Users with the Trusted Infrastructure administrator role are allowed to perform VMware®
vSphere Trust Authority™ operations on some objects. Membership in the TrustedAdmins
group is required for full vSphere Trust Authority capabilities.
No Trusted Infrastructure Administrator Role
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 26
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Users with the No Trusted Infrastructure administrator role have the same privileges as
users with the Administrator role, except for vSphere Trust Authority privileges. This role
allows administrators to designate other administrators that cannot enable or manage
vSphere Trust Authority features, but that can perform other administrative tasks.
Best practice is to create a user at the root level and assign the Administrator role to that
user. After creating a named user with Administrator privileges, you can remove the root user
from any permissions or change its role to No Access.
· Grant permissions only on the objects where they are needed, and assign privileges only
to users or groups that must have them. Use the minimum number of permissions to make
it easier to understand and manage your permissions structure.
· If you assign a restrictive role to a group, check that the group does not contain the
Administrator user or other users with administrative privileges. Otherwise, you might
unintentionally restrict administrators' privileges in the parts of the inventory hierarchy
where you have assigned that group the restrictive role.
· Use folders to group objects. For example, to grant modify permission on one set of hosts
and view permission on another set of hosts, place each set of hosts in a folder.
· Use caution when adding a permission to the root vCenter Server objects. Users with
privileges at the root level have access to global data on vCenter Server, such as roles,
custom attributes, vCenter Server settings.
· Changes to licenses propagate to all linked vCenter Server systems in the same vCenter
Single Sign-On domain.
· License propagation happens even if the user does not have privileges on all vCenter
Server systems.
The following table lists common tasks that require more than one privilege. You can add
permissions to inventory objects by pairing a user with one of the predefined roles or with
multiple privileges. If you expect that you assign a set of privileges multiple times, create
custom roles.
If the task that you want to perform is not in this table, the following rules explain where you
must assign permissions to allow particular operations:
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 27
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Any operation that consumes storage space requires the Datastore.Allocate Space
privilege on the target datastore, and the privilege to perform the operation itself. You
must have these privileges, for example, when creating a virtual disk or taking a snapshot.
· Moving an object in the inventory hierarchy requires appropriate privileges on the object
itself, the source parent object (such as a folder or cluster), and the destination parent
object.
· 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.
Power on a virtual On the data center in which the virtual machine is Virtual Machine Power User
machine deployed: or Administrator
Virtual machine.Interaction.Power On
Take a virtual machine On the virtual machine or a folder of virtual machines: Virtual Machine Power User
snapshot or Administrator
Virtual machine.Snapshot management.Create
snapshot
Move a virtual machine On the virtual machine or folder of virtual machines: Administrator
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 28
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
into a resource pool · Resource.Assign virtual machine to resource
pool
· Virtual machine.Inventory.Move
Install a guest operating On the virtual machine or folder of virtual machines: Virtual Machine Power User
system on a virtual or Administrator
machine · Virtual machine.Interaction.Answer question
· Virtual machine.Interaction.Console interaction
· Virtual machine.Interaction.Device connection
· Virtual machine.Interaction.Power Off
· Virtual machine.Interaction.Power On
· Virtual machine.Interaction.Reset
· Virtual machine .Interaction.Configure CD media
(if installing from a CD)
· Virtual machine .Interaction.Configure floppy
media (if installing from a floppy disk)
· Virtual machine.Interaction.VMware Tools install
On a datastore that contains the installation media ISO Virtual Machine Power User
image: or Administrator
Datastore.Browse datastore (if installing from an ISO
image on a datastore)
On the datastore to which you upload the installation
media ISO image:
· Datastore.Browse datastore
· Datastore.Low level file operations
Migrate a virtual machine On the virtual machine or folder of virtual machines: Resource Pool
with vMotion Administrator or
· Resource.Migrate powered on virtual machine Administrator
· Resource.Assign Virtual Machine to Resource
Pool (if destination is a different resource pool
from the source)
Cold migrate (relocate) a On the virtual machine or folder of virtual machines: Resource Pool
virtual machine Administrator or
· Resource.Migrate powered off virtual machine Administrator
· Resource.Assign virtual machine to resource
pool (if destination is a different resource pool
from the source)
Migrate a virtual machine On the virtual machine or folder of virtual machines: Resource Pool
with Storage vMotion Administrator or
Resource.Migrate powered on virtual machine Administrator
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 29
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Host.Inventory.Add host to cluster
Encrypt a virtual machine Encryption tasks are possible only in environments Administrator
that include vCenter Server. In addition, the ESXi host
must have encryption mode enabled for most
encryption tasks. The user who performs the task
must have the appropriate privileges. A set of
Cryptographic Operations privileges allows fine-
grained control. See Prerequisites and Required
Privileges for Encryption Tasks.
Objective 7.5
Identify virtual networking issues that impact vSphere
· To ensure a stable connection between vCenter Server, ESXi, and other products and
services, do not set connection limits and timeouts between the products. Setting limits
and timeouts can affect the packet flow and cause services interruption.
· Isolate from one another the networks for host management, vSphere vMotion, vSphere
FT, and so on, to improve security and performance.
· Dedicate a separate physical NIC to a group of virtual machines, or use Network I/O
Control and traffic shaping to guarantee bandwidth to the virtual machines. This
separation also enables distributing a portion of the total networking workload across
multiple CPUs. The isolated virtual machines can then better handle application traffic, for
example, from a vSphere Client.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 30
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Keep the vSphere vMotion connection on a separate network. When migration with
vMotion occurs, the contents of the guest operating system’s memory is transmitted over
the network. You can do this either by using VLANs to segment a single physical network
or by using separate physical networks (the latter is preferable).
For migration across IP subnets and for using separate pools of buffer and sockets, place
traffic for vMotion on the vMotion TCP/IP stack, and traffic for migration of powered-off
virtual machines and cloning on the Provisioning TCP/IP stack. See VMkernel Networking
Layer.
· You can add and remove network adapters from a standard or distributed switch without
affecting the virtual machines or the network service that is running behind that switch. If
you remove all the running hardware, the virtual machines can still communicate among
themselves. If you leave one network adapter intact, all the virtual machines can still
connect with the physical network.
· To protect your most sensitive virtual machines, deploy firewalls in virtual machines that
route between virtual networks with uplinks to physical networks and pure virtual
networks with no uplinks.
· For best performance, use VMXNET 3 virtual machine NICs.
· Physical network adapters connected to the same vSphere Standard Switch or vSphere
Distributed Switch should also be connected to the same physical network.
· Configure the same MTU on all VMkernel network adapters in a vSphere Distributed
Switch. If several VMkernel network adapters, configured with different MTUs, are
connected to vSphere distributed switches, you might experience network connectivity
problems.
vSphere Networking Update 1 - VMware vSphere 7.0, page 259
Objective 7.7
Identify virtual storage issues that impact vSphere
You can also use the resxtop or esxtop command-line utilities. The utilities provide a
detailed look at how ESXi uses resources. For more information, see the vSphere Resource
Management documentation.
Check with your storage representative if your storage system supports Storage API - Array
Integration hardware acceleration features. If it does, refer to your vendor documentation to
enable hardware acceleration support on the storage system side. For more information, see
Chapter 24 Storage Hardware Acceleration.
This chapter includes the following topics:
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 31
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Do not change the path policy the system sets for you unless you understand the
implications of making such a change.
· Document everything. Include information about zoning, access control, storage, switch,
server and FC HBA configuration, software and firmware versions, and storage cable plan.
· Verify different links, switches, HBAs, and other elements to ensure that you did not
miss a critical failure point in your design.
· Ensure that the Fibre Channel HBAs are installed in the correct slots in the host, based on
slot and bus speed. Balance PCI bus load among the available buses in the server.
· Become familiar with the various monitor points in your storage network, at all visibility
points, including host's performance charts, FC switch statistics, and storage performance
statistics.
· Be cautious when changing IDs of the LUNs that have VMFS datastores being used by
your ESXi host. If you change the ID, the datastore becomes inactive and its virtual
machines fail. Resignature the datastore to make it active again. See Managing Duplicate
VMFS Datastores.
After you change the ID of the LUN, rescan the storage to reset the ID on your host. For
information on using the rescan, see Storage Rescan Operations.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 32
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Results
This operation disables the automatic host registration that is enabled by default.
· When assigning LUNs, remember that several hosts might access the LUN, and that
several virtual machines can run on each host. One LUN used by a host can service I/O
from many different applications running on different operating systems. Because of this
diverse workload, the RAID group containing the ESXi LUNs typically does not include
LUNs used by other servers that are not running ESXi.
· SAN storage arrays require continual redesign and tuning to ensure that I/O is load-
balanced across all storage array paths. To meet this requirement, distribute the paths to
the LUNs among all the SPs to provide optimal load-balancing. Close monitoring indicates
when it is necessary to rebalance the LUN distribution.
Tuning statically balanced storage arrays is a matter of monitoring the specific
performance statistics, such as I/O operations per second, blocks per second, and
response time. Distributing the LUN workload to spread the workload across all the SPs is
also important.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 33
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Place each LUN on a RAID group that provides the necessary performance levels. Monitor
the activities and resource use of other LUNs in the assigned RAID group. A high-
performance RAID group that has too many applications doing I/O to it might not meet
performance goals required by an application running on the ESXi host.
· Ensure that each host has enough HBAs to increase throughput for the applications on
the host for the peak period. I/O spread across multiple HBAs provides faster throughput
and less latency for each application.
· To provide redundancy for a potential HBA failure, make sure that the host is connected
to a dual redundant fabric.
· When allocating LUNs or RAID groups for ESXi systems, remember that multiple
operating systems use and share that resource. The LUN performance required by the
ESXi host might be much higher than when you use regular physical machines. For
example, if you expect to run four I/O intensive applications, allocate four times the
performance capacity for the ESXi LUNs.
· When you use multiple ESXi systems in with vCenter Server, the performance
requirements for the storage subsystem increase correspondingly.
· The number of outstanding I/Os needed by applications running on the ESXi system must
match the number of I/Os the HBA and storage array can handle.
vSphere Storage Update 1 - VMware vSphere 7.0, page 71
· Do not change the path policy the system sets for you unless you understand the
implications of making such a change.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 34
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Make several copies of your topology maps. For each element, consider what
happens to your SAN if the element fails.
· Cross off different links, switches, HBAs, and other elements to ensure that you did
not miss a critical failure point in your design.
· Ensure that the iSCSI HBAs are installed in the correct slots in the ESXi host, based on slot
and bus speed. Balance PCI bus load among the available buses in the server.
· Become familiar with the various monitor points in your storage network, at all visibility
points, including ESXi performance charts, Ethernet switch statistics, and storage
performance statistics.
· Change LUN IDs only when VMFS datastores deployed on the LUNs have no running
virtual machines. If you change the ID, virtual machines running on the VMFS datastore
might fail.
After you change the ID of the LUN, you must rescan your storage to reset the ID on your
host. For information on using the rescan, see Storage Rescan Operations.
· If you change the default iSCSI name of your iSCSI adapter, make sure that the name you
enter is worldwide unique and properly formatted. To avoid storage access problems,
never assign the same iSCSI name to different adapters, even on different hosts.
If issues occur with storage system performance, consult your storage system vendor’s
documentation for any relevant information.
When you assign LUNs, remember that you can access each shared LUN through a number
of hosts, and that a number of virtual machines can run on each host. One LUN used by the
ESXi host can service I/O from many different applications running on different operating
systems. Because of this diverse workload, the RAID group that contains the ESXi LUNs
should not include LUNs that other hosts use that are not running ESXi for I/O intensive
applications.
Enable read caching and write caching.
Load balancing is the process of spreading server I/O requests across all available SPs and
their associated host server paths. The goal is to optimize performance in terms of
throughput (I/O per second, megabytes per second, or response times).
SAN storage systems require continual redesign and tuning to ensure that I/O is load
balanced across all storage system paths. To meet this requirement, distribute the paths to
the LUNs among all the SPs to provide optimal load balancing. Close monitoring indicates
when it is necessary to manually rebalance the LUN distribution.
Tuning statically balanced storage systems is a matter of monitoring the specific performance
statistics (such as I/O operations per second, blocks per second, and response time) and
distributing the LUN workload to spread the workload across all the SPs.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 35
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Place each LUN on a RAID group that provides the necessary performance levels. Monitor
the activities and resource use of other LUNS in the assigned RAID group. A high-
performance RAID group that has too many applications doing I/O to it might not meet
performance goals required by an application running on the ESXi host.
· To achieve maximum throughput for all the applications on the host during the peak
period, install enough network adapters or iSCSI hardware adapters. I/O spread across
multiple ports provides faster throughput and less latency for each application.
· To provide redundancy for software iSCSI, make sure that the initiator is connected to all
network adapters used for iSCSI connectivity.
· When allocating LUNs or RAID groups for ESXi systems, remember that multiple
operating systems use and share that resource. The LUN performance required by the
ESXi host might be much higher than when you use regular physical machines. For
example, if you expect to run four I/O intensive applications, allocate four times the
performance capacity for the ESXi LUNs.
· When you use multiple ESXi systems with vCenter Server, the storage performance
requirements increase.
· The number of outstanding I/Os needed by applications running on an ESXi system must
match the number of I/Os the SAN can handle.
Network Performance
A typical SAN consists of a collection of computers connected to a collection of storage
systems through a network of switches. Several computers often access the same storage.
The following graphic shows several computer systems connected to a storage system
through an Ethernet switch. In this configuration, each system is connected through a single
Ethernet link to the switch. The switch is connected to the storage system through a single
Ethernet link.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 36
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
When systems read data from storage, the storage responds with sending enough data to fill
the link between the storage systems and the Ethernet switch. It is unlikely that any single
system or virtual machine gets full use of the network speed. However, this situation can be
expected when many systems share one storage device.
When writing data to storage, multiple systems or virtual machines might attempt to fill their
links. As a result, the switch between the systems and the storage system might drop
network packets. The data drop might occur because the switch has more traffic to send to
the storage system than a single link can carry. The amount of data the switch can transmit is
limited by the speed of the link between it and the storage system.
iSCSI traffic is carried on the network by the Transmission Control Protocol (TCP). TCP is a
reliable transmission protocol that ensures that dropped packets are retried and eventually
reach their destination. TCP is designed to recover from dropped packets and retransmits
them quickly and seamlessly. However, when the switch discards packets with any regularity,
network throughput suffers. The network becomes congested with requests to resend data
and with the resent packets. Less data is transferred than in a network without congestion.
Most Ethernet switches can buffer, or store, data. This technique gives every device
attempting to send data an equal chance to get to the destination. The ability to buffer some
transmissions, combined with many systems limiting the number of outstanding commands,
reduces transmissions to small bursts. The bursts from several systems can be sent to a
storage system in turn.
If the transactions are large and multiple servers are sending data through a single switch
port, an ability to buffer can be exceeded. In this case, the switch drops the data it cannot
send, and the storage system must request a retransmission of the dropped packet. For
example, if an Ethernet switch can buffer 32 KB, but the server sends 256 KB to the storage
device, some of the data is dropped.
Most managed switches provide information on dropped packets, similar to the following:
*: interface is up
IHQ: pkts in input hold queue IQD: pkts dropped from input queue
OHQ: pkts in output hold queue OQD: pkts dropped from output queue
RXBS: rx rate (bits/sec) RXPS: rx rate (pkts/sec
TXBS: tx rate (bits/sec) TXPS: tx rate (pkts/sec
TRTL: throttle count
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 37
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Interface IHQ IQD OHQ OQD RXBS RXPS TXBS TXPS TRTL
In this example from a Cisco switch, the bandwidth used is 476303000 bits/second, which is
less than half of wire speed. The port is buffering incoming packets, but has dropped several
packets. The final line of this interface summary indicates that this port has already dropped
almost 10,000 inbound packets in the IQD column.
Configuration changes to avoid this problem involve making sure several input Ethernet links
are not funneled into one output link, resulting in an oversubscribed link. When several links
transmitting near capacity are switched to a smaller number of links, oversubscription
becomes possible.
Generally, applications or systems that write much data to storage must avoid sharing
Ethernet links to a storage device. These types of applications perform best with multiple
connections to storage devices.
Multiple Connections from Switch to Storage shows multiple connections from the switch to
the storage.
Figure 13-3. Multiple Connections from Switch to Storage
Using VLANs or VPNs does not provide a suitable solution to the problem of link
oversubscription in shared configurations. VLANs and other virtual partitioning of a network
provide a way of logically designing a network. However, they do not change the physical
capabilities of links and trunks between switches. When storage traffic and other network
traffic share physical connections, oversubscription and lost packets might become possible.
The same is true of VLANs that share interswitch trunks. Performance design for a SAN must
consider the physical limitations of the network, not logical allocations.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 38
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Observe the following recommendations when you use vVols with ESXi and vCenter Server.
· With vVols, you can use advanced storage services that include replication, encryption,
deduplication, and compression on individual virtual disks. Contact your storage vendor
for information about services they support with vVols.
· vVols functionality supports backup software that uses vSphere APIs - Data Protection.
Virtual volumes are modeled on virtual disks. Backup products that use vSphere APIs -
Data Protection are as fully supported on virtual volumes as they are on VMDK files on a
LUN. Snapshots that the backup software creates using vSphere APIs - Data Protection
look as non-vVols snapshots to vSphere and the backup software.
Note vVols does not support SAN transport mode. vSphere APIs - Data Protection
automatically selects an alternative data transfer method.
For more information about integration with the vSphere Storage APIs - Data Protection,
consult your backup software vendor.
· vVols supports such vSphere features as vSphere vMotion, Storage vMotion, snapshots,
linked clones, and DRS.
· You can use clustering products, such as Oracle Real Application Clusters, with vVols. To
use these products, you activate the multiwrite setting for a virtual disk stored on the
vVols datastore.
For more details, see the knowledge base article at http://kb.vmware.com/kb/2112039. For a
list of features and products that vVols functionality supports, see VMware Product
Interoperability Matrixes.
vVols Limitations
Improve your experience with vVols by knowing the following limitations:
· Because the vVols environment requires vCenter Server, you cannot use vVols with a
standalone host.
· A vVols storage container cannot span multiple physical arrays. Some vendors present
multiple physical arrays as a single array. In such cases, you still technically use one logical
array.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 39
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Host profiles that contain vVols datastores are vCenter Server specific. After you extract
this type of host profile, you can attach it only to hosts and clusters managed by the same
vCenter Server as the reference host.
· Customers
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 40
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· All virtual volume I/O goes through protocol endpoints (PEs). Arrays select protocol
endpoints from several PEs that are accessible to an ESXi host. Arrays can do load
balancing and change the binding path that connects the virtual volume and the PE. See
Binding and Unbinding Virtual Volumes to Protocol Endpoints.
· On block storage, ESXi gives a large queue depth to I/O because of a potentially high
number of virtual volumes. The Scsi.ScsiVVolPESNRO parameter controls the number
of I/O that can be queued for PEs. You can configure the parameter on the Advanced
System Settings page of the vSphere Client.
· When appropriate, use vSphere HA or Site Recovery Manager to protect the storage
provider VM.
vSphere Storage Update 1 - VMware vSphere 7.0, page 323
Objective 7.8
Identify the purpose of monitoring alarms, tasks and events
Events
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 41
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Events are records of user actions or system actions that occur on objects in vCenter Server
or on a host. Actions that might be recorded as events include, but are not limited to, the
following examples:
Audit Provides important audit log data which is crucial for the
security framework. The audit log data includes
information about what is the action, who did it, when it
occurred, and the IP address of the user.
You can learn more about this in the vSphere Security
guide.
Alarms
Alarms are notifications that are activated in response to an event, a set of conditions, or the
state of an inventory object. An alarm definition consists of the following elements in the
vSphere Client:
· Alarm Rules - Defines the event, condition, or state that triggers the alarm and defines the
notification severity. It also defines operations that occur in response to triggered alarms.
· Last modified - The last modified date and time of the defined alarm.
Alarms have the following severity levels:
· Normal – green
· Warning – yellow
· Alert – red
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 42
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Alarm definitions are associated with the object selected in the inventory. An alarm monitors
the type of inventory objects specified in its definition.
For example, you might want to monitor the CPU usage of all virtual machines in a specific
host cluster. You can select the cluster in the inventory, and add a virtual machine alarm to it.
When enabled, that alarm monitors all virtual machines running in the cluster and triggers
when any one of them meets the criteria defined in the alarm. To monitor a specific virtual
machine in the cluster, but not others, select that virtual machine in the inventory and add an
alarm to it. To apply the same alarms to a group of objects, place those objects in a folder
and define the alarm on the folder.
Note You can enable, disable, and modify alarms only from the object in which the alarm is
defined. For example, if you defined an alarm in a cluster to monitor virtual machines, you can
only enable, disable, or modify that alarm through the cluster. You cannot change the alarm
at the individual virtual machine level.
vSphere Monitoring and Performance Update 1 – Vmware vSphere 7.0, page 130
Objective 7.9
Identify how to monitor vSphere Cluster and SDRS Cluster
You can monitor the resources consumed by vCLS VMs in the Monitor tab.
Table 11-3. vCLS VM Resource Allocation
Property Size
Memory 128 MB
CPU 1 vCPU
Hard disk 2 GB
Note Each vCLS VM has 100MHz and 100MB capacity reserved in the cluster. Depending on
the number of vCLS VMs running in the cluster, a max of 400 MHz and 400 MB of capacity
can be reserved for these VMs.
You can monitor the health status of vCLS in the Cluster Services portlet displayed in the
Summary tab of the cluster.
Table 11-4. Health status of vCLS
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 43
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Objective 7.10
Identify how to perform and monitor vMotion, Storage vMotion, and Cold migrations
By using migration, you can change the compute resource that the virtual machine runs on.
For example, you can move a virtual machine from one host to another host or cluster.
To migrate virtual machines with disks larger than 2 TB, the source and destination ESXi hosts
must be version 6.0 and later.
Depending on the power state of the virtual machine that you migrate, migration can be cold
or hot.
Cold Migration
Moving a powered off or suspended virtual machine to a new host. Optionally, you can
relocate configuration and disk files for powered off or suspended virtual machines to new
storage locations. You can also use cold migration to move virtual machines from one virtual
switch to another, and from one data center to another. You can perform cold migration
manually or you can schedule a task.
Hot Migration
Moving a powered on virtual machine to a new host. Optionally, you can also move the
virtual machine disks or folder to a different datastore. Hot migration is also called live
migration or vMotion. With vMotion, you migrate the virtual machine without any
interruption in its availability.
Depending on the virtual machine resource type, you can perform three types of migration.
Change compute resource only
Moving a virtual machine, but not its storage, to another compute resource, such as a host,
cluster, resource pool, or vApp. You can move the virtual machine to another compute
resource by using cold or hot migration. If you change the compute resource of a powered
on virtual machine, you use vMotion.
Change storage only
Moving a virtual machine and its storage, including virtual disks, configuration files, or a
combination of these, to a new datastore on the same host. You can change the datastore
of a virtual machine by using cold or hot migration. If you move a powered on virtual
machine and its storage to a new datastore, you use Storage vMotion.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 44
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Cold Migration
· Place Traffic for Cold Migration, Cloning, and Snapshots on the Provisioning TCP/IP Stack
Cold Migration
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 45
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Cold migration is the migration of powered off or suspended virtual machines between hosts
across clusters, data centers, and vCenter Server instances. By using cold migration, you can
also move associated disks from one datastore to another.
You can use cold migration to have the target host checked against fewer requirements than
when you use vMotion. For example, if you use cold migration when a virtual machine
contains a complex application setup, the compatibility checks during vMotion might prevent
the virtual machine from moving to another host.
You must power off or suspend the virtual machines before you begin the cold migration
process. Migrating a suspended virtual machine is considered a cold migration because
although the virtual machine is powered on, it is not running.
You cannot implement a cold migration across different subnets.
1 If you select the option to move to a different datastore, the configuration files, including
the NVRAM file (BIOS settings), log files, and the suspend file, are moved from the source
host to the destination host’s associated storage area. You can choose to move the
virtual machine's disks as well.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 46
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
If you must take a host offline for maintenance, you can move the virtual machine to another
host. Migration with vMotion™ allows virtual machine processes to continue working
throughout a migration.
When you migrate a virtual machine with vMotion, the new host for the virtual machine must
meet compatibility requirements so that the migration can proceed.
When you choose to change both the compute resource and the storage, you can use
vMotion to migrate virtual machines across vCenter Server instances, data centers, and
subnets.
Stages in vMotion
Migration with vMotion occurs in three stages:
1 When the migration with vMotion is requested, vCenter Server verifies that the existing
virtual machine is in a stable state with its current host.
2 The virtual machine state information (memory, registers, and network connections) is
copied to the target host.
3 The virtual machine resumes its activities on the new host.
If errors occur during migration, the virtual machine reverts to its original state and location.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 47
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Important The ESXi firewall in ESXi 6.5 and later does not allow per-network filtering of
vMotion traffic. Therefore, you must apply rules on your external firewall to ensure that no
incoming connections can be made to the vMotion socket on TCP port 8000.
· You must place the traffic related to transfer of virtual machine files to the destination
host on the provisioning TCP/IP stack. See Place Traffic for Cold Migration, Cloning, and
Snapshots on the Provisioning TCP/IP Stack.
During a migration with vMotion, the migrating virtual machine must be on storage accessible
to both the source and target hosts. Ensure that the hosts configured for vMotion use shared
storage. Shared storage can be on a Fibre Channel storage area network (SAN), or can be
implemented using iSCSI and NAS.
If you use vMotion to migrate virtual machines with raw device mapping (RDM) files, make
sure to maintain consistent LUN IDs for RDMs across all participating hosts.
See the vSphere Storage documentation for information on SANs and RDMs.
To determine the maximum number of concurrent vMotion operations possible, see Limits on
Simultaneous Migrations. These limits vary with a host's link speed to the vMotion network.
Round-Trip Time for Long-Distance vMotion Migration
If you have the proper license applied to your environment, you can perform reliable
migrations between hosts that are separated by high network round-trip latency times. The
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 48
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
maximum supported network round-trip time for vMotion migrations is 150 milliseconds. This
round-trip time lets you migrate virtual machines to another geographical location at a longer
distance.
Multiple-NIC vMotion
You can configure multiple NICs for vMotion by adding two or more NICs to the required
standard or distributed switch. For details, see Knowledge Base article KB 2007467.
Network Configuration
Configure the virtual networks on vMotion enabled hosts as follows:
· If you are using standard switches for networking, ensure that the network labels used for
the virtual machine port groups are consistent across hosts. During a migration with
vMotion, vCenter Server assigns virtual machines to port groups based on matching
network labels.
Note By default, you cannot use vMotion to migrate a virtual machine that is attached to a
standard switch with no physical uplinks configured, even if the destination host also has a
no-uplink standard switch with the same label.
For information about configuring the vMotion network resources, see Networking Best
Practices for vSphere vMotion.
For more information about vMotion networking requirements, see Knowledge Base article
KB 59232.
Dedicate at least one adapter for Use at least one 1 GbE adapter for workloads that have a small
vMotion. number of memory operations. Use at least one 10 GbE adapter if
you migrate workloads that have many memory operations.
· If only two Ethernet adapters are available, configure them for
security and availability.For best security, dedicate one
adapter to vMotion, and use VLANs to divide the virtual
machine and management traffic on the other adapter.
· For best availability, combine both adapters into a team, and
use VLANs to divide traffic into networks: one or more for
virtual machine traffic and one for vMotion
Direct vMotion traffic to one or · To distribute and allocate more bandwidth to vMotion traffic
more physical NICs that have high- across several physical NICs, use multiple-NIC vMotion.
bandwidth capacity and are shared
between other types of traffic as · On a vSphere Distributed Switch 5.1 and later, use vSphere
well Network I/O Control shares to guarantee bandwidth to
outgoing vMotion traffic. Defining shares also prevents from
contention as a result from excessive vMotion or other traffic.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 49
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· To avoid saturation of the physical NIC link as a result of
intense incoming vMotion traffic, use traffic shaping in egress
direction on the vMotion port group on the destination host.
By using traffic shaping you can limit the average and peak
bandwidth available to vMotion traffic, and reserve resources
for other traffic types.
What Is Encrypted
For encrypted disks, the data is transmitted encrypted. For disks that are not encrypted,
Storage vMotion encryption is not supported.
For virtual machines that are encrypted, migration with vSphere vMotion always uses
encrypted vSphere vMotion. You cannot turn off encrypted vSphere vMotion for encrypted
virtual machines.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 50
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Note Currently, you must use the vSphere APIs to migrate or clone encrypted virtual
machines across vCenter Server instances. See vSphere Web Services SDK Programming
Guide and vSphere Web Services API Reference.
The following privileges are required when using vSphere vMotion to migrate or clone an
encrypted virtual machine across vCenter Server instances.
Certain tasks are not allowed when migrating encrypted virtual machines across vCenter
Server instances.
· The vSphere Trust Authority service must be configured for the destination host and the
destination host must be attested.
· You can migrate a standard encrypted virtual machine onto a Trusted Host. The KMS
cluster name must be the same on both the source and destination vCenter Server
instances.
· You cannot migrate a vSphere Trust Authority encrypted virtual machine onto a non-
Trusted Host.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 51
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Procedure
· The source and destination management network IP address families must match. You
cannot migrate a virtual machine from a host that is registered to vCenter Server with an
IPv4 address to a host that is registered with an IPv6 address.
· Using 1 GbE network adapters for the vMotion network might result in migration failure, if
you migrate virtual machines with large vGPU profiles. Use 10 GbE network adapters for
the vMotion network.
· If virtual CPU performance counters are enabled, you can migrate virtual machines only to
hosts that have compatible CPU performance counters.
· You can migrate virtual machines that have 3D graphics enabled. If the 3D Renderer is set
to Automatic, virtual machines use the graphics renderer that is present on the destination
host. The renderer can be the host CPU or a GPU graphics card. To migrate virtual
machines with the 3D Renderer set to Hardware, the destination host must have a GPU
graphics card.
· Starting with vSphere 6.7 Update 1 and later, vSphere vMotion supports virtual machines
with vGPU.
· vSphere DRS supports initial placement of vGPU virtual machines running vSphere 6.7
Update 1 or later without load balancing support.
· You can migrate virtual machines with USB devices that are connected to a physical USB
device on the host. You must enable the devices for vMotion.
· You cannot use migration with vMotion to migrate a virtual machine that uses a virtual
device backed by a device that is not accessible on the destination host. For example,
you cannot migrate a virtual machine with a CD drive backed by the physical CD drive on
the source host. Disconnect these devices before you migrate the virtual machine.
· You cannot use migration with vMotion to migrate a virtual machine that uses a virtual
device backed by a device on the client computer. Disconnect these devices before you
migrate the virtual machine.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 52
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
1 1.95
2 3.18
4 5.74
8 11.05
16 21.32
32 38.83
Note The configured vGPU profile represents an upper bound to the used vGPU frame buffer.
In many VDI/Graphics use cases, the amount of vGPU frame buffer memory used by the VM
at any given time is below the assigned vGPU memory in the profile. Treat these times as
worst case stun times for cases when the entire assigned vGPU memory is being used at the
time of the migration. For example, a V100-32Q vGPU profile allocates 32 GB of vGPU frame
buffer to the VM, but the VM can use any amount between 0-32 GB of frame buffer during
the migration. As a result, the stun time can end up being between less than 1 second to 38.83
seconds.
DRS supports initial placement of vGPU VMs running vSphere 6.7 Update 1 and later without
load balancing support.
VMware vSphere vMotion is supported only with and between compatible NVIDIA GPU
device models and NVIDIA GRID host driver versions as defined and supported by NVIDIA.
For compatibility information, refer to the NVIDIA Virtual GPU User Guide.
To check compatibility between NVIDIA vGPU host drivers, vSphere, and Horizon, refer to the
VMware Compatibility Matrix.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 53
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· For migrations between hosts running ESXi 6.5 and later, vMotion and migrations of
suspended and powered-off virtual machines are allowed.
· During a migration with vMotion, if the swap file location on the destination host differs
from the swap file location on the source host, the swap file is copied to the new location.
This activity can result in slower migrations with vMotion. If the destination host cannot
access the specified swap file location, it stores the swap file with the virtual machine
configuration file.
See the vSphere Resource Management documentation for information about configuring
swap file policies.
· Host maintenance. You can move virtual machines from a host to allow maintenance of
the host.
· Storage maintenance and reconfiguration. You can move virtual machines from a storage
device to allow maintenance or reconfiguration of the storage device without virtual
machine downtime.
· Storage load redistribution. You can manually redistribute virtual machines or virtual disks
to different storage volumes to balance capacity or improve performance.
· The hosts must meet the networking requirement for vMotion. See vSphere vMotion
Networking Requirements.
· The virtual machines must be properly configured for vMotion. See Virtual Machine
Conditions and Limitations for vMotion
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 54
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· Virtual machine disks must be in persistent mode or be raw device mappings (RDMs). See
Storage vMotion Requirements and Limitations.
· When you move a virtual machine with RDMs and do not convert those RDMs to VMDKs,
the destination host must have access to the RDM LUNs.
· Consider the limits for simultaneous migrations when you perform a vMotion migration
without shared storage. This type of vMotion counts against the limits for both vMotion
and Storage vMotion, so it consumes both a network resource and 16 datastore
resources. See Limits on Simultaneous Migrations.
· Move virtual machines between environments that have different purposes, for example,
from a development to production.
· Move virtual machines to meet different Service Level Agreements (SLAs) regarding
storage space, performance, and so on.
Note During the migration of a virtual machine to another vCenter Server system, the
performance data that has been collected about the virtual machine is lost.
· Migration of VMs between vCenter Server instances moves VMs to new networks. The
migration process performs checks to verify that the source and destination networks are
similar.
· When you move a virtual machine between vCenter Server instances, the environment
specifically handles MAC address migration to avoid address duplication and loss of data
in the network.
· The source and destination vCenter Server instances and ESXi hosts must be 6.0 or later.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 55
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· The cross vCenter Server and long-distance vMotion features require an Enterprise Plus
license. For more information, see
http://www.vmware.com/uk/products/vsphere/compare.html.
· Both vCenter Server instances must be time-synchronized with each other for correct
vCenter Single Sign-On token verification.
· For migration of compute resources only, both vCenter Server instances must be
connected to the shared virtual machine storage.
· When using the vSphere Client, both vCenter Server instances must be in Enhanced
Linked Mode and must be in the same vCenter Single Sign-On domain. Enhanced Link
Mode lets the source vCenter Server authenticate to the destination vCenter Server.
For information about installing vCenter Server in Enhanced Linked Mode, see the vCenter
Server Installation and Setup documentation.
If the vCenter Server instances exist in separate vCenter Single Sign-On domains, you can
use vSphere APIs/SDK to migrate virtual machines. For more information, see the
VirtualMachineRelocateSpec data object in the VMware vSphere API Reference.
vCenter Server performs network compatibility checks to prevent the following configuration
problems:
· If the source and destination distributed switches are not in the same broadcast domain,
virtual machines lose network connectivity after migration.
· If the source and destination distributed switches do not have the same services
configured, virtual machines might lose network connectivity after migration.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 56
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Migration with Storage vMotion changes virtual machine files on the destination datastore to
match the inventory name of the virtual machine. The migration renames all virtual disk,
configuration, snapshot, and .nvram files. If the new names exceed the maximum filename
length, the migration does not succeed.
Storage vMotion has several uses in administering virtual infrastructure, including the
following examples of use.
· Storage maintenance and reconfiguration. You can use Storage vMotion to move virtual
machines off a storage device to allow maintenance or reconfiguration of the storage
device without virtual machine downtime.
· Redistributing storage load. You can use Storage vMotion to redistribute virtual machines
or virtual disks to different storage volumes to balance capacity or improve performance.
· Virtual machine disks must be in persistent mode or be raw device mappings (RDMs). For
virtual compatibility mode RDMs, you can migrate the mapping file or convert to thick-
provisioned or thin-provisioned disks during migration if the destination is not an NFS
datastore. If you convert the mapping file, a new virtual disk is created and the contents
of the mapped LUN are copied to this disk. For physical compatibility mode RDMs, you
can migrate the mapping file only.
· Because VMFS3 datastores do not support large capacity virtual disks, you cannot move
virtual disks greater than 2 TB from a VMFS5 datastore to a VMFS3 datastore.
· The host on which the virtual machine is running must have a license that includes Storage
vMotion.
· ESXi 4.0 and later hosts do not require vMotion configuration to perform migration with
Storage vMotion.
· The host on which the virtual machine is running must have access to both the source and
target datastores.
· For limits on the number of simultaneous migrations with vMotion and Storage vMotion,
see Limits on Simultaneous Migrations.
vCenter Server and Host Management Update 1 - VMware vSphere 7.0, page 103
You can use cold migration to move a virtual machine and its associated disks from one
datastore to another. The virtual machines are not required to be on shared storage.
Prerequisites
· Make sure that you are familiar with the requirements for cold migration. See Cold
Migration.
Option Description
Change compute resource only Move the virtual machine to another host.
Change storage only Move the virtual machine’s configuration file and virtual
disks.
Change both compute resource and storage Move the virtual machine to another host and move its
configuration file and virtual disks.
4 If you change the compute resource of the virtual machine, select the destination
compute resource for this virtual machine migration and click Next.
Any compatibility problem appears in the Compatibility panel. Fix the problem, or select
another host or cluster.
Possible targets include hosts and DRS clusters with any level of automation. If a cluster
has no DRS enabled, select a specific host in the cluster rather than selecting the cluster.
Important If the virtual machine that you migrate has an NVDIMM device and uses PMem
storage, the destination host or cluster must have available PMem resources. Otherwise,
the compatibility check fails and you cannot proceed further with the migration.
If the virtual machine that you migrate does not have an NVDIMM device but it uses PMem
storage, you must select a host or cluster with available PMem resources, so that all
PMem hard disks remain stored on a PMem datastore. Otherwise, all the hard disks use
the storage policy and datastore selected for the configuration files of the virtual machine.
Important Migrating a virtual machine that has an NVDIMM device or a vPMem disk to a
host that does not have the proper license fails and leaves the virtual machine in an
unmanageable state for 90 seconds. You can afterwards retry the migration and select a
destination host that is licensed to use PMem devices.
1 If you change the storage of the virtual machine, enter the required details in the Select
Storage page.
a Select the storage type for the virtual machine configuration files and all the hard
disks.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 58
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
· If you select the Standard mode, all virtual disks are stored on a standard
datastore.
· If you select the PMem mode, all virtual disks are stored on the host-local PMem
datastore. Configuration files cannot be stored on a PMem datastore and you
must additionally select a regular datastore for the configuration files of the virtual
machine.
· If you select the Hybrid mode, all PMem virtual disks remain stored on a PMem
datastore. Non-PMem disks are affected by your choice of a VM storage policy
and datastore or datastore cluster.
Selecting the type of storage is possible only if PMem or Hybrid storage types are
available in the data center.
b Select the format for the virtual machine disks.
Option Action
Same format as source Use the same format as the source virtual machine.
Thick Provision Lazy Create a virtual disk in a default thick format. Space required for the virtual
Zeroed disk is allocated during creation. Any data remaining on the physical device is
not erased during creation. Instead, it is zeroed out on demand on first write
from the virtual machine.
Thick Provision Eager Create a thick disk that supports clustering features such as Fault Tolerance.
Zeroed 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 during creation. It might take 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 needs. If the thin disk needs more
space later, it can expand to the maximum capacity allocated to it.
c Select a virtual machine storage policy from the VM Storage Policy drop-down menu.
Storage policies specify storage requirements for applications that run on the virtual
machine. You can also select the default policy for vSAN or Virtual Volumes
datastores.
Important If the virtual machine hard disks use different storage policies, the new
policy that you select only applies to non-PMem hard disks. PMem hard disks are
migrated to the host-local PMem datastore of the destination host.
d Select the datastore location where you want to store the virtual machine files.
Option Action
Store all virtual machine files in the Select a datastore from the list and click Next.
same location on a datastore.
Store all virtual machine files in the 1 Select a Storage DRS cluster.
same Storage DRS cluster.
2 (Optional) To disable Storage DRS with this virtual machine,
select Disable Storage DRS for this virtual machine and
select a datastore within the Storage DRS cluster.
3 Click Next.
2 For the virtual machine configuration file and for each virtual
disk, select Browse, and select a datastore or Storage DRS
cluster.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 59
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
6 If you change the compute resource of the virtual machine, select destination networks
for the virtual machine migration.
You can migrate a virtual machine network to another distributed switch in the same or to
another data center or vCenter Server
Option Action
Select a destination network for all VM a Click the arrow in the Destination Network column and
network adapters connected to a valid select Browse.
source network.
b Select a destination network and click OK.
c Click Next.
7 On the Ready to complete page, review the details and click Finish.
Results
vCenter Server moves the virtual machine to the new host or storage location.
Event messages appear in the Events tab. The data displayed on the Summary tab shows the
status and state throughout the migration. If errors occur during migration, the virtual
machines revert to their original states and locations.
vCenter Server and Host Management Update 1 - VMware vSphere 7.0, page 129
Objective 7.11
Given a vSphere environment, identify how to use performance charts to monitor the environment
Line chart Displays metrics for a single inventory object. The data for each performance counter is plotted on
a separate line in the chart. For example, a network chart for a host can contain two lines: one
showing the number of packets received, and one showing the number of packets transmitted.
Bar chart Displays storage metrics for datastores in a selected data center. Each datastore is represented as
a bar in the chart. Each bar displays metrics based on the file type: virtual disks, snapshots, swap
files, and other files.
Pie chart Displays storage metrics for a single object, based on the file types, or virtual machines. For
example, a pie chart for a datastore can display the amount of storage space occupied by the
virtual machines taking up the largest space.
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 60
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
Stacked chart Displays metrics for the child objects that have the highest statistical values. All other objects are
aggregated, and the sum value is displayed with the term Other. For example, a host's stacked CPU
usage chart displays CPU usage metrics for the 10 virtual machines on the host that are consuming
the most CPU. The Other amount contains the total CPU usage of the remaining virtual machines.
The metrics for the host itself are displayed in separate line charts.
Stacked charts are useful in comparing the resource allocation and usage across multiple hosts or
virtual machines. By default, the 10 child objects with the highest data counter values are displayed.
Data center · Storage - space utilization charts for datastores in the data center, including
space by file type and storage space used by each datastore in the data
center.
· Clusters - thumbnail CPU and memory charts for each cluster, and stacked
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 61
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
charts for total CPU and memory usage in the data center. This view is the
default.
Datastore and datastore cluster · Space - space utilization charts for the datastore:space utilization by file type
· space utilization by virtual machine
· space usage
· Performance - performance charts for the datastore or datastore cluster and
for virtual machine disks on the resource.
Note The Performance view for datastores is only available when all hosts that are
connected to the datastores are ESX/ESXi 4.1 or greater. The Performance view
for datastore clusters is only available when the Storage DRS is enabled.
Host · Home - CPU, memory, disk, and network charts for the host.
· Virtual Machines - thumbnail charts for virtual machines, and stacked charts
for total CPU usage and total memory usage on the host.
Resource Pool and vApps · Home - CPU and memory charts for the resource pool.
· Resource Pools & Virtual Machines - thumbnail charts for resource pools, and
virtual machines and stacked charts for CPU and memory usage in the
resource pool or vApp.
Virtual Machine · Storage - space utilization charts for the virtual machine: space by file type,
space by datastore, and total gigabytes.
· Fault Tolerance - CPU and memory charts that display comparative metrics
for the fault-tolerant primary and secondary virtual machines.
· Home - CPU, memory, network, host (thumbnail charts), and disk usage
charts for the virtual machine.
Objective 7.12
Identify the purpose for VMware Tools.
· Pass messages from the host operating system to the guest operating system.
· Customize guest operating systems as a part of the vCenter Server and other VMware
products.
· Run scripts that help automate guest operating system operations. The scripts run when
the power state of the virtual machine changes.
· Synchronize the time in the guest operating system with the time on the host operating
system
VMware Tools Lifecycle Management provides a simplified and scalable approach for
installation and upgrade of VMware Tools. It includes a number of feature enhancements,
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 62
Valerio Passeri
VCTA Unofficial Study Guide – Exam 1V0-21.20 (Ver. 1.0)
Exam objectives for Section 7 - Administrative and Operational Tasks
---------------------------------------------------------------------------------------------------------------------------------------------------
driver-related enhancements, and support for new guest operating systems. Run the latest
version of VMware Tools or use open-vm-tools distributed with the Linux OS distribution.
Although a guest operating system can run without VMware Tools, always run the latest
version of VMware Tools in your guest operating systems to access the latest features and
updates. 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 Guide
This chapter includes the following topics:
---------------------------------------------------------------------------------------------------------------------------------------------------
Page 63