VMWare Virtualization and Hypervisor
VMWare Virtualization and Hypervisor
VMWare Virtualization and Hypervisor
A hypervisor, also known as a virtual machine monitor or VMM, is software that creates and
runs virtual machines (VMs). A hypervisor allows one host computer to support multiple guest
VMs by virtually sharing its resources, such as memory and processing
Without Virtualization
All require power
All require cooling
All require real estate
Single OS image per machine
Setup, Configuration
Maintenance, Support
Clunky processes like backup
With Virtualization
VMware Workstation/Fusion/Player
Microsoft Virtual PC
Oracle VM VirtualBox
Red Hat Enterprise Virtualization
What are the VMWare Components?
Virtual machines
Hypervisor
Hardware
V-Center Server
vSphere Client
(Web / application)
VMware vSphere
VMware vSphere is a suite of software components for virtualization. These include ESXi, vCenter
Server, and other software components that fulfill several different functions in the vSphere environment.
Storage
Connectivity
to vSphere
vSphere Networking
VMWare ESXi is the name of VMware’s bare-metal or Type-1 hypervisor. A hypervisor is a special kind of
operating system where you can create, run, and manage multiple virtual machines. Each VM can have its own
guest operating system and one or more applications. The guest OS can be any general-purpose OS like
Windows, macOS, Linux, and so on.
vSphere vMotion
vSphere vMotion enables zero-downtime, live migration of
workloads from one server to another so users can
continue to access the systems they need to stay
productive. During the workload migration, the application
is still running and users continue to have access to the
systems they need.
VMware HA continuously monitors all servers in a resource pool and detects server failures. An agent placed on each server
maintains a “heartbeat” with the other servers in the resource pool and a loss of “heartbeat” initiates the restart process of all
affected virtual machines on other servers. VMware HA ensures that sufficient resources are available in the resource pool at
all times to be able to restart virtual machines on different physical servers in the event of server failure.
Template
A virtual machine template is a main copy of a virtual machine
that can be used to create and provision new virtual machines.
Typically, a template includes an installed guest operating
system and a set of applications.
You cannot power on and edit the template once it has been
created. This is by design, so that nobody can accidentally edit
the virtual machine that is used as a template.
Snapshot
A snapshot preserves the state and data of a virtual machine at
a specific point in time.
• VM Memory Limits
If VMs are moved from resource pools with memory limits, standalone VMs may retain the limitation on
memory. Administrators may not be aware this has happened. Memory limits can prevent virtual machines from
accessing the necessary memory.
Solution: To remove memory limitations, simply set the limit to zero. Finding the memory limits in the first
place can be more difficult. To locate memory limits, you’ll need to look through your inventory of virtual
machines manually, visit the settings for each VM, and verify whether the machine has a memory limit
configured.
Common VMware Errors, Issues, and
Troubleshooting
Virtual Machine Disks Consolidation
Needed
Virtual disk consolidation is the process of
merging virtual disk files created after taking VM
snapshots.
One of the common reasons for this error message
is incorrectly deleting a VM snapshot, which can
leave VMDK files related to snapshots and log
files on the datastore (for example, after you
performed the Delete All or Delete operation for
VM snapshots).
Solution: Right click the VM name in the VMware
vSphere Client and in the menu that opens, click
Snapshots > Consolidate.
Contd. …
Error: Virtual Machine Disks Consolidation Needed
Sometimes, another error can occur during
VMware disk consolidation and the following
error message is displayed:
Unable to access file since it is locked. An error
occurred while consolidating disks: Failed to lock the
file. Consolidation failed for disk node ‘scsi0:0’.
vSphere Web Client fails with the error: Invalid user credentials provided
1. This issue occurs when SSO queries Active Directory and is unable to find the user account that was specified.
2. These issue occurs when the Security Token Service (STS) certificate has expired.