Professional Documents
Culture Documents
Vmware
Vmware
them ma" have i#entical sets o! memor" content. This presents opportunities !or sharing memor" across virtual machines (as well as sharing within a single virtual machine). $or e%ample several virtual machines ma" &e running the same guest operating s"stem have the same applications or contain the same user #ata. With page sharing the h"pervisor can reclaim the re#un#ant copies an# onl" 'eep one cop" which is share# &" multiple virtual machines in the host ph"sical memor". (s a result the total virtual machine host memor" consumption is re#uce# an# a higher level o! memor" overcommitment is possi&le. ).*allooning I#eall" a V+ !rom which memor" has &een reclaime# shoul# per!orm as i! it ha# &een con!igure# with less memor". ,S- Server uses a ballooning techni.ue to achieve such pre#icta&le per!ormance &" coa%ing the guest /S into cooperating with it when possi&le. This process is #1epicte# 0.1"pervisor Swapping 1"pervisor Swapping In the cases where *allooning (an# TPS) are not su!!icient to reclaim memor" ,S- emplo"s 1"pervisor Swapping to reclaim memor". (t guest startup the h"pervisor creates a separate swap !ile !or the guest. This !ile locate# in the guest2s home #irector" has an e%tension .vswp 34S &ase# on pre-#e!ine# rules intelligentl" allocating availa&le resources among the virtual machines /ptimi5e har#ware utili5ation automaticall" 1( V+ware 1( ensures that su!!icient resources are availa&le in the resource pool at all times to &e a&le to restart virtual machines on #i!!erent ph"sical servers in the event o! server !ailure. 4estart o! virtual machines is ma#e possi&le &" the Virtual +achine $ile S"stem (V+$S) V+/TI/6 1. ,ntire state o! a virtual machine is encapsulate# &" a set o! !iles store# on share# storage such as $7 S7SI 6$S ). +emor" an# s"stem state ,%ecution State will &e trans!erre#8cop" the *IT+(P to V+ instantaneousl" !rom running ,S- to another ,S0. 6etwor's &eing use# &" the virtual machine are also virtuali5e# &" the un#erl"ing ,S- host V+otion manages the virtual +(7 a##ress as part o! the process. /nce the #estination machine is activate# V+otion pings the networ' router to ensure that it is aware o! the new ph"sical location o! the virtual +(7 a##ress SV+/TI/6 live migration o! virtual machine #is' !iles within an# across storage arra"s with no #owntime or #isruption in service. Storage V+otion relocates virtual machine #is' !iles !rom one share# storage location to another share# storage location with 5ero #owntime Port 9roups 1.Virtual +achine(:se# !or V+ networ') ).Service 7onsole(:se# !or Service 7onsole 7ommunications) 0.Vm ;ernel(:se# !or V+otion iS7SI 6$S 7ommunications) What are the !iles that ma'e V+< $ile.V+- .$ile.6V4(+. .$ile.VSW(P $ile.vm!% .$ile.vms# snapshot #ata&ase.vmsn V+*/IS.vm#' Virtual machine #is'!ile.vswp Vm snapshot !ile.vmss etc. V+ 1igh (vaila&ilit" $ault Tolerance
Automatic creation of secondary virtual machines. (utomaticall" trigger the creation o! a new secon#ar" virtual machine a!ter !ailover to ensure continuous protection to the application a##itional #e#icate# giga&it ,thernet networ' What are the #i!!erent t"pes o! Virtuali5ation< Server Storage application Presentation 1ar#ware 6etwor'. V7* V+ware 7onsoli#ate *ac'up is use# as me#iator &etween the &ac'up so!tware an# Virtual machines 8 ,S- hosts.
What is a VNIC? A VNIC is a virtual nic which is added when we create a virtual machine. Its a software based nic (virtualized nic) which enables the communication between vms or between a vm or vSwitch vSwitch? A vSwitch is nothing but the h!sical nic which is installed on the "S# server. $he same h!sical nic shared to all the virtual machines hosted on that articular "S# server. So it is acting as a Switch in this scenario. %e can connect&configure '(') virtual machines to use a h!sical nic* in other words we can create a virtual switch that contain '(') orts. No h!sical switch rovides these man! orts in real time. And in other case* we can create the vSwitch with out an! h!sical nic also. Its urel! software based vSwitch (the same is used between V+' and V+,).
What happens when "ou ta#e a snapshot of virtual $achine? %hen !ou ta.e a sna shot of virtual machine* it ma.es a co ! of the .vmd. file and its memor!* saves them along with the other virtual machine files.
"vmware-cmd createsnapshot "
each snapshot occupies the same si5e o! .vm#' !ile in the #atastore. So i! "ou ta'e more snapshots more space will &e utili5e#.
%istribute& vSwitch 'VI% () $his is an e-tra1ordinar! feature of vS here 6.(* which saves lot of administrative time in configuring networ.ing on each and ever! single "S# server in a cluster individuall!. %ith this ultimate feature we can configure a dvSwitch at the cluster level* which is a lied to all the hosts. So that the networ. configuration on all hosts remains identical which avoids networ. related issues while doing v+otion li.e things.