Vmware Interview Questions & Answers in 2016/2017: What Is A Vmkernel?
Vmware Interview Questions & Answers in 2016/2017: What Is A Vmkernel?
Vmware Interview Questions & Answers in 2016/2017: What Is A Vmkernel?
2016/2017
What is a VMkernel?
VMkernel is an interface between VMs and the VMware ESX host. Its main function is to
allocate memory, to schedule the CPUs and is necessary to run many of the services like
vMotion, Fault tolerance, NFS, traffic management and iSCSI. VMkernel port can be
configured on ESX server using a standard vSwitch .
What are VLAN and VLAN tagging and what types of tagging are
available in vSphere?
VLAN. Despite the physical distribution of servers and other devices in a single or multiple
LANs, the devices are able to communicate with each other as they are in a single LAN is
called virtual LAN. Some of the benefits of VLAN include flexibility to relocate servers and
workstations, sharing single broadcast and easy management of the network.
VLAN Tagging. The Ethernet frames have to travel through trunk links and to identify these
frames navigating through trunk lines, VLAN tags are added to these frames. When it reaches
the concluding end of the trunk line, the tag is removed and the Ethernet frame reaches the
pre-defined access link so that the VLAN information remains unknown to the target link.
Types of ESX tagging. VMware vSphere is used for VLAN tagging in ESX. The three types
of VLAN tagging possible in ESX are
DRS. In case vCenter is down, DRS will stop working since the distribution of VMs is a
function of vCenter Server.
FT. Although you will not be able to create VMs, the already configured VMs will not be
affected in case of vCenter outage.
Type 2, on the other hand, can be installed only on the operating system installed on the host
server and dependent on host OS for all its functionality. If OS gets corrupted, the hypervisor
and all the VMs get affected.
· A template can get converted back to VM to update the master VM copy with latest patches
or updates but a clone, once created cannot be converted back to VM.
· A clone can be created while VM is in ON condition whereas the creation of template from
a VM is not possible in ON condition.
· Cloning is of 2 types’ viz. Full clone and Linked clone. A full clone is entirely isolated
clone and does not depend on its parent VM in all its operations whereas Linked clone shares
virtual disk space with its parent VM. The template, on the other hand, is entirely an
independent entity.
Apart from having centralized backups of all virtual servers you can take file level as well as
image-backups of ESX servers. During file level backup, VCB creates a snapshot of ESX
server, mounts it and the mounted drive is then backup-ed through 3rd party software.
During the image level backup, the snapshot is done which is copied on the backup server,
un-snapping of copy is done and finally, you can back the image with any 3rd party software.
1) Mention what is VMware and what are their benefits?
VMware provides different applications and software for virtualization. VMware products
are categorized in two levels, desktop applications, and Server applications. It is useful
for
Application virtualization
Presentation virtualization
Network virtualization
Storage virtualization
3) Mention what are the different types of server software does VMware provides?
FT logging is one of the options in VMKernel port setting which is more or less same as
enabling vmotion option in the vmkernel port.
vCloud Suite combines with multiple VMware components to give a complete set of
cloud infrastructure capabilities in a single package, including virtualization, software-
defined datacenter services, disaster recovery, application management, etc.
10) Mention what are the storage and availability in vCloud Suite?
Storage DRS: It place and load balance virtual machines based on storage capacity and
I/O latency
Storage vMotion: It employs proactive, non-disruptive storage migration to reduce
virtual machine storage I/O bottlenecks and free up valuable storage capacity
Application HA: It gains high availability that is bound to specific applications
Data Protection: Based on EMC avamar, it deploys a back-up and recovery tool
11) Explain what is Host Isolation in VMware HA (High Availability)?
In VMware HA, it has a mechanism to detect a host isolated from the rest of hosts in the
cluster. In simple words, it uses a heart-beat to communicate other host in the cluster.
When the ESX host loses its ability to connect with other hosts in a cluster through
heart-beat, then ESX host will be considered as a Host Isolation.
12) Mention what is the difference between VMware HA and Vmware FT?
VMware FT is enabled per VM basis while VMware is enabled per cluster
In the case of ESX host failure, virtual machines are the failed host and are re-started and
powered-on the other active hosts in HA cluster. But FT enabled virtual machines; there is no
down time. In the case of host failure, secondary VM will be activated, and it becomes
primary and continue to run from the exact point where the primary VM is failed or left off.
13) Explain the new features available in vSphere 5?
Hot-pluggable PCIe SSD Devices: It supports SSDs (Solid State Disks) devices, and
with a new enhancement, SSD device can be removed or added while a vSphere host is
running.
Support for Reliable Memory Technology: vSphere ESXi hypervisor can take an
advantage of new hardware; vendor enabled Reliable Memory Technology, through which a
region of memory is reported from the hardware to vSphere ESXi hypervisor. It is used to
enhance the placement of VMKernel and other components like initial thread and hostd. It
helps to protect against memory error
Enhancements to CPU C-states: A power process (C-state) is used to provide additional
power savings
15) Mention what is the difference between template and clone in VMware?
—————
Clone Template
vCenter
ESXi hosts
virtual servers
virtual networks
virtual storage
Note: This list of questions may also be used for screening vSphere
Engineers or Architects.
5. One of the servers you found wasn’t on the list and now you
have a problem that is causing ESXi to purple screen so you call
VMware for support. What would happen if they found out your
hardware was not supported?
Since 2006 I have had the awful job of having to clean up behind
admins that would build vCenter and ESX/ESXi on any hardware
they found. I’m guilty of it myself!
ESXi will run on just about any hardware but that doesn’t mean it
should.
An experienced vSphere admin will know better than to waste time
(and a costly license) trying to run a 64bit OS on a server that
doesn’t support it.
ESXi Installation Qs
6. You’ve done this a hundred times. What are 3 methods that
can be used when doing an Interactive ESXi installation?
Answer: Boot from a CD/DVD, boot from a USB, and PXE boot
from a deployment server on the network.
7. After so many ESXi builds you have figured out a faster way to
do the install using a script. What’s the main difference between an
interactive ESXi installation and a scripted installation?
9. Darn, one of your servers is not loading. What’s the first thing
to double-check when having a problem installing ESXi?
10. You’ve typed this stuff in a million times. Name 5 of the 10 bits
of information required when installing ESXi?
13. You’re creating a list of ports you need the network admin to
open on the firewall. What is port 902 used for on vCenter?
Answer: Port 902 is the default port vCenter uses to send data
to hosts managed by vCenter.
14. The old vCenter was running MS SQL Express but you are
building 10 ESXi hosts. What’s the difference between using MS
SQL Server Express and MS SQL Server for vCenter?
15. Your new boss doesn’t like MS SQL and asked you to use
Oracle. Does vCenter support Oracle 11c or 12c?
For example, if a vSphere clouds grows too fast the additional load
on hardware and system resources can cause performance
problems that in worst cases can require a complete rebuild of
vCenter on bigger hardware. Fortunately, each ESXi host can be
managed separately if central management via vCenter is lost.
An experience vSphere admin who can answer these questions will
likely know this work-around.
Tip! Pay close attention for any sign that the person you are
interviewing does not think he/she owns your vSphere Cloud!
Storage is everything!
16. You’ve learned over the years there’s more to vSphere than
server hardware. What other 2 resources are just as important as
servers and need to be properly planned out when designing and
building a vSphere Cloud?
17. VMware vSphere give you options. What are the 4 typical
ways storage can be added to a vSphere?
Answer: Storage can be added via iSCSI, FC, NFS and local
disk (including DAS).
19. What is the best plan for a storage failure that impacts multiple
datastores?
Answer: Always have a backup of the VMs on a separate
storage environment that can be used to restore the lost virtual
servers.
20. Your host is a beast, dual socket with 8 core CPUs and 192
GB of memory. How many virtual servers can be added to a 1TB
datastore?
Far too many new VMware admins have learned the hard way
that “Not all storage is the same” and very quickly a junior admin
can cause an outage on a business critical database server simply
by vMotioning a VM to a datastore that looks empty.
Networking is everything, too!
25. This is a trick question so think about it! How many physical
NICs are needed in an ESXi hosts for hosting 25 virtual servers on
iSCSI storage split between 2 diverse environments (web/app).
So, when deploying vSphere 6.0 you need to understand the implications of these changes to
properly architect the environment, whether it is a fresh installation, or an upgrade. This is a
dramatic change from previous releases, and one that is going to be a source of many
discussions.
vCenter Server with an Embedded Platform Services Controller – This mode installs all
services on the same virtual machine or physical server as vCenter Server. The configuration
looks like this:
This is ideal for small environments, or if simplicity and reduced resource utilization are key
factors for the environment.
vCenter Server with an External Platform Services Controller – This mode installs the
platform services on a system that is separate from where vCenter services are installed.
Installing the platform services is a prerequisite for installing vCenter. The configuration
looks as follows:
This is ideal for larger environments, where there are multiple vCenter servers, but you want
a single pane-of-glass for the site.
Choosing your architecture is critical, because once the model is chosen, it is difficult to
change, and configuration limits could inhibit the scalability of the environment.
Note: Although using embedded Platform Services Controllers and enabling Enhanced
Linked Mode can technically be done, it is not a recommended configuration. See List of
Recommended topologies for vSphere 6.0 (2108548) for further details.
The following are some recommend options on how—and how not to—configure Enhanced
Linked Mode.
Enhanced Linked Mode with an External Platform Services Controller with No High
Availability (Recommended)
In this case the Platform Services Controller is configured on a separate virtual machine, and
then the vCenter servers are joined to that domain, providing the Enhanced Linked Mode
functionality. The configuration would look this way:
There are benefits and drawbacks to this approach. The benefits include:
Network connectivity loss between vCenter and the Platform Service Controller can cause
outages of services
More Windows licenses are required (if on a Windows Server)
More virtual machines to manage
Outage on the Platform Services Controller will cause an outage for all vCenter servers
connected to it. High availability is not included in this design.
Enhanced Linked Mode with an External Platform Services Controller with High Availability
(Recommended)
In this case the Platform Services Controllers are configured on separate virtual machines and
configured behind a load balancer; this provides high availability to the configuration. The
vCenter servers are then joined to that domain using the shared Load Balancer IP address,
which provides the Enhanced Linked Mode functionality, but is resilient to failures. This
configuration looks like the following:
There are benefits and drawbacks to this approach. The benefits include:
In this case vCenter is installed as an embedded configuration on the first server. Subsequent
installations are configured in embedded mode, but joined to an existing Single Sign-On
domain.
Enhanced Linked Mode Using Only an Embedded Platform Services Controller (Not
Recommended)
In this case there is an embedded Platform Services Controller with vCenter Server linked to
an external standalone vCenter Server.
Linking a second vCenter Server to an existing embedded vCenter Server and Platform
Services Controller is possible, but this is not a recommended configuration. It is preferred to
have an external configuration for the Platform Services Controller.
Stay tuned for Part 2 of this blog post where we will discuss the different platforms for
vCenter, high availability and different deployment recommendations.
Vmware Standard Vs Distributed Switch
`VMWARE PVLANS
0
12Shares
12
As the title shows, this post is about private VLANs (PVLAN). This topic shows on VCAP
exams, but also on VCP based exams. So if you’re studying for VCAP or VCP, this article
might be your interest. VMware vSphere and Private VLANs are great topic, but not easy.
Usually you can separate traffic and secure your environment by using VLANS, but private
VLANs allows further segmentation and creation of private groups inside each of the
VLAN. By using private VLANs (PVLANs) you splitting the broadcast domain into
multiple isolated broadcast “subdomains”.
Private VLANs needs to be configured at the physical switch level (the switch must support
PVLANs) and also on the VMware vSphere distributed switch. (Ent. Plus is required). I’ts
more expensive and takes a bit more work to setup. Is that why it’s not widely used?
Primary:
Promiscuous Primary VLAN – Imagine this VLAN as a kind of a router. All packets from
the secondary VLANS go through this VLAN. Packets which also goes downstream and so
this type of VLAN is used to forward packets downstream to all Secondary VLANs.
Secondary:
Isolated (Secondary) – VMs can communicate with other devices on the Promiscuous
VLAN but not with other VMs on the Isolated VLAN.
Community (Secondary) – VMs can communicate with other VMs on Promiscuous and also
w those on the same community VLAN.
VDS is a vSphere Enterprise Plus feature as we need vSphere Distributed Switch (vDS) to
configure PVLANs. Then it’s quite straightforward:
The VCAP exam is based on vSphere 5.0 or 5.1, so you’ll probably won’t have an access to
create vDS version 5.5 and have an access to the latest features, which brought the 5.5
version. So you’ll have the possibility to create vDS version 4.0 … up to 5.5.
The next step is to create some PVLANs. You’ll be doing it at the vDS level, so select and
right click the vDS > Edit Settings > Private VLAN tab. Once there you can add some
PVLANs. Notice the Secondary Promiscuous was created automatically when you created
the Primary private VLAN.
So in my example above I created Primary Private VLAN 500 which automatically created
secondary PVLAN 500. Then I only could create an Isolated Secondary VLAN 501 and
Community VLAN 502.
Now we have those PVLANs created and this gives us the possibility to use them for new or
existing port groups. Example below I’m creating new port group with some name and after
selecting the PVLAN, a new drop-down menu appears which gives the option to choose an
entry between the Isolated, or Community.
On the VCAP5-DCA Blueprint it’s the Objective 2.2 – Configure and Maintain VLANs,
PVLANs and VLAN Settings and you are required to have VLANs and PVLANs knowledge
with also:
There are commands which can be run via VMA, others via vCLI or directly SSh to the ESXi
via Putty:
esxcli network vswitch standard list – shows the standard vswitch settings
Etc… if you put -h for help you can get the options showed at different levels
esxcli network -h shows options for fence, firewall, ip, vswitch, nic…. etc.