Académique Documents
Professionnel Documents
Culture Documents
VSphere HA provides high availability for virtual machines by pooling the virtual
machines and the hosts they reside on into a cluster. Hosts in the cluster are
monitored and in the event of a failure, the virtual machines on a failed host are
restarted on alternate hosts.
The VMware Fault Tolerance feature can also ensure very high levels of
availability. While vSphere HA restarts failed VMs after a short detection and
boot-up time, Fault Tolerance maintains a redundant copy of the protected VM that
can seamlessly take over the operations of the failed copy.
How vSphere HA works
VMware vSphere HA uses a utility called the Fault Domain Manager agent to monitor
ESXi host availability and to restart failed VMs. When setting up vSphere HA, an
administrator defines a group of servers to serve as a high-availability cluster.
The Fault Domain Manager runs on each host within the cluster. One host in the
cluster serves as the master host -- all other hosts are referred to as slaves --
to monitor signals from other hosts in the cluster and communicate with the vCenter
Server.
The HA utility can also restart VMs if a host continues to run, but loses a network
connection to the rest of the cluster. The master host can monitor if that host is
still communicating with network-connected data stores to detect if a network-
segregated host is still running. Shared storage, such as a storage area network,
enables hosts in the cluster to access VM disk files and restart the VM, even if it
was running on another server in the cluster.
DRS works on a cluster of ESXi hosts and provides resource management capabilities
like load balancing and virtual machine (VM) placement. DRS also enforces user-
defined resource allocation policies at the cluster level,
4.FT
VMware Fault Tolerance provides continuous availability for virtual machines by
creating and maintaining a Secondary VM that is identical to, and continuously
available to replace, the Primary VM in the event of a failover situation.
You can enable Fault Tolerance for most mission critical virtual machines
These are the vSphere FT maximums:
Virtual disks: 16
Disk size: 2 TB
Virtual CPUs per VM: 4
RAM per FT VM: 64 GB
FT VMs per host: 4
Virtual CPUs per host: 8
Hypervisor
VMkernel is a virtualization interface between a Virtual Machine and the ESXi host
which stores VMs. It is responsible to allocate all available resources of ESXi
host to VMs such as memory, CPU, storage etc. It’s also controlled special services
such as vMotion, Fault tolerance, NFS, traffic management and iSCSI. To access
these services, VMkernel port can be configured on ESXi server using a standard or
distributed vSwitch. Without VMkernel, hosted VMs cannot communicate with ESXi
server.
What is Virtualization?
The communication between two ESXi hosts is called FT logging when FT is configured
between them. The pre-requisition of configuring FT is to configure VMKernel port.
The main difference between VMware HA and FT is: HA is enabled per cluster and
VMware FT is enabled per VM. In HA, VMs will be re-started and powered-on on
another host in case of a host failure, while in FT there is no downtime because
the second copy will be activated in case of host failure.
Virtual Networking
A network of VMs running on a physical server that is connected logically with each
other is called virtual networking.
What is vSS?
vSS stands for Virtual Standard Switch is responsible for communication of VMs
hosted on a single physical host. it works like a physical switch automatically
detects a VM which want to communicate with other VM on a same physical server.
What is vDS?
vDS stands for Virtual Distributed Switch acts as a single switch in a whole
virtual environment and is responsible to provide central provisioning,
administration, and monitoring of the virtual network.
VMKernel adapter provides network connectivity to the ESXi host to handle network
traffic for vMotion, IP Storage, NAS, Fault Tolerance, and vSAN. For each type of
traffic such as vMotion, vSAN etc. separate VMKernal adapter should be created and
configured.
You can segregate the network traffic by using port groups such as vMotion, FT,
management traffic etc.
A logical configuration on the switch port to segment the IP Traffic where each
segment cannot communicate with other segments without proper rules mentioned is
called VLAN and every VLAN has a proper number called VLAN ID.
The practice of inserting VLAN ID into a packet header to identify which VLAN
packet belongs to is called VLAN tagging.
Promiscuous mode
MAC address change
Forged transmits
The default mode is Reject. If Accept is selected, VM will receive all traffic port
group via vSwitch.
The default mode of this policy is Reject. If the Accept is selected, a host will
accept requests to change the effective MAC address.
PSC stands for Platform Services Controller first introduced in version 6 of VMware
vSphere which handles infrastructure security functions. It has three main
components.
Embedded
centralized
Embedded Deployment
External deployment
What is the basic security step to secure vCenter Server and users?
Authenticate vCenter Server with Active Directory. By using this we can assign
specific roles to users and can also manage the virtual environment in an efficient
way.
Virtual Storage (Datastore)
What is datastore?
Datastore is a storage location where virtual machine files are stored and
accessed. Datastore is based on a file system which is called VMFS, NFS.
Thick Provisioned Lazy Zeroes: every virtual disk is created by default in this
disk format. Physical space is allocated to a VM when a virtual disk is created. It
can’t be converted to thin disk.
Thick Provision Eager Zeroes: this disk type is used in VMware Fault Tolerance.
All required disk space is allocated to a VM at time of creation. It takes more
time to create a virtual disk compare to other disk formats.
Thin provision: It provides an on-demand allocation of disk space to a VM. When
data size grows, the size of a disk will grow. Storage capacity utilization can be
up to 100% with thin provisioning.
What is Storage vMotion?
Version 11
Version 13
How many maximum hosts can manage a vCenter Server in vSphere 6.0?
In vSphere 6.0, a single vCenter Server can manage up to 1000 hosts either in
Windows or in vCenter Appliance (vCSA).
What is VVol?
Virtual Volume a new VM disk management concept introduced in vSphere 6.0 that
enables array-based operations at the virtual disk level. VVol is automatically
created when a virtual disk is created in a virtual environment for a VM.
How many licensing options for vSphere 6.0?
Content Library is the central location point between two different geographical
locations with vCenter Servers where you can store VM templates, ISO images,
scripts etc. and share them between geographical locations
What is VMFS?
What is vSAN?
Hybrid: Uses both flash-based and magnetic disks for storage. Flash are used
for cashing, while magnetic disks are used for capacity or storage.
All-Flash: Uses flash for both caching and for storage
Yes, vSAN-ready such as VxRail 4.0 and 4.5 are available in the market. VxRail is
the combination of min 3 servers which are part of a cluster and can scale up to 64
servers.
To configure a vSAN, you should have minimum 3 ESXi hosts/servers in the form of a
vSAN cluster. If one of the servers fails, a vSAN cluster will fail.
How many disk groups and max magnetic disks are allowed in single disk group?
Maximum 5 disk groups are allowed on an ESXi host which is a part of a vSAN cluster
and a maximum of 7 magnetic and 1 SSD per disk group is allowed.
What is NFS?
Network File System (NFS) is a file sharing protocol that ESXi hosts use to
communicate with a NAS device. NAS is a specialized storage device that connects to
a network and can provide file access services to ESXi hosts.
Raw Device Mapping (RDM) is a file stored in a VMFS volume that acts as a proxy for
a raw physical device. RDM enables you to store virtual machine data directly on a
LUN. RDM is recommended when a VM must interact with a real disk on the SAN.
An iSCSI SAN consists of an iSCSI storage system, which contains one or more
storage processors. TCP/IP protocol is used to communicate between host and storage
array. an iSCSI initiator is configured with the ESXi host. an iSCSI initiator can
be a hardware-based either dependent or independent and software-based known as
iSCSI software initiator.
vApp
What is vApp?
vApp is a container or group where more than one VM can be package and manage
multi-tiered applications for specific requirements for example, Web server,
database server, and application server can be configured as a vApp and can be
defined their power-on and power-off sequence.
We can configure several settings for vApp such as CPU and memory allocation, and
IP allocation policy etc.
Miscellaneous
Limit: Consumption of a CPU cycle or host physical memory that cannot cross the
defined value (limit).
Reservation: This value defines in the form of CPU or memory and must be available
for a VM to start.
An alarm is a notification which appears when an event occurs. Many default alarms
exist for many inventory objects. Alarms can be created and modified using vSphere
Web Client;
What are the hot-pluggable devices which can be added while VM is running?
What is a Template?
When a VM is converted into a format which can be used to create a VM with pre-
defined settings is called a template. An installed VM can be converted into a
template but it cannot be powered-on.
What is Snapshot?
It is a very prominent feature of VMware vSphere used to live migrate running VMs
from one ESXi host to another without any downtime. Datastores and ESXi hosts both
can be used while vMotion.
Network Heartbeat
Datastore Heartbeat