Documente Academic
Documente Profesional
Documente Cultură
enSerrver Design
D n:
Dessigninng XeenSerrver N
Netwo
ork
Connfigurration
ns
ww
ww.citrix.com
m
Contents
About ....................................................................................................................................................................... 5
nce ............................................................................................................................................................. 5
Audien
ons ............................................................................................................... 6
Findingg Configuratiion Instructio
Visual Legend
L .................................................................................................................................................... 7
Chapter 1: on ....................................................................................................................................... 9
1 Introductio
o Networks ................................................................................................12
Conneccting Virtual Machines to
Impactt of Pools on
n XenServer Networking
N ......................
. .......................................................................15
Conn
necting XenSServer to Phyysical Switchees .........................................................................................21
Chapter 3:
3 Sample Neetworking Sccenario ....................................................................................................... 22
Examp
ple: Adding Virtual
V Machiines to a Nettwork ...................................................................................22
Conn
necting a VM
M to a Netwo
ork using Virttual Interfacees....................................................................25
Segreegating VM Traffic
T nt and Storagge Traffic........................................................27
from Managemen
Scenaario 4: Conn
necting VMs to
t Multiple Linked
L VLAN
Ns ..................................................................34
Page 2
Chapter 4: nts ........................................................................................ 40
4 Specifyingg Networkingg Requiremen
Overview ..........................................................................................................................................................40
Introduuction .....................................................................................................................................................41
Definin
ng Your Netw
working Reqquirements .................................................................................................43
ments .........................................................................................................50
Calculaating Bandwidth Requirem
Chapter 5:
5 Designing XenServer Networks
N ................................................................................................... 52
Overview ..........................................................................................................................................................52
Consid
dering NIC Bonding
B .............................................................................................................................56
Undeerstanding Active-Active
A ng .........................................................................................58
NIC Bondin
Undeerstanding Active-Passive
A e NIC Bondiing........................................................................................60
Bond
ding Managem C Addressingg .....................................................................62
ment Interfaaces and MAC
Limitting Bandwid
dth Consump Workloads ....................................................66
ption for Higgh Demand W
Additio
onal Consideerations .............................................................................................................................68
Enab
bling Promisccuous Mode for Traffic Monitoring
M ... .......................................................................68
Page 3
Chapter 6:
6 Designing Your Storagge Network Configuration
C n..................................................................... 70
Overview ..........................................................................................................................................................70
Creatin
ng a Separate Storage Nettwork..........................................................................................................71
Assiggning IP Add
dresses to NIICs (Managem
ment Interfaaces) ...............................................................73
Choo
osing to Enab
ble Multipath
hing Supportt or Bond NIICs .................................................................75
iSCSII Storage................................................................................................................................................77
Conffiguring Netw
works with Juumbo Framees ..........................................................................................78
Chapter 7:
7 Considerin
ng Network Performance
P e for PVS – X
XenServer D
Deployments ........................... 81
IP Add
dressing Requuirements .........................................................................................................................83
Isolatin
ng the Provissioning Servicces Streamin
ng Service ............................................................................83
Chapter 8:
8 Verifying Your
Y XenSerrver Networkking Configuuration ........................................................... 85
Verifyin
ng XenServeer Networkin
ng on a Pool ......................
. .......................................................................85
Veriffying your Ph
hysical Confiiguration ....................................................................................................85
Revisio
on History ..............................................................................................................................................90
Page 4
Abo
out
This guid
de helps you understand
u design
d your XenServer
X neetworking annd design a neetworking
configuraation for Xen
nServer envirronments. It includes the following toopics:
Best
B practice information
i about the primary managgement interfface, NIC bo
onding, jumb
bo
frrames, and sttorage netwo
orks
High-level
H infformation about features you may wannt to enable as part of yo
our networkin
ng
co
onfiguration,, such as the Distributed Virtual Switcch solution
The
T correct seequence in which
w to conffigure XenServer networkking, includin
ng guidance aabout
caabling XenSeerver hosts an
nd connectin
ng them to phhysical switcches
Checklists
C to help
h you gath
her requirem
ments for youur XenServer networking configuration
Audie
ence
Before reeading this guuide, you sho
ould have a basic
b knowleddge of netwoorking. This gguide has sevveral
audiencess:
Syystems Arch
hitects. Systeems architectts who are deesigning a virrtualized envvironment.
In
nfrastructurre Engineerss and Netw work Adminiistrators. Neetworking and storage
professionals who configuure storage orr manage thee Layer 2 netw
work infrastrructure in theeir
organizations..
Application
A Administrat
A tors. XenApp p and XenD esktop adminnistrators wh ho are
im
mplementingg a virtualizatiion solution to virtualize Citrix produucts, IT infrastructure, or
other applicattions they maanage.
Page 5
This guid de assumes th
hat you are faamiliar with basic
b XenSerrver conceptss, including X
XenServer
installatio
on, XenCenteer, resource pools,
p and th
he pool masteer.
Purpo
ose of the
t Guide
This guid
de is meant to
o provide youu with the beest-practice innformation yyou need to ddesign your
XenServeer networks.
The secon
nd half of th
he guide provvides you with
h informatioon to help youu select betw
ween various
XenServeer networkingg options and informatioon about the bbest ways to configure thhem.
Because this
t is a desiggn guide, it geenerally doess not providee configuratioon instructio
ons except as
needed too clarify conccepts. As the most comm mon way of m managing XennServer and X XenServer pools
is throughh XenCenterr, this guide mainly
m refers to XenCentter and XenC Center help, uunless specifi
fied
differentlly.
Finding Con
nfigurattion Ins
structio
ons
You can find networkking configurration instrucctions in the following loccations:
XenCenter
X Help.
H The XeenCenter helpp provides UUI-based stepp-by-step insttructions usin
ng
XenCenter,
X th
he XenServerr UI-based ad
dministrationn console. Ussers who are not comforttable
with
w the XenSServer xe commmands, mayy prefer this option.
XenServer
X Ad dministrator’s Guide. The
T XenServerr Administratoor’s Guide pro ovides comm mand-
lin
ne based insttructions for performing networking ttasks. For integrators, it aalso providess
in
nformation about XenSerrver networkking from thee object-moddel perspectivve.
Page 6
Visua
al Legend
This guid
de relies heavvily on diagrams to explain
n key conceppts. These diaagrams use th
he followingg
icons:
Icon Meaaning
Virtu
ual Machinee. A virtual ccomputer thaat runs on thee XenServer host.
Netw work. A netwwork is the vvirtual networrk switching fabric built iinto
XenSServer that leets you netwoork your virttual machiness. It links thee
physsical NICs to the virtual innterfaces andd connects th
he virtual
interrfaces togetheer.
NIC
C. The physiccal network ccard (NIC) inn your host.
To jo
oin hosts to a pool, they rrequire broaddly compatib
ble hardware and
mustt be running the same XeenServer verssion and patcches.
Page 7
provvides a single point of conntact for all thhe servers in
n the pool and the
mastter will forwaard commandds to individuual pool mem mbers as
necessary.
Physsical Switch
h. The devicee on a physicaal network th
hat connects
netw
work segmentts together.
NIC
C Bond. In th
his guide, encclosing NICss in green rep
presents a bo
ond.
Addittional Termino
T ology
These terrms appear in
n the sections that follow
w:
VM trafffic. VM traffi
fic refers to network
n traffiic that originnates or termiinates from a virtual macchine.
This is so
ometimes refferred to as guuest traffic or
o VM/guest traffic.
Page 8
C
Chapte
er 1: Introduction
This illustrration shows hoow virtual macchines connect too three differentt types of netwoorks: an externnal network, a
VLAN network,
n and a single-server private network..
Page 9
This guid
de explains th
hese types off networks byy providing thhe followingg information
n:
If you waant to read a list of XenSeerver networking definitioons before reeading this in
nformation, ssee
the Visuaal Legend on page 7. Otherwise, the definitions
d aree provided inn chapter 2 aas you read th
he
sections.
Chapter 3 provides several samplle scenarios that t illustrate how to add virtual mach hines to a
network. The first sceenario guidess you through h the processs of segregatiing different types of trafffic,
includingg storage and managemen nt traffic. Thee second scennario gives yoou an alternaative to dediccating
NICs to specific
s typess of traffic; itt shows an exxample of ussing the manaagement netw work for
managem ment and VM M traffic. The third scenariio shows an example of hhow to segregate traffic b by
creating a single-serveer private nettwork on a host.
Page 10
Chapte
er 2: Ba
asic Xen
nServer Netwo
orking Concepts
This chap
pter includes the followin
ng topics:
An
A introductio
on to XenServer networkking
The
T network settings creatted during in
nstallation
Introd
duction
n to Xen
nServer Netwo
orking
XenServeer provides virtual
v networrking featurees that let youu build netwoorks for yourr virtual machines
the same way you build networks for physical machines.
The VMs connect to threee different typees of networks: an office netwoork, an internaal private netwoork, and a VL
LAN.
Page 11
You can connect virtuual machiness to your prod
duction netw work like youu connect phyysical machinnes
or build private
p netwo
orks within a host or poo
ol for testing, developmennt, or securityy purposes. Y
You
can connect virtual machines
m to yo
our VLAN networks
n usinng standard V
VLAN configurations.
Virtual
V interffaces. Virtuaal machines connect
c to neetworks usingg virtual NIC
Cs, known ass
viirtual interfacces. Virtual in
nterfaces let VMs send annd receive neetwork traffic. You can assign
eaach virtual in
nterface its ow wn IP addresss and MAC address. Som me product liiterature refeers to
viirtual interfacces as VIFs and
a virtual NICs.
NI
Networks.
N XenServer
X hass an internal virtual
v switchh, known as a network, th
hat lets virtual
machines
m on a XenServer host commuunicate with eeach other ussing the same networkingg
protocols thatt are used on
n physical nettworks.
A network is the t logical neetwork switch hing fabric bbuilt into XennServer that lets you netwwork
yoour virtual machines.
m It liinks the physsical NICs too the virtual iinterfaces andd connects th
he
viirtual interfacces together. These netwo orks are virtuual switches that behave as regular L22
leearning switches. Some veendors’ virtuualization prooducts refer tto networks aas virtual switcches
or bridges.
Conn
necting Virtuall Machiines to Networks
When youu are configuuring network connectivitty on XenSerrver hosts, yoour ultimate goal is to
connect the
t VMs to a network. To o do this:
1. Connect
C the host
h to a phyysical networkk. (For VMs without exteernal networkk connectivitty,
yo
ou would con
nfigure a privvate networkk instead.)
2. Connect
C the VM
V by creatin ng a Virtual Interface
I forr it and connecting the Viirtual Interfaace to
a network. Ass shown in th
he illustration
n on page 11,, the virtual iinterfaces on the VMs
co
onnect to networks in a host
h and then n connect to a physical neetwork throuugh the host’’s
NIC.
N
One way to think abo out these taskks is that youu need to connfigure conneectivity at both the hardw
ware
and virtuaal layers as sh
hown in the illustration th hat follows.
Page 12
This illustrration shows thhe order in whicch you should configure
c netwo rking in your vvirtual environmment: (1) Start
rt on
the physicaal infrastructuree layer, which means
m connectinng NICs to swi
witches; (2) conffigure the hardw
ware layer, whiich
means connnecting hosts to networks and configuring theese networks; (3(3) configure thee virtual layer, which means
attaching VMs
V to networrks through virrtual interfaces.
Importan nt: Configuriing networkiing in the ord der listed desscribed in “Seequence of N Networking
Configuraation Tasks”” on page 18 is critical. If you vary from m this sequeence, the primmary manageement
interface may not be configured
c coorrectly on each
e host. If tthis occurs, aall VMs in th
he pool may sstart
on the poool master an
nd not their home
h or optiimal servers.
Page 13
Netw
working Config
guration
n after IInstalla
ation
After insttallation, the XenServer host
h has all thee informationn it needs to connect to aat least one o
of
your exteernal networkks. This is because you deefine the folloowing netwoorking option
ns while instaalling
XenServeer:
IP
P Address Configuratio
C on and Otheer Settings. Y You set the hhost’s initial XenServer
networking coonfiguration when you firrst install XennServer on thhe physical ccomputer.
XenServer
X Settup configurees options, suuch as the IP
P address connfiguration (D DHCP/static),
based on the values
v you prrovide duringg installationn.
Network
N Connnectivity. XenServer
X in
nstallation preepares each N
NIC connectted to a switcch
fo
or network connectivity by b creating on ne network ffor each NICC. This mean
ns that if the h
host
has, for exampple, three NIICs, XenServver creates thhree networks: Network 00, Network 1,
Network
N 2. Fo
or a visual exxplanation, seee page 15.
Primary
P Man nagement In nterface and d the Manag gement Nettwork. Durin ng XenServerr
Seetup, you speecify an IP ad
ddress for onne NIC. XennServer uses tthat NIC to connect to yyour
organization’ss network and d to carry maanagement trraffic for funnctions like communicatin ng
with
w other hosts in a pool,, XenCenter, Workload B Balancing, annd other commponents. Thiis
NIC
N is known n as the primaary managemennt interface. Thhis is the onlyy NIC that Seetup configuures
with
w an IP add dress.
The illustration th
hat follows sh
hows a regulaar (unconfiguured) NIC annd a NIC con
nfigured as a
primaary managem ment interfacee.
Page 14
During in
nstallation, XenServer
X also
o creates a seeparate netw
work for eachh NIC it deteccts on the ho
ost.
Unless yo
ou change thiis set up, XennServer uses the additionnal NICs on tthe host for VM traffic o only.
Most envvironments reequire additioonal configurrations to theese basic nettwork settinggs. These can
n
range from creating pools
p to integgrating additio
onal networkks, connectinng your VMs to those
networks, and configuuring a separrate storage network.
n Thee scenarios inn the followinng chapter
provide examples
e of these
t tasks.
Impact of Po
ools on
n XenSe
erver N
Network
king
Networkiing is a pool--level featuree in XenServeer. When youu change netw
tworking on tthe pool masster,
XenServeer synchronizzes all hosts ini a pool to use
u the samee network setttings.
As a resuult, for XenSeerver to operrate correctly, you must ennsure that neetwork settin
ngs match acrross
all hosts in
i the pool, including:
i
Which
W NICs are
a bonded
Which
W NICs are
a configureed as the prim
mary manageement interfaace
Which
W NICs connect
c to sttorage
Page 15
The netw
works to whicch NICs conn
nect must bee the same onn the correspponding NIC
Cs on each ho
ost in
the pool.
Page 16
These two illustrations shhow how XenSeerver replicates the network seettings created oon the pool maaster on all otheer
hosts in thee pool. In the top
to illustration, NICs 3 and 6 on both hosts ts use Network ks 3 and 6. In tthe bottom
illustrationn, after reconfiguuring NIC 3 on
o the pool masster to use Netw
twork 12 and N NIC 6 to use NNetwork 18,
XenCenterr automaticallyy configures the other host in thhe pool to use tthose settings.
When youu use XenCeenter to makee networkingg changes, XeenCenter chaanges the oth
her hosts to
match thee newly mod
dified host. When
W you usee the CLI to cchange netw
work settings, you must either:
Change
C each host
h manuallly to match th
he modified host’s settinggs
Make
M the chan
nge on the pool master an
nd restart alll the memberr hosts in thee pool
Page 17
For this reason,
r it is critical
c to havve and maintaiin an identicaal physical caabling, NIC, aand switch
configuraation for eachh host acrosss the pool. Liikewise, Citriix strongly reecommends cchanging thee
physical configuration
c n on all hostss in a pool beefore changinng network ssettings on th he pool.
Sequ
uence of
o Netwo
orking Configuration
n Tasks
s
Citrix reccommends peerforming yo our initial nettworking connfiguration inn the sequencce that follow
ws to
help ensuure XenServeer stores yourr networkingg configuratioon correctly:
2. Confi
figure the swiitches. See “C
Connecting XenServer
X too Physical Sw
witches” on p
page 21.
3. Installl XenServer on the hostss. Citrix recom mmends thaat you ensure your networrking
configguration is seet up correcttly before creeating a resouurce pool, sinnce it is usuallly easier to
recovver from a baad configurattion in a non--pooled statee. To verify nnetworking iss set up correectly,
see “C
Chapter 8: Verifying
V Youur XenServer Networkingg Configuratiion.”
5. Confi
figure NIC bo
onds and nettworks. For more
m inform
mation, see thee scenarios in
n “Chapter 33:
Samp
ple Networkin
ng Scenario.””
Importan nt: Do not configure the XenServer HighH Availabbility feature uuntil after yo
ou complete yyour
networkinng configurations. Netwo orking configguration can iinterrupt thee High Availaability heartb
beat
and causee hosts to shuut themselvees down. Connsequently, thhe hosts probbably will no
ot reboot correctly
and will need
n the host-emergenccyha-disablee command tto recover.
Cabling
g Configuration for XenServe
er
Citrix reccommends pllugging the physical
p Etheernet cables innto all the NNICs and the appropriate
switches before installling XenServver. The ideaal process is aas follows:
2. Connect
C the correspondin
c ng NICs on each
e host in tthe pool to thhe same physical switch ((that
iss, the same suubnet).
The
T term correesponding referrs to the NIC
C of the samee number onn another hosst. For example,
NIC
N 3 on Host 1, NIC 3 on o Host 2, NIC
N 3 on Hosst 3. This meeans that each h individual N
NIC
Page 18
on every host must connecct to the sam
me physical neetwork as the NIC in thee same positio
on
on all other ho
osts in the po
ool.
The follo
owing figure is
i a visual exaample of thiss configuratioon in an enteerprise enviro
onment.
This illustrration shows hoow each correspponding NIC on must physically connect to the ssame network. Each
o both hosts m
switch reprresents a separaate physical netw
work. Each member host’s N
NICs must be cconnected to thee same physicall
a the corresponnding NICs on the pool masteer.
networks as
Ensuringg the cabling on each hostt in the pool is correct is critical. As shhown in the previous
illustratio
on, all NICs must
m connectt to the samee physical nettworks (show wn as separatte switches) aas the
NICs in thet same possition on all hosts
h across the
t pool.
Page 19
This illustrration shows tw
wo switches thatt are connectedd across a backpplane and are oon the same phy
hysical network..
These switcches function log
ogically as one unit.
u Because thhere are no VL LANs configuured on any of tthe ports and all
ports have the same conneectivity, the NIICs can be plugg gged into any poort on these tw
wo switches.
XenServeer cannot dettect if you make any errorrs while settiing up the phhysical netwo ork. For exam
mple,
if a XenServer host exxpects to be able to contaact a specific gateway usinng a certain N NIC, XenSerrver
cannot in orrect. If you receive errorrs, they mighht not indicatte network
ndicate the caabling is inco
configuraation as the cause.
c
Page 20
Connec
cting XenServer to Physical Switchess
When youu are conneccting a XenSeerver host to a switch, coonfigure the sswitch’s ports differently than
you woulld when connnecting a worrkstation to a switch. Theere are speciffic, critical guuidelines abo
out
the Spann
ning Tree Prootocol (STP)) and enablin
ng PortFast.
Page 21
Cha
apter 3: Samplle Netw
working
g Scena
ario
This chap
pter providess a scenario-b
based example of how to connect virttual machines to a physical
network. This includees the followiing:
Seegregating traffic
Using
U the man
nagement neetwork for traaffic in a veryy small envirronment
Exam
mple: Ad
dding Virtual
V Machin
nes to a Netwo
ork
This sectiion provides a sample sceenario of a siimple networrking configuuration that iincludes
connectin
ng VMs to neetworks, creaating redundaancy, and connfiguring NIICs.
Designingg a XenServeer networking deploymen nt may requirre several tasks, includingg, for examplle,
configurinng redundanncy for netwo ork availabilitty, configurinng NICs, andd, ultimately, connecting V
VMs
to the dessired networkks. During th
his process, you
y might alsso separate ddifferent typees of traffic fo
or
security or
o performan nce reasons (ffor example, separating trraffic for maanaging the X XenServer
platform from VM traaffic).
Before co
onfiguring neetworking onn a pool, you should knoww to which nnetworks youur VMs will n
need
to connecct. A standarrd network co
onfiguration process migh
ght require:
1. Configuring
C reedundancy fo
or network availability.
a
2. Creating
C separrate storage or
o managemeent networkss (used to sepparate managgement or sto
orage
trraffic from VM
V traffic).
3. Creating
C VMss and connecting them to the desired X
XenServer nnetwork(s).
This sectiion provides you with an example of that process.. This sectionn describes th he different
configuraation optionss and steps reequired to puut your virtuaal machines oon the netwo
ork by using a
Page 22
sample sccenario. Whille the scenariio might not directly applly to your ennvironment, iit is designedd to
put XenSServer’s netw
working featurres into conttext.
Creatin
ng Networrk Resilien
ncy throug
gh Bonds
After joinning all hostss to your poo
ol, you may want
w to ensurre that any crritical serverss have high
availabilitty access to th
he network. One way XeenServer lets you achieve high networrk availabilityy is to
create reddundancy thrrough NIC boonding.
In the illuustration thatt follows, thee primary maanagement innterface is boonded with a NIC so that it
forms a bonded
b pair of
o NICs. Xen nServer will use
u this bondd for manageement trafficc.
This illustrration shows thhree pairs of bonded NICs, inncluding the priimary managem
ment interface. E
Excluding the
Primary Management
M Intterface bond, XenServer
X uses the other two NNIC bonds andd the two un-bonded NICs fo for
VM traffiic.
Page 23
Ensuring
g Resiliencee through Redundant
R Switches
S
If you bo
ond a manageement interfaace, a single IP
I address is assigned to the bond. Th
hat is, each N
NIC
does not have its own
n IP address; XenServer treats
t the twoo NICs as onne logical con
nnection.
Note: Fo
or more inforrmation abouut bonds, seee “Considerinng NIC Bondding” on pagge 56.
Page 24
Connec
cting a VM
M to a Nettwork usin
ng Virtual Interface
es
Virtual machines
m conn nect to a netwwork througgh a virtual innterface on thhat particularr network.
XenServeer sends the VM’s
V traffic through the target netwoork’s associatted NIC. By default, when n you
create a VM
V in XenCeenter, XenSeerver creates a virtual inteerface conneccting the VM M to Networkk 0.
This conffiguration letts VMs connect to an external networrk through thhe NIC attach hed to Netwwork
0.
This illustrration shows hoow VMs requiire a virtual intterface for each physical netwoork to which thhey need to connnect.
Page 25
Some add
ditional pointts about virtuual interfacess:
Most,
M ne virtual inteerface. (If an administrato
but nott all, VMs havve at least on or accesses a VM
only through XenCenter,
X the
t VM doess not need a vvirtual interfface.)
Each
E virtual in
nterface musst have a “virrtual” MAC aaddress. Youu can configuure XenServeer to
geenerate thesee automaticallly for you (reecommendedd) or specifyy them manuaally.
When
W you creeate a networrk in XenCennter, you can specify if yoou want XenC
Center to creeate a
new virtual interface for th
hat network automatically
a y, whenever yyou create a VM.
Unlike
U for thee physical and
d infrastructuure layers, thhe networkingg configuratiions on VMs do
not need to match
m other VMs
V in the po ool.
Notee: To determiine which VM M is associateed with a virrtual interfacee, see CTX1222520 -- How
w to
Find which
w Virtual Network Interrface is Assigned to a Virtuaal Machine in X
XenServer.
Understtanding Vir
irtual MAC
C Addressin
ng
When XeenServer generates MAC addresses auutomatically, it generates llocally adminisstered addressess.
Locally ad dministered addresses
a aree addresses assigned
a to deevices by a uuser, which tyypically lack
manufactturer-specificc encoding. As A a result, thhey do not coontain a mannufacturer-specific
Organizatiionally Uniquee Identifier (OU UI). Typicallyy, manufactuurers “burn-iin” MAC adddresses in wh hich
the first three
t octets in
ndicate which company manufactured
m d the device.
XenServeer generates a MAC addreesses at random based onn the random m seed in the VM.other-
config:mac--seed parameter of the VM
M and the devvice number of the virtuaal interface (aa sequence
number forf the VIF: 0…6).
0
Tip: To obtain
o the MAC
M address of a XenServver VM in X
XenCenter, seelect the VM’’s Network ttab,
select thee virtual interrface, and clicck Propertiees.
Page 26
Segreg
gating VM Traffic fro
om Management a
and Storag
ge Traffic
You can separate each h type of trafffic –VM, sto
orage, and maanagement trraffic – onto
o its own netw
work
for eitherr security or performance
p e reasons.
For mostt environmen nts, Citrix reccommends seegregating VM traffic froom managem ment traffic ass the
best practice. Not onlly does it incrrease the seccurity of the m
managementt network, it can improvee
performaance by reduccing competiition between n traffic types for networrk resources, reducing
potential collisions, an
nd reducing thet load on the
t primary m management interface.
There aree a variety off ways in whicch you can seeparate traffiic, including::
This illustrration shows hoow NICs that are not designaated for managgement or storagge traffic only ccarry VM traffffic.
Page 27
The scenarios that folllow illustratee both of theese concepts:: separating ttraffic and sending traffic over
NICs shaared by multiiple networkss.
Attached
A the network
n cablles coming frrom the NIC Cs to a switchh for a netwo
ork to be useed for
VM
V traffic, whhich is physiccally isolated
d from the stoorage and maanagement n networks
Created
C virtuaal interfaces on
o the same networks as the NICs
As shownn in previouss illustration, not all NICss have virtuall interfaces aassociated witth them. If yyou
do not co
onfigure a virrtual interfacee connectingg to the manaagement netw work, the maanagement N NIC
becomes dedicated foor managemeent traffic. Fo or example, inn the previouus illustration
n there are N
NICs
Page 28
connected d to the man
nagement and
d storage nettworks that ddo not have ccorrespondin
ng virtual
interfacess.
Scenarrio 2: Usin
ng the Managemen
nt Networkk for VM T
Traffic
In enviro
onments withh minimal seccurity requireements, you ccan configuree VMs to shaare the
managem ment or storagge networks.
In this exxample, the organization
o uses
u the man
nagement nettwork for tw
wo purposes:
XenCenter
X can connect to
o the management networrk through thhe primary m management
in
nterface on th
he pool mastter. This is beecause of thee IP address on that NIC. Likewise, h
hosts
an
nd other commponents, suuch as Worklo oad Balancinng, can use thhe connection
n to
co
ommunicate with XenSerrver.
Note:
N XenCenter only commmunicates with
w the poool master andd not any member serverss.
Sp
pecifically, XenCenter
X on
nly connects to the IP adddress of the m
master’s prim
mary management
in
nterface.
VM
V traffic is also
a sent on this
t managem ment networrk. This is thee default con nfiguration an
nd
reequires no ch
hanges. To reevert to this configuration
c n, create a virrtual interfacce on the VM
M and
sppecify the VM
M network th hat is sharingg the manageement networrk.
Howeverr, this configuuration has security implications. Worrkstations hoosting XenCeenter and
XenServeer hosts usingg this managgement netwo ork can comm municate witth each otherr because theey are
on the same network. This makes the managem ment networrk, which ultiimately manaages the harddware
layer and controls thee hypervisors themselves, vulnerable to any attackss originating from the VM Ms.
For exammple, if the VMMs host Web b servers, anyy successful attacks originnating from outside the
organizattion can poteentially penetrate your enttire virtual innfrastructure – or all infraastructure on the
targeted pool.
p
The follo
owing illustration shows some VMs seending their V
VM traffic ovver the manaagement netw
work.
Page 29
This logicaal illustration shhows how the administrator
a coonfigured the vi
virtual interfacees on VM 1 annd VM 3 to seend
their trafficc across the maanagement netw
work.
n a Windowss VM, the iniitial Windows installationn has an emullated network device thatt uses
In
a built-in driveer.
In
n a Linux VM
M, the NIC appears
a as a standard
s Linuux network ddevice and usses the high-
sp
peed Xen parravirtualized network drivver.
Scenarrio 3: Isola
ating VM Traffic
T on a Private
e Networkk
You migh ht have speciific types of workloads
w th
hat require isoolation. For eexample, in eenvironmentts
with tech
hnically savvyy workers, yoou might not want serverss with confiddential emplo oyee data on the
same netw work as reguular VM traffi
fic. XenServeer lets you seggregate traffiic by creatingg two types o
of
private neetworks: singgle-server priivate networkks and cross--server privatte networks.
Page 30
Essentiallly, a private network
n funcctions like an
n isolated local area netwoork that is local to either a
host or a group of hosts (pool). Th his results in higher speedd networks ssince responsses between V VMs
are based
d on the storaage speed and d not limitedd by the netwwork bandwiddth or bottlen necks.
Due to th
he speed, lab machines an
nd test enviro
onments are a good use ccase for privaate networks..
Creating private netw
works might also
a be desiraable for thesee reasons:
Security. Singgle-server and d cross-serveer private nettworks can leet you isolatee VMs from o other
network traffiic (almost like creating a virtual
v “stovee pipe”). Privvate networkks and cross-
seerver private networks are completelyy isolated from m regular neetwork trafficc. VMs outsidde of
he private network canno
th ot sniff or injeect traffic intto the netwoork, even if booth sets of V
VMs
arre on the samme physical server and thee virtual interrfaces on both sets of VM Ms transmit
trraffic across virtual
v interfa
faces connectted to a netw work on the ssame underlyying NIC.
Faster
F trafficc for connections betweeen VMs on the same h host. Becausee VMs do not
need to interaact with regullar network and
a switches,, they can traansmit trafficc faster to eacch
other.
Private neetworks provvide connectiivity only bettween VMs oon a given X XenServer host and do no ot
have a co
onnection to the outside world.
w Netwo orks with a NNIC (PIF) association aree considered
external: they providee a bridge bettween virtuall interfaces annd the NIC cconnected to
o the networkk,
enabling connectivity to resourcess available thrrough the NIIC.
Scenario
io A: Isolatiing VM Trraffic on On
ne Host
If you havve some VM Ms on one host that you dod not want oon your organnization’s neetwork, you ccan
create a siingle-server privvate network. This
T is an intternal networrk that has no association
n with a physsical
network interface.
i It only
o connectts the virtual machines onn the host annd has no con nnection to tthe
outside world.
w
Page 31
This illustrration shows hoow the virtual interfaces
i on thhe VMs are onn the single-servver private netw
work. This netw
work
does not haave any connectt to any NICs since all trafficc is sent inside tthe XenServer host.
1. Create
C a singlee-server private network in XenCenteer.
In
n XenCenterr, select the host
h in the Reesource panee. Click the N
Network tab. Click Add
Network
N and
d then select Single-Serve
S er Private N
Network.
Unlike
U when you
y create exxternal netwo
orks, XenCennter does nott prompt youu to specify a
NIC
N when you create privvate networkss. This is beccause private networks do
o not require a
NIC
N for conn nectivity.
2. Create
C a virtuaal interface on
o each VM that
t specifiess the new priivate networkk.
Note: To o create crosss-server privaate networks, see CTX1330423 - Citrixx XenServer 6..0 vSwitch
Controller User Guide.
Scenario
io B: Isolati
ting VM Trraffic on Crross-serverr Private Ne
Networks
Page 32
hosts acro
oss a resourcce pool. This combination
n allows the uuse of VM aagility featurees, such as
XenMotion (live migrration) and Workload
W Ballancing (WLB B), for VMs connected to o those netwworks.
• The
T isolation properties off single-serveer private nettworks
• The
T ability to span a resouurce pool, enaabling VMs cconnected too a private neetwork to livee on
multiple
m hostss within the same
s pool
Because cross-server
c private
p networks require a NIC with aan IP addresss, to configuure these
networks you must crreate a managgement interface. Cross-sserver privatee networks can use any
managem ment interfacee as the undeerlying netwo
ork transportt. However, iif you choosee to put crosss-
server-priivate network traffic on a second mannagement intterface, this ssecond manaagement interrface
must be on
o a separatee subnet.
• All
A hosts in th
he pool must be using thee vSwitch forr networkingg
• The
T pool musst have a vSw
witch Controlller configureed
• The
T cross-servver private network
n mustt be created oon IP-enableed NICs (thatt is, a
management
m interface)
i
Page 33
Scenarrio 4: Connecting VMs
V to Mu
ultiple Linkked VLAN
Ns
Many orgganizations to
oday configuure VLANs to o logically seeparate their pphysical netw
works for eith
her
performaance or securrity reasons. If
I your organ
nization has VVLANs, youu might want to connect yyour
VMs to one
o or more VLANsV on your
y networkk.
To conneect a VM to a VLAN, youu must createe a network ffor the VLAN N and then cconnect the V
VM
to that neetwork. To perform
p this configuration
c n, you create a separate exxternal netwo
ork for each
VLAN an nd then creatte a virtual in
nterface on th
he VM for eaach of these nnetworks.
Page 34
In the illuustration thatt follows, thee VMs conneect to a VLAN
N through a trunked switch port.
This illustrration shows hoow VMs on thhe host connect to an external network that tthe administrattor configured tto
connect to VLAN
V 485 and VLAN 234. 2 To achievve this, the adm ministrator creaated an externaal network thatt uses
NIC 5 to connect to a truunked switch port
p that includdes VLAN 4885 and a seconnd external netw work that also uses
NIC 5 to connect to VL LAN 234. The administratorr ran a cable frfrom the VLA AN trunk port to NIC 5.
1. Create
C a physiical connection between the
t correspoonding NIC oon each host and the VLA
AN
trrunk port forr that VLAN on the switcch.
For
F example, if you conneect NIC 7 on n the XenServver pool masster to a VLA
AN trunk porrt on
th
he switch witth access to VLAN
V 485, you
y must runn a cable fromm NIC 7 on all other hossts in
th
he pool to a similarly
s configured VLAAN trunk porrt on the sam
me switch, whhich can acceess
VLAN
V 485.
Page 35
2. Enable
E XenSeerver to conn nect to a speccific VLAN oon the switchh by creatingg an external
network speciifying that VL
LAN tag.
This
T means crreating an extternal network on the XeenServer poool master andd specifying tthe
VLAN
V tag wh
hen you creatte the networrk.
In
n the XenSerrver CLI, youu can use thee pool-vlan-ccreate xe commmand to crreate the VLA AN
on all hosts in
n a resource pool.
p For moore informatiion, see the X
XenServer Adm
ministrator’s G
Guide.
After
A you creaate the netwo
ork for the VLAN
V on thee pool masterr, XenServerr configures tthe
NICs
N on all th
he other hostts so that thee correspondiing NIC on eeach host
Note:
N The nuumbers of VL
LAN tags muust be betweeen 0 to 4094.
3. Connecting
C th
he appropriatte VMs to th
he VLAN by configuring a virtual inteerface that po
oints
to
o that networrk on each VM
V you want to be able too connect to the VLAN.
Inn XenCenterr, this is donee by selectingg the VM in tthe Resourcee pane, clickin
ng the Netw
work
taab, and clickiing Add Inteerface and th hen specifyinng the VLAN
N network wh hen you creatte the
in
nterface.
In the illuustration thatt follows the VMs on muultiple hosts inn a pool connnect to a VL
LAN through
ha
trunked switch
s port.
Page 36
This illustrration shows hoow, because XeenServer autom
matically synchrronizes the netwwork settings inn pools so that they
match, NIIC 7 on all hossts in the pool will
w be configurered with the samme network andd VLAN setttings as NIC 7 on
the pool maaster. However,r, for the VMs on the memberr servers to be aable to connect to the VLAN N, the administtrator
must also physically
p conneect NIC 7 on each
e host to a trunk
t port on tthe switch thatt can access VLLAN 485.
Before co
onfiguring a VLAN,
V ensuure the switch
h on your VL
LAN networkk is configurred as followss:
The port
p on the sw
witch conneccted to each XenServer hhost must be configured aas trunk portt.
The port
p on the sw
witch must be
b configured
d for 802.1q encapsulatioon.
Port security
s cann
not be set on the trunk po
ort.
The port
p designatted as trunk should
s be asssigned a nativve VLAN; use 1 as defauult.
Note: If a Native VL
LAN is used on
o the switch
h trunk port, then you cannnot assign tthat VLAN
number to
t a VM on the
t XenServeer.
Tip: To verify
v that yo
ou have confi
figured the XenServer
X hosst to commuunicate acrosss the correct
network, you can use the packet sn
niffing softw
ware includedd with your N
NICs to captuure and displlay
the VLANN tags that are
a transmitteed across the switch to thhe XenServerr.
Understtanding the
he Impact of
o Numerou
us Networkks in a Poool
Having numerous
n connnections to VLANs (forr example, 1000s) configurred on a hostt creates an
additionaal load on thee Control Doomain, which
h frequently rresults in redduced networrk performannce as
describedd.
Having numerous
n VL
LANS can alsso impact youur host, pooll, and VMs pperformance in the follow
wing
ways:
VM
V performaance may deggrade.
VM
V network service
s may degrade.
d How
wever, this caan be due to many factorrs.
Numerous
N VLLANs can slo
ow down cerrtain host (XeenAPI) operrations, such as adding an
nd
reemoving netw
works.
In additio
on, various management
m and
a administtration functiions can become slower w when there aare
numerous networks on o pools. Forr example, acctions like thee following m may take longger: joining a new
host to a pool, rebootting a host; reendering chaarts in the Peerformance taab in XenCennter.
Creating
g VLANs on
o Bonded
d Networks
1. Bond
B the two NICs togeth C bond appeaars as a bonded
her. After you have done so, the NIC
network in XeenCenter.
2. In
n XenCenterr, for examplee, create an External
E Neetwork speciifying the folllowing:
a) The VLAN’s
V tag
b) The NIC
N bond as the NIC
Page 38
You mighht want to nam
me this exterrnal networkk the same naame as the VL
LAN (for
example, VLAN
V 25).
3. When
W you creeate the virtual interface for
f the VM, sspecify the exxternal netwo
ork with the
VLAN
V tag as the network.
Creating
g VLANs on
o the Prim
mary Manag
gement Int
nterface
Page 39
Chapter 4: Specify
S ing Nettworkin
ng Requ
uirements
This chap
pter providess information
n about the following:
f
XenServer
X nettworking reqquirements an
nd support
A suggested process
p for deefining your communicattion and harddware requireements
Overv
view
This chappter helps you map your existing
e netw
working requiirements ontto XenServerr features andd
includes principles
p to note while defining
d yourr XenServer nnetworking rrequirementss. It also provvides
informatiion about XeenServer netwworking requuirements andd supported configuratio
ons.
The follo
owing illustration shows a suggested seequence or ““direction” inn which to co
onsider
networkinng requiremeents: from th
he physical en
nvironment ddown to the llayers of the virtual
environm
ment.
Page 40
This diagra
ram presents a possible
p way off defining netwoorking requiremments for a XennServer pool. It suggests that yyou
begin by ex
xamining your physical
p environment and thenn consider yourr networking reequirements by beginning at thhe
VM work kload level, definning networks required at thee host level, andd then defining yyour physical iinfrastructure
requiremennts, such as NIIC and switch configuration.
c
Introd
duction
n
The prim
mary factor th
hat drives youur networkingg requiremennts is the connnectivity neeeds of the po
ool’s
VMs and their worklooads. In some cases, you may
m choose to group VM Ms in pools aaccording to tthe
networkin
ng requiremeents of their workloads.
w This
T could eitther be due tto the:
Workloads’
W neetworking haardware requuirements sincce all hosts inn a pool musst use the sam
me
networking haardware
Page 41
Workloads’
W neetworking co
onfiguration since
s sometim mes you migght want to create pools b
based
on common networking
n reequirements so as to reduuce the amouunt of netwo
orking
co
onfiguration you must peerform
As a resuult, it helps to
o know the workloads
w youu want to virrtualize and thheir networkking requirem
ments
before yoou begin conffiguring netwworking. Likeewise, you shhould know tthe approxim mate the size of
your pool (that is, thee number of hosts).
h
XenS
Server Network
N king Su
upport and Re
equirem
ments
This sectiion provides informationn about the physical and loogical netwoorking configgurations
XenServeer supports, such
s as the number
n of NICs or netwoorks supportted. It also prrovides
informatiion about whhere to find a list of suppo
orted networrking hardwaare.
When youu are defininng networkingg requiremen nts for a poo l, it is importtant to note tthat all pooleed
hosts sho
ould have thee same numb ber and modeel of NICs, saame XenServver networkss, and physical
cabling co
onfiguration.. Because XeenServer assuumes all netw
work settings in a pool maatch, it
automaticcally propagaates any chan
nges you makke to networkk settings onn one host to all other hossts in
the pool.
XenServeer supports th
he followingg networking configuratioons:
Up
U to 16 physsical networkk interfaces (o nterfaces) per
or up to 8 paairs of bondeed network in
XenServer
X host.
Up
U to 7 virtuaal interfaces per
p VM.
Active-active
A and active-paassive bondin
ng modes aree supported. DMP and R
RDAC MPP
multipath
m hanndlers are also
o supported.
Four
F differentt types of nettworks: exterrnal, cross-seerver private,, single-serveer private, andd
VLANs.
V
SR
R-IOV provvided the NIC C used meetss the supportt requiremennts in the Citrrix XenServer
Hardware
H Comppatibility List.
Page 42
XenServer Networking Hardwaare Requirem
ments
Importan nt: Do not configure anyy networking settings untiil you have addded all the h hosts to the pool
and you finish
f physicaally connectin
ng each hostt to the approopriate switcch ports. Theen, proceed too
configuree your XenSeerver networkk settings by starting withh (and configguring only) tthe pool masster.
Defin
ning Your Netw
working
g Requiremen
nts
Defining network reqquirements fo or your XenSServer enviroonment is a mmulti-stage prrocess. Two
factors siggnificantly in
nfluence yourr network deesign and reqquirements:
1. Certain
C workloads may havve specific network
n connnectivity or pperformance rrequirementss.
2. While
W VMs in
n a pool can connect
c to diifferent netw
works, the nettwork configgurations andd
hardware on each
e host in a pool must match.
As a resuult, you mightt find it easieer to define your workloadds’ network rrequirementss before you
determinee in which seervers and po ools to host your
y VMs.
Consid
dering Workload Co
ommunica
ation Requ
uirementss
To determ mine a host’ss networkingg configuratio
on, start evaluuating requirrements at th
he lowest leveel
(that is, th
he VM/workkload) and th hen work youur way up to your organizzation’s physical network. The
networkin ng requiremeents for yourr workloads can
c ultimatelyy impact youur pool design n and which
workload ds you decidee to group toggether.
To conneect a VM to an
a external network,
n suchh as a VLAN N, you might determine th he VM’s
networkin
ng requiremeents by usingg a process likke the one inn the followinng illustration
n.
Page 43
This diagra
ram illustrates a general processs you might usse when defining
ng networking rrequirements att the workload level.
Determin ne if the workkload has anyy Some wo orkloads mighht require specific NICs ddue to
specific performance
p requirements performaance requirem ments.
that mighht change its host’s
hardwaree design. An option n for optimizzing virtualizzed Provision
ning Servicess
servers is SR-IOV – ssee “Virtualizzing the Provvisioning Servvices
Server” on
o page 81.
Consider the redundaancy For inforrmation abouut NIC bondding, see “Designing Netw
work
Page 44
Factor Action, Notes
N
or a
Page 45
Factor More infformation
Configurration
Does thiss workload reequire you See “Enaabling Promisscuous Modee for Traffic Monitoring”” on
enable prromiscuous mode?
m page 68.
Do you want
w XenServver to Citrix gen
nerally recom
mmends lettinng XenServerr automaticaally
automaticcally generatee MAC generate MAC
M addressses. See “Unnderstandingg Virtual MAC
C
addressess for the VM hosting this Addressinng” on page 26.
workloadd or do you want
w to assign n
the VM a static IP add dress?
Determ
mining Hos
st Networking Requ
uirementss
Does the workload neeed all of thee Set a quallity of servicee (QoS) restrriction on thee virtual interface
bandwidtth available or
o should it for the VM.
V See “Lim miting Bandw width Consum mption for H High
be deprio
oritized in favvor of other Demand Workloads” on page 66.
workloadds?
Storage Requiremen
R nts
Page 46
Factor More infformation
Traffic” on
o page 27 annd “Chapterr 6: Designingg Your Storaage
Network Configuratioon” on page 70.
Would th
he storage traaffic benefit Currentlyy, jumbo fram
mes are only supported fo
or storage
from con
nfiguring jum
mbo frame networks with iSCSI H HBAs and thhe vSwitch co
onfigured as the
support? networkinng bridge. Thhis means:
2. You must
m configuure the vSwittch as the nettworking briddge.
You can
c choose tto configure tthe Distributted Virtual Sw witch
solutiion or just coonfigure the vvSwitch as th
he bridge. Seee
“Decciding to Use the Distribuuted Virtual SSwitch” on p page
53.
3. You must
m configuure end-to-ennd support fo or your jumbbo
framees, including switches andd NICs that aare compatib
ble
with them.
t For m
more informattion, see “Co
onfiguring
Netwworks with Juumbo Framess” on page 78.
Do you need
n to changge duplex See CTX117568 -- Ho
How to Modify N
Network Speedd and Duplexiing.
settings on
o the host?
Review
wing Initiall Pool Des
sign again
nst Netwo
orking Req
quirementts
After youu have determmined a possiible pool dessign for a grooup of workloads, consider if any of tthe
followingg will cause problems:
p
match. hosting th
hose workloaads? If so, yoou should grooup these
workloadds in the samee pool(s). Seee “Impact off Pools on
XenServeer Networkinng” on page 15.
Cons
sidering
g Addre
essing Requirrements
s
This sectiion discussess IP addressin
ng consideraations.
How do you
y want to configure IP P Unless co
onfigured as a managemeent interface, only the prim mary
addressin
ng for the primary and managemment interfacee requires ann IP address: by default, alll
(storage) managementt interfaces? other NIC
Cs do not haave an IP adddresses.
Page 48
Calcu
ulating the Number of
o Phys
sical NIC
Cs per Host
All XenServer hosts in n a pool shouuld have the same numbeer of NICs; hhowever, thiss requiremen
nt is
not strictlly enforced when
w a XenSServer host jo
oins a pool.
Having thhe same physsical networkking configurration for XeenServer hostts within a po
ool is importtant
because all
a hosts in a pool share a common sett of XenServver networks. The NICs o on each hostt
connect to
t pool-wide networks baased on devicce name. Forr example, alll XenServer hosts in a po ool
with an eth0 NIC willl have a correesponding NIC
N plugged iinto the pooll-wide Network 0 networrk.
The samee will be true for hosts wiith eth1 NIC
Cs and Netwoork 1, as welll as other NICs present inn at
least one XenServer host
h in the po ool.
If one XeenServer host has a differrent number of NICs thann other hostts in the pooll, issues can o occur
because not
n all pool networks
n willl be valid for all pool hostts. For exam
mple, if host1 and host2 arre in
the same pool and hoost1 has four NICs while host2 only hhas two, only the networkks connected to
NICs corrresponding to
t eth0 and eth1
e are valid
d on host2. V
VMs on host11 with virtuaal interfaces
connectedd to networkks correspond ding to eth2 and eth3 willl not be ablee to migrate tto host2.
The nummber of physiccal NICs youu want on eacch host (and,, consequenttly, the pool) depends on your
required resiliency
r andd connectivitty. For an exaample of a reeason you m
might want to use addition
nal
NICs to separate
s trafffic, see “Segrregating VM Traffic from
m Managemennt and Storagge Traffic” oon
page 27.
Although
h XenServer can
c be run with
w only onee NIC on thee host, Citrix recommends having at leeast
two NICs on the hostt: one for VM
M traffic and one for mannagement traaffic. Other eexamples of h
how
you could
d use NICs in
nclude:
A best practicce is to bond the NICs for the primaryy managemennt interface aand the one ffor
VM
V traffic, wh hich means deploying
d at least
l four NIICs per host.. If you are uusing IP-baseed
sttorage, you might
m want siix NICs.
You
Y may wan nt to provide additional baandwidth forr VM traffic by adding addditional NIC
Cs to
th
he host.
Iff you are goin ng to have sh hared storagee, consider deedicating a pphysical netw
work for yourr
sttorage trafficc. In this casee, consider haaving at leastt one NIC orr HBA, or ideeally two in a
bonded or muultipathed configuration, dedicated to the storage traffic.
Page 49
Factor Action, Notes
N
Do you want
w to optim mize your The beest practice is to configurre two NICs or iSCSI HB
BAs
IP-based storage or provide for sto
orage traffic iin a bonded oor multipath
h setup.
redundan
ncy?
For bo
onding, see:
o “Creating N
Network Ressiliency throuugh Bonds” o
on
page 23.
For multipathing,
m ssee:
For inforrmation abouut adding add ditional NICss to XenServver, see CTX1121615 -- Hoow to Add
Additionall Physical NIC
Cs to XenServeer.
For an exxample of hoow to calculatte the numbeer of NICs foor XenDeskttop-XenServver deploymeents,
see the 222 February 2011 Citrix bllog post, “XeenServer for XenDesktopp - How manny network cards
do I needd?”
Calcu
ulating Bandw
width Re
equirem
ments
Estimatin
ng how muchh network baandwidth youur virtualizedd environmennt will need is a key part o
of
ensuring good VM peerformance. Because
B all VMs
V on a hosst share the hhost’s bandw width, providiing
the host with
w enough bandwidth is critical. Facctors that afffect bandwiddth requiremeents include:
Factor Action
n, Notes
Number of VMs Serrvers hostingg more VMs may require more bandwwidth, dependding
on
n the type of workload.
w Seee “Designinng Networks for Performaance”
on
n page 63.
Type of workload
w and
d Some server rooles require m more bandwiddth. For exam mple, serverss
traffic sen
nding a lot off traffic to sttorage devicees or that havve a lot of baack up
Page 50
Factor Action
n, Notes
traaffic.
Workloadd-specific In some cases, you might nneed to consttrain VMs to ensure sufficcient
bandwidtth requiremen
nts banndwidth. Forr example, yoou might wannt to configuure QoS policcies
on
n the NIC to specify a ratee limit. See ““Limiting Ban
ndwidth
Coonsumption for
f High Dem mand Workloads” on pagge 66.
Provision
ning Services A key
k concern in a Provisiooning Servicees deploymen nt, especially for
largge XenDeskttop implemeentations, is tthe IOPS reqquired for serrvers
andd target devicces when thee VMs boot. See CTX1288645 -- Design gn
Considerations for Virtualizingg Provisioning SServices.
Page 51
Chaptter 5: Designin
ng XenS
Server Networrks
This chap
pter providess an overview
w of the decissions you neeed to make wwhen designiing your
XenServeer networkingg configuratiion and contaains informaation about thhe following::
Deciding
D wheether or not to
t implementt Distributedd Virtual Swittching
Designing
D youur XenServerr networkingg configuratioon for redunddancy
Issolating traffi
fic
Designing
D forr performancce
Hardware
H and
d NIC specifi
fic configurattions
Overv
view
At a high
h level, most XenServer
X network desiggn decisions sstem from a combination n of three maajor
design go
oals: the need
d for redundaancy, perform
mance, or isoolation. For m
many organizzations, thesee
goals mayy overlap and
d are not neccessarily mutuually exclusivve.
When designing your overall netw work configurration, you m must determinne your bondding and
managem ment-interfacee requiremen nts; internal, external,
e andd storage netw
working requuirements; an
nd
VLAN co onfiguration.. You must alsoa consider your IP addrressing and D DNS configuuration. In
addition, you should consider
c youur NIC hardw ware configurration and otther NIC setttings, such as
quality off service restrrictions.
Page 52
The sections that follo
ow consider these decisioon points as tthey relate too the three prrimary design
n
goals of redundancy,
r performance
p e, and isolatio
on.
Decid
ding to Use the Distrributed Virtual Switch
h
As of Xen nServer 6.0, the new Xen
nServer vSwittch componeent is the deffault networkking
configuraation. Howevver, you can still
s use the Linux
L bridge,, which was tthe default n
networking
configuraation prior to
o XenServer 6.0,
6 by runniing an XE coommand to cchange your n networking
configuraation.
Citrix reccommends th hat customers creating neew XenServerr pools use thhe XenServeer vSwitch
componeent for netwo d for future rreconfiguratiion. As of XenServer 6.0,
orking to prevvent the need
Citrix is discontinuing
d g active devellopment on the
t Linux brridge and mayy discontinuee support forr the
Linux briidge in futuree releases.
This illustrration shows hoow the vSwitch Controller cann display whichh VLANs aree used by whichh virtual machiines
and let youu display these VLANs from m one central usser interface.
Page 53
The Distrributed Virtuual Switch solution provid
des:
Quality
Q of Serrvice (QoS) policies.
p
Fine-grained
F security
s policcies. You cann create accesss control listts by using th
he vSwitch
Controller
C and
d restrict certtain types off traffic to speecific VMs.
Visibility
V into XenServer networking
n th
hrough standdard tools annd protocols, such as RSP
PAN
an
nd NetFlow.
Siimplified adm
ministration of
o virtualized
d networkingg environmennts.
XenServer
X Open vSwitch h. The XenServer Open vvSwitch, or ““vSwitch,” iss the actual
networking co omponent ruunning on eacch XenServeer host. The X XenServer O Open vSwitch
h is a
viirtualization--aware switch
h. This switch
h is referred to as an Openn vSwitch.
Distributed
D vSwitch
v Conntroller. Thee Distributedd vSwitch Conntroller is co
onsole on a
ceentralized serrver, which is distributed as an appliannce, that mannages and cooordinates th he
behavior of eaach individuaal Open vSwi witch to proviide the appeaarance of a siingle distribuuted
viirtual switch.. If you wantt to manage all
a the vSwitcches on your hosts centraally and have
th
hem function n as a single switch,
s you must
m downlo ad the Distriibuted vSwitcch Controlleer
ap
ppliance.
From a conceptual peerspective, th he vSwitch fuunctions the ssame way as the existing Linux bridgee.
Regardlesss of whetherr or not you use the Distrributed Virtuual Switch orr the Linux b bridge, you caan
still use th
he same netw
working featuures in XenC Center and thhe same xe neetworking co ommands listted in
place the existing
the XenSeerver Administtrator’s Guide. In the diagrams throughhout this guidde, if you rep
“networkk” icons, whicch represent the Linux brridge, with a vSwitch, thee concepts reemain the sam me.
Because networking
n is a pool-leveel feature, if you
y want to uuse the Distrributed Virtual Switch
solution, you must co
onfigure all hoosts in the poool to do so..
Citrix reccommends seetting up the networking configurationn you want ((vSwitch or L Linux bridge))
before yoou put your pool
p into pro oduction. Thee vSwitch is tthe default nnetworking co
onfiguration,, but
Page 54
the Distriibuted Virtuaal Switch soluution, which includes thee vSwitch Coontroller Virtuual Appliancce, is
not confiigured by deffault.
To ensure that XenSeervers can alw ways reach ann active vSwiitch Controlller, we recommmend the uuse of
Citrix Higgh Availabilitty for the vSw witch Contro
oller VM. Reefer to the XeenServer Adm ministrator's
Guide forr instructions on enablingg high availab bility. Becausse continuouus operation o
of the DVS
Controlleer is critical to
o the operatiion of networking for all virtual machhines, the vSw
witch Controoller
VM restaart-priority sh hould be set to
t 1 and ha-aalwaysrun sshould be sett to true.
Configuriing the Distrributed Virtual Switch sollution requirees that you ddownload thee vSwitch
Controlleer Virtual Appliance fromm My Citrix.com. The vSw witch Controoller Virtual A
Appliance lets
mplementatioon. For information abouut using the
you manaage your Disttributed Virttual Switch im
controllerr, see CTX1330423 - Citrix
x XenServer 6.0
6 vSwitch Co ntroller User GGuide.
Revertin
ng to the Lin
nux Network
king Config
guration
Considerrations:
All
A hosts in thhe pool must use the same networkingg backend. D Do not configgure some ho
osts
n the pool to use the Linuux bridge and
in d others to u se the vSwitcch bridge.
When
W you aree changing yo
our hosts to use
u a differennt network configuration n, you do nott need
to
o put the hossts into Main
ntenance mod de. You just nneed to run tthe xe-switcch-network--
backend com mmand on each host and reboot the hhosts.
Page 55
Desig
gning Network
N k Redundancy
y
As pressuure on organiizations to en nsure networrk connectiviity and availaability for corrporate resouurces
increases,, it is becomiing importan nt to improvee network ressiliency by ennsuring redun ndancy at all
network infrastructur
i e levels. Citriix recommen
nds that you consider thee following neetwork failurre
points whhen considering redundan ncy:
1. Network
N card
d.
2. Network
N cable (for examp
ple, if it is disconnected orr damaged).
3. Sw
witch (for exxample, if thee power supp
ply fails). Youu also might need to takee switches offfline
fo
or planned ouutages, such as firmware upgrades.
Cons
sidering
g NIC Bonding
B g
As previo
ously discusseed in “Creatiing Network Resiliency thhrough Bondds,” XenServver lets you b
bond
any combbination of tw
wo NICs, inccluding the ones
o that perfform the folllowing functiions:
Primary
P man
nagement in nterfaces. Yoou can bond a primary m management interface to
an
nother NIC so that the seecond NIC provides
p failoover for mannagement trafffic. Howeveer,
NIC
N bonding does not pro ovide load baalancing for mmanagementt traffic.
NICs
N (non-m
managemen nt). You can bond
b NICs tthat XenServver is using so olely for VM
M
trraffic. Bondin
ng these NIC
Cs not only provides
p resilliency, but dooing so also b
balances the
trraffic from multiple
m VMs between thee NICs.
Other
O manag gement inteerfaces. You can bond N ICs that youu have configgured as
management
m interfaces
i (fo
or example, for
f storage). H However, for most iSCSII software
in
nitiator storagge, Citrix reccommends co onfiguring m
multipathing innstead of NIIC bonding ssince
bonding manaagement inteerfaces only provides
p failoover without load balanciing.
When con nsidering whhether or nott to bond NICs, weigh yoour requiremeent for redun ndancy and looad
balancingg against the number of seeparate subn nets and VLA ANs each poool requires. A
Although youu can
configuree XenServer with
w sixteen physical NIC Cs per serverr bonding NIICs reduces tthe number oof
physical networks
n youu can connecct into a host by half. XennServer suppports a maxim
mum of eightt
bonds.
Page 56
The illusttration that fo
ollows shows the differen
nces betweenn the three diifferent typess of interfacees
that you can
c bond.
This illustrration shows hoow, when configgured in Activee-active mode, tthe links that aare active in boonds vary accordding to
traffic type.. In the top piccture of a manag
agement network k, NIC 1 is aactive and NIC C 2 is passive. F For the VM trraffic,
both NICss in the bond are a active. For the
t storage traffffic, only NIC 3 is active andd NIC 4 is passsive.
Page 57
Selecting a Type
e of NIC Bonding
B
When youu configure XenServer
X to
o route VM traffic
t over bbonded NICss, by default, XenServer
balances the load betw
ween the twoo NICs. How wever, XenSeerver does noot require youu to configurre
NIC bonds with load balancing (aactive-active).. You can coonfigure eitheer:
Active-active
A e bonding mode.
m XenSeerver sends nnetwork trafffic over both NICs in a lo
oad-
balanced
b man nner. Active-active bondin ng mode is ththe default boonding modee and withouut any
additional
a con
nfiguration itt is the one XenServer
X usses.
Active-passiv
A ve bonding mode. XenSServer only seends traffic oover one NIC C in the bonded
pair. If that NIC
N loses connnectivity, thee traffic fails over to the N
NIC that is n
not being useed.
Unders
standing Active-Act
A tive NIC Bonding
B
When youu bond NICs used for guuest traffic in
n the default aactive-active mode, XenSServer sends
network traffic
t over both
b NICs in
n the bonded pair to ensuure that it doees not overlo
oad any one N
NIC
with trafffic.
Importan nt: When creeating bonds, always wait until the bonnd is finishedd being creatted before
performinng any other tasks on thee pool. To deetermine if X
XenServer hass finished creeating the bo
ond,
check thee XenCenter logs.
Page 58
In this illuustration, VM 3 is sending thhe most data (330 megabytes peer second) acrosss the network,, so XenServerr sends
its traffic across
a NIC 2. VM 1 and VM V 2 have the lowest amounts ts of data, so X
XenServer sendss their traffic ovver
NIC 1.
This illustrration shows hoow after ten secconds, XenServver reevaluates tthe amount of traffic the VM
Ms are sending. When
it discoverss that VM 2 iss now sending thet most traffic,, XenServer reedirects VM 2’s traffic to NIIC 2 and sendss VM
3’s traffic across
a NIC 1 instead.
i
Page 59
The load balancing alggorithm XennServer uses for
f active-acttive mode coonfigurationss is its own
proprietaary algorithm known as So
ource Level Balancing
B LB) NIC bonnding. SLB is based on th
(SL he
open-souurce Linux Ad daptive Load
d Balancing (ALB)
( mode..
Because SLB
S bondingg is an active--active modee configuratioon, XenServeer routes trafffic over bothh
NICs simmultaneously. XenServer does d not load
d balance maanagement annd IP-based storage traffiic.
For thesee traffic typess, configuringg NIC bondiing only provvides failoverr even when the bond is iin
active-acttive mode.
Unders
standing Active-Pas
A ssive NIC
C Bonding
When XeenServer is ruunning NIC bonds
b in an active-passivve configuratition, XenServver routes traaffic
across onne NIC in thee bond only: this NIC is the
t only activve NIC. XennServer does not send traffic
over the other
o NIC in o that NIC iss passive, waitiing for XenSServer to rediirect traffic to it if
n the bond so
the activee NIC fails.
Note: oth
her-config:b
bond-mode=
=active-backuup is still suppported for bbackwards co
ompatibility.
When
W you aree connecting one NIC to a switch thatt does not woork well with
h active-activve
bonding.
For
F example, if the switch does not wo ork well withh active-activee bonding, yo
ou might seee
syymptoms likee packet loss, an incorrecct ARP table on the switch, the switch h would not
uppdate the AR
RP table corrrectly, and/orr the switch wwould have iincorrect settings on the ports
(yyou might co
onfigure aggreegation for thhe ports andd it would not work).
When
W you do not need loaad balancing or when youu only intendd to send trafffic on one NNIC.
For
F example, if the redund dant path usees a cheaper ttechnology ((for example,, a lower-
performing sw witch or exterrnal up-link) and that resuults in sloweer performance, configuree
acctive-passive bonding insstead.
Notee: As of XenSServer 6.0, thhe vSwitch no ow supports active-passivve NIC bondding. If you aare
usingg the vSwitch as your netw working conffiguration, yoou can set thee bonding m
mode to activee-
passivve (also know
wn as active-baackup) using the XenCentter or the CLLI.
Page 60
Ensurin
ng Resilie
ence throu
ugh Redun
ndant Switches
When youu bond NICs, you can co onnect the lin
nks to either the same or separate swiitches, depennding
on your redundancy
r requirements
r . If you conn
nect one of thhe links to a second, reduundant switch
h
and a NICC or switch fails,
f traffic fails
f over to thet other linkk.
When
W you bon nd NICs useed exclusivelyy for VM trafffic, traffic iss sent over bo
oth NICs. Iff you
co
onnect a linkk to a second
d switch and the t NIC or sswitch fails, tthe virtual maachines remaain
on the networrk since theirr traffic fails over
o to the oother NIC/sw witch.
When
W you con nnect one off the links in a bonded priimary managgement interfface to a seco ond
sw
witch, it prevvents a singlee point of faillure for yourr pool. If the switch fails, the managem
ment
network still remains
r onlinne and the ho osts can still communicatte with each o other.
Page 61
Bondin
ng Manage
ement Interfaces and MAC A
Addressin
ng
Because bonds
b function as one loggical unit, bo
oth NICs, reggardless of wwhether the b
bond is activee-
active or active-passivve, only have one MAC ad ddress betweeen the two oof them. Thaat is, unless
otherwisee specified, th
he bonded paair uses the MAC
M addresss of the first NIC in the b
bond.
In
n XenCenterr, the first NIIC in the bon
nd is the NIC
C assigned thhe lowest num
mber. For
exxample, for a bonded NIC named “Bond 2+3,” thhe first NIC in the bond is NIC 2.
When
W creatingg a bond usinng the xe bonnd-create coommand, thee first PIF lissted in the piff-uuids
parameter is th
he first NIC in the bond..
Best Prractices fo
or Bonded
d Interface
es
Citrix stro
ongly recomm mends configguring NIC bonding
b on tthe pool masster after youu join all mem
mber
servers to
o the pool an
nd before youu create VMss. While it is ttechnically ppossible to ch
hange NIC
bonding afterwards,
a itt can create issues.
i
Immportant: Do D not join a host that alrready has a b ond configurred on it to a pool withouut
fiirst deleting the
t bond.
Ideally, fo
or maximumm performancce, configure NIC bonds for VM trafffic and isolatee management
traffic on
n its own netw
work. Howevver, note the following:
Page 62
Separrating managgement, storaage and VM traffic
t across different NIICs helps preevent conten
ntion
for neetwork resouurces between n the manageement, VM, and storage nnetworks. However, unleess
you bond
b interfacces, they do not
n provide redundancy.
r
Usingg the same bo onded interfaace rather than two separrate NICs forr managemen nt and storagge
trafficc can decreasse performan
nce, as all trafffic will go thhrough the saame NIC.
Cs in the bon
Both NIC nd must havee the same frame size (MT TU). You cann edit the fraame size in
XenCenteer when you create the bo
ond. For add
ditional inforrmation, see ““Configuringg Networks w with
Jumbo Frrames” on paage 78.
Confi
figuring two different
d netw
work up linkks (subnets) ffor each NICC in the bondd. Not only iss this
a requuirement, it helps
h ensure a network coonnection if there are issuues (unrelateed to hardwarre or
switchhes) on one subnet.
Where boonding requirrements varyy by workloadd type, consiider groupingg workloads with matchin ng
bonding requirements
r s and NIC co onfigurationss in the samee pool. Citrixx makes this ssuggestion
because XenServer
X auutomatically configures
c id
dentical netwworking configgurations acrross all hostss on
the pool.
Desig
gning Network
N ks for Perform
P mance
If perform
mance is a go
oal for your XenServer
X neetworking coonfiguration, consider youur I/O and
performaance requiremments.
The I/O requirementts of the workloads you are virtualizinng determine how you sho
ould configuure
the physical NICs in each
e server (and, by exten
nsion, each ppool).
Page 63
Analyzingg the traffic levels
l of the workloads
w may
m show, forr example, thhat traffic levvels let some
hosts shaare a common n external neetwork while other worklooads may reqquire access tto dedicated
NICs to support
s theirr requiremennts. To impro
ove throughpput, you can iimplement N NIC bondingg:
XenServeer uses Sourcce Load Balan ncing (SLB) to share loadd across bondded NICs.
It should be noted, hoowever, that bonding hass the potential to increase tthroughput o
only when VM M
traffic is not
n balanced
d between NIICs. If VM trraffic is alreaady balanced between sep parate NICs,
bonding will
w not increease throughput.
One of th he most impo ortant factorrs for network performannce is CPU uttilization. Th
he CPU utilizzation
of your workloads
w hass a significan
nt impact on network throoughput. As the CPU dem mands of
workload ds increase, th
he effective network
n perfformance maay degrade. T
The impact off CPU utilizaation
is discusssed throughoout this sectio
on.
Negativee Impact
Many
M VLAN Ns in a Pool. If you have a lot of VLA ANs starting one or moree hosts in a p
pool
will
w be slower. Likewise, jo
oining a hostt to a pool wiill be slower. However, h
having many
VLANs
V will not
n affect nettwork througghput.
Load
L on NIC Cs. Some mo work cards require firmwaare upgrades from the ven
odels of netw ndor
to
o work reliabbly under loadd, or when ceertain optimiizations are tturned on. Iff you are seeing
coorrupted trafffic to VMs, you
y should first
f try to obbtain the latesst recommen nded firmwarre
frrom your venndor and app ply a BIOS up pdate. If thiss does not resolve your isssue, contact
Citrix
C Techniccal Support.
Potentiaally Beneficial
NIC
N Bonding. By bondin ng two NICss together, yoou can increaase the total aamount of
th
hroughput avvailable by beetter balancin
ng the traffic. While bondding NICs do oes not affecct the
to
otal bandwidth available --
- the bandw width availablee is the samee as the comb
bined bandwwidth
of the two ind
dividual NICs – bonding can make beetter use of avvailable resources.
Upgrading
U thhe NIC. Proovided infrasttructure that can supportt such interfaaces is in placce,
up
pgrading thee NIC (for exxample, from
m a 1 gigabit N
NIC to a 10 ggigabit NIC can improvee
performance)..
Im
mplementin ng jumbo fraame supportt can improvve performannce for storagge traffic. Forr
more
m informaation about using
u jumbo frames
f with sstorage, see ““Chapter 6: D
Designing Yo
our
Sttorage Network Configurration” on paage 70.
Page 64
Im
mplementin ng SR-IOV forf Provision ning Servicess server traffiic. As of Xen
nServer 5.6
Feature
F Pack 1, XenServerr supports SRR-IOV. For m more inform mation, see “VVirtualizing th
he
Provisioning
P Services
S Servver” on page 81.
Testing
g XenServ
ver Netwo
ork Performance
You can observe a ho
ost’s networkk performancce in several w
ways, includiing using the XenCenter
Performaance tab, Xeen command ds like xentop
p and xenmoon, and netw working testinng tools, such
h as
Iperf.
Before yo
ou begin testiing the perfo
ormance of your
y XenServver network cconfiguration
n, you shouldd
understan
nd what perfformance youur hardware can
c theoreticcally support..
To test th
he performan
nce of your XenServer
X neetwork configguration on a specific XeenServer hostt:
2. Exammine the throughput of yo our network, as your netwwork testing tool recordedd it.
Comp pare the recoorded throughput level wiith what youur hardware ccan theoreticaally support.
For example,
e if yo
ou know thatt your NIC supports 1 giggabit of throughput, thenn you should be
gettin
ng a number close to that as your netw work throughhput keepingg in mind it iss not possiblee to
achievve the limit since
s there is always somee overhead.
In XenCenter, select th
he host, and use the Perfformance tabb in XenCen
nter to check the
following::
Page 65
What to do next?
1. Experiment with the number of processingg threads (vss. the availablle virtual CPU
Us) on the V
VMs.
2. Reconnsider your VM
V to host ratio.
r You maay need to reeduce the num mber of VM
Ms on a host, o
or
host a different mixture
m of wo
orkloads, to obtain
o the neetwork perforrmance you w
want.
4. Ensure VM trafficc is evenly diistributed acrross physical CPUs. For m more inform
mation, see
CTX127970 -- Diistributing Gueest Traffic Overr Physical CPU
Us in XenServver.
Citrix reccommends ruunning these tests on a piilot environm ment before ffinalizing youur hardware
requiremeents and oveerall design. These
T tests may
m indicate tthat you needd additional n network
connectio ons, to rearraange workloaad groupings,, to purchasee more NICss, purchase NNICs that sup pport
different configurations than you originally inttended (for exxample, jumbo frames orr SR-IOV) an nd so
on.
Limiting
g Bandwid
dth Consu
umption fo
or High Demand W
Workloads
In enviro
onments where the worklo oads send a lot
l of data annd can potenntially consum
me a lot of
network bandwidth,
b you
y might waant to limit thhe amount o f data these wworkloads caan send and slow
down thee transmission rate. This helps
h ensure other VMs oon the host rreceive adequuate networkk
transfer rates.
r
To limit data
d transfer speeds, you can specify a maximum ttransfer rate in kilobytes p per second ((or
p second in the CLI) wh
kilobits per hen you creatte the VM’s vvirtual interfa
face(s) or at a later time. W
When
you limit the transfer rate, you aree doing so forr all the data that VM sennds over the virtual interfface
ociated netwo
to its asso ork link. If th
hat VM uses multiple nettwork links aand you wantt to limit the
transfer rate
r for all off them, you must
m create a QoS limit inn each virtuall interface fo or each netwo ork
link.
Page 66
Setting lim
mits can be particularly
p useful when different
d orgaanizations ow
wn different V
VMs on the same
host sincee it helps enssure each VM
M gets a fair share
s of netw
work bandwiddth.
If you waant to limit data transmisssion on moree than one viirtual interfacce on a VM, you must
configuree each virtuall interface to have a QoS limit.
In
n the vSwitcch Controlleer. For pools using the vSSwitch and thhe Distributeed Virtual
Sw
witching soluution, configgure the QoS setting in vSSwitch Contrroller.
Using
U the viff-param-set xe comman nd. For exam
mple, to limit a virtual inteerface to a
maximum
m trannsfer rate of 100 kilobits per second ((kbps), use thhe commandd:
xe
e vif-para
am-set uuid
d=<vif_uui
id> qos_alg
gorithm_ty
ype=ratelim
mit
xe
e vif-para
am-set uuid
d=<vif_uui
id> qos_alg
gorithm_pa
arams:kbps=
=100
You do not
n need to create a QoS limit for all virtual
v interfaaces/VMs thhat use that n
network link. You
only need
d to set limitss on the VMss you want to
o constrain.
Examplee: Calculatin
ng Bandwid
dth Limits
Max Raate Transfer per VIF = (NIC speed in kilobitss per second/num
mber of VIFs)**desired network
k utilization % ((e.g.,
70%)
An examp
ple of the ap
pplication of this
t formula is as followss:
Assumingg a desired network utilizzation of 70%%, you can thheoretically limmit each virttual interface
bandwidtth to 1,468,0006 kilobits peer second (orr 183,500 kiloobytes per seecond).
To obtain
n this numbeer, we used th
he following calculations::
1. A 10Gigabit NIC
N = 10,4885,760 kilobitts per secondd
2. 100,485,760/5 virtual interffaces = 2,0977,152 kilobitss per second (per virtual iinterface)
3. 2,,097,152 * 700% = 1,468,0006 kilobits per
p second m maximum trannsfer rate (peer virtual
in
nterface)
4. 1,,468,006 kilo
obits per secoond/8=183,5500 kilobytess per second. XenCenter rrequires you
en
nter the rate limit in kilob
bytes per seco
ond.
Page 67
After determining thee maximum transfer
t rate per
p virtual innterface, you can then inccrease or decrrease
this valuee on each VM
M according to
t its bandwiidth needs.
Note: Th he virtual inteerface QoS rate limit settiing is differennt than the vvirtual disk Q
QoS disk prio ority
setting. The
T virtual disk QoS settin ng is a storagge configurattion that lets you assign p priorities to vvirtual
disks so that
t disks witth higher prio ority are acceessed faster tthan other disks. The XennServer
Administrrator’s Guide describes
d both
h of these seettings in morre depth.
Addittional Conside
C erations
This sectiion discussess an additional considerattion for yourr networking configuratio
on.
Enablin
ng Promis
scuous Mo
ode for Trraffic Mon
nitoring
XenServeer supports promiscuous
p mode, an Etthernet confiiguration for NICs in wh hich the NIC
receives all
a traffic on its
i link insteaad of only the frames adddressed to thaat NIC’s MA AC address.
Organizaations may usse promiscuo ous mode forr a variety of reasons, succh as requirem ments from
transpareent proxies orr specialized traffic monittoring, securi
rity, and troubbleshooting applications.
You can enable prom miscuous modde at both thee VM and XeenServer hosst (physical server) levels.. That
is, you caan configure promiscuous
p s mode for both the virtuual interfaces and physicall NICs.
Run
R software (for examplee, software fo or a switch) oor integrate aan appliance that requiress
viisibility into all
a traffic passsing across the
t physical N NIC to which it is connected. For
co
onfiguration instructions,, see CTX116493 -- How to Enable Proomiscuous Modde on a Physicaal
Network
N Card.
Page 68
Seee all traffic going
g across the networkk (specificallyy, the virtual switch) betwween the NIC
C
(P
PIF) and a VM’s
V virtual in
nterface. Insttructions for implementinng this configguration app
pear
in
n CTX121729 -- How to Configure
C a Proomiscuous Virttual Machine iin XenServer.
If your go
oal is to see all
a traffic VM
Ms send acrosss a specific nnetwork acrooss a pool, yo
ou may need to
configuree promiscuouus mode on a virtual interrface on a VM M in every host in the poool.
If you aree using the vSSwitch Contrroller introduuced in XenSServer 5.6 Feeature Pack 11, you can usee
RSPAN instead
i of promiscuous mode
m to displlay traffic. Thhe vSwitch C
Controller alsso includes
functionaality for mirro
oring.
Promisccuous Mod
de and Secu
urity
Page 69
Chapter
C r 6: Des
signing
g Your S
Storage
e Netwoork
Configuration
The
T need to create
c a separrate storage network
n
How
H to assign
n IP addressees to NICs
How
H to impro
ove performaance for storage traffic
Guidance
G abo
out choosing between NIC bonding annd multipathhing for storaage
An extensive discussio
on of storagee configuratio
ons is beyonnd the scope oof this docum
ment.
Overv
view
This chap
pter is design ou configuree your IP-bassed storage coonfiguration so that it has
ned to help yo
redundanncy and gets the
t best netwwork performmance with thhe lowest imppact on otheer network traaffic.
Other tecchniques disccussed in thiss chapter that improve peerformance innclude jumbo frames.
Page 70
Creatting a Separat
S te Stora
age Nettwork
Citrix reccommends deedicating onee or more NIICs as a sepaarate storage network for NFS and iSC CSI
storage immplementatio
ons. Many coonsider creatiing a separatee storage nettwork to be a best practicce.
By configguring additio
onal managemment interfaces, you
y can bothh assign an IP P address to a NIC and
isolate sto
orage and network trafficc, provided th he appropriatte physical coonfiguration is in place. T
The
term man nagement interface refers to any NIC assigned an IP address foor identificattion purposess.
(The primmary managemment interface, which is in ntroduced in “Networkinng Configurattion after
on” on page 14, is a typee of managem
Installatio ment interfacee.)
Tip: To figure
f out whhich NIC is the
t primary management
m interface, in XenCenter, click the
Networkk tab, in the Management
M t Interfaces section, checkk the Interfacces column ffor the word
“Primary.”
You can segregate traffic by configguring an add ditional mannagement inteerface(s) for storage and
configuree XenServer to
t access storage through h that interfacce. Then, phhysically isolaate the guest
network and
a configurre virtual macchines to onlly use that isoolated netwoork. Ideally, th he network
should bee bonded or use multipath hing, as desccribed in “Chhoosing to Ennable Multip pathing Support
or Bond NICs.”
N
3. Creatin
ng a managem
ment interfacce to use the new networkk.
3. Configguring redund
dancy, either multipathingg or bondingg.
Page 71
This illustrration shows hoow the bond maade from NIC Cs 3 and 4 is coonfigured as a mmanagement innterface. XenSeerver
sends its sttorage traffic ovver this NIC boond onto the sto
torage network and, ultimatelyly, the storage aarray. The explloded
diagram shhows how each NIC N in the boond connects to a different swittch.
Creating managementt interfaces leets you establish separate networks foor, for examp
ple, IP-based
traffic pro
ovided:
You
Y do not co onfigure Xen nServer to use this networrk for any otther purpose (for example, by
pointing a virttual interfacee to this netw
work).
The
T appropriaate physical network
n conffiguration is iin place.
For exam
mple, to dediccate a NIC too storage trafffic, the NIC , storage targget, switch, an
nd/or VLAN
N
must be configured
c (pphysically con
nnected) so that
t the targeet is only accessible over the assigned
NIC.
Page 72
bond, youu must createe a managem
ment interfacee or reuse thee IP address assigned to tthe primary
managemment interfacee.
In other words,
w you can
c assign a XenServer
X P address for your storagee array to con
IP nnect to by eeither:
Configuring
C additional
a (no
on-primary) management
m t interfaces soo you can asssign IP addreesses
to
o NICs besid
des the primaary managem
ment interfacee for routing storage trafffic.
Routing
R storagge traffic thrrough the primary manageement interfa
face -- since tthe primary
management
m interface
i has an IP address this will w
work.
Assigning IP Add
dresses to
o NICs (M
Manageme
ent Interfa
aces)
You can configure ad
dditional man
nagement inteerfaces in XeenCenter andd using the xee commandss. To
do so in XenCenter:
X
Page 73
3. The Managemen
M nt Interfacess feature is fo
ound on thiss tab. Instructions for connfiguring
manaagement interrfaces varies by XenCenteer release. Seee the XenCennter Help for more
inform
mation.
Tip: If yoou want to dedicate a NIC C for storagee, check XennCenter to maake sure thatt the NIC’s
associatedd network is not configurred so that it is added to tthe VMs by default. To ddo so, in the
Network ks tab, right-cclick <your--storage-nettwork> > Prroperties. Cllick Network k Settings annd
make sure the Autom matically add d this netwo ork to new vvirtual mach hines check b box is not
selected.
Page 74
Configuring
g Redun
ndancy
y for Sto
orage T
Traffic
For envirronments thaat want redun ndancy for thheir network storage trafffic, XenServeer supports NNIC
bonding and
a multipatthing, includiing iSCSI HB BA multipathhing and softtware iSCSI m multipathing. The
term multtipathing referrs to routing storage traffi
fic to a storagge device oveer multiple paaths for
ncy (failover) and increaseed throughpuut.
redundan
Bonding NICs or con nfiguring mulltipathing hellps provide rredundancy iin case of parrtial networkk
failure. Redundancy
R helps
h preventt interruption
ns to disk reaads and writees. Interruptin
ng disk readss and
writes cann lead to gueest operating system failurre if the VM consequentlly disconnectts from the
remote diisk.
Citrix stro
ongly recomm mends that you
y do not mixm NIC bondding and iSC CSI multipath hing. There iss no
benefit frrom layering multipathingg and NIC boonding on thhe same connnection. Afteer you enablee
multipathhing, you nott only have better perform
mance but yoou also have tthe failover tthat bondingg
would haave provided..
Note: XeenServer supports multipathing for Fiibre Channell and iSCSI SSANs. Howeever, multipatthing
for Fibre Channel SA ANs is not disscussed in deepth in this gu
guide since traaffic for Fibrre Channel ggoes
across a Fibre
F Channeel network annd not a TCP P/IP networrk. For inform mation aboutt Fibre Chan nnel
multipathhing, see the XenServer
X Addministrator’s Guide
G and thee Citrix Know wledge Centeer.
Choosiing to Ena
able Multip
pathing Support orr Bond NIC
Cs
Citrix reccommends co
onfiguring multipathing
m in
nstead of NIIC bonding w
whenever possible.
Page 75
This illustrration shows hoow, for storage traffic, both paaths are active wwith multipathhing whereas onnly one path is aactive
with NIC bonding.
Citrix reccommends ussing multipatthing when you y have blocck-based throoughput (forr example, iSCSI
software initiator trafffic). The exceeption to this is if, when the storage aarray is connected to
XenServeer, it does noot work with multipathingg.
Page 76
Consider using NIC bonding
b insteead of multip
pathing whenn:
• You
Y have an NFS
N storage device.
• Your
Y storage device
d does not
n support iSCSI
i conneections over m
multiple IPs (for examplee,
Dell
D EqualLoggic or HP LeeftHand SAN N).
The follo
owing table sh
hows the sup
pported proto
ocols for muultipathing annd NIC bondding:
Multipathin
ng N
NIC Bonding
g
Tip: To determine
d whhat XenServeer hosts havee multipathinng enabled onn them, checck Multipath
hing
in the Geeneral tab in XenCenter.
For inforrmation abouut configuringg iSCSI multtipathing, seee CTX1293099 -- Configurinng iSCSI
Multipathiing Support forr XenServer.
Sugggestions
s for Im
mprovin
ng Stora
age Ne
etwork
Perfo
ormance
This sectiion provides guidance forr improving storage netw
work perform
mance for iSC
CSI storage an
nd
jumbo fraames.
Other meethods of imp proving storage network performancee were discusssed in this cchapter. Thesse
include crreating a separate physicaal network fo
or storage traaffic, and wheen possible, cchoosing
multipath
hing for reduundancy sincee it both links are active, wwhich improoves throughp put over NIC
C
bonding.
iSCSI Storage
S
Provided iSCSI storagge is configurred correctlyy it can providde performannce comparaable to Fibre
Channel.
iSCSI SA ANs consumees more CPU U cycles on thhe host than NFS and Fibbre Channel do. Because CPU
utilization
n can affect network
n perfformance, thiis should be considered wwhen sizing hhardware andd
designingg pools. How wever, it shouuld also be no
oted that usinng an iSCSI hhost bus adap
ptor (HBA) can
offload thhe processingg for higher performance
p e.
Citrix reccommends ussing high perrformance neetwork switchhes for iSCSI SANs to acchieve betterr
iSCSI perrformance. Citrix
C also reccommends ussing redundaant iSCSI nettwork connecctivity for alll
implemen ntations.
Page 77
It is particularly important to sepaarate iSCSI sttorage traffic from managgement and V
VM guest traaffic
since it caan interfere with
w non-storrage traffic.
Configu
uring Netw
works with
h Jumbo Frames
F
Configuriing XenServeer networks to use jumbo o frames can improve perrformance foor storage traaffic.
Jumbo frames are Eth hernet frames containing more than 11500 bytes off payload. Jum
mbo frames are
typically used
u to achieeve better thrroughput, red
ducing the looad on system
m bus memoory, and reduccing
the CPU overhead.
When dettermining wh
hether your network
n perfformance willl benefit from
m jumbo frames, consideer the
followingg:
o Jumboo frames mayy help with sllower CPUs if your NICss do not havve a TCP Offfload
Engin
ne (TOE) sup pport. Jumbo o frames are lless apt to reeduce CPU ooverhead with h
more intelligent
i giggabit NIC caards since theese cards cann process mo
ore of the paccket
headerrs on their ow
wn.
Different
D typees of workloaads may havee their own ooptimum paccket sizes.
o For transactions th hat require hiigh responsee times, enablling jumbo fr frames may n not be
helpfuul. Jumbo fraames may reqquire more buuffering in thhe network, aand, as a resuult,
the lattency for a paarticular item
m of data migght be higherr. (Larger pacckets take lonnger
to asseemble and more
m bandwid dth per packeet.) As a resuult, if you neeed high respo
onse
times, bigger packeets are not ass good as smmaller packetss.
Generrally, if the sp
peed of the network
n and the need for high througghput increases, it
is prob
bably be goo od to increasee the size of tthe packets.
When
W the trannsfer size is, on
o average, relatively
r smaall, the beneffits from jum
mbo frames m
might
not be significcant.
Page 78
The
T performaance gains fro om jumbo fraames vary acccording to thhe type of prrotocol and tthe
tyype of traffic. When VM M traffic is on the same neetwork as storage traffic, iif the VM traaffic
iss latency senssitive, for exaample Voice--Over-IP trafffic, configurring Quality oof Service
priorities in sw
witches and on o virtual intterfaces may be necessaryy to ensure th
he performan nce
of the voice trraffic.
Traffic
T that haas relatively large
l block siizes at the appplication layyer may beneefit from jum
mbo
frrames since large block siizes make it easier
e for thee TCP/IP staack to use larrge frames.
External
E netw
works.
Private
P netwo
orks. For exam
mple, you co
ould enable juumbo frame support on a cross-serveer
private network.
Citrix stro
ongly recommmends speciffying jumbo frames whenn you create the managem
ment interfacce for
the storagge network.
To implement jumbo frame suppo ort for bondeed networks,, you specify the MTU fo or both NICss in
the bond when you crreate the bon
nd. In XenCeenter, there iss an MTU teext box in th
he Create Bo
ond
ox and in the New Netwo
dialog bo ork wizard.
Requirem
ments for Using
U Jumbo
o Frames
All
A NICs transmitting jum
mbo-frame traaffic must suupport the traansmission uunit speed youu
want
w to configgure and be on
o the XenSeerver Hardwarere Compatibility
ty List.
The
T network segment wheere you want to transmit the jumbo frrames must h have equipmeent
(ffor example, the NICs an
nd switches) that
t supportss the frames in all segmen
nts, from endd-to-
ennd.
When
W creatingg virtual interrfaces and co
onfiguring N
NICs (PIFs), yyou must con
nfigure all
in
nterfaces on the
t network where you want w to suppoort jumbo fraames with th he same number
of MTUs.
Citrix also
o recommen
nds ensuring all
a componen
nts on the daata path are ttested for intteroperabilityy.
Page 79
To achievve optimum performancee, Citrix recommends thaat networks ccarrying jumb bo frames usee
equipmen nt with the saame transmisssion speed (for
( example,, 1 Gigabit). T This is to pro
omote the
hernet from standardizatiion. While 100/100 Mbps networks may
efficiencyy gains you acchieve in Eth
support juumbo frames, for optimuum performaance Citrix suuggests usingg a minimum m of 1 Gigabitt
Ethernet equipment. Ideally,
I netw
works should not use a miixture of 10//100 Mbps eqquipment an nd 1
Gigabit Ethernet
E equiipment due tot interoperability issues.
Addition
nal Informattion
If you change MTU on o the network in XenCen nter, it will aautomatically change the M
MTU on thee
virtual intterfaces and all the virtuaal interfaces and
a NICs/neetworks (swittches) that po oint to the
network supporting
s juumbo framess on all hostss.
Page 80
Chapter 7: Consid
dering Networ
N rk Perfo
ormancce for P
PVS
–XXenServver Dep
ployments
This chap
pter providess techniques for ensuring network perrformance w
when using XeenServer to h
host
Provision
ning Services VMs. It inclludes the folllowing topicss:
Network
N perfformance guidance when streaming Prrovisioning SServices disk images to
XenServer
X VMMs
In
nformation about
a disablin
ng the Spann
ning Tree prootocol
This chappter assumes that you aree familiar with h how Provissioning Serviices basic wo orks and its
componeents. For an introduction
i to Provision
ning Services,, see the Provvisioning Servicces Installation and
Configurattion Guide for your Provisiioning Servicces version.
Virtua
alizing the Pro
ovision
ning Serrvices S
Server
Before deeciding wheth her or not to
o host the Pro
ovisioning Seervices serveer on a VM, iit is importannt to
understan
nd the bottlenecks and co onstraints of Provisioningg Services serrvers, includiing how
Provision
ning Services servers use system
s cachee. It is also im
mportant to uunderstand thhat one of th
he
primary resource
r botttlenecks of Provisioning
P Services
S servvers is networrk I/O.
Recomm
mendations
Page 81
Witho out configuriing SR-IOV, it may be diifficult to achhieve throughhput for Provvisioning Serrvices
trafficc over 2 gigabit speeds.
A Pro
ovisioning Seervices host could
c under-perform andd result in a ddegraded userr experience
when
n there are higgh numbers of simultaneous VM starrtups.
Confi
figuring SR-IOOV can mitiggate this issuue. For configguration infoormation, seee CTX1266244 --
XenSeerver SR-IOV
V Support for Provisioning
P Services Virtual Machines.
Notee: SR-IOV is only supported on XenSServer VMs thhat are runniing Windowss Server 20088 as
the guuest operatin
ng system.
2. Ensure you are ruunning at leasst XenServerr 5.6 Feature Pack 1. Thiss is to give m
more the Conttrol
Dommain more CP PU resources. As of XenSServer 5.6 Feature Pack 1, the Controll Domain can n
explo
oit multi-corees and is capaable of using up to four ccores.
3. Consiider increasinng the amoun nt of memorry allocated too the Controol Domains oon the hosts
runniing the Proviisioning Servvices VMs. Yo ou can increaase the mem
mory allocatedd to the Conttrol
Dommain from thee default alloccation of 7522MB by folloowing CTX1226531 -- Conffiguring Dom00
Memoory in XenServver 5.6.
4. If youu want to virtualize Proviisioning Servvices servers, consider redducing the tarrget device too
Proviisioning Servvices server raatio so that th
he target devvices do not eexceed 300 ttargets. Whilee
virtuaalized Provisiioning Servicces servers caan support m
more hosts thhan this, reduucing this ratiio
can im
mprove perfo ormance.
Note: It is
i not possibble to perform
m live migrattion of Provi sioning Serviices server V
VMs with SR--IOV
configureed. This is beecause the SR
R-IOV NIC’ss virtual funcction (VF) is directly tied to a specific
virtual maachine. (In XenServer,
X VFs are configgured througgh the XenSeerver CLI wh hereas the VMM
template contains the configuratio ons for the viirtual interfacce functions and bridges in the Contrrol
Domain.)) For High Availability
A deesign, you can
n use the Proovisioning Seervices High Availability
functionaality instead of
o assuming live
l migration n.
Addition
nal Provisiioning Servvices Netw
working Connsideration
ns
This sectiion discuses some high-leevel IP addreessing requireements and iinformation aabout isolatin ng
the streamming service. There are addditional con nsiderations cconcerning thhe TCP Largge Send Offlo oad
option. For
F more info ormation abo
out all of thesse topics, seee CTX1173744 -- Best Practtices for Configguring
Provisioninng Server on a Network.
N
Page 82
IP Ad
ddressing Req
quireme
ents
The Provvisioning Servver and Provvisioning Servvices Target devices requuire at least tw
wo NICs with
h IP
addressess on differentt networks:
One
O network provides inteer communiccation betweeen devices sppecifically fo
or the streamiing
I/
/O traffic.
The
T other nettwork provid
des access to network
n resoources, the innternet, and sso on.
Isolatting the
e Provis
sioning
g Servic
ces Strreaming
g Servic
ce
Provision
ning Services segment thee stream trafffic wheneverr applicable fo
for several reaasons:
performaance, provisio
oning growth
h and troubleeshooting aree a few.
Disab
bling th
he Span
nning Tree
T Pro
otocol
When depploying XenSServer with Provisioning
P Services, as a best practicce, disable th
he Spanning T
Tree
Protocol on the switch (that is, sett FastPort=O
On).
It is not necessary
n to hard
h code th
he default autto negotiationn setting unleess you noticce long bootiing
times and d PXE timeo outs.
Best Practic
ce Conffigurations
Consider the followin
ng best practiice guideliness when confiiguring XenSServer –Proviisioning Servvices
deploymeents:
Page 83
3. If youu want to dep ploy Provisiooning Servicees on blades, review the C
Citrix Comm
munity Blog P
Post,
“Opttimizing PVS.” This articlle describes howh to confinne most Provvisioning Serrvices network
trafficc in the bladee chassis so as
a to enable high-perform
h mance networrk connectio
ons between tthe
bladees.
Page 84
Chaptter 8: Verifyin
V g Yourr XenSe
erver Ne
etworking
Configuration
This chap
pter providess some basic steps for verrifying that yyou configureed and physiccally connectted
XenServeer networkingg correctly. This
T chapter includes:
An
A overview of
o steps you can take to resolve
r issuess
Verify
ying Xe
enServe
er Netw
working
g on a P
Pool
This chappter providess you with waays to verify your networrking configuuration before you create VMs
and deplooy the pool. Checking
C to see if your networking
n is configured pproperly befo
fore you procceed
with furth
her configuraation can red
duce troublesshooting and reconfigurattion later.
Create a resource
r poo
ol and run thee tests in thiss chapter from
m any host iin the pool. T
The tests in tthe
first topicc, “Verifying your Physicaal Configurattion,” verify your physicaal configuratiion, includingg if
your NIC Cs are fully fuunctioning. The
T tests in th he other maj or topic, “Veerifying yourr XenServer
Networkiing Settings anda Configurration,” veriffy whether yoour XenServver networkin ng settings arre
configureed correctly.
Verifyin
ng your Physical Co
onfiguratio
on
This sectiion provides procedures to help you verify
v NIC connectivity aand NIC speed. For testin
ng
purposes only, create the followin
ng:
A Windows VM
V and a Lin
nux VM with
h XenServer T
Tools installeed on them.
An
A external network.
Page 85
An
A external bonded netwo
ork.
Issues with NIC conn nectivity and NIC speed can c indicate hhardware thaat is not com mpatible with the
XenServerr Hardware Coompatibility Liist. They can also indicatee issues with tthe NIC drivver.
Verifyin
ng NIC Con
nnectivity
Verifyin
ng NIC Speeed
Testing to
o see if the NIC
N can send which it was
d and receivee traffic at thee approximatte speed for w
rated can reveal issuess, such as, for example, problems withh the NIC drrivers.
Before beeginning the tests, downlo oad and instaall Iperf on a Windows V VM, a Linux V
VM, and a
separate physical
p servver that is nott running XenServer (a coontrol host).
Page 86
UDP Test
1. On thhe Linux VM
M, run the folllowing comm
mand with thhe duration sset to 300 secconds. In thiss test,
the VM
V functionss as the Iperff client.
iperf
f.exe -c 192.168.1.1
1 1 -u -t 30
00 -b <band
dwidth>
Replaace <bandwidt
dth> with “1000M” for a 1 gigabit NIC.. For a 10 giggabit NIC, reeplace <banddwith>
with “1000M”.
“
Verifyin
ng your Xe
enServer Networking Setting
gs and Co
onfiguratio
on
After settting up your XenServer networking
n co
onfiguration,, verify that yyou did it corrrectly by
checking the followinng:
1. Manaagement Inteerfaces.
Confi
figure networrking after fo orming the po ool, as descriibed in “Sequuence of Nettworking
Confi
figuration Tassks” on pagee 18. After creating the ini nitial networkking configurration or addiing
hosts to a pool, it is possible for
f the primaary managem ent interfacees on the other hosts in th he
pool to be incomp pletely configgured (for exxample, if thee pool masterr does not suuccessfully
propaagate its settings to the member
m or joiining servers)).
3. Verify a) and
a b) on anyy additional management
m t interfaces yoou configureed (for examp
ple,
for storage)
2. Verify
fy all the NIC
Cs you bondeed were creatted correctly.. To do so, chheck the XennCenter logs for
failures or any bonnds that unfiinished. A typ
pical sign thaat bonding ddid not work is that the bo
ond
takes excessively long
l to finish
h or it seems to “hang.”
Page 87
3. Verify
fy that the networking con
nfiguration and
a physical ccabling on eaach XenServeer host matches.
For example,
e is NIC ng as NIC 3 on
N 3 on Hosst 4 configured with the ssame networrks and cablin
Host 5.
Tip: To
T make an LED light fo or a NIC on a XenServerr host blink, rrun the ethto
ool comman nd
with the
t –p option n on the hosst. ethtool is a Linux com
mmand that ddisplays or ch
hanges NIC
settin
ngs. For exam
mple, to use the
t ethtool command to make the ligh ghts on the firrst NIC on tthe
host, run the follo
owing on the host: ethto ool -p eth0 0 10.In thiss example, et
th0 is the N
NIC
and 10
1 is the num mber of secon nds you wan nt the NIC too blink.
4. In XeenCenter, sellect each host individuallyy, and verify the informattion in the N
NICs and
Netwwork tabs is fully
f present..
In thee NICs tab, there should d be a row in the NICs lisst for each N
NIC. Verify th
he columns in
n the
list haave correct values,
v especially the speed
d and MAC address coluumns.
5. Verify
fy that the ph
hysical networking configuuration matcches for eachh XenServer h
host (that is,
me connectiviity as NIC 3 on
checkk to make surre that NIC 3 on Host 4 is cabled to hhave the sam
Host 5 and so on)).
Reso
olving Is
ssues
If, after checking
c thesse items, VM
Ms or hosts caannot connecct to each othher as expectted, then:
1. Verify
fy that your physical
p confiiguration (cab
bles and swittches) is corrrect.
1. Revieew the section n, “Recoveriing from a baad network cconfigurationn” in the XennServer
Admiinistrator’s Guiide.
Page 88
alwayys take the VM
Ms offline an
nd put the hoost into mainntenance modde so that th
he host is no
longeer connected to any storagge repositories.
Page 89
Revis
sion His
story
Revision
n Comm
ments Daate
2.0 Updateed for XenSeerver 6.0 release. Also, addded appendiix September 23, 2011
about changing
c youur networkingg configuratiion.
Page 90
About Ciitrix
©2011 Citrix Systemss, Inc. All righhts reserved.. Citrix®, Acccess Gatewaay™, Branch Repeater™,,
Citrix Rep
peater™, HD DX™, XenServer™, Xen nCenter™, X XenApp™, X XenDesktop™
™ and Citrixx
Delivery Center™ aree trademarks of Citrix Sysstems, Inc. annd/or one or more of itss subsidiaries, and
may be reegistered in the United Sttates Patent and
a Trademaark Office annd in other co ountries. All other
trademarkks and registered trademaarks are prop perty of theirr respective oowners.
Page 91