VMWARE Interview
VMWARE Interview
https://theithollow.com/2013/03/26/are-you-thin-or-thick-where-at/
http://rickardnobel.se/eager-thick-vs-lazy-thick-disk-performance/
Although really busy, the MTI TAMs still managed to fly over to Cork to visit EMCs factory..
it was my first time there and I must say I was very impressed. we got to see all the
processes behind testing and building the EMC storage arrays (VMAX, VNX) and also how
rigorous the testing process was!! Amazed at how much investment EMC have put into their
testing equipment (temperature, vibration, etc). Supposedly if its tested to bits, there is less
chance of an DoA (Dead on Arrival) when shipped and also stops people ringing support to
complain about their array not functioning! =)
Anyways, the reason for this post is I had to explain briefly the difference between Eager
Zeroed and Lazy Zeroed for Thick Provisioning within VMware.
I believe the default format for Thick Provisioned virtual disks is Lazy Zero.
The difference in performance between the two is minimal (Read is obviously not affected).
However, just bear in mind that if theyre using MSCS or VMware FT you will need to use
Eager Zeroed Thick.
UIM 2.0 serves as a single point of management for full provisioning automation
across network, compute and storage environments.
Clone
Clone is a copy of the virtual machine
You cannot convert back the cloned Virtual Machine
A clone of a virtual machine can be made when the virtual machine is
powered on
A full clone is independent from parent virtual machines and does not
share anything with virtual machines.
Template
13. Youre creating a list of ports you need the network admin to open on
the firewall. What is port 902 used for on vCenter?
Answer: Port 902 is the default port vCenter uses to send data to hosts
managed by vCenter.
17. VMware vSphere give you options. What are the 4 typical ways
storage can be added to a vSphere?
Answer: Storage can be added via iSCSI, FC, NFS and local disk
(including DAS).
21. This is a tough VMware interview question created just for you. Name
4 things that happen on the VMkernel networking layer?
Answer: vMotion, IP storage (iSCSI/NFS), Fault Tolerance and Virtual
SAN.
22. You have a VCP so this should be an easy interview question. What
are 2 ways a vSphere admin can separate traffic from distinct
environments (ex. Production and test) on the same hosts.
Answer: Either by creating separate vSwitches using dedicated NICs or
if NICs are not available by creating separate port groups using
different VLAN IDs on the same vSwitch.
23. True or false. A Distributed Virtual Switch is very much like a
physical switch that detects which VMs are logically connects to each
port and uses that information to forward network traffic. Hint: It is not
used for monitoring and administration across a datacenter.
Answer: False. A Distributed Virtual Switch acts as a single switch
across all hosts in a datacenter to provide centralized provisioning,
administration, and monitoring of virtual networks.
24. Another True or false. NIC teams are normally put in active/active
mode to allow fail-over in the event of a hardware failure.
Answer: False again. NIC teams are normally put in active/standby
mode to allow fail-over in the event of a hardware failure. You can use
active/active but this would not be standard and would require port
channeling at the physical switch
25. This is a trick question so think about it! How many physical NICs are
needed in an ESXi hosts for hosting 25 virtual servers on iSCSI
storage split between 2 diverse environments (web/app).
Answer: The answer is purely subjective. It depends on how much
separation is needed for performance and the level of redundancy built
into the design for hardware failure. At minimum, maybe 2 (1 for data
and 1 for VMkernel) but more should be used.
Clone
Template
A template is a master copy or a baseline image of a virtual machine that can be used to
create many clones.
Templates cannot be powered on or edited, and are more difficult to alter than ordinary
virtual machine.
You can convert the template back to Virtual Machine to update the base template with
the latest released patches and updates and to install or upgrade any software and again
convert back to template to be used for future deployment of Virtual Machines with the
latest patches.
Convert virtual Machine to template cannot be performed, when Virtual machine is
powered on. Only Clone to Template can be performed when the Virtual Machine is
powered on.
A template offers a more secure way of preserving a virtual machine configuration that
you want to deploy many times.
What is a snapshot?
A snapshot is a point in time image of a virtual guest operating system (VM). That
snapshot contains an image of the VMs disk, RAM, and devices at the time the snapshot was
taken. With the snapshot, you can return the VM to that point in time, whenever you
choose.
Storage vMotion is similar to vMotion in the sense that "something" related to the VM is
moved and there is no downtime to the VM guest and end users. However, with SVMotion
the VM Guest stays on the server that it resides on but the virtual disk for that VM is what
moves.
With Storage vMotion, you can migrate a virtual machine and its disk files from one
datastore to another while the virtual machine is running.
You can choose to place the virtual machine and all its disks in a single location, or select
separate locations for the virtual machine configuration file and each virtual disk.
During a migration with Storage vMotion, you can transform virtual disks from Thick-
Provisioned Lazy Zeroed or Thick-Provisioned Eager Zeroed to Thin-Provisioned or the
reverse.
Perform live migration of virtual machine disk files across any Fibre Channel, iSCSI, FCoE
and NFS storage.
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.
Here DRS stands for Distributed Resource Scheduler which dynamically balances
resource across various host under Cluster or resource pool.
VMware DRS allows users to define the rules and policies that decide how virtual machines
share resources and how these resources are prioritized among multiple virtual machines.
Resources are allocated to the virtual machine by either migrating it to another server
with more available resources or by making more space for it on the same server by
migrating other virtual machines to different servers.
The live migration of virtual machines to different physical servers is executed completely
transparent to end-users through VMware VMotion
VMware DRS can be configured to operate in either automatic or manual mode. In
automatic mode, VMware DRS determines the best possible distribution of virtual
machines among different physical servers and automatically migrates virtual machines
to the most appropriate physical servers. In manual mode, VMware DRS provides a
recommendation for optimal placement of virtual machines, and leaves it to the system
administrator to decide whether to make the change.
In a cluster with more than 3 hosts, can you tell Fault Tolerance where to put
the Fault Tolerance virtual machine or does it chose on its own?
You can place the original (or Primary virtual machine). You have full control with
DRS or vMotion to assign it to any node. The placement of the Secondary, when
created, is automatic based on the available hosts. But when the Secondary is
created and placed, you can vMotion it to the preferred host.
Monitoring the state of slave hosts. If a slave host fails or becomes unreachable, the master
host identifies which virtual machines need to be restarted.
Monitoring the power state of all protected virtual machines. If one virtual machine fails,
the master host ensures that it is restarted. Using a local placement engine, the master
host also determines where the restart should be done.
Managing the lists of cluster hosts and protected virtual machines.
Acting as vCenter Server management interface to the cluster and reporting the cluster
health state.
If the master host fails, is shut down or put in standby mode, or is removed from the cluster
a new election is held.
SCOM
SCOM is a near real-time server and data-center monitoring tool
from Microsoft targeted at monitoring servers and enterprise
infrastructure, services, and applications like Exchange and SQL.
Not to be confused with SCCM (Systems Center Configuration
Manager), which is a management tool meant for use with
Windows-only client nodes. SCCM works by deploying agents to
perform remote management tasks such as automated software
installation and updates of Windows components, as well as other
non-Windows services and apps. Like SCOM, SCCM also utilizes
agents and can technically be used for some rudimentary
monitoring; though this isnt really its intended use.
FSR
FSR uses NTFS volumes USN journal to determine when a change has occured to a file and
triggers replication. When FSR detects file close it gathers information about file and its attributes.
It also checks files MD5 hash. If MD5 hash changes it will trigger replication. If file has changed
whole file is send to FSR replication partners.
DFSR
First benefit of DFSR is that it doesnt replicate whole file, but just a changed data in the file. To be
able to check only changes in files it uses RDC (Remote Differential Compression) compression
algorithm.
Netstat
Displays active TCP connections, ports on which the computer is listening, Ethernet statistics, the
IP routing table, IPv4 statistics (for the IP, ICMP, TCP, and UDP protocols), and IPv6 statistics (for
the IPv6, ICMPv6, TCP over IPv6, and UDP over IPv6 protocols). Used without parameters,
netstat displays active TCP connections. For examples of how this command can be used,
Examples
To display both the Ethernet statistics and the statistics for all protocols, type:
netstat -e -s
To display the statistics for only the TCP and UDP protocols, type:
netstat -s -p tcpudp
To display active TCP connections and the process IDs every 5 seconds, type:
netstat -o 5
To display active TCP connections and the process IDs using numerical form, type:
netstat -n -o
Authoritative restore will update existing DCs with the restored data.
Non-authoritative restore will replicate the existing data from another DC.
An authoritative restore, on the other hand, allows you to selectively increment the version
numbers of attributes to make them authoritative in the directory. That is, during the replication
following the restoration, when the version numbers of objects are compared, the objects and
attributes on the restored DC that were restored authoritatively will have higher version numbers
than those on the other DCs, and will replicate out to the other DCs instead of themselves being
overwritten as out-of-date.