Documente Academic
Documente Profesional
Documente Cultură
You probably know a little about virtualization if you have ever divided your hard
drive into different partitions. A partition is the logical division of a hard disk drive
to create, in effect, two separate hard drives.
>What is a Hypervisor ?
You can think of a Hypervisor as the kernel or the core of a virtualization platform.
The Hypervisor is also called the Virtual Machine Monitor. The Hypervisor has
access to the physical host hardware.
Of the total amount of disk space taken for a virtualization platform (like Hyper-V or
VMware ESX), the Hypervisor is, by far, the smallest part. A Type 1 Hypervisor runs
on the bare metal of the hardware. Examples of a Type 1 Hypervisor are Hyper-V
and ESX Server. A Type 2 Hypervisor is hosted by an operating system. Examples
of a Type 2 Hypervisor are VMware Server and Microsoft Virtual Server.
What is ESX Server ?
ESX Server is VMwares flagship enterprise server virtualization platform. It comes
in two versions ESX Server and ESXi Server where the latter has no service
console and is the thinnest version available. ESX Server has many optional
features like VMotion and VMHA (both discussed below) and some built-in features
like the VMFS file system. Most end users purchase VMware ESX Server with some
set of optional features in a package called VMware Infrastructure. ESX Server is
managed by the VMware Infrastructure Client. Its centralized management platform
is called Virtual Center.
>What is Hyper-V ?
Codenamed "Viridian" but given the formal name of Hyper-V, it is a hypervisor-
based Windows Server virtualization platform that is included as a role of Windows
Server 2008. Hyper-V enables you to consolidate workloads onto a single physical
server using a broad range of services ranging from resource-intensive services like
Microsoft SQL Server to third-party applications that may run on previous versions
of Windows or Linux.
A host system (host operating system) would be the primary & first installed
operating system. If you are using a bare metal Virtualization platform like Hyper-
V or ESX, there really isnt a host operating system besides the Hypervisor. If you
are using a Type-2 Hypervisor like VMware Server or Virtual Server, the host
operating system is whatever operating system those applications are installed into.
A guest system (guest operating system) is a virtual guest or virtual machine (VM)
that is installed under the host operating system. The guests are the VMs that you
run in your virtualization platform.
Some admins also call the host & guest the parent and child.
Hosted in an OS / Type 2:
VMware Server
Microsoft Virtual Server
Parallels Server
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
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 s haring of virtual machines with other computers or users.
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 centers and company data.
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.
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.
9. 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.
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.
11. 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.
12. What are some major differences between VMWare Server and ESX server?
Snapshots are images that is been taken at a particular point from the virtual guest
operating system. The snapshot consists of the virtual machine configurations,
memory and the devices that were present at the time of the snapshot. By doing
this, you can return back to virtual machine which might have become corrupted or
might not be working. Snapshots can be taken anytime according to your need and
requirement. Snapshots can be saved and then system can be reverted back in
case of any disaster happened to your operating system.
15. What are the disadvantages associated with VMWare virtualization platform?
Does Parallels Workstartion virtualize Mac OSX or support Mac OSX as Host OS?
What are the minimum requirements suggested for Parallels Workstation ?
What is Para-virtualization, is it supported by Parallels Workstation ?
Parallels Desktop is a Type-2 Hypervisor just like Vmware Workstation, why there is
a need of special hypervisor on Mac?
Can we use any parallels virtualization solution to run Mac on a non Mac OSX host
OS?
Does Legacy Mac OSX OS are supported by Parallels Desktop on Mac?
Bochs
1) Explain about your production environment? How many clusters, ESX, Data
Centers, H/w etc ?
2) How does VMotion works? Whats the port number used for it?
ANS--> TCP port 8000
Check out
http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_admin_gui
de.pdf for more information
4) How does HA works? Port number? How many host failure allowed and
why?
ANS--> Maximum allowed host failures within a HA cluster is 4. What
happens if 4 hosts have failed and a 5th one also fails.
I have still enough free resources to start up the virtual machines on the
remaining hosts. Will HA start these virtual machines from the 5th failed host
on the remaining hosts?
ANS) That depends. If you have admission control enabled, if there are any
resource constraints some VM's may not restart. If you have admission
control disabled, the VM's will get restarted on any host left in the cluster.
However, that doesn't mean they will be functional. Make sure you have
enough port groups configured on your vSwitch for your Virtual Machine port
group to accommodate
One of the primary hosts is also designated as the active primary host and its
responsibilities include:
n Deciding where to restart virtual machines.
n Keeping track of failed restart attempts.
n Determining when it is appropriate to keep trying to restart a virtual
machine.
If the active primary host fails, another primary host replaces it.
6) Prerequisites for HA ?
First, for clusters enabled for VMware HA, all virtual machines and their
configuration files must
reside on shared storage (Fibre Channel SAN, iSCSI SAN, or SAN iSCI NAS),
because you need to
be able to power on the virtual machine on any host in the cluster.
Second, VMware HA monitors heartbeat between hosts on the console
network for failure
detection. So, to have reliable failure detection for HA clusters, the console
network should have
redundant network paths. That way, if a host's first network connection fails,
the second
connection can broadcast heartbeats to other hosts.
Last, if you want to use DRS with HA for load balancing, the hosts in your
cluster must be part of
a VMotion network. If the hosts are not in the VMotion network, however,
DRS can still make
initial placement recommendations.
7) How do DRS works? Which technology used? What are the priority counts
to migrate the VMs?
8) How does snap shots works?
9) What are the files will be created while creating a VM and after powering
on the VM?
10) If the VMDK header file corrupt what will happen? How do you
troubleshoot?
11) Prerequisites VC, Update manager?
12) Have you ever patched the ESX host? What are the steps involved in
that?
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?
ANS) VMware-aam = HA.
VMware purchased the HA technology from Legato, who originally coined it
as "Automated Availability Manager".
Note: In this example, vswif0 is the Service Console adapter that is the
interface to which you are applying the IP address change.
2.Open the /etc/hosts file with a text editor and modify it so that it reflects
the correct IP address and hostname.
3.To change the default gateway address and the hostname, edit the
/etc/sysconfig/network file and change the GATEWAY and HOSTNAME
parameters to the proper values.
4.For the changes to take place, restart the network service with the
command:
Note: If you are required to edit the hostname, then you must reboot the
host.
Note: This command breaks any current network connections to the Service
Console, but virtual machines continue to have network connection. If the
ESX host is managed by VirtualCenter or vCenter Server, you may have to
remove and re-add the host to the inventory. For more information, see ESX
not working properly in VirtualCenter after IP address change (1005633).
Note: Making changes to IP and DNS server settings can have a negative
impact on the normal operation of ESX/ESXi, particularly in HA clustered
environments. For more information, see Identifying issues with and setting
up name resolution on ESX/ESXi Server (1003735).
Note: If the changed IP does not persist across a reboot, try deleting and
recreating the Service Console vswif management interface. For more
information, see Recreating Service Console networking from the command
line (1000266).
Changing the hostname without rebooting
To dynamically change the hostname, run the command:
5.To change the default gateway, click the Routing tab and enter the
appropriate value.
6.Reboot the ESX host for the changes to take effect .
7.Reconnect the ESX host to vCenter Server with the new IP address.
Generating new certificates for the ESX host
The ESX host generates certificates the first time the system is started.
Under certain circumstances, it might be required to force the host to
generate new certificates. Typically new certificates only need to be
generated if the hostname has been changed or the certificates have been
deleted accidentally.
Each time you restart the vmware-hostd process, the mgmt-vmware script
searches for existing certificate files ( rui.crt and rui.key). If the files cannot
be found, new certificate files are generated.
3.Reboot your host to allow it to begin using the new certificate, or restart
the host services:
Send these in to support using File > Export Logs. For Converter Boot CD,
map a network drive using the
network configuration tool (see Chapter 5, Using the Converter Boot CD for
Local Cold Cloning, on page 37)
and use File > Export Logs.
A: Ensure that the hardware you're loading ESX Server on is supported. The
same goes for the configuration. If you are certain the hardware and
configuration are supported, then run the vm-support script mentioned
previously.
Q: Why does this chapter include only the graphical installer method?
A: It's the recommended installation method from VMware and one that
many in the x86-world are the most comfortable with. If you wish to try it
another way, VMware offers a very complete installation document covering
the various installation methodologies.
Q: When I copy my virtual machine and try to run it on my network, I get
hostname already exists and IP address already exists errors. I thought I
could simply copy my virtual machine. What is the problem?
A: You can copy your virtual machine, which is why you're running into this
problem. The copy is an exact copy. Thus, you need to change the hostname,
IP address, and even the computer's SID (if it has one).
Q: Are there any limitations to the number of virtual machines I can run on
my ESX Server?
A: Yes. Each ESX Server allows for only 80 virtual CPUs and 200 registered
virtual machines.
A: No. VMware has configured the defaults of your build to suit most server
loads. However, depending on the profile of your server and the resource
intensiveness of the service it's providing, you may want to consider
tweaking some of the default settings to better ensure service stability and
reliability.
Q: Are there more advanced features than the ones detailed in this chapter?
A: That depends on the cluster type and how it is configured. Clusters using
Raw Device Mapping in virtual mode can be moved with Vmotion according
to VMware documentation.
Q: Does VMware support NIC teaming?
A: Yes, and it's a very good idea to configure your ESX Server, especially if
it's for production, with teamed NICs. This will provide hardware fault
tolerance in case one NIC fails.
A: That depends on the number of virtual machines and the network traffic
they produce. You should have a minimum of two: one for your Service
Console and one dedicated to your virtual machines.
Q: If I'm building a cluster using Microsoft Clustering Service, what's the best
configuration for my heartbeat NIC?
A:For a Cluster in a Box, create a VMnet that your nodes of your cluster can
attach their heartbeat NICs.
A: No. Only virtual machines on the ESX Server that the VMnet resides can
attach to it.
Q: Why should you pay for a p-to-v toll when there are a number of ways to
do it for free?
A: If you don't have the time or inclination to learn the manual process or
need the assurance of a vendor for your physical-to-virtual migrations, then
a tool that comes with support is a very reasonable option.
A: Transferring the data of the physical server into either an image file or the
virtual server itself. That's why tweaking your network settings for optimal
throughput is essential when p-to-v'ing a server.
Q: Can you create complete backups of your physical servers and then
recover them into virtuals?
A: Practice. No matter what the tool or process, practice it and learn its
gotchas and the workarounds. No matter what method you use, there will be
times when it won't go as planned. Practicing your p-to-v process on a
number of physical platforms and disk configurations allows you to become
more adept once you're doing it for real.
Q: Will my software vendor support my application in a VMware
environment?
Q: What are the best enablers to help ensure our server consolidation is a
success?
A: Engaging with the lines of business and application owners not only
assists in attaining an actionable schedule, but also develops a highly
collaborative environment that facilitates buy-in and support for your project.
In addition it will be difficult to incorporate rationalization into your project
unless you are working directly with the business or application owners.
A: The VMlibrary (/vmlib) is simply a directory on your ESX Server that lets
you organize the tools and files you need to manage and maintain your
virtual infrastructure,
A: If you place your VMlibrary on a LUN that's shared amongst your ESX
Servers, you can share your ISO images or anything else you place in your
VMlibrary.
A: You may not have the appropriate permissions to add virtual hardware to
the VM, or the VM may be powered on and won't allow the addition of virtual
hardware while powered on.
2) Q: I just created a new virtual machine and attached to an existing disk.
Every time I power on the VM, I get a blue screen. What could the problem
be?
A: Make sure the OS type that you selected when you created the VM
matches the OS type installed on the virtual disk. For example, if you
selected Windows 2003 Standard for the VM when you created it, but the
existing virtual disk has Windows 2000 Standard installed, you'll probably
encounter issues.
A: Check the time on your ESX Server and Active Directory and make sure
they're synced up. Kerberos is very sensitive to being out of sync and could
reject credentials if the time is not within specific limits. You can also review
the System event logs for clues.
Q: What is the most important aspect of deploying ESX Server and virtual
machines?
A: The ability to provide service at least as good as that which you had with
physical servers. With adherence to best practices, you should easily be able
to provide this and exceed it by a phenomenal degree.
Q: ISOs have been mentioned in several of the chapters. Why are they so
important?
A: If you're going to do this, make sure you allocate enough memory so that
the application doesn't impact the performance of your ESX Server and thus
your virtual machines. Also, use a system management package that is
supported and test your installation on your ESX Server thoroughly. If you
notice a degradation of performance, contact the systems management
software vendor. The major vendors have instructions and best practices for
deploying their products onto ESX Server.
A: The one that ensures your smooth evolution into a virtual infrastructure
education. Learn every aspect of a virtual environment to the best of your
ability. Be passionate about it and you'll reap the rewards. See the
recommended reading list, troll the VMware Web site regularly, as well as
other Web sites dedicated to virtualization such as p2v.net, vmguru.com, and
virtual-strategy.com.
Q: Which version of VMware ESX Server supports Boot from SAN?
A: ESX Server 2.5 supports Boot from SAN but has the following limitations:
ESX server had to be installed in boot from SAN mode, the HBA can only be
used by the Service Console, LUN masking should be used to restrict other
ESX servers from the boot LUN, the HBA of the boot LUN must be a QLogic
HBA, and the boot LUN must be the lowest numbered LUN controlled by the
storage processor.
Q: Where are log files for VMware ESX Server written to?
A: /var/logs/vmware
Q: What do you do if you forget the root password of the Service Console?
A: You will need to boot into single-user mode from the Service Console by
selecting linux from the LILO boot menu and appending -s to your boot
choice. This will boot the console into single-user mode and will allow you to
use the passwd command to change the root user password.
Q: Why do I still see processes for my virtual machine when running the ps
command on the Service Console even though my virtual machine is
powered down?
A: If there is still a virtual console session running for your VM, you will still
see processes associated with it for mouse, keyboard, and screen (MKS)
even though it is powered off.
A: Please see
http://vmware.com/support/esx25/doc/backup_tools_links.html.
A: Yes, but it is not advised. The console services should be left alone to
manage the entire virtual machine infrastructure. It's best that backups be
performed by separating the applications and data from the operating
systems because backups can become quite large very quickly. You should
consider a backup of the environments that change frequently (data and
applications) with an agent specifically designed to perform this function. A
backup of those virtual disks that change infrequently and need VMFS
formats should be backed up from the Service Console. These console-based
backups should be performed in a powered-down or suspended approach
(preferred), or a suspended environment using redo logs as an alternative.
All backups performed from a systems console mode must be restored in an
all-or-nothing approach. Recovery for a single file or directory can only be
accomplished via a backup agent or from a backup to a SAN environment
using a variety of different recovery/restoral techniques.
Q: I'm not able to connect to the Service Console over the network. What
could the issue be?
A: You may have allocated the Service Console NIC to the VMkernel. Use
vmkpcidivyi to reassign the NIC to the Service Console.
Q: I have a virtual machine that did not start up correctly, but now I can't
power it down from the MUI or Virtual Center. How can I get this VM to shut
down?
A: You can use the vmware-cmd utility to force a hard power down. The
following syntax should work:
A: You actually could run the X Windows system on the Service Console, but
it will eat up valuable resources that are needed by the system to manage all
the processes related to Virtualization. VMware specifically says not to run X
Windows on the Service Console. So, it's best to just buck up and deal with
it.
A: You'll need to cat out the eth0.info file for your type of adapter. This file
can be found at /proc/net/type-of-nic/eth0.info. To give you an example, our
server has an Intel Pro 100 Nic for the Service Console, so for us to find the
speed and duplex information we would type: cat
/proc/net/PRO_LAN_Adapters/eth0.info.
Q: How long has Xen been around?
A: Since 2004, and they're located in Palo Alto, California. Hmmwhat other
virtualization company is in Palo Alto?
Q: What is a hypervisor?
Q: Why did VMware limit its beta of ESX Server 3.0 to so few?
A: Good questionWe don't know, and we hope that VMware's future beta
programs are opened up to a larger audience.
Q: If I can't get a SAN, will local storage with a RAID device be sufficient?
A: Absolutely. You won't get some of the cooler tools like VMotion, but being
virtual on local storage is better than remaining physical.
What is the command used to restart SSH, NTP & Vmware Web access?
What is VMKernel ?
Service console port group required to manage the ESX server and it acts as the
management network for the ESX.Vcenter/Vsphere Client uses the service console
IP's to communicate with the ESX server.
Vmkernel port is used by ESX/ESXi for vmotion, ISCSI & NFS communications. ESXi
uses Vmkernel as the management network since it don't have service console
built with it.
All the Virtual Machines which are configured in VM Port Group are able to connect
to the other machines on the network. So this port group enables communication
between vSwitch and Physical Switch by the use of uplink (Physical NIC) associated
with the port group.
What is the default number of ports configured with the Virtual Switch?
When the time of Virtual switch created, Vswitch is created with 56 ports by
default. We can extend the no of ports by editing the vswitch properties.
/ -root
Swap
/var
/Var/core
/opt
/home
/tmp
All the virtual machines nics are provide with the MAC address at the time of
creation and it is stored in .VMX file. If the packet doesn't match with the MAC
address as same as in the .VMX file , it does not allow incoming traffic to the VM by
setting this option as reject.
Which is same as the Mac Address changes setting but it worked for the outgoing
traffic but the MAC address changes setting is for incoming traffic.
What is a VLAN ?
A VLAN is the Virtual LAN which is used to broke down the Broadcast traffic into
many logical groups. Basically, one physical switch comprise of one broadcast
domain. VLAN used to separate the one broadcast domain into many small pieces
to separate the networks within the broadcast domain.
Traffic shaping policies are disabled by default. There are 3 different traffic shaping
policy setting
Average Bandwidth
Peak Bandwidth
Burst Size
Route based on source MAC hash - Choose an uplink based on a hash of the
source Ethernet MAC address.The traffic will be always send with that same uplink
until that particular uplink is failed and failed over to another NIC.
Route based on IP hash - Choose an uplink based on a hash of the source and
destination IP addresses of each packet.
Link Status only - Relies solely on the link status provided by the network adapter.
This detects failures, such as cable pulls and physical switch power failures, but it
cannot detect configuration errors, such as a physical switch port being blocked by
spanning tree or misconfigured to the wrong VLAN or cable pulls on the other side
of a physical switch.
Beacon Probing - Sends out and listens for beacon probes Ethernet broadcast
frames sent by physical adapters to detect upstream network connection failures
on all physical Ethernet adapters in the team. In addition to link status, to
determine link failure. This detects many of the failures which are not detected by
Link Status.
What is the command to check the IP address along with the detailed
network cards assigned to the esx server?
Ifconfig -a
====================================================
=====================
You can use "ip addr" command also to view the ip information
====================================================
=====================
====================================================
=====================
what is the command to check the ESX vswitch details, port group and its
ip address?
Esxcfg-vswitch -l
Outuput will appear like this:
====================================================
=====================
[root@ESXTEST1 ~]# esxcfg-vswitch -l
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch0 32 4 32 1500 vmnic0
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch1 64 3 64 1500 vmnic2,vmnic1
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch2 64 4 64 1500 vmnic3
What is command to get the information about Service console ports and
its IP address assigned to it?
esxcfg-vswif -l
====================================================
=====================
[root@ESXTEST1 ~]# esxcfg-vswif -l
Name Port Group/DVPort IP Family IP Address Netmask
Broadcast Enabled TYPE
vswif0 Service Console IPv4 192.168.0.75 255.255.255.0
192.168.0.255 true STATIC
vswif1 Service Console 2 IPv4 192.168.0.78
255.255.255.0 192.168.0.255 false STATIC
====================================================
=====================
what is the command to get the information about vmkernel ports and its
ip address?
esxcfg-vmknic -l
====================================================
=====================
[root@ESXTEST1 ~]# esxcfg-vmknic -l
Interface Port Group/DVPort IP Family IP Address Netmask
Broadcast MAC Address MTU TSO MSS Enabled Type
vmk0 VMkernel IPv4 192.168.0.110
255.255.255.0 192.168.0.255 00:50:56:78:7e:73 1500 65535 true
STATIC
vmk1 Vmotion IPv4 192.168.0.77 255.255.255.0
192.168.0.255 00:50:56:76:42:df 1500 65535 true S
====================================================
=====================
what is the command to get the information about physical nics installed
on ESX server?
esxcfg-vmknic -l
====================================================
==================
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vswitch3 64 1 64 1500
What is command to add the new port group named (mgmt)to vswitch
(vswitch 3) ?
====================================================
=====================
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vswitch3 64 1 64 1500
How to add the service console port (vswif2) to our newly created port
group "mgmt" with the ip addr 192.168.0.79 ?
[root@ESXTEST1 sbin]# esxcfg-vswif -a vswif2 -i 192.168.0.79 -n 255.255.255.0
-p "mgmt"
where i is the ip address, n is subnet mask p is to mentione the port group name
====================================================
=====================
vswif2 mgmt IPv4 192.168.0.79 255.255.255.0
192.168.0.255 true STATIC
====================================================
=====================
How to add the vmkernal port (vmk2) to our newly created port group
"mgmt" with the ip addr 192.168.0.83?
====================================================
=====================
vmk2 mgmt IPv4 192.168.0.83 255.255.255.0
192.168.0.255 00:50:56:7b:bd:36 1500 65535 true STATIC
====================================================
=====================
Edit the file with your new id address " 192.168.0.255" then save and exit.
====================================================
==
DEVICE=vswif2
HOTPLUG=yes
MACADDR=00:50:56:43:92:be
ONBOOT=yes
PORTGROUP=mgmt
BOOTPROTO=static
BROADCAST=192.168.0.255
DHCPV6C=no
IPADDR=192.168.0.96
IPV6INIT=no
IPV6_AUTOCONF=no
NETMASK=255.255.255.0
====================================================
==
restart the network service for ip change to take effect:
Another way is to connect to the console of the ESX server and at the shell prompt
type in :esxcfg-vswif -d vswif2
This will delete the existing vswif0 and it will give the message about "nothing to
flush".
nano /etc/resolv.conf
Edit the file to make changes or to make new entry of dns for your ESX server
========================
nameserver 192.168.0.20
search lab.com
=======================
esxcfg-firewall - q
How to open the port in firewall (port no 8877, tcp, incoming , name:
test3 ?
esxcfg-firewall -o 8877,tcp,in,test3
Please draw on the whiteboard a high level drawing that details a cluster of 4 ESXi
hosts, connected to a vCenter, that has 20 VMs evenly balanced across the hosts.
There are 2 network switches (A & B) connected to vSwitches for data and
management vLans. The hosts are connected to 4-500GB shared storage LUNs that
are presented via fiber channel.
Note: Most qualified virtualization engineers will be able to draw something. If you
are recruiting to fill an engineering spot that will be representing your team, it is
important that they can whiteboard a high level design with confidence.
Question #2
Explain the process of P2V and the cleanup process that is required after Windows
Servers have been converted from a physical server into a VM.
Answers: Uninstall all no longer required applications for physical hardware, remove
hidden devices, and adjust drive sizes, memory and vCPUs. Install VMtools and set
screen resolution. Adjust OS swap file.
Question #3
A new type of SAN storage has been added to the environment to replace the old
SAN storage. After presenting the new datastores and migrating the VMs to them,
users report slower performance. What could need to be done to the VM file system
to fix this?
Answer: Run a block alignment which requires a reboot of the VM (this may not be
required on newer operating systems).
Question #4
You have a cluster of 8 ESXi hosts that require installation of a new security patch
that will require a reboot of each host. Explain how you would reboot each host
without impacting the VMs.
Answer: Place each host in maintenance mode, which will automatically vMotion the
VMs off, then install the patch and reboot the host. Once all is okay and the host is
back online, then remove the host from maintenance mode. Repeat the process on
the other 7 hosts.
Question #5
Describe how you would determine when additional ESXi hosts are required?
Explain how you determined this?
Answer: By setting thresholds and monitoring host memory and CPU utilization.
Question #6
How many ESXi hosts have you been responsible for managing in the last 3 years?
Ask about the challenges faced.
Answer: More than 30 ESXi hosts is best to provide them with enough hands-on
time to experience most of the common issues associated with virtual
infrastructures. ESXi Updates, storage, VMtools are common problems.
Question #7
How many P2Vs have you completed in the last 3 years? Ask about the issues they
had.
Answer: More than 25 P2Vs is best because each P2V is unique and develops
knowledge of workarounds important for future consolidation projects.
Question #8
How many VM gold templates have you created? Explain the process you used for
resetting any 3rd party applications such as antivirus and backup agents, or any
other application which requires a unique key.
Answer: Windows GUIDs are unique IDs that need to be reset or they will be
duplicated and cause issues. Also, it is important to sysprep each Windows Server
created.
Question #9
Do you have any experience with cloud automation scripting that leverages Amazon
AWS or other cloud computing provider APIs?
Note: Any experience in this area will be beneficial to longer term growth of your
environment.
Question #10
What are your recommendations for backing up VMs? Follow up question, what are
your recommendations for monitoring?
Note: These VMware technical interview questions will help you determine what 3rd
party applications they are familiar with and allow the candidate to show you if they
are passionate about the technology.
1. 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.
2. 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.
Physical Switch Port Should be trunked with all the VLANS to which the VM's need
access
All the ESX servers should be configured with Same number of Physical Nics
(vSwitches) and Connectivity also should be same, So that vMotion succeeds
All the Virtual Machines are connected to one vSwitch with Different VLANS, this
means the Physical Nic(vSwitch) needs to be trunked with the same VLANS on the
Physical Switch Port
10 What are the three port groups present in ESX server networking
1. Virtual Machine Port Group - Used for Virtual Machine Network
2. Service Console Port Group - Used for Service Console Communications
3. VMKernel Port Group - Used for VMotion, iSCSI, NFS Communications
13. In the ESX Server licensing features VMotion License is showing as Not
used, why?
Even though the license box is selected, it shows as "License Not Used" until,
you enable the VMotion option for specific vSwitch
22. What is VC agent? and what service it is corresponded to? What are the
minimum req's 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
23. How can you edit VI Client Settings and VC Server Settings ?
Click Edit Menu on VC and Select Client Settings to change VI settings
Click Administration Menu on VC and Select VC Management Server Configuration
to Change VC Settings
25. What are the devices that can be added while the virtual Machine
running
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
26. 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.
26. 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.
27. 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)
30. 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
http://www.techiebird.com/vm1.htmlhttp://www.techiebird.com/vm1.html
http://hardeepsingh06.blogspot.in/2012/02/vmware-top-interview-questions-with.html
http://clickmore.in/40-top-vmware-interview-questions-answers/
http://wintual.wordpress.com/technologies/vmware/question-and-answers/vmware-interview-
questions-and-answers-vmotion/
http://www.slideshare.net/latifsiddiqui/30-
importantvirtualizationvmwareinterviewquestionswithanswers
http://www.vmwarearena.com/search/label/Video%20Tutorials
http://www.vmwarearena.com/2013/03/vmware-interview-questions-history-of.html
http://www.vmwarearena.com/2012/10/difference-between-vsphere-41-and.html
http://www.vmwarearena.com/2012/10/difference-between-esx-35-esx-40.html
http://www.vmwarearena.com/2012/08/vmware-interview-questions-answers.html
http://www.vmwarearena.com/2012/08/vmware-interview-questions-and-answers.html
http://www.vmwarearena.com/2012/07/vmware-interview-questions-and-answers_20.html
http://www.vmwarearena.com/2012/07/vmware-interview-questions-and-answers.html
http://www.vmwarearena.com/2012/07/vmware-interview-questions-svmotion.html
http://www.vmwarearena.com/2012/07/vmware-interview-questions-vmotion.html