Professional Documents
Culture Documents
Cloud Computing is the delivery of computing as a service rather than a product, whereby
shared resources, software, and information are provided to computers and other devices as a
metered service over a network (typically the Internet). Cloud Computing may look like
Virtualization because it appears that your application is running on a virtual server detached
from any reliance or connection to a single physical host. However, Cloud Computing can be
better described as a service where Virtualization is part of a physical infrastructure.
Cloud Computing builds on top of a virtualized infrastructure (compute, storage, network) by
using standardization and automated delivery to provide service management. This makes
monitoring the virtualized resources and the responsible deployment of these resources
possible.
Virtualization is simply a preparation for the delivery of IT in a very powerful way within an
organization. It removes a level of complexity for end users, one that should never have been
there in the first place, while primarily cutting costs for the organization. Cloud Computing
ties directly to the way an organization uses its IT resources and enables a quantum change in
the experience throughout the organization easing the administrative burden of deploying,
managing, delivering IT resources, and providing the ability for end users to request and use
virtualized IT resources (or perhaps even an application or a business process where the end
user does not have to be aware of the underlying IT resources being used).
4. Why Virtualize?
There seems to be a bit of confusion about the benefits of server virtualization, with many
tending to focus on cost savings. As a district that has been running a virtual infrastructure
for some time, I can honestly say that virtualization is not so much about saving money
(although you certainly will) as it is about better resource utilization, more reliability, and
greater flexibility.
Better resource utilization
There is no question that most of our servers are doing nothing about 90% of the time. This
becomes quite obvious with even a cursory glance at historical utilization data for any given
server. It would seem that the obvious solution for this would be to simply run more
applications on each one, but the reality of this is that the more apps you install on one OS,
the more unreliable it becomes (especially if it's a Microsoft product.) So, what we all do
instead is buy a new machine every time we want a new app that we think is "critical,"
because we want to be sure it has its own sandbox to play in.
So, we find ourselves with racks and racks of servers consuming more and more space (at a
cost,) all generating heat which we must cool (at a cost,) all pulling more and more power (at
a cost,) all requiring more and more time to manage (at a cost.)
Virtualization offers a way to safely put more than one operating system (or virtual server)
on one piece of hardware by isolating each operating system from any others running on the
box. Essentially, you are establishing a bunch of sandboxes on one piece of hardware. If one
of the virtual servers crashes, hard or soft, it will have no impact on any of the others on the
box. Hardware resources are better used since, rather than having 10 independent servers
running at 10 percent utilization each, you can have 2 running 5 virtual servers each for a
total of 50 percent utilization per box. Better still, if designed properly (more on that later,)
should a virtual server require more resources, it can easily and instantly be moved to a
machine that offers more, often live and transparently to its end users.
More reliability
It's important to note, before any discussion on reliability comes into play, that a virtualized
operating system is, by nature, relatively hardware agnostic. This means that it (its image,
which is) can easily be moved from one piece of hardware to another, even if that hardware
is of completely different design, without modification and often without shutting the system
down (i.e. live migration.) This can dramatically reduce the time required to bring a failed
system back up, as the typical 2-4 hour OS reinstall phase can be eliminated.
However, virtualization, by its very design, dramatically increases the impact of a single
system failure, as a variety of services will be impacted when multiple virtual servers go
down simultaneously. This is where the "designed properly" comes into play.
Properly designed, virtualized infrastructure can provide far greater reliability and less down
time than an infrastructure of individual machines could ever achieve. The keys to the design
are redundancy and shared storage. All individual pieces of server hardware must be
redundantly linked to a properly designed SAN or other shared storage device, where all
virtual machine images are stored for a user to realize the true reliability benefits of server
virtualization.
Greater flexibility
Finally, and perhaps most importantly, virtualization provides flexibility, or what I like to
call, an agile infrastructure. I've already described some of that flexibility in the reliability
section - moving virtual machines live from box to box. Imagine, for example that one of
your virtual machines is consuming too many resources on the box it's on, lets say processor
time. People are complaining that things are slowing down. You say, "no problem," and
move the virtual machine to a box with a free processor. Or, you take advantage of virtual
smp, and simply pin another processor to the virtual machine. Ever needed to add more RAM
to a server because a process has outgrown its allocation? No problem - simply allocate more
RAM to the process. No pulling the server, no extended periods of down time.
Deployments are equally easy. Once you have one image of an OS, you know that it will
work on any hardware, so you never have to sit and watch an installer run, followed by
endless online updates again. Simply copy the image and fire it up - you're ready to install
that new app in less than 5 minutes. How much are you paying people to do this sort of thing,
when they could be working on more important things, like innovating!
5. What is Hypervisor?
A hypervisor, also called a virtual machine manager, is a program that allows multiple
operating systems to share a single hardware host. Each operating system appears to have
the host's processor, memory, and other resources all to itself. However, the hypervisor is
actually controlling the host processor and a resource, allocating what is needed to each
operating system in turn and making sure that the guest operating systems (called virtual
machines) cannot disrupt each other.
6. What is VMware HA?
VMware vSphere High Availability (HA) provides easy-to-use, cost effective high
availability for applications running in virtual machines. In the event of physical server
failure, affected virtual machines are automatically restarted on other production servers with
spare capacity. In the case of operating system failure, vSphere HA restarts the affected
virtual machine on the same physical server.
With 2 ESX Servers, a SAN for shared storage, Virtual Center, and a VMHA license, if a
single ESX Server fails, the virtual guests on that server will move over to the other server
and restart, within seconds. This feature works regardless of the operating system used or if
the applications support it.
7. How VMware HA works?
VMware HA continuously monitors all virtualized servers in a resource pool and detects
physical server and operating system failures. To monitor physical servers, an agent on each
server maintains a heartbeat with the other servers in the resource pool such that a loss of
heartbeat automatically initiates the restart of all affected virtual machines on other servers in
the cluster.
VMware HA leverages shared storage and, for FibreChannel and iSCSI SAN storage, the
VMware vStorage Virtual Machine File System (VMFS) to enable the other servers in the
cluster to safely access the virtual machine for failover. When used with VMware Distributed
Resource Scheduler (DRS), VMware HA automates the optimal placement of virtual
machines on other servers in the cluster after server failure.
To monitor operating system failures, VMware HA monitors heartbeat information provided
by the VMware Tools package installed in each virtual machine in the VMware HA cluster.
Failures are detected when no heartbeat is received from a given virtual machine within a
user-specified time interval.
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.
9. What is a Slot?
A slot is a logical representation of the memory and CPU resources that satisfy the
requirements for any powered-on virtual machine in the cluster. In other words a slot size is
the worst case CPU and Memory reservation scenario in a cluster.
10. Where is HA configuration and log file in vSphere 4.1?
1. To check the current installed version of HA agent....run
rpm -qa |grep aam
2. HA agent is installed under
/opt/vmware/aam
3. To check HA nodes log..run
less /var/log/vmware/aam/aam_config_util_listnodes.log
4. To check HA agent log...run
less /var/log/vmware/aam/agent/run.log
5. To check HA install and current configuration log.....run
less /var/log/vmware/aam/aam_config_util_install.log
VMware DRS redistributes the virtual machines among the physical servers. If the overall
workload decreases, some of the physical servers can be temporarily powered-down and the
workload consolidated.
Other features of VMware DRS include:
The vLockstep technology used by FT requires the physical processor extensions added
to the latest processors from Intel and AMD. In order to run FT, a host must have an FTcapable processor, and both hosts running an FT VM pair must be in the same processor
family.
CPU clock speeds between the two hosts must be within 400MHz of each other to ensure
that the hosts can stay in sync.
All hosts must be running the same build of ESX or ESXi and be licensed for FT,
which is only included in the Advanced, Enterprise, and Enterprise Plus editions of
vSphere.
Hosts used together as an FT cluster must share storage for the protected VMs (FC,
iSCSI, or NAS).
Hosts must be in an HA-enabled cluster.
Network and storage redundancy is recommended to improve reliability; use NIC
teaming and storage multipathing for maximum reliability.
Each host must have a dedicated NIC for FT logging and one for VMotion with speeds
of at least 1Gbps. Each NIC must also be on the same network.
Host certificate checking must be enabled in vCenter Server (configured in vCenter
Server Settings SSL Settings).
In addition to these requirements, there are also many limitations when using FT, and they
are as follows.
Enhanced vMotion Compatibility (EVC) You can use EVC to help ensure vMotion
compatibility for the hosts in a cluster. EVC ensures that all hosts in a cluster present
the same CPU feature set to virtual machines, even if the actual CPUs on the hosts
differ. This prevents migrations with vMotion from failing due to incompatible CPUs.
CPU compatibility masks vCenter Server compares the CPU features available to a
virtual machine with the CPU features of the destination host to determine whether to
allow or disallow migrations with vMotion. By applying CPU compatibility masks to
individual virtual machines, you can hide certain CPU features from the virtual
machine and potentially prevent migrations with vMotion from failing due to
incompatible CPUs.
vMotion Requirements
To enable the use of DRS migration recommendations, the hosts in your cluster must be part
of a vMotion network. If the hosts are not in the vMotion network, DRS can still make initial
placement recommendations.
To be configured for vMotion, each host in the cluster must meet the following requirements:
The virtual machine configuration file for ESX/ESXi hosts must reside on a VMware
Virtual Machine File System (VMFS).
vMotion does not support raw disks or migration of applications clustered using
Microsoft Cluster Service (MSCS).
vMotion requires a private Gigabit Ethernet migration network between all of the
vMotion enabled managed hosts. When vMotion is enabled on a managed host,
configure a unique network identity object for the managed host and connect it to the
private migration network.
VMotion suspends the source virtual machine, copies the bitmap to the target ESX host, and
resumes the virtual machine on the target ESX host.
This entire process takes less than two seconds on a Gigabit Ethernet network.
Third:The networks being used by the virtual machine are also virtualized by the underlying ESX
host, ensuring that even after the migration, the virtual machine network identity and network
connections are preserved.
VMotion manages the virtual MAC address as part of the process. Once the destination
machine is activated, VMotion pings the network router to ensure that it is aware of the new
physical location of the virtual MAC address.
Since the migration of a virtual machine with VMotion preserves the precise execution state,
the network identity, and the active network connections, the result is zero downtime and no
disruption to users.
22. What are vSphere Standard Switches?
vSphere standard switches are abstracted network devices. A standard switch can bridge
traffic internally between virtual machines in the same port group and link to external
networks.
You can use standard switches to combine the bandwidth of multiple network adapters and
balance communications traffic among them. You can also configure a standard switch to
handle physical NIC failover.
A vSphere standard switch models a physical Ethernet switch. The default number of logical
ports for a standard switch is 120. You can connect one network adapter of a virtual machine
to each port. Each uplink adapter associated with a standard switch uses one port. Each
logical port on the standard switch is a member of a single port group. Each standard switch
can also have one or more port groups assigned to it.
When two or more virtual machines are connected to the same standard switch, network
traffic between them is routed locally. If an uplink adapter is attached to the standard switch,
each virtual machine can access the external network that the adapter is connected to.
23. What is vSphere Distributed Switch?
The vSphere Distributed Switch (VDS) simplifies virtual machine networking by enabling
you to set up virtual machine access switching for your entire datacenter from a centralized
interface. VDS provides:
Simplify Virtual Machine Network Configuration
Central control of virtual switch port configuration, portgroup naming, filter settings, etc
Link Aggregation Control Protocol (LACP) - Negotiates and automatically configures
link aggregation between vSphere hosts and access layer physical switch
Network health check capabilities to verify vSphere to physical network configuration
Support for RSPAN and ERSPAN protocols for remote network analysis
IPFIX Netflow version 10
SNMPv3 support
Rollback and Recovery for Patching and Updating the Network Configuration
Templates to enable backup and restore for virtual networking configuration
Network based coredump (Netdump) to debug hosts without local storage
24. What is the difference between standard switch (vSwitch) and distributed switch
(dvSwitch)?
Both types of switches provide the following:
What might seem odd about these numbers is they are exactly eight digits less than what you
might expect (32, 64, 128, 256, 512, 1032, 2048, and 4096). So what happened to the other
eight ports? Well, those eight ports are there, but they are used by the VMkernel for
background monitoring processes.
27. What are the three port groups present in ESX4 server networking ?
1)
2)
3)
After clicking Add License Keys, you can review the license keys you added, capacity
counts, expiration dates, and labels associated with the license keys.
8. Click Next to assign the license keys.
Assigning License Keys
To assign licenses to the vCenter Server or the ESXi host:
1.
2.
3.
4.
5.
6.
7.
8.
Most Recently Used (MRU): Selects the first working path, discovered at system boot
time. If this path becomes unavailable, the ESXi/ESX host switches to an alternative path
and continues to use the new path while it is available. This is the default policy for
Logical Unit Numbers (LUNs) presented from an Active/Passive array. ESXi/ESX does
not return to the previous path if, or when, it returns; it remains on the working path until
it, for any reason, fails.
Note: The preferred flag, while sometimes visible, is not applicable to the MRU pathing
policy and can be disregarded.
Fixed (Fixed): Uses the designated preferred path flag, if it has been configured.
Otherwise, it uses the first working path discovered at system boot time. If the ESXi/ESX
host cannot use the preferred path or it becomes unavailable, the ESXi/ESX host selects
an alternative available path. The host automatically returns to the previously-defined
preferred path as soon as it becomes available again. This is the default policy for LUNs
presented from an Active/Active storage array.
Round Robin (RR): Uses an automatic path selection rotating through all available
paths, enabling the distribution of load across the configured paths.
o
o
For Active/Passive storage arrays, only the paths to the active controller will be
used in the Round Robin policy.
For Active/Active storage arrays, all paths will be used in the Round Robin
policy.
Note: This policy is not currently supported for Logical Units that are part of a Microsoft
Cluster Service (MSCS) virtual machine.
Fixed path with Array Preference: The VMW_PSP_FIXED_AP policy was introduced in
ESXi/ESX 4.1. It works for both Active/Active and Active/Passive storage arrays that
support Asymmetric Logical Unit Access (ALUA). This policy queries the storage array for
the preferred path based on the array's preference. If no preferred path is specified by the
user, the storage array selects the preferred path based on specific criteria.
Note: The VMW_PSP_FIXED_AP policy has been removed from ESXi 5.0. For ALUA
arrays in ESXi 5.0, the MRU Path Selection Policy (PSP) is normally selected but some
storage arrays need to use Fixed.
31. What is swap size?
When you power on a VM, a memory swap file is created that can be used in lieu of physical
host memory if an ESX host exhausts all of its physical memory because it is overcommitted.
These files are created equal in size to the amount of memory assigned to a VM, minus any
memory reservations (default is 0) that a VM may have set on it (i.e., a 4 GB VM with a 1
GB reservation will have a 3 GB vswp file created).
32. What is ballooning?
Ideally, a VM from which memory has been reclaimed should perform as if it had been
configured with less memory. ESX Server uses a ballooning technique to achieve such
predictable performance by coaxing the guest OS into cooperating with it when possible.
When the ESX hosts machine memory is scarce or when a VM hits a Limit, The kernel
needs to reclaim memory and prefers ballooning over swapping. The balloon driver is
installed inside the guest OS as part of the VMware Tools installation and is also known as
the vmmemctl driver.
When the ESX kernel wants to reclaim memory, it instructs the balloon driver to inflate. The
balloon driver then requests memory from the guest OS. When there is enough memory
available, the guest OS will return memory from its free list. When there isnt enough
memory, the guest OS will have to use its own memory management techniques to decide
which particular pages to reclaim and if necessary page them out to its swap- or page-file.
In the background, the ESX kernel frees up the machine memory page that corresponds to the
physical machine memory page allocated to the balloon driver. When there is enough
memory reclaimed, the balloon driver will deflate after some time returning physical memory
pages to the guest OS again.
This process will also decrease the Host Memory Usage parameter
Ballooning is only effective it the guest has available space in its swap- or page-file, because
used memory pages need to be swapped out in order to allocated the page to the balloon
driver. Ballooning can lead to high guest memory swapping.
33. What is thin provisioning?
When creating a virtual disk file, by default VMware ESXi/ESX uses a thick type of virtual
disk. The thick disk pre-allocates all of the space specified during the creation of the disk.
For example, if you create a 10 megabyte disk, all 10 megabytes are pre-allocated for that
virtual disk.
In contrast, a thin virtual disk does not pre-allocate all of the space. Blocks in the VMDK file
are not allocated and backed by physical storage until they are written during the normal
course of operation. A read to an unallocated block returns zeroes, but the block is not
backed with physical storage until it is written.
34. What is FT?
Fault Tolerance (FT) is a new feature in vSphere that takes VMwares High Availability
technology to the next level by providing continuous protection for a virtual machine (VM)
in case of a host failure. It is based on the Record and Replay technology that was introduced
with VMware Workstation that lets you record a VMs activity and later play it back.
The feature works by creating a secondary VM on another ESX host that shares the same
virtual disk file as the primary VM and then transferring the CPU and virtual device inputs
from the primary VM (record) to the secondary VM (replay) via a FT logging NIC so it is in
sync with the primary and ready to take over in case of a failure. While both the primary and
secondary VMs receive the same inputs, only the primary VM produces output such as disk
writes and network transmits. The secondary VMs output is suppressed by the hypervisor
and is not on the network until it becomes a primary VM, so essentially both VMs function
as a single VM.
35. What is difference between HA and FT?
VMware Fault Tolerance is a high-availability feature that can be used within a VMware
High Availability cluster. However, high availability is not synonymous with fault tolerance;
there are meaningful differences between the two terms. Each setup requires different
available resources and will affect virtual machines differently.
The key difference between VMware's Fault Tolerance (FT) and High Availability (HA)
products is interruption to virtual machine (VM) operation in the event of an ESX/ESXi host
failure. Fault-tolerant systems instantly transition to a new host, whereas high-availability
systems will see the VMs fail with the host before restarting on another host.
VMware High Availability
VMware High Availability should be used to maintain uptime on important but non-missioncritical VMs. While HA cannot prevent VM failure, it will get VMs back up and running
with very little disturbance to the virtual infrastructure. Consider the value of HA for host
failures that occur in the early hours of the morning, when IT is not immediately available to
resolve the problem.
In addition to tending to VMs during ESX/ESXi host failure, VMware High Availability can
monitor and restart a VM, ensuring the machine is capable of restarting on a new host with
enough resources.
VMware Fault Tolerance
VMware FT instantly moves VMs to a new host via vLockstep, which keeps a secondary
VM in sync with the primary, ready to take over at any second, like a Broadway understudy.
The VM's instructions and instruction sequence are the actor's lines, which pass to the
understudy on a dedicated server backbone network. Heartbeats ping between the star and
understudy on this backbone as well, for instantaneous detection of a failure.
36. Difference between HA and vMotion?
VMotion and HA are not related and are not dependents of each other. DRS have a
dependency on vMotion, but not HA. HA is used in the event that a hosts fails you can have
your virtual machines restart on another host in the cluster. vMotion allows you to move a
virtual machine from one host to another while it is running without service
interruption. Ideally you will utilize vMotion, HA and DRS within your cluster to achieve a
well-balanced VI environment.
37. What is Deference between ESX and ESXi?
VMware ESX Architecture. In the original ESX architecture, the virtualization kernel
(referred to as the vmkernel) is augmented with a management partition known as the
console operating system (also known as COS or service console). The primary purpose of
the Console OS is to provide a management interface into the host. Various VMware
management agents are deployed in the Console OS, along with other infrastructure service
agents (e.g. name service, time service, logging, etc). In this architecture, many customers
deploy other agents from 3rd parties to provide particular functionality, such as hardware
monitoring and system management. Furthermore, individual admin users log into the
Console OS to run configuration and diagnostic commands and scripts.
VMware ESXi Architecture. In the ESXi architecture, the Console OS has been
removed and all of the VMware agents run directly on the vmkernel. Infrastructure
services are provided natively through modules included with the vmkernel. Other authorized
3rd party modules , such as hardware drivers and hardware monitoring components, can run
in vmkernel as well. Only modules that have been digitally signed by VMware are allowed
on the system, creating a tightly locked-down architecture. Preventing arbitrary code from
running on the ESXi host greatly improves the security of the system.
Capability
VMware ESX
VMware ESXi
Service Console
Scriptable
Installation
environment like
the Service Console for
management of VMware
ESXi.
The vSphere CLI (vCLI) is
a remote scripting
environment that interacts
with VMware ESXi hosts
to enable host
configuration through
scripts or specific
commands. It replicates
nearly all the equivalent
COS commands for
configuring ESX.
VMware ESXi Installable
does not support scriptable
installations in the manner
ESX does, at this time.
VMware ESXi does
provide support for post
installation configuration
script using vCLI-based
configuration scripts.
VMware ESXi may be
deployed as an embedded
hypervisor or installed on a
hard disk.
In most enterprise
settings, VMware ESXi is
deployed as an embedded
hypervisor directly on the
server. This operational
model does not require any
local storage and no SAN
booting is required because
the hypervisor image is
directly on the server.
Serial Cable
Connectivity
SNMP
Active Directory
Integration
HW
Instrumentation
Software Patches
and Updates
VI Web Access
Diagnostics and
Troubleshooting
vSphere 4.1
vSphere 5.0
Only ESXi
Yes VMA 5
HA Agent
AAM
Automatic Availability
Manager
FDM
Fault Domain Manager
HA Host Approach
Management N/W
/etc/opt/vmware/AAM
/etc/opt/vmware/FDM
Yes
NO
NO
Not Available
Yes
Available
Available
Not Available
Available
Not Available
Available
VMFS-3
VMFS-5
Not Available
Available
Hypervisor
VMA
HA Failure Detection
HA Log File
Storage DRS
VM Affinity & Anti-Affinity
VMFS 5
VSphere Storage Appliance
Configure dependent
hardware iSCSI and software
iSCSI adapters along with the
network configurations and
port binding in a single dialog
box using the vSphere Client.
Fiber Channel
Swap to SSD
NO
Yes
Yes
ESXi firewall
Not Available
Yes
Not Available
Yes
Yes
Yes
8 vCpu
32 vCpu
255 GB
1 TB of vRAM
VM Swapfile size
255 GB
1 TB
Not Available
Yes
Not Available
Yes
Not Available
Yes
4.1
Mutlicore vCpu
Not Available
Not Available
Not Available
Yes
VM Hardware Version 8
Auto Deploy
Not Available
Yes
Image Builder
Not Available
Yes
320
512
160
160
1 TB
2 TB
800 MB
256
256
Round-trip latencies of up to
5 milliseconds.
Round-trip latencies of up to
10 milliseconds. This provides
better performance over
long latency networks
Yes
NO
Yes
1000
1000
Powered on virtual
machines
per vCenter Server
10000
10000
Vmkernel
64-bit
64-bit
Service Console
64-bit
Metro Vmotion
Storage Vmotion
Licensing
vSphere Essentials
vSphere Essentials Plus
vSphere Standard
vSphere Advanced
vSphere Enterprise
vSphere Enterprise Plus
vSphere Essentials
vSphere Essentials Plus
vSphere Standard
vSphere Enterprise
vSphere Enterprise Plus
vSphere 5 has changed entitlements around CPU cores and memory use. vSphere 5 has
also introduced a small change to the entitlement process around what is known as virtual
memory or vRAM.
VMFS3
Volume size 64TB
Raw device mapping size (virtual compatibility) 2TB minus 512 bytes
Raw Device Mapping size (physical compatibility) 2TB minus 512 bytes
Block size 8MB
File size (1MB block size) 256GB
File size (2MB block size) 512GB
File size (4MB block size) 1TB
File size (8MB block size) 2TB minus 512 bytes
Files per volume Approximately 30,720
VMFS5
Volume size 64TB
Raw Device Mapping size (virtual compatibility) 2TB minus 512 bytes
Raw Device Mapping size (physical compatibility) 64TB
Block size 1MB
File size 2TB minus 512 bytes
Files per volume Approximately 130,690
These virtual disk data files are only used when snapshots are created of a virtual
machine. When a snapshot is created, all writes to the original flat.vmdk are halted
and it becomes read-only; changes to the virtual disk are then written to these delta
files instead. The initial size of these files is 16 MB and they are grown as needed in 16
MB increments as changes are made to the VM's virtual hard disk. Because these files are
a bitmap of the changes made to a virtual disk, a single delta.vmdk file cannot exceed
the size of the original flat.vmdk file. A delta file will be created for each snapshot that
you create for a VM and their file names will be incremented numerically (i.e., myvm000001-delta.vmdk, myvm-000002-delta.vmdk). These files are automatically deleted
when the snapshot is deleted after they are merged back into the original flat.vmdk file.
This is the mapping file for the RDM that manages mapping data for the RDM
device. The mapping file is presented to the ESX host as an ordinary disk file,
available for the usual file system operations. However, to the virtual machine the
storage virtualization layer presents the mapped device as a virtual SCSI device. The
metadata in the mapping file includes the location of the mapped device (name
resolution) and the locking state of the mapped device. If you do a directory listing
you will see that these files will appear to take up the same amount of disk space on
the VMFS volume as the actual size of the LUN that it is mapped to, but in reality
they just appear that way and their size is very small. One of these files is created for
each RDM that is created on a VM.
including empty memory, is copied to this file. If you do not choose to store the
memory state of the snapshot then this file will be fairly small (under 32 KB). This
file is similar in nature to the .vmss that is used when VMs are suspended.
53. What is the .log file?
These are the files that are created to log information about the virtual machine and
are oftentimes used for troubleshooting purposes. There will be a number of these
files present in a VM's directory. The current log file is always named vmware.log and up
to six older log files will also be retained with a number at the end of their names (i.e.,
vmware-2.log). A new log file is created either when a VM is powered off and back on or
if the log file reaches the maximum defined size limit. The amount of log files that are
retained and the maximum size limits are both defined as VM advanced configuration
parameters (log.rotateSize and log.keepOld).
54. What is the .vmxf file?
This file is a supplemental configuration file that is not used with ESX but is
retained for compatibility purposes with Workstation. It is in text format and is used
by Workstation for VM teaming where multiple VMs can be assigned to a team so they
can be powered on or off, or suspended and resumed as a single object.
55. How to know registered VM on Host using CLI?
Power On a Specific VM
# vim-cmd vmsvc/power.on 30
Shutdown a Specific VM
# vim-cmd vmsvc/power.shutdown 30
Reboot a Specific VM
# vim-cmd vmsvc/power.reset 30
Description: The maximum number of users that can be managed by a single vCloud
instance.
Type: Organizations per vCloud Director
Limit: 10000
Description: The maximum number of organizations that can be created in a single
vCloud instance.
Type: vApps per organization
Limit: 500
Description: The maximum number of vApps that can be deployed in a single
organization.
Type: Virtual datacenters per vCloud Director
Limit: 5000
Description: The maximum number of virtual datacenters that can be created in a single
vCloud instance.
Type: Datastores per vCloud Director
Limit: 1024
Description: Number of datastores that can be managed by a single vCloud instance.
Type: Networks per vCloud Director
Limit: 7500
Description: The maximum number of logical networks that can be deployed in a single
vCloud instance.
Type: Catalogs per vCloud Director
Limit: 1000
Description: The maximum number of catalogs that can be created in a single vCloud
instance.
Type: Media Items per vCloud Director
Limit: 1000
Description: The maximum number of media items which can be created in a single
vCloud instance.
63. Explain the entire process of P2V conversion?
Below are the steps you should take to prepare your server for conversion.
1) Install the Converter application on the server being migrated. If you are using the
Enterprise version you can do this remotely, but my preference is to install Converter
directly on to the server a potential complication caused by introducing another PC in
the conversion process. If you have many machines to convert this is not always
practical. The Converter application consists of two parts, the Agent component
(Windows service) and the Manager component (front end GUI). If you are running
this on the server directly you need both components. Otherwise if you are running it
remotely only the Agent component is needed.
2) Once you install the application on the server a reboot will be required if the server
OS is Windows NT 4.0 or 2000. This is because a special driver is installed for the
cloning process on those OS's, Windows XP and 2003 utilize the Volume Shadow
Copy service instead. Also, it's best to use a local administrator account when logging
into the server to install the application.
3) The following Windows services must be running for Converter to work properly:
Workstation, Server, TCP/IP Netbios Helper and Volume Shadow Copy
(Windows XP/2003, can be set to manual, just not disabled). Also, disable Windows
Simple File Sharing if your source server is running Windows XP.
4) Make sure the VMware Converter Windows service is running.
5) Ensure you have at least 200 MB free on your source server's C drive. Mirrored or
striped volumes across multiple disks should be broken; hardware RAID is OK since
it is transparent to the operating system. Converter sometimes has issues converting
dynamic disks, if you experience problems with them, then cold clone instead.
6) Disable any antivirus software running on the source server.
7) Shutdown any applications that are not needed on the server.
8) Run chkdsk and defragment your source server's hard disks.
9) Clean-up any temporary and unnecessary files on the source server. The less data that
needs to be copied the better. This only applies when utilizing file level cloning (more
on that later).
10) Keep users off the server while cloning. Disable remote desktop and any shares if
possible.
11) Ensure required TCP/UDP ports are opened between the source server and
VirtualCenter (VC) and VMware ESX. Even if you select VirtualCenter as your
destination, the ports still need to be opened to the ESX server you choose. The
source server first contacts VC to create the VM and then ESX to transfer the data to.
Required ports are 443 and 902 (source to ESX/VC) and 445 and 139 (converter to
source and source to Workstation/Server). These ports need to be opened on both OS
firewalls and any network firewalls sitting between your source and destination
servers.
12) Ensure your network adapter speed/duplex matches your physical switch setting. This
can have a dramatic effect on your conversion speed. When cold cloning it's best to
set your physical switch port to Auto/Auto since this is what the Windows PE ISO
will default to.
13) If importing a VM or physical image the Windows version of the server running
Converter must be equal to or greater than the source. So, if your source is Windows
2003, the server running Converter cannot be Windows 2000.
14) For cold cloning, the minimum memory requirement is 264 MB (will not work with
less than this amount), the recommended memory is 364 MB. Converter also utilizes
a RAM disk if you have at least 296 MB of memory available.
(vSwitch) for every VLAN. That is the reason vmware included the VLAN tagging for
vSwitches. So every vSwitch supports upto 1016 ports, and BTW they can support 1016
VLANS if needed, but an ESX server doesnt support that many VMs. :)
73. What is Promiscuous Mode on vSwitch ? What happens if it sets to accept?
Accept: Placing a guest adapter in promiscuous mode causes it to detect all frames passed
on the vSphere standard switch that are allowed under the VLAN policy for the port group
that the adapter is connected to.
Reject: Placing a guest adapter in promiscuous mode has no effect on which frames are
received by the adapter.
74. What is MAC address Changes? What happens if it is set to accept?
Accept: Changing the MAC address from the Guest OS has the intended effect: frames to the
new MAC address are received.
Reject: If you set the MAC Address Changes to Reject and the guest operating system
changes the MAC address of the adapter to anything other than what is in the .vmx
configuration file, all inbound frames are dropped.
If the Guest OS changes the MAC address back to match the MAC address in the .vmx
configuration file, inbound frames are passed again.
75. What is Forged Transmits? What happens if it is set to accept?
Accept No filtering is performed and all outbound frames are passed.
Reject Any outbound frame with a source MAC address that is different from the one
currently set on the adapter are dropped.
76. What are the core services of VC?
VM provisioning, Task Scheduling and Event Logging
77. Can we do vMotion between two datacenters? If possible how it will be?
Yes we can do vMotion between two datacenters, but the mandatory requirement is the
VM should be powered off.
78. What is VC agent? And what service it is corresponded to? What are the minimum
requirements for VC agent installation?
VC agent is an agent installed on ESX server which enables communication between VC
and ESX server. The daemon associated with it is called vmware-hostd , and the service
which corresponds to it is called as mgmt-vmware, in the event of VC agent failure just
restart the service by typing the following command at the service console
In VI 3.5 we can add Hard Disk and NIC's while the machine running.
In vSphere 4.0 we can add Memory and Processor along with HDD and NIC's while the
machine running
83. How to set the time delay for BIOS screen for a Virtual Machine?
Right Click on VM, select edit settings, choose options tab and select boot option, set the
delay how much you want.
84. What is a template?
We can convert a VM into Template, and it cannot be powered on once its changed to
template. This is used to quick provisioning of VM's.
85. What to do to customize the windows virtual machine clone?
Copy the sysprep files to Virtual center directory on the server, so that the wizard will
take the advantage of it.
86. What to do to customize the linux/unix virtual machine clone?
VC itself includes the customization tools, as these operating systems are available as
open source.
87. Does cloning from template happen between two datacenters?
Yes. It can, if the template in one datacenter, we can deploy the vm from that template in
another datacenter without any problem.
88. What are the common issues with snapshots? What stops from taking a snapshot and
how to fix it?
If you configure the VM with Mapped LUN's, then the snapshot failed. If it is mapped as
virtual then we can take a snapshot of it.
If you configure the VM with Mapped LUN's as physical, you need to remove it to take a
snapshot.
89. What are the settings that are taken into to consideration when we initiate a snapshot?
Virtual Machine Configuration (What hardware is attached to it)
State of the Virtual Machine Hard Disk file (To revert back if needed)
State of the Virtual Machine Memory (if it is powered on)
90. What are the requirements for Converting a Physical machine to VM?
An agent needs to be installed on the Physical machine
VI client needs to be installed with Converter Plug-in
A server to import/export virtual machines
91. What is VMWare consolidated backup?
It is a backup framework, which supports 3rd party utilities to take backups of ESX
servers and Virtual Machines. Its not a backup service.
92. To open the guided consolidation tool, what are the user requirements?
The user must be member of administrator, the user should have "Logon as service"
privileges - To give a user these privileges, open local sec policy, select Logon as service
policy and add the user the user should have read access to AD to send queries
93. Explain the physical topology of Virtual Infrastructure 3 Data Centre?
A typical VMware Infrastructure data center consists of basic physical building blocks
such as x86 computing servers, storage networks and arrays, IP networks, a management
server and desktop clients.
94. How do you configure Clusters, Hosts, and Resource Pools in VI3?
A cluster is a group of servers working together closely as a single server, to provide high
availability, load balancing and high performance. A host is a single x86 computing
server with individual computing and memory resources. Resource pools are allocation of
the available resources in to pieces for the proper distribution.
95. What are resource pools & whats the advantage of implementing them?
A VMware ESX Resource pool is a pool of CPU and memory resources. Inside the pool,
resources are allocated based on the CPU and memory shares that are defined. This pool
can have associated access control and permissions. Clear management of resources to
the virtual machines.
96. What is vApp?
A vApp is a container, like a resource pool and can contain one or more virtual machines.
A vApp also shares some functionality with virtual machines. A vApp can power on and
power off, and can also be cloned.
In the vSphere Client, a vApp is represented in both the Host and Clusters view and the
VM and Template view. Each view has a specific summary page with the current status
of the service and relevant summary information, as well as operations on the service.
The distribution format for vApp is OVF.
Note: The vApp metadata resides in the vCenter Server's database, so a vApp can be
distributed across multiple ESX/ESXi hosts. This information can be lost if the vCenter
Server database is cleared or if a standalone ESX/ESXi host that contains a vApp is
removed from vCenter Server. You should back up vApps to an OVF package to avoid
losing any metadata.
97. Explain why VMware ESX Server is preferred over Virtual Server or Workstation for
enterprise implementation?
For better resource management as it has a virtualization layer involved in its kernel,
which communicates with the hardware directly.
98. Explain the difference between access through Virtual Infrastructure Client (vi client),
Web access, Service Console access (ssh)?
Using VI Client we can access the ESX server as well as Virtual Center Server also, here
we can use unix type of authentication or windows type authentication. But to access the
service console, we should use unix type of authentication preferably even though we can
access the service console through ad authentication using esxcfg-auth, but it does not
support all functions to work on, all the functions are available only with root account
which is based on red hat Linux kernel. Using the web access also we can manage virtual
center as well as a single host. But all the enterprise features are not supported.
VMWare Kernel is a Proprietary Kenral and is not based on any of the UNIX
operating systems, it's a kernel developed by VMWare Company.
The VMKernel can't boot it by itself, so that it takes the help of the 3rd party
operating system. In VMWare case the kernel is booted by RedHat Linux operating
system which is known as service console.
The benefits to the VI client are that you have full access to do whatever is needed on the
ESX Server and you get a GUI client to do it in. The only downside is that you must
install the VI client application to do this. However, the installation is negligible and the
VI client is the absolute best way to administer your ESX Server.
VMware Virtual Infrastructure Client (VI Client) to the Virtual Center Server (VC
Server)
From this VI VC interface, you can manage all ESX servers, VM storage, VM networks,
and more. Virtual Center, of course, is an optional product that requires additional
licenses and hardware.
106. Explain advantages and features of VMware Virtual Machine File System (VMFS)?
Its a clustered file system, excellent support for sharing between ESX servers in a
cluster.
Features
Allows access by multiple ESX Servers at the same time by implementing per-file
locking. SCSI Reservations are only implemented when LUN Meta data is updated (e.g.
file name change, file size change, etc.)
Add or delete an ESX Server from a VMware VMFS volume without disrupting other
ESX Server hosts.
LVM allows for adaptive block sizing and addressing for growing files allows you to
increase a VMFS volume on the fly (by spanning multiple VMFS volumes)
With ESX/ESXi4 VMFS volumes also can be expanded using LUN expansion
Optimize your virtual machine I/O with adjustable volume, disk, file and block sizes.
Recover virtual machines faster and more reliably in the event of server failure with
Distributed journaling.
Limitations
Can be shared with up to 32 ESX Servers.
Can support LUNs with max size of 2TB and a max VMFS size of 64 TB as of version 4
(vSphere).
"There is a VMFS-3 limitation where each tree of linked clones can only be run on 8
ESX servers. For instance, if there is a tree of disks off the same base disk with 40 leaf
nodes in the tree, all 40 leaf nodes can be simultaneously run but they can only run on up
to 8 ESX hosts."
VMFS-3 limits files to 262,144 (218) blocks, which translates to 256 GB for 1 MB block
sizes (the default) up to 2 TB for 8 MB block sizes.
107. What are the types of data stores supported in ESX3.5?
iSCSI datastores, FC SAN datastores, Local VMFS, NAS and NFS
108. How can you configure these different types of datastores on ESX3.5?
If we have FC cards installed on the esx servers, by going to the storage option, we can scan
for the luns.
109. What is VMware Consolidate Backup (VCB)? Explain your work exposure in this
area?
VMware Consolidated Backup is a backup framework, which enables 3rd party tools to take
backups. VCB is used to help you backup your VMware ESX virtual servers. Essentially,
VCB is a "backup proxy server". It is not backup software. If you use VCB, you still need
backup software. It is commonly installed on its own dedicated Windows physical server.
Here are the benefits of VMware's VCB:
1. Centralize backups of VMware ESX Virtual Servers
2. Provide file-level backups of VMware ESX Virtual Servers - both full and
incremental (file level backup available to only Windows guests)
3. Provide image-level backups
4. Prevent you from having to load a backup agent on every Virtual Machine
5. Prevent you from having to shutdown Virtual Machines to get a backup
6. Provides LAN-Free backup because the VCB server is connected to the SAN through
your fiber channel adaptor
7. Provides centralized storage of Virtual Server backups on the VCB server, that is then
moved to your backup tapes through the 3rd party backup agent you install
8. Reduces the load on the VMware ESX servers by not having to load a 3rd party
backup agent on either the VMware ESX service console or on each virtual machine.
9. Utilizes VMware Snapshots
Basically, here is how VCB works:
1. If you are doing a file level backup, VCB does a snapshot of the VM, mounts the
snapshot, and allows you to backup that mounted "drive" through VCB to your 3rd
party backup software
2. If you are doing an image level backup of the VM, VCB does a snapshot of the VM,
copies the snapshot to the VCB server, unsnaps the VM, and allows you to backup
the copied snapshot image with your 3rd party backup software.
110. How do you configure VMware Virtual Centre Management Server for HA & DRS?
What are the conditions to be satisfied for this setup?
HA & DRS are the properties of a Cluster. A Cluster can be created only when more than
one host added, in that case we need to configure HA & DRS as well to provide High
Availability and Load balancing between hosts and for the virtual machines.
111. Explain your work related to below terms:
VM Provisioning: Virtual Machine Creation.
Alarms & Event Management: Alarms are used to know the status of the resource usage for a
VM. Events are used monitor the tasks that are taken place on the esx servers or in the virtual
center. Task Scheduler: Task scheduler, if you want to schedule a task it will be used, for
example if you want move one VM from one host to another host or if you want
shutdown/reboot a vm etc. Hardware Compatibility List: what is the hardware that
compatible with ESX OS.
112. What SAN or NAS boxes have you configured VMware with? How did you do that?
I have configured Microsoft iSCSI software target with VMware.
113. What kind of applications or setups you have on you Virtual Machines?
Domain controller, Terminal Server, vCenter, TMG.
114. Have you ever faced ESXi server crashing and Virtual Centre Server crash? How do
you know the cause of these crashes in these cases?
Average Bandwidth is measured in kilobits per second, and is what's allowed across the
vSwitch per second from the selected Port Group.
Peak Bandwidth is also measured in kilobits per second, and identifies the maximum
amount that's allowed to pass from the selected Port Group without packets being
dropped.
143. What is your philosophy on how much of the data center can be virtualized? (If the
interviewer wants max virtualization, but the interviewee is not convinced that this is a good
idea, this could be a deal breaker)
144. What is your opinion on the virtualization vendors (MS vs VM vs Citrix vs etc) and why?
(Just trying to figure out if the candidate is keeping up with this ever changing virtualization
market)
145. Briefly describe VST, VGT & EST mode and 802.1Q trunking.
Yes, but remember to use an ESX host and not an ESXi host to create a profile for use.
In theory, Host Profiles should work with mixed host clusters, as it translates ESX to
ESXi, but be careful as there are enough differences between ESX and ESXi that can lead
you to make self-inflicted errors when applying Host Profiles. The easiest method is to
create clusters that are homogeneous and maintain two different profiles for these two
types of clusters.
149. Can Host Profiles work when using the Cisco Nexus 1000v?
No, because Host Profiles was designed with the generic vNetwork Distributed Switch. The
Cisco Nexus 1000v switch gives administrators finer-grained control of the networking
beyond what Host Profiles can apply.
150. What are host profiles?
A set of best practiced configuration rules, which are can be applied to entire cluster or to an
individual host. So that all the hosts in sync with each other, this will avoid vmotion, drs and
ha problems.
151. Virtual Machines show as invalid or orphaned in vCenter Server. Could not power
VM, no swap file, failed to power on VM.
In vCenter Server, you may find that you have a virtual machine that has an orphan
designation or has become invalid. An orphan virtual machine is one that exists in the
vCenter Server database but is no longer present on the ESX host. A virtual machine also
shows as orphaned if it exists on a different ESX host than the ESX host expected by vCenter
Server.
A virtual machine can show up as invalid or orphaned in these situations. To resolve these
issues, see the troubleshooting steps provided for each situation:
152. What are the available Storage options for virtual machines ? Raw device mappings,
VMFS
http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1318776_mem1,00.html
153. Can I add 3 TB HDD to VM?
A single HDD can still only be 2TB minus 512bytes, if carved off a VMFS LUN. If you use
a RDM in physical compatibility mode, you can go to 64TB.
The limits that apply to VMFS-5 datastores are:
1.
2.
3.
4.
5.
No VMware snapshots
No VCB support, because VCB requires VMware snapshots
No cloning VMs that use physical mode RDMs
No converting VMs that use physical mode RDMs into templates
No migrating VMs with physical mode RDMs if the migration involves copying
the disk
6. No VMotion with physical mode RDMs
Virtual mode RDMs address some of these issues, allowing raw LUNs to be treated very
much like virtual disks and enabling functionality like VMotion, snapshotting, and cloning.
Virtual mode RDMs are acceptable in most cases where RDMs are required. For example,
virtual mode RDMs can be used in virtual-to-virtual cluster across physical hosts. Note that
physical-to-virtual clusters across boxes, though, require physical mode RDMs.
While virtual disks will work for the large majority of applications and workloads in a VI
environment, the use of RDMs--either virtual mode RDMs or physical mode RDMs--can
help eliminate potential compatibility issues or allow applications to run virtualized without
any loss of functionality.
157. How to Add an RDM Disk to a Virtual Machine in the vSphere Client?
You can store virtual machine data directly on a SAN LUN instead of storing it in a virtual
disk file. This ability is useful if you are running applications in your virtual machines that
must detect the physical characteristics of the storage device. Mapping a SAN LUN allows
you to use existing SAN commands to manage storage for the disk.
When you map a LUN to a VMFS volume, vCenter Server creates a Raw Device Mapping
(RDM) file that points to the raw LUN. Encapsulating disk information in a file allows
vCenter Server to lock the LUN so that only one virtual machine can write to it at a time. For
details about RDM, see the vSphere Storage documentation.
The RDM file has a .vmdk extension, but the file contains only disk information that
describes the mapping to the LUN on the ESXi host. The actual data is stored on the LUN.
You can create the RDM as an initial disk for a new virtual machine or add it to an existing
virtual machine. When you create the RDM, you specify the LUN to be mapped and the
datastore on which to put the RDM.
Note
You cannot deploy a virtual machine from a template and store its data on a LUN. You can
only store its data in a virtual disk file.
Procedure
Right Click on VM and go to Edit Setting.
On the Hardware Tab Click Add.
What are the major differences between ESX 3.5 and Vsphere?
2> What is the procedure to upgrade from ESX 3.5 to Vsphere?
3> Will HA and DRS work if Vcenter goes down?
5> What is Vmotion?
6> What are the prerequisites to enable Vmotion?
7> Where do configure Vmotion-- Cluster Level, Host level....?
6. Explain the difference between access through Virtual Infrastructure Client (vi client),
Web access, Service Console access(ssh) ?
7. Explain advantages or features of Vmware Virtual Machine File System (VMFS) ?
8. What are the types of datastores supported in ESX3.0 ?
9. How can you configure these different types of datastores on ESX2.5 ?
10.What is Vmware Consolidate Backup (VCB) ? Explain your work exposure in this
area ?
11.How do you configure Vmware Virtual Centre Management Server for HA & DRS ?
What are the conditions to be satisfied for this setup ?
12.Explain your work related to below terms :
VM Provisioning:
Alarms & Even Management:
Task Scheduler:
Hardware Compatibility List:
13.What SAN or NAS boxes have you configured VMware with ? How did you do that ?
14.What kind of applications or setups you have on you Virtual Machines ?
15.Have you ever faced ESX server crashing and Virtual Centre Server crash? How do
you know the cause of these crashes in these cases ?
1. What is Virtualization?
2. What are the inherent benefits of virtualization?
3. What is a Hypervisor?
4. What is ESX Server?
5. What is Hyper-V?
6. What are a host, guest, and virtual machine?
7. What products are available for Server Virtualization?
8. What products are available for desktop virtualization?
9. What is the difference between ESX Server and VMware Server?
10. What is the difference between Hyper-V and Virtual Server?
11. What is the difference between emulation, native virtualization, and
paravirtualization?
12. What are the different types of virtualization?
13. Why do I care that VMware ESX uses the VMFS?
14. How do I backup my virtual guest operating systems?
3. What is VAAI?
4. What is a SCSI reservation?
5. What is the best practices regarding network setup.
etc etc.
1. Explain the physical topology of Virtual Infrastructure 3 Data Centre ?
2. How do you configure Clusters,Hosts,Resource Pools in VI3 ?
3. What are resource pools & whats the advantage of implementing them ?
4. Explain why Vmware ESX Server is preferred over Virtual Server or
Workstation for enterprise implementation ?
5. In what different scenarios or methods can you manage a VI3 ?
6. Explain the difference between access through Virtual Infrastructure Client (vi
client), Web access, Service Console access(ssh) ?
7. Explain advantages or features of Vmware Virtual Machine File System
(VMFS) ?
8. What are the types of datastores supported in ESX3.0 ?
9. How can you configure these different types of datastores on ESX2.5 ?
10.What is Vmware Consolidate Backup (VCB) ? Explain your work exposure in
this area ?
11.How do you configure Vmware Virtual Centre Management Server for HA &
DRS ? What are the conditions to be satisfied for this setup ?
12.Explain your work related to below terms :
VM Provisioning:
Alarms & Even Management:
Task Scheduler:
Hardware Compatibility List:
13.What SAN or NAS boxes have you configured VMware with ? How did you
do that ?
14.What kind of applications or setups you have on you Virtual Machines ?
15.Have you ever faced ESX server crashing and Virtual Centre Server crash?
How do you know the cause of these crashes in these cases ?
How VMWare Kernel different from other kernels?
VMWare provides several features to make it easy for the user to access and maintain
it. The features are as follows:
VMWare provides web browser interface
It provides easy to use wizard to configure the settings
It provides tools to easily create hosts and maintain it from one place
It provides easy maintenance of Virtual machines
It provides easy graphics to configure the VMWare settings for security
What are the features of VMWare Player?
VMWare player is a stand-alone player that comes with the installation of VMWare
also. The features that make it more popular are as follows:
Creation of virtual machines can be done with easy install options. The creation and
installation can be done directly to the system.
VMWare Player can run any virtual machine and it can be used by anyone,
anywhere. It allows quick and easy access, to take the advantage of security,
portability and flexibility to manage the virtual machines.
VMWare player allows sharing of virtual machines with other computers or users.
What are the different components used in VMWare infrastructure?
Virtualization is a creation of virtual machines and to manage them from one place. It
allows the resources to be shared with large number of network resources.
Virtualization is having lots of benefits and they are as follows:
1. It helps in saving lots of cost and allows to easily maintaining it, in less cost.
2. It allows multiple operating systems on one virtualization platform.
3. It removes the dependency of heavy hardware to run the application.
4. It provides consolidating servers that are used for crashing of a server purpose
5. It reduces the amount of space being taken by data centres and company data.
What is the purpose of a Hypervisor?
Hypervisor is a program that manages the virtual machine. It also act like virtual
machine manager that manages the many virtual machines from one place. It allows
multiple operating system to share single hardware host. Each operating system in
this consists of its own defined space consisting of space, memory and processor. It is
used as a controller program to control host processors and resources. It separates out
the layer between many operating systems so that one can't conflict with another one.
How ESX server related to VMWare?
GSX server acts as type 2 hypervisor that gets installed on the host operating systems
hardware like windows and Linux. VMWare workstation gets mixed up with GSX
server to provide it more functionality to run your applications and operating systems.
ESX server on the other hand, is type 1 hypervisor that runs its software directly on
the systems hardware and it doesnt require any operating system prior to its
installation. It is level 0 hypervisor and it has its own operating system.
What is the use of VMWare workstation?
VMWare workstation is software that allows user to run more than one operating
system in there system. It provides virtualization to run different applications on
many operating systems at a single time. It saves the current configuration of
operating system for the user in the form of virtual machines. VMWare allows user to
view there application and work with so many different OS without even switching
between the OSs.
What are the different types of extensions used by VMWare?
1. .log: is used to keep a log file to maintain a key for VMWare. This file allows user
to see the problems encountered during any installation or while using VMWare.
2. .nvram: is used to store the state of the virtual machine in systems BIOS.
3. .vmdk: is a virtual disk file that is used to store the content of virtual machine.
4. .vmsd: stores the information and metadata of the systems snapshots.
5. .vmsn: is used to store the snapshot state. It stores both the running state and the
time when you have taken it.
6. .vmss: stores the suspended state of a virtual machine.
7. .vmtm: stores the configuration team data.
8. .vmx: store the primary configurations for the new virtual machine.
How virtual machines concept is different for host and guest systems?
Host system is the system that runs the operating system and over which the virtual
platform can be installed. The virtual platform that runs another operating system is
called as guest operating system. Host and guest can be connected with each other by
using the virtual machines. A host system that runs all together its own operating
system is called as virtualization host and the guest operating system will be that,
which get installed over that operating system.
What are some major differences between VMWare Server and ESX server?
ESX server is a bare metter virtualation platform that is a physical server whereas,
VMWare server needs an operating system to run itself.
ESX server is type 1 hypervisor virtualization platform whereas, VMWare server is
a type-2 hypervisor virtualization platform.
ESX server gives better performance then VMWare server, due to less overhead.
ESX server have more features available then VMWare server.
VMWare server is good to be used on small platforms and with less resources but,
ESX server requires high specifications.
The entire state of a virtual machine is encapsulated by a set of files stored on shared storage
such as Fibre Channel or iSCSI Storage Area Network (SAN) or Network Attached,Storage
(NAS).
VMware vStorage VMFS allows multiple ESX to access the same virtual machine files
concurrently.
Second:The active memory and precise execution state of the virtual machine is rapidly transferred
over a high speed network, allowing the virtual machine to instantaneously switch from
running on the source ESX host to the destination ESX host.
VMotion keeps the transfer period imperceptible to users by keeping track of on-going
memory transactions in a bitmap.
Once the entire memory and system state has been copied over to the target ESX host,
VMotion suspends the source virtual machine, copies the bitmap to the target ESX host, and
resumes the virtual machine on the target ESX host.
This entire process takes less than two seconds on a Gigabit Ethernet network.
Third:The networks being used by the virtual machine are also virtualized by the underlying ESX
host, ensuring that even after the migration, the virtual machine network identity and network
connections are preserved.
VMotion manages the virtual MAC address as part of the process. Once the destination
machine is activated, VMotion pings the network router to ensure that it is aware of the new
physical location of the virtual MAC address.
Since the migration of a virtual machine with VMotion preserves the precise execution state,
the network identity, and the active network connections, the result is zero downtime and no
disruption to users.
3.
4.
5.
6.
7.
13. Have you ever installed an ESX host? What are the pre and post conversion steps
involved in that? What would be the portions listed? What would be the max size of it?
14. I turned on Maintenance mode in an ESX host, all the VMs has been migrated to another
host, but only one VM failed to migrate? What are the possible reasons?
15. How will you turn start / stop a VM through command prompt?
16. I have upgraded a VM from 4 to 8 GB RAM; its getting failed at 90% of powering on?
How do you troubleshoot?
17. Storage team provided the new LUN ID to you? How will you configure the LUN in VC?
What would be the block size (say for 500 GB volume size)?
18. I want to add a new VLAN to the production network? What are the steps involved in
that? And how do you enable it?
19. Explain about VCB? What it the minimum priority (*) to consolidate a machine?
20. How VDR works?
21. Whats the difference between Top and ESXTOP command?
22. How will you check the network bandwidth utilization in an ESXS host through
command prompt?
23. How will you generate a report for list of ESX, VMs, RAM and CPU used in your
Vsphere environment?
24. What the difference between connecting the ESX host through VC and Vsphere? What
are the services involved in that? What are the port numberss used?
25. How does FT works? Prerequisites? Port used?
26. Can I VMotion between 2 different data centers? Why?
27. Can I deploy a VM by template in different data centers ?
28. I want to increase the system partition size (windows 2003 server- Guest OS) of a VM?
How will you do it without any interruption to the end user?
29. Which port number used while 2 ESX transfer the data in between?
30. Unable to connect to a VC through Vsphere client? What could be the reason? How do
you troubleshoot?
31. Have you ever upgraded the ESX 3.5 to 4.0? How did you do it?
32. What are the Vsphere 4.0, VC 4.0, ESX 4.0, VM 7.0 special features?
33. What is AAM? Where is it used? How do you start or stop through command prompt?
34. Have you ever called VMWare support? Etc
35. Explain about Vsphere Licensing? License server?
36. How will you change the service console IP?
37. Whats the difference between ESX 3.5 and ESX 4.0?