View
219
Download
0
Category
Preview:
Citation preview
8/9/2019 Citirx Doc - Copy
1/228
8/9/2019 Citirx Doc - Copy
2/228
-.#./. Stora,e M<i!at(in,
-.-. Stora,e Re!oitor2 T2!e
-.-.$. 4o%al 4VM
-.-.#. 4o%al EXT- VHD
-.-.-. &"ev
-.-.. ISO-.-.5. E*&al4o,i%
-.-./. NetA!!
-.-.. So+t'are iSCSI S&!!ort
-.-.3. Mana,in, Har"'are Hot :& A"a!ter 6H:A7
-.-.. 4VM over iSCSI
-.-.$0. N
8/9/2019 Citirx Doc - Copy
3/228
5.#.-. In%reain, Availa1ilit2
5.#.. M<i!le Server De!lo2ment
5.#.5. @or8loa" :alan%in, Se%&rit2
5.-. @or8loa" :alan%in, Intallation Overvie'
5.-.$. @or8loa" :alan%in, S2tem Re*&irement
5.-.#. @or8loa" :alan%in, Data Store Re*&irement5.-.-. O!eratin, S2tem 4an,&a,e S&!!ort
5.-.. 9reintallation Coni"eration
5.-.5. Intallin, @or8loa" :alan%in,
5.. @in"o' Intaller Comman" +or @or8loa" :alan%in,
5..$. ADD4OCA4
5..#. CERTBCHOICE
5..-. CERTNAME9ICED
5... DATA:ASESERVER
5..5. D:NAME
5../. D:USERNAME
5... D:9ASS@ORD
5..3. EX9ORTCERT
5... EX9ORTCERTB
8/9/2019 Citirx Doc - Copy
4/228
5.$0.$. Dia1lin, @or8loa" :alan%in, on a Reo&r%e 9ool
5.$0.#. Re%on+i,&rin, a Reo&r%e 9ool to Ue Anot(er @4: Server
5.$0.-. Unintallin, @or8loa" :alan%in,
5.$$. Tro&1le(ootin, @or8loa" :alan%in,
5.$$.$. )eneral Tro&1le(ootin, Ti!
5.$$.#. Error Mea,e5.$$.-. I&e Intallin, @or8loa" :alan%in,
5.$$.. I&e Initiali=in, @or8loa" :alan%in,
5.$$.5. I&e Startin, @or8loa" :alan%in,
5.$$./. @or8loa" :alan%in, Conne%tion Error
5.$$.. I&e C(an,in, @or8loa" :alan%in, Server
/. :a%8&! an" re%over2
/.$. :a%8&!
/.#.
8/9/2019 Citirx Doc - Copy
5/228
3..5. Hot 6XenServer (ot7 %omman"
3../. 4o, %omman"
3... Mea,e %omman"
3..3. Net'or8 %omman"
3... 9at%( 6&!"ate7 %omman"
3..$0. 9:D %omman"3..$$. 9I< %omman"
3..$#. 9ool %omman"
3..$-. Stora,e Mana,er %omman"
3..$. SR %omman"
3..$5. Ta8 %omman"
3..$/. Tem!late %omman"
3..$. U!"ate %omman"
3..$3. Uer %omman"
3..$. V:D %omman"
3..#0. VDI %omman"
3..#$. VI< %omman"
3..##. V4AN %omman"
3..#-. VM %omman"
3..#. @or8loa" :alan%in, %omman"
. Tro&1le(ootin,
.$. XenServer (ot lo,
.$.$. Sen"in, (ot lo, mea,e to a %entral erver
.#. XenCenter lo,
.-. Tro&1le(ootin, %onne%tion 1et'een XenCenter an" t(e XenServer (ot
In"ex
List of Tables
5.$.Re!ort Tool1ar :&tton
5.#.Re!ort Tool1ar :&tton
C(a!ter $. Do%&ment Overvie'
Table of Contents
$.$. Ho' t(i )&i"e relate to ot(er "o%&mentation
T(i "o%&ment i a 2tem a"minitratorF ,&i"e to XenServerG t(e !lat+orm virt&ali=ation ol&tion +rom Citrix. It
"e%ri1e t(e ta8 involve" in %on+i,&rin, a XenServer "e!lo2ment in !arti%&lar (o' to et &! tora,e net'or8in,
an" reo&r%e !ool an" (o' to a"miniter XenServer (ot &in, t(e xe %omman" line inter+a%e 6C4I7.
T(i e%tion &mmari=e t(e ret o+ t(e ,&i"e o t(at 2o& %an +in" t(e in+ormation 2o& nee". T(e +ollo'in, to!i% are
%overe"
XenServer (ot an" reo&r%e !ool
http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_hosthttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_loghttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli_xe_message_commandshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_networkhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_patchhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_pbdhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_pifhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_poolhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_smhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_srhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_taskhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_templatehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_updatehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_userhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vbdhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vdihttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vifhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vlanhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vmhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#id2609148http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#troubleshootinghttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#troubleshooting-server_logshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#troubleshooting-logs-central_serverhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#troubleshooting-client_logshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#troubleshooting-connectionshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#id2610110http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#table_645D8A906DDF401F80CA1C322EAFE6BEhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#table_645D8A906DDF401F80CA1C322EAFE6BEhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#table_CF8D2A93AA5243D88ADD1D5E478D2E0Chttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#table_CF8D2A93AA5243D88ADD1D5E478D2E0Chttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ck_reference_other_dochttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_hosthttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_loghttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli_xe_message_commandshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_networkhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_patchhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_pbdhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_pifhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_poolhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_smhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_srhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_taskhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_templatehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_updatehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_userhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vbdhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vdihttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vifhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vlanhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vmhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#id2609148http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#troubleshootinghttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#troubleshooting-server_logshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#troubleshooting-logs-central_serverhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#troubleshooting-client_logshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#troubleshooting-connectionshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#id2610110http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#table_645D8A906DDF401F80CA1C322EAFE6BEhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#table_CF8D2A93AA5243D88ADD1D5E478D2E0Chttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ck_reference_other_doc8/9/2019 Citirx Doc - Copy
6/228
XenServer tora,e %on+i,&ration
XenServer net'or8 %on+i,&ration
XenServer 'or8loa" 1alan%in,
XenServer 1a%8&! an" re%over2
Monitorin, an" mana,in, XenServer
XenServer %omman" line inter+a%e
XenServer tro&1le(ootin,
XenServer reo&r%e allo%ation ,&i"eline
$.$. Ho' t(i )&i"e relate to ot(er "o%&mentation
T(i "o%&ment i !rimaril2 aime" at 2tem a"minitrator '(o nee" to %on+i,&re an" a"miniter XenServer
"e!lo2ment. Ot(er "o%&mentation (i!!e" 'it( t(i releae in%l&"e
XenServer Installation Guide!rovi"e a (i,( level overvie' o+ XenServer alon, 'it( te!12te!
intr&%tion on intallin, XenServer (ot an" t(e XenCenter mana,ement %onole.
XenServer Virtual Machine Installation Guide"e%ri1e (o' to intall 4in&x an" @in"o' VM on to! o+ a
XenServer "e!lo2ment. A 'ell a intallin, ne' VM +rom intall me"ia 6or &in, t(e
VM templates!rovi"e" 'it( t(e XenServer releae7 t(i ,&i"e alo ex!lain (o' to %reate VM +rom
exitin, !(2i%al ma%(ine &in, a !ro%e %alle" P2V.
XenServer Software Development Kit Guide!reent an overvie' o+ t(e XenServer SD a ele%tion o+
%o"e am!le t(at "emontrate (o' to 'rite a!!li%ation t(at inter+a%e 'it( XenServer (ot.
XenAPI Specification!rovi"e a !ro,rammerF re+eren%e ,&i"e to t(e XenServer A9I.
XenServer User Securit%oni"er t(e i&e involve" in 8ee!in, 2o&r XenServer intallation e%&re.
!elease "otes!rovi"e a lit o+ 8no'n i&e t(at a++e%t t(i releae.
C(a!ter #. XenServer (ot an" reo&r%e !ool
Table of Contents
#.$. Hot an" reo&r%e !ool overvie'
#.#. Re*&irement +or %reatin, reo&r%e !ool
#.-. Creatin, a reo&r%e !ool
#.. A""in, (are" tora,e
http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#id2507468http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#pooling_homogeneity_requirementshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#pool_creationhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#pool_storagehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#id2507468http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#pooling_homogeneity_requirementshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#pool_creationhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#pool_storage8/9/2019 Citirx Doc - Copy
7/228
#.5. Intallin, an" mana,in, VM on (are" tora,e
#./. Removin, a XenServer (ot +rom a reo&r%e !ool
#.. Hi,( Availa1ilit2
#..$. HA Overvie'
#..#. Con+i,&ration Re*&irement
#..-. Retart !rioritie#.3. Ena1lin, HA on a XenServer !ool
#.3.$. Ena1lin, HA &in, t(e C4I
#.3.#. Removin, HA !rote%tion +rom a VM &in, t(e C4I
#.3.-. Re%overin, an &nrea%(a1le (ot
#.3.. S(&ttin, "o'n a (ot '(en HA i ena1le"
#.3.5. S(&ttin, "o'n a VM '(en it i !rote%te" 12 HA
#.. A&t(enti%atin, &er &in, A%tive Dire%tor2 6AD7
#..$. Con+i,&rin, A%tive Dire%tor2 a&t(enti%ation
#..#. Uer a&t(enti%ation
#..-. Removin, a%%e +or a &er
#... 4eavin, an AD "omain
T(i %(a!ter "e%ri1e (o' reo&r%e !ool %an 1e %reate" t(ro&,( a erie o+ exam!le &in, t(e xe %omman" line
inter+a%e 6C4I7. A im!le N
8/9/2019 Citirx Doc - Copy
8/228
T(e o+t'are 'ill en+or%e a""itional %ontraint '(en ;oinin, a erver to a !ool K in !arti%&lar
it i not a mem1er o+ an exitin, reo&r%e !ool
it (a no (are" tora,e %on+i,&re"
t(ere are no r&nnin, or &!en"e" VM on t(e XenServer (ot '(i%( i ;oinin,
t(ere are no a%tive o!eration on t(e VM in !ro,re &%( a one (&ttin, "o'n
o& m&t alo %(e%8 t(at t(e %lo%8 o+ t(e (ot ;oinin, t(e !ool i 2n%(roni=e" to t(e ame time a t(e !ool mater
6+or exam!le 12 &in, NT97 t(at it mana,ement inter+a%e i not 1on"e" 62o& %an %on+i,&re t(i on%e t(e (ot (a
&%%e+&ll2 ;oine" t(e !ool7 an" t(at it mana,ement I9 a""re i tati% 6eit(er %on+i,&re" on t(e (ot itel+ or 12
&in, an a!!ro!riate %on+i,&ration on 2o&r DHC9 erver7.
XenServer (ot in reo&r%e !ool ma2 %ontain "i++erent n&m1er o+ !(2i%al net'or8 inter+a%e an" (ave lo%al
tora,e re!oitorie o+ var2in, i=e. In !ra%ti%e it i o+ten "i++i%< to o1tain m<i!le erver 'it( t(e exa%t ame
C9U an" o minor variation are !ermitte". I+ 2o& are &re t(at it i a%%e!ta1le in 2o&r environment +or (ot 'it(
var2in, C9U to 1e !art o+ t(e ame reo&r%e !ool t(en t(e !ool ;oinin, o!eration %an 1e +or%e" 12 !ain, a --
force!arameter.
Note
T(e re*&irement +or a XenServer (ot to (ave a tati% I9 a""re to 1e !art o+ a reo&r%e !ool alo a!!lie to erver
!rovi"in, (are" N
8/9/2019 Citirx Doc - Copy
9/228
Net'or8in, in+ormation i !artiall2 in(erite" to t(e ;oinin, (ot t(e structural"etail o+ NIC V4AN an"
1on"e" inter+a%e are all in(erite" 1&tpolicin+ormation i not. T(i !oli%2 in+ormation '(i%( m&t 1e
re%on+i,&re" in%l&"e
o t(e I9 a""ree o+ mana,ement NIC '(i%( are !reerve" +rom t(e ori,inal %on+i,&ration
o t(e lo%ation o+ t(e mana,ement inter+a%e '(i%( remain t(e ame a t(e ori,inal
%on+i,&ration.
8/9/2019 Citirx Doc - Copy
10/228
#. Create t(e tora,e re!oitor2 on server%&path>12 i&in, t(e %omman"
3. xe sr-create content-type=user type=nfs name-label=
shared=true \
4. device-config:server=\
device-config:serverpath=
T(e device-config:serverre+er to t(e (otname o+ t(e N
8/9/2019 Citirx Doc - Copy
11/228
xe vm-start vm=
T(e mater 'ill %(ooe a XenServer (ot +rom t(e !ool to tart t(e VM. I+ t(e on!arameter i !rovi"e" t(e VM
'ill tart on t(e !e%i+ie" XenServer (ot. I+ t(e re*&ete" XenServer (ot i &na1le to tart t(e VM t(e
%omman" 'ill +ail. To re*&et t(at a VM i al'a2 tarte" on a !arti%&lar XenServer (ot et
t(eaffinity
!arameter o+ t(e VM to t(e UUID o+ t(e "eire" XenServer (ot &in, t(e xe vm-param-
set%omman". On%e et t(e 2tem 'ill tart t(e VM t(ere i+ it %anJ i+ it %annot it 'ill "e+a< to %(ooin, +rom
t(e et o+ !oi1le XenServer (ot.
/. o& %an &e XenMotion to move t(e De1ian VM to anot(er XenServer (ot 'it( t(e %omman"
xe vm-migrate vm=host=--live
XenMotion 8ee! t(e VM r&nnin, "&rin, t(i !ro%e to minimi=e "o'ntime.
Note
@(en a VM i mi,rate" t(e "omain on t(e ori,inal (otin, erver i "etro2e" an" t(e memor2 t(at
VM &e" i =eroe" o&t 1e+ore Xen ma8e it availa1le to ne' VM. T(i en&re t(at t(ere i no
in+ormation lea8 +rom ol" VM to ne' one. A a %one*&en%e it i !oi1le t(at en"in, m<i!le
nearim<aneo& %omman" to mi,rate a n&m1er o+ VM '(en near t(e memor2 limit o+ a erver
6+or exam!le a et o+ VM %on&min, -): mi,rate" to a erver 'it( ): o+ !(2i%al memor27 t(e
memor2 o+ an ol" "omain mi,(t not 1e %r&11e" 1e+ore a mi,ration i attem!te" %a&in, t(e
mi,ration to +ail 'it( a HOST_NOT_ENOUGH_FREE_EOR!error. Inertin, a "ela2 1et'een
mi,ration (o&l" allo' Xen t(e o!!ort&nit2 to &%%e+&ll2 %r&1 t(e memor2 an" ret&rn it to ,eneral
&e.
#./. Removin, a XenServer (ot +rom a reo&r%e !ool@(en a XenServer (ot i remove" 6e(ected7 +rom a !ool t(e ma%(ine i re1oote" reinitiali=e" an" le+t in a tate
e*&ivalent to t(at a+ter a +re( intallation. It i im!ortant not to e;e%t a XenServer (ot +rom a !ool i+ t(ere i
im!ortant "ata on t(e lo%al "i8.
To remove a host from a resource pool using the CLI
$. O!en a %onole on an2 (ot in t(e !ool.
#.
8/9/2019 Citirx Doc - Copy
12/228
*arning
Do note;e%t a (ot +rom a reo&r%e !ool i+ it %ontain im!ortant "ata tore" on it lo%al "i8. All o+ t(e "ata 'ill 1e
erae" &!on e;e%tion +rom t(e !ool. I+ 2o& 'i( to !reerve t(i "ata %o!2 t(e VM to (are" tora,e on t(e !ool +irt
&in, XenCenter or t(e xe vm-copyC4I %omman".
@(en a XenServer (ot %ontainin, lo%all2 tore" VM i e;e%te" +rom a !ool t(oe VM 'ill till 1e !reent in t(e
!ool "ata1ae an" vii1le to t(e ot(er XenServer (ot. T(e2 'ill not tart &ntil t(e virt&al "i8 ao%iate" 'it( t(em
(ave 1een %(an,e" to !oint at (are" tora,e '(i%( %an 1e een 12 ot(er XenServer (ot in t(e !ool or im!l2
remove". It i +or t(i reaon t(at 2o& are tron,l2 a"vie" to move an2 lo%al tora,e to (are" tora,e &!on ;oinin, a
!ool o t(at in"ivi"&al XenServer (ot %an 1e e;e%te" 6or !(2i%all2 +ail7 'it(o&t lo o+ "ata.
#.. Hi,( Availa1ilit2
T(i e%tion ex!lain t(e XenServer im!lementation o+ virt&al ma%(ine (i,( availa1ilit2 6HA7 an" (o' to %on+i,&re it
&in, t(e xe C4I.
Note
XenServer HA i onl2 availa1le 'it( a Citri+ "ssentials for XenServerli%ene. To learn more a1o&t Citrix Eential
+or XenServer an" to +in" o&t (o' to &!,ra"e viit t(e Citrix 'e1ite (ere.
,%-%.% /A 0vervie1
@(en HA i ena1le" XenServer %ontin&all2 monitor t(e (ealt( o+ t(e (ot in a !ool. T(e HA me%(anim
a&tomati%all2 move !rote%te" VM to a (ealt(2 (ot i+ t(e %&rrent VM (ot +ail. A""itionall2 i+ t(e (ot t(at +ail i
t(e mater HA ele%t anot(er (ot to ta8e over t(e mater role a&tomati%all2 meanin, t(at 2o& %an %ontin&e to
mana,e t(e XenServer !ool.
To a1ol&tel2 ,&arantee t(at a (ot i &nrea%(a1le a reo&r%e !ool %on+i,&re" +or (i,(availa1ilit2 &e
everal heart)eatme%(anim to re,&larl2 %(e%8 &! on (ot. T(ee (eart1eat ,o t(ro&,( 1ot( t(e tora,e
inter+a%e 6to t(e *eart)eat S!7 an" t(e net'or8in, inter+a%e 6over t(e mana,ement inter+a%e7. :ot( o+ t(ee
(eart1eat ro&te %an 1e m<i(ome" +or a""itional reilien%e to !revent +ale !oitive.
XenServer "2nami%all2 maintain a failover plan+or '(at to "o i+ a et o+ (ot in a !ool +ail at an2 ,iven time. An
im!ortant %on%e!t to &n"ertan" i t(e host failures to tolerateval&e '(i%( i "e+ine" a !art o+ HA %on+i,&ration.
T(i "etermine t(e n&m1er o+ +ail&re t(at i allo'e" 'it(o&t an2 lo o+ ervi%e.
8/9/2019 Citirx Doc - Copy
13/228
T(i 'o&l" (a!!en i+ t(ere 'a not eno&,( +ree memor2 a%ro t(e !ool to r&n t(oe VM +ollo'in, +ail&re. Ho'ever
t(ere are alo more &1tle %(an,e '(i%( %an ma8e HA ,&arantee &n&taina1le %(an,e to V:D an" net'or8
%an a++e%t '(i%( VM ma2 1e retarte" on '(i%( (ot. C&rrentl2 it i not !oi1le +or XenServer to %(e%8 all a%tion
1e+ore t(e2 o%%&r an" "etermine i+ t(e2 'ill %a&e violation o+ HA "eman". Ho'ever an a2n%(rono& noti+i%ation i
ent i+ HA 1e%ome &n&taina1le.
,%-%.%,% 0vercommitment *arning
I+ 2o& attem!t to tart or re&me a VM an" t(at a%tion %a&e t(e !ool to 1e over%ommitte" a 'arnin, alert i raie".
T(i 'arnin, i "i!la2e" in XenCenter an" i alo availa1le a a mea,e intan%e t(ro&,( t(e Xen A9I. T(e
mea,e ma2 alo 1e ent to an email a""re i+ %on+i,&re". o& 'ill t(en 1e allo'e" to %an%el t(e o!eration or
!ro%ee" an2'a2. 9ro%ee"in, 'ill %a&e t(e !ool to 1e%ome over%ommitte". T(e amo&nt o+ memor2 &e" 12 VM o+
"i++erent !rioritie i "i!la2e" at t(e !ool an" (ot level.
,%-%.%2% /ost encing
I+ a erver +ail&re o%%&r &%( a t(e lo o+ net'or8 %onne%tivit2 or a !ro1lem 'it( t(e %ontrol ta%8 i en%o&ntere"
t(e XenServer (ot el++en%e to en&re t(at t(e VM are not r&nnin, on t'o erver im<aneo&l2. @(en a +en%e
a%tion i ta8en t(e erver imme"iatel2 an" a1r&!tl2 retart %a&in, all VM r&nnin, on it to 1e to!!e". T(e ot(er
erver 'ill "ete%t t(at t(e VM are no lon,er r&nnin, an" t(e VM 'ill 1e retarte" a%%or"in, to t(e retart !rioritie
ai,n to t(em. T(e +en%e" erver 'ill enter a re1oot e*&en%e an" '(en it (a retarte" it 'ill tr2 to re;oin t(e
reo&r%e !ool.
,%-%,% Configuration 3e4uirements
To &e t(e HA +eat&re 2o& nee"
S(are" tora,e in%l&"in, at leat one iSCSI or
8/9/2019 Citirx Doc - Copy
14/228
*arning
S(o&l" t(e I9 a""re o+ a erver %(an,e '(ile HA i ena1le" HA 'ill a&me t(at t(e (otF net'or8 (a +aile" an"
'ill !ro1a1l2 +en%e t(e (ot an" leave it in an &n1oota1le tate. To reme"2 t(i it&ation "ia1le HA &in, t(e host-
emergency-ha-disable%omman" reet t(e !ool mater &in, pool-emergency-reset-master an" t(en re
ena1le HA.
8/9/2019 Citirx Doc - Copy
15/228
T(e retart !rioritie "etermine t(e or"er in '(i%( VM are retarte" '(en a +ail&re o%%&r. In a ,iven %on+i,&ration
'(ere a n&m1er o+ erver +ail&re ,reater t(an =ero %an 1e tolerate" 6a in"i%ate" in t(e HA !anel in t(e )UI or 12
t(e ha-p"an-e#ists-for+iel" on t(e !ool o1;e%t on t(e C4I7 t(e VM t(at (ave retart !rioritie $ %or &are
,&arantee" to 1e retarte" ,iven t(e tate" n&m1er o+ erver +ail&re. VM 'it( a 'est-effort!riorit2 ettin, are
not !art o+ t(e +ailover !lan an" are not ,&arantee" to 1e 8e!t r&nnin, in%e %a!a%it2 i not reerve" +or t(em. I+ t(e
!ool ex!erien%e erver +ail&re an" enter a tate '(ere t(e n&m1er o+ tolera1le +ail&re "ro! to =ero t(e !rote%te"VM 'ill no lon,er 1e ,&arantee" to 1e retarte". I+ t(i %on"ition i rea%(e" a 2tem alert 'ill 1e ,enerate". In t(i
%ae (o&l" an a""itional +ail&re o%%&r all VM t(at (ave a retart !riorit2 et 'ill 1e(ave a%%or"in, to t(e 'est-
effort1e(avior.
I+ a !rote%te" VM %annot 1e retarte" at t(e time o+ a erver +ail&re 6+or exam!le i+ t(e !ool 'a over%ommitte" '(en
t(e +ail&re o%%&rre"7 +&rt(er attem!t to tart t(i VM 'ill 1e ma"e a t(e tate o+ t(e !ool %(an,e. T(i mean t(at
i+ extra %a!a%it2 1e%ome availa1le in a !ool 6i+ 2o& (&t "o'n a noneential VM or a"" an a""itional erver +or
exam!le7 a +re( attem!t to retart t(e !rote%te" VM 'ill 1e ma"e '(i%( ma2 no' &%%ee".
Note
No r&nnin, VM 'ill ever 1e to!!e" or mi,rate" in or"er to +ree reo&r%e +or a VM 'it( a"ways-r(n)tr(eto 1e
retarte".
#.3. Ena1lin, HA on a XenServer !ool
HA %an 1e ena1le" on a !ool &in, eit(er XenCenter or t(e %omman"line inter+a%e. In eit(er %ae 2o& 'ill !e%i+2 a
et o+ !rioritie t(at "etermine '(i%( VM (o&l" 1e ,iven (i,(et retart !riorit2 '(en a !ool i over%ommitte".
*arning
@(en HA i ena1le" ome o!eration t(at 'o&l" %om!romie t(e !lan +or retartin, VM ma2 1e "ia1le" &%( aremovin, a erver +rom a !ool. To !er+orm t(ee o!eration HA %an 1e tem!oraril2 "ia1le" or alternatel2 VM
!rote%te" 12 HA ma"e &n!rote%te".
,%5%.% "nabling /A using the CLI
$. Veri+2 t(at 2o& (ave a %om!ati1le Stora,e Re!oitor2 6SR7 atta%(e" to 2o&r !ool. iSCSI or
8/9/2019 Citirx Doc - Copy
16/228
. R&n t(e pool-ha-compute-max-host-failures-to-tolerate%omman". T(i %omman" ret&rn t(e
maxim&m n&m1er o+ (ot t(at %an +ail 1e+ore t(ere are in&++i%ient reo&r%e to r&n all t(e !rote%te" VM in
t(e !ool.
xe pool-ha-compute-max-host-failures-to-tolerate
T(e n&m1er o+ +ail&re to tolerate "etermine '(en an alert i ent t(e 2tem 'ill re%om!&te a +ailover !lan a
t(e tate o+ t(e !ool %(an,e an" 'it( t(i %om!&tation t(e 2tem i"enti+ie t(e %a!a%it2 o+ t(e !ool an" (o'
man2 more +ail&re are !oi1le 'it(o&t lo o+ t(e livene ,&arantee +or !rote%te" VM. A 2tem alert i
,enerate" '(en t(i %om!&te" val&e +all 1elo' t(e !e%i+ie" val&e +or ha-host-fai"(res-to-
to"erate.
5. S!e%i+2 t(e n&m1er o+ +ail&re to tolerate !arameter. T(i (o&l" 1e le t(an or e*&al to t(e %om!&te"
val&e
xe pool-param-set ha-host-failures-to-tolerate=
,%5%,% 3emoving /A protection from a () using the CLI
To "ia1le HA +eat&re +or a VM &e t(e xe vm-param-set%omman" to et t(e ha-a"ways-r(n!arameter
to fa"se. T(i "oe not %lear t(e VM retart !riorit2 ettin,. o& %an ena1le HA +or a VM a,ain 12 ettin, t(e ha-
a"ways-r(n!arameter to tr(e.
,%5%2% 3ecovering an unreachable host
I+ +or ome reaon a (ot %annot a%%e t(e HA tate+ile it i !oi1le t(at a (ot ma2 1e%ome &nrea%(a1le. To
re%over 2o&r XenServer intallation it ma2 1e ne%ear2 to "ia1le HA &in, t(e host-emergency-ha-
disable%omman"
xe host-emergency-ha-disable --force
I+ t(e (ot 'a t(e !ool mater t(en it (o&l" tart &! a normal 'it( HA "ia1le". Slave (o&l" re%onne%t an"
a&tomati%all2 "ia1le HA. I+ t(e (ot 'a a 9ool lave an" %annot %onta%t t(e mater t(en it ma2 1e ne%ear2 to
+or%e t(e (ot to re1oot a a !ool mater 6xe pool-emergency-transition-to-master7 or to tell it '(ere t(e
ne' mater i 6xe pool-emergency-reset-master7
xe pool-emergency-transition-to-master uuid=
xe pool-emergency-reset-master master-address=
@(en all (ot (ave &%%e+&ll2 retarte" reena1le HA
xe pool-ha-enable heartbeat-sr-uuid=
,%5%$% Shutting do1n a host 1hen /A is enabled
@(en HA i ena1le" !e%ial %are nee" to 1e ta8en '(en (&ttin, "o'n or re1ootin, a (ot to !revent t(e HA
me%(anim +rom a&min, t(at t(e (ot (a +aile". To (&t"o'n a (ot %leanl2 in an HAena1le" environment
8/9/2019 Citirx Doc - Copy
17/228
+irt disa'"et(e (ot t(en evac(atet(e (ot an" +inall2 sh(tdownt(e (ot &in, eit(er XenCenter or t(e
C4I. To (&t"o'n a (ot in an HAena1le" environment on t(e %omman" line
xe host-disable host=
xe host-evacuate uuid=
xe host-shutdown host=
,%5%6% Shutting do1n a () 1hen it is protected b7 /A
@(en a VM i !rote%te" &n"er a HA !lan an" et to retart a&tomati%all2 it %annot 1e (&t "o'n '(ile t(i !rote%tion
i a%tive. To (&t "o'n a VM +irt "ia1le it HA !rote%tion an" t(en exe%&te t(e C4I %omman". XenCenter o++er 2o&
a "ialo, 1ox to a&tomate "ia1lin, t(e !rote%tion i+ 2o& %li%8 on t(eShutdo1n1&tton o+ a !rote%te" VM.
Note
I+ 2o& (&t "o'n a VM +rom 'it(in t(e ,&et an" t(e VM i !rote%te" it i a&tomati%all2 retarte" &n"er t(e HA
+ail&re %on"ition. T(i (el! en&re t(at o!erator error 6or an errant !ro,ram t(at mita8enl2 (&t "o'n t(e VM7
"oe not re< in a !rote%te" VM 1ein, le+t (&t "o'n a%%i"entall2. I+ 2o& 'ant to (&t t(i VM "o'n "ia1le it HA
!rote%tion +irt.
#.. A&t(enti%atin, &er &in, A%tive Dire%tor2 6AD7
XenServer &!!ort t(e a&t(enti%ation o+ &er t(ro&,( AD. T(i ma8e it eaier to %ontrol a%%e to XenServer
(ot. A%tive Dire%tor2 &er %an &e t(e xe C4I 6!ain, a!!ro!riate -(an" -pw ar,&ment7 an" alo %onne%t to
t(e (ot &in, XenCenter. A&t(enti%ation i "one on a !erreo&r%e !ool 1ai.
A%%e i %ontrolle" 12 t(e &e o+ su)(ects. A &1;e%t in XenServer ma! to an entit2 on 2o&r "ire%tor2 erver 6eit(er
a &er or a ,ro&!7. @(en external a&t(enti%ation i ena1le" t(e %re"ential &e" to %reate a eion are +irt%(e%8e" a,aint t(e lo%al root %re"ential 6in %ae 2o&r "ire%tor2 erver i &navaila1le7 an" t(en a,aint t(e &1;e%t
lit. To !ermit a%%e 2o& m&t %reate a &1;e%t entr2 +or t(e !eron or ,ro&! 2o& 'i( to ,rant a%%e to. T(i %an
1e "one &in, XenCenter or t(e xe C4I.
,%8%.% Configuring Active !irector7 authentication
XenServer &!!ort &e o+ A%tive Dire%tor2 erver &in, @in"o' #00- or later.
8/9/2019 Citirx Doc - Copy
18/228
(ot 6note t(at in ome %on+i,&ration t(e a%tive "ire%tor2 erver ma2 !rovi"e t(e DNS itel+7. T(i %an 1e a%(ieve"
eit(er &in, DHC9 to !rovi"e t(e I9 a""re an" a lit o+ DNS erver to t(e XenServer (ot or 12 ettin, val&e in
t(e 9I< o1;e%t or &in, t(e intaller i+ a man&al tati% %on+i,&ration i &e".
Citrix re%ommen" ena1lin, DCH9 to 1roa"%at (ot name. In !arti%&lar t(e (ot
name"oca"host
or"in(#
(o&l" not 1e ai,ne" to (ot. Hot name m&t %onit olel2 o+ no more t(an
$5/ al!(an&meri% %(ara%ter an" ma2 not 1e !&rel2 n&meri%.
"nabling e+ternal authentication on a pool
External a&t(enti%ation &in, A%tive Dire%tor2 %an 1e %on+i,&re" &in, eit(er XenCenter or t(e C4i &in, t(e
%omman" 1elo'.
xe pool-enable-external-auth auth-type=AD \
service-name=\
config:user=\
config:pass=
T(e &er !e%i+ie" nee" to (ave +dd,remove comp(ter o'ects or
wor.stations!rivile,e '(i%( i t(e "e+a< +or "omain a"minitrator.
Note
I+ 2o& are not &in, DHC9 on t(e net'or8 t(at A%tive Dire%tor2 an" 2o&r XenServer (ot &e
2o& %an &e t(ee t'o a!!roa%(e to et&! 2o&r DNS
$. Con+i,&re t(e DNS erver to &e on 2o&r XenServer (ot
xe pif-reconfigure-ip mode=static dns=
#. Man&all2 et t(e mana,ement inter+a%e to &e a 9I< t(at i on t(e ame net'or8 a 2o&r
DNS erver
xe host-management-reconfigure pif-
uuid=
Note
External a&t(enti%ation i a !er(ot !ro!ert2. Ho'ever Citrix a"vie t(at 2o& ena1le an" "ia1le t(i on a !er!ool
1ai K in t(i %ae XenServer 'ill "eal 'it( an2 +ail&re t(at o%%&r '(en ena1lin, a&t(enti%ation on a !arti%&lar (ot
an" !er+orm an2 roll1a%8 o+ %(an,e t(at ma2 1e re*&ire" en&rin, t(at a %onitent %on+i,&ration i &e" a%ro
t(e !ool. Ue t(e host-param-list%omman" to in!e%t !ro!ertie o+ a (ot an" to "etermine t(e tat& o+
external a&t(enti%ation 12 %(e%8in, t(e val&e o+ t(e relevant +iel".
!isabling e+ternal authentication
Ue XenCenter to "ia1le A%tive Dire%tor2 a&t(enti%ation or t(e +ollo'in, xe %omman"
8/9/2019 Citirx Doc - Copy
19/228
xe pool-disable-external-auth
,%8%,% 9ser authentication
To allo' a &er a%%e to 2o&r XenServer (ot 2o& m&t a"" a &1;e%t +or t(at &er or a ,ro&! t(at t(e2 are in.
6Tranitive ,ro&! mem1er(i! are alo %(e%8e" in t(e normal 'a2 +or exam!le a""in, a &1;e%t +or ,ro&! + '(ere,ro&! +%ontain ,ro&! /an" (ser $i a mem1er o+ ,ro&! /'o&l" !ermit a%%e to (ser $.7 I+ 2o& 'i( to
mana,e &er !ermiion in A%tive Dire%tor2 2o& %o&l" %reate a in,le ,ro&! t(at 2o& t(en a"" an" remove &er
to?+romJ alternativel2 2o& %an a"" an" remove in"ivi"&al &er +rom XenServer or a %om1ination o+ &er an" ,ro&!
a 2o&r 'o&l" 1e a!!ro!riate +or 2o&r a&t(enti%ation re*&irement. T(e &1;e%t lit %an 1e mana,e" +rom XenCenter
or &in, t(e C4I a "e%ri1e" 1elo'.
@(en a&t(enti%atin, a &er t(e %re"ential are +irt %(e%8e" a,aint t(e lo%al root a%%o&nt allo'in, 2o& to re%over a
2tem '(oe AD erver (a +aile". I+ t(e %re"ential 6i.e. &ername t(en !a'or"7 "o not mat%(?a&t(enti%ate t(en
an a&t(enti%ation re*&et i ma"e to t(e AD erver K i+ t(i i &%%e+&l t(e &erF in+ormation 'ill 1e retrieve" an"
vali"ate" a,aint t(e lo%al &1;e%t lit ot(er'ie a%%e 'ill 1e "enie". Vali"ation a,aint t(e &1;e%t lit 'ill &%%ee"
i+ t(e &er or a ,ro&! in t(e tranitive ,ro&! mem1er(i! o+ t(e &er i in t(e &1;e%t lit.
Allo1ing a user access to XenServer using the CLI
To a"" an AD &1;e%t to XenServer
xe subject-add subject-name=
T(e entit2 name (o&l" 1e t(e name o+ t(e &er or ,ro&! to '(i%( 2o& 'ant to ,rant a%%e. o& ma2
o!tionall2 in%l&"e t(e "omain o+ t(e entit2 6e.,. F+endt,user#>F a o!!oe" to Fuser#>F7 alt(o&,( t(e
1e(avior 'ill 1e t(e ame &nle "iam1i,&ation i re*&ire".
3emoving access for a user using the CLI
$. I"enti+2 t(e &1;e%t i"enti+ier +or t(e &1;e%t 2o& 'i( to revo8e a%%e. T(i 'o&l" 1e t(e &er or t(e ,ro&!
%ontainin, t(e &er 6removin, a ,ro&! 'o&l" remove a%%e to all &er in t(at ,ro&! !rovi"in, t(e2 are not
alo !e%i+ie" in t(e &1;e%t lit7. o& %an "o t(i &in, t(e &1;e%t lit %omman"
xe subject-list
o& ma2 'i( to a!!l2 a +ilter to t(e lit +or exam!le to ,et t(e &1;e%t i"enti+ier +or a &er name" (ser$in
t(e testad"omain 2o& %o&l" &e t(e +ollo'in, %omman"
xe subject-list other-config:subject-name=''
#. Remove t(e &er &in, t(e subject-remove%omman" !ain, in t(e &1;e%t i"enti+ier 2o& learne" in t(e
!revio& te!
xe subject-remove subject-identifier=
8/9/2019 Citirx Doc - Copy
20/228
-. o& ma2 'i( to terminate an2 %&rrent eion t(i &er (a alrea"2 a&t(enti%ate". SeeTerminatin, all
a&t(enti%ate" eion &in, xean"Terminatin, in"ivi"&al &er eion &in, xe+or more in+ormation a1o&t
terminatin, eion. I+ 2o& "o not terminate eion t(e &er '(oe !ermiion (ave 1een revo8e" ma2 1e
a1le to %ontin&e to a%%e t(e 2tem &ntil t(e2 lo, o&t.
Listing subjects 1ith access
To i"enti+2 t(e lit o+ &er an" ,ro&! 'it( !ermiion to a%%e 2o&r XenServer (ot or !ool &e t(e
+ollo'in, %omman"
xe subject-list
,%8%2% 3emoving access for a user
On%e a &er i a&t(enti%ate" t(e2 'ill (ave a%%e to t(e erver &ntil t(e2 en" t(eir eion or anot(er &er
terminate t(eir eion. Removin, a &er +rom t(e &1;e%t lit or removin, t(em +rom a ,ro&! t(at i in t(e &1;e%t
lit 'ill not a&tomati%all2 revo8e an2 alrea"2a&t(enti%ate" eion t(at t(e &er (aJ t(i mean t(at t(e2 ma2 1e
a1le to %ontin&e to a%%e t(e !ool &in, XenCenter or ot(er A9I eion t(at t(e2 (ave alrea"2 %reate". In or"er to
terminate t(ee eion +or%e+&ll2 XenCenter an" t(e C4I !rovi"e +a%ilitie to terminate in"ivi"&al eion or all
%&rrentl2 a%tive eion. See t(e XenCenter (el! +or more in+ormation on !ro%e"&re &in, XenCenter or 1elo' +or
!ro%e"&re &in, t(e C4I.
Terminating all authenticated sessions using +e
Exe%&te t(e +ollo'in, C4I %omman"
xe session-subject-identifier-logout-all
Terminating individual user sessions using +e
$. Determine t(e &1;e%t i"enti+ier '(oe eion 2o& 'i( to lo, o&t. Ue eit(er t(e session-subject-
identifier-listor subject-listxe %omman" to +in" t(i 6t(e +irt (o' &er '(o (ave eion
t(e e%on" (o' all &er 1&t %an 1e +iltere" +or exam!le &in, a %omman" li8e xe subject-list
other-config:subject-name=xendt\\user1K "e!en"in, on 2o&r (ell 2o& ma2 nee" a "o&1le
1a%8la( a (o'n7.
#. Ue t(e session-subject-logout%omman" !ain, t(e &1;e%t i"enti+ier 2o& (ave "etermine" in t(e
!revio& te! a a !arameter +or exam!le
xe session-subject-identifier-logout subject-identifier=
,%8%$% Leaving an A! domain
Ue XenCenter to leave an AD "omain. See t(e XenCenter (el! +or more in+ormation. Alternatel2 r&n t(e pool-
disable-external-auth%omman" !e%i+2in, t(e !ool &&i" i+ re*&ire".
Note
http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#terminating_all_authenticated_sessionshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#terminating_all_authenticated_sessionshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#terminating_all_authenticated_sessionshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#terminating_individual_sessionshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#terminating_individual_sessionshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#terminating_individual_sessionshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#terminating_all_authenticated_sessionshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#terminating_all_authenticated_sessionshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#terminating_individual_sessions8/9/2019 Citirx Doc - Copy
21/228
4eavin, t(e "omain 'ill not %a&e t(e (ot o1;e%t to 1e remove" +rom t(e AD "ata1ae. See t(i8no'le",e 1ae
arti%le +or more in+ormation a1o&t t(i an" (o' to remove t(e "ia1le" (ot entrie.
C(a!ter -. Stora,e
Table of Contents
-.$. Stora,e Overvie'
-.$.$. Stora,e Re!oitorie 6SR7
-.$.#. Virt&al Di8 Ima,e 6VDI7
-.$.-. 9(2i%al :lo%8 Devi%e 69:D7
-.$.. Virt&al :lo%8 Devi%e 6V:D7
-.$.5. S&mmar2 o+ Stora,e o1;e%t
-.$./. Virt&al Di8 Data
8/9/2019 Citirx Doc - Copy
22/228
1et !ra%ti%e +or mana,in, tora,e in XenServer (ot environment.
o1;e%t t(at allo' a ,iven SR to 1e ma!!e" to a XenServer (ot. 9:D tore t(e "evi%e %on+i,&ration +iel" t(at are
&e" to %onne%t to an" intera%t 'it( a ,iven tora,e tar,et.
8/9/2019 Citirx Doc - Copy
23/228
a""re o+ t(e N
2%.%=% (irtual !is: !ata ormats
In ,eneral t(ere are t(ree t2!e o+ ma!!in, o+ !(2i%al tora,e to a VDI
http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_pbdhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_pbdhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vbdhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vbdhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_pbdhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_vbd8/9/2019 Citirx Doc - Copy
24/228
-ile.)ased V*D on a -ilesstem/VM ima,e are tore" a t(in!roviione" VHD +ormat +ile on eit(er a
lo%al non(are" based (!Is
VHD +ile ma2 1e chained allo'in, t'o VDI to (are %ommon "ata. In %ae '(ere a VHD1a%8e" VM i %lone"
t(e re<in, VM (are t(e %ommon on"i8 "ata at t(e time o+ %lonin,. Ea%( !ro%ee" to ma8e it o'n %(an,e in
an iolate" %o!2on'rite 6Co@7 verion o+ t(e VDI. T(i +eat&re allo' VHD1ae" VM to 1e *&i%8l2 %lone" +rom
tem!late +a%ilitatin, ver2 +at !roviionin, an" "e!lo2ment o+ ne' VM.
T(e VHD +ormat &e" 12 4VM1ae" an"
8/9/2019 Citirx Doc - Copy
25/228
VHD ima,e &!!ort %(ainin, '(i%( i t(e !ro%e '(ere12 in+ormation (are" 1et'een one or more VDI i not
"&!li%ate". T(i lea" to a it&ation '(ere tree o+ %(aine" VDI are %reate" over time a VM an" t(eir ao%iate"
VDI ,et %lone". @(en one o+ t(e VDI in a %(ain i "elete" XenServer rationali=e t(e ot(er VDI in t(e %(ain to
remove &nne%ear2 VDI.
T(i %oale%in, !ro%e r&n a2n%(rono&l2. T(e amo&nt o+ "i8 !a%e re%laime" an" t(e time ta8en to !er+orm t(e!ro%e "e!en" on t(e i=e o+ t(e VDI an" t(e amo&nt o+ (are" "ata. Onl2 one %oale%in, !ro%e 'ill ever 1e
a%tive +or an SR. T(i !ro%e t(rea" r&n on t(e SR mater (ot.
I+ 2o& (ave %riti%al VM r&nnin, on t(e mater erver o+ t(e !ool an" ex!erien%e o%%aional lo' IO "&e to t(i
!ro%e 2o& %an ta8e te! to miti,ate a,aint t(i
Mi,rate t(e VM to a (ot ot(er t(an t(e SR mater
Set t(e "i8 IO !riorit2 to a (i,(er level an" a";&t t(e %(e"&ler. See Se%tion -.5 LVirt&al "i8 oS
ettin,+or more in+ormation.
2%.%=%.%,% Space 9tilisation
S!a%e &tiliation i al'a2 re!orte" 1ae" on t(e %&rrent allo%ation o+ t(e SR an" ma2 not re+le%t t(e amo&nt o+
virt&al "i8 !a%e allo%ate". T(e re!ortin, o+ !a%e +or 4VM1ae" SR ver&
8/9/2019 Citirx Doc - Copy
26/228
E*&al4o,i% tora,e i a%%ei1le &in, t(e E*&al4o,i% SR "river t2!e an" i (ote" on an E*&al4o,i% tora,e arra2
r&nnin, a +irm'are verion o+ .0 or ,reater. 4UN are allo%ate" an" ma!!e" "2nami%all2 to t(e (ot &in, t(e
XenServer (ot mana,ement +rame'or8.
8/9/2019 Citirx Doc - Copy
27/228
2%,%2% L() performance considerations
T(e na!(ot an" +at %lone +&n%tionalit2 !rovi"e" in XenServer 5.5 an" later +or 4VM1ae" SR %ome 'it( an
in(erent !er+orman%e over(ea". In %ae '(ere o!timal !er+orman%e i "eire" XenServer &!!ort %reation o+ VDI
in t(e raw+ormat in a""ition to t(e "e+a< VHD +ormat. T(e XenServer na!(ot +&n%tionalit2 i not &!!orte" on ra'
VDI.
Note
Nontran!orta1le na!(ot &in, t(e "e+a< @in"o' VSS !rovi"er 'ill 'or8 on an2 t2!e o+ VDI.
*arning
Do not tr2 to na!(ot a VM t(at (a type)raw"i8 atta%(e". T(i %o&l" re< in a !artial na!(ot 1ein,
%reate". In t(i it&ation 2o& %an i"enti+2 t(e or!(an na!(ot VDI 12 %(e%8in, t(e snapshot-of+iel" an" t(en
"eletin, t(em.
2%,%2%.% (!I t7pes
In ,eneral VHD +ormat VDI 'ill 1e %reate". o& %an o!t to &e ra' at t(e time 2o& %reate t(e VDIJ t(i %an onl2 1e
"one &in, t(e xe C4I. A+ter o+t'are &!,ra"e +rom a !revio& XenServer verion exitin, "ata 'ill 1e !reerve" a
1a%8'ar"%om!ati1le ra' VDI 1&t t(ee are !e%ial%ae" o t(at na!(ot %an 1e ta8en o+ t(em on%e 2o& (ave
allo'e" t(i 12 &!,ra"in, t(e SR. On%e t(e SR (a 1een &!,ra"e" an" t(e +irt na!(ot (a 1een ta8en 2o& 'ill 1e
a%%ein, t(e "ata t(ro&,( a VHD +ormat VDI.
To %(e%8 i+ an SR (a 1een &!,ra"e" veri+2 t(at it sm-config:(se_vhd8e2 i tr(e. To %(e%8 i+ a VDI 'a
%reate" 'it( type)raw %(e%8 it sm-configma!. T(e sr-param-listan" vdi-param-listxe %omman"
%an 1e &e" re!e%tivel2 +or t(i !&r!oe.
2%,%2%,% Creating a ra1 virtual dis: using the +e CLI
$. R&n t(e +ollo'in, %omman" to %reate a VDI ,iven t(e UUID o+ t(e SR 2o& 'ant to !la%e t(e virt&al "i8 in
xe vdi-create sr-uuid=type=user virtual-size=
name-label=
#. Atta%( t(e ne' virt&al "i8 to a VM an" &e 2o&r normal "i8 tool 'it(in t(e VM to !artition an" +ormat or
ot(er'ie ma8e &e o+ t(e ne' "i8. o& %an &e t(e vbd-create%omman" to %reate a ne' V:D to ma! t(e
virt&al "i8 into 2o&r VM.
2%,%$% Converting bet1een (!I formats
It i not !oi1le to "o a "ire%t %onverion 1et'een t(e ra' an" VHD +ormat. Intea" 2o& %an %reate a ne' VDI
6eit(er ra' a "e%ri1e" a1ove or VHD i+ t(e SR (a 1een &!,ra"e" or 'a %reate" on XenServer 5.5 or later7 an"
t(en %o!2 "ata into it +rom an exitin, vol&me. Citrix re%ommen" t(at 2o& &e t(e xe C4I to en&re t(at t(e ne' VDI
(a a virt&al i=e at leat a 1i, a t(e VDI 2o& are %o!2in, +rom 612 %(e%8in, it virt&ali=e +iel" +or exam!le 12
&in, t(e vdi-param-list%omman"7. o& %an t(en atta%( t(i ne' VDI to a VM an" &e 2o&r !re+erre" tool 'it(in
8/9/2019 Citirx Doc - Copy
28/228
t(e VM 6tan"ar" "i8 mana,ement tool in @in"o' or t(e dd%omman" in 4in&x7 to "o a "ire%t 1lo%8%o!2 o+ t(e
"ata. I+ t(e ne' vol&me i a VHD vol&me it i im!ortant to &e a tool t(at %an avoi" 'ritin, em!t2 e%tor to t(e "i8
o t(at !a%e i &e" o!timall2 in t(e &n"erl2in, tora,e re!oitor2 in t(i %ae a +ile1ae" %o!2 a!!roa%( ma2 1e
more &ita1le.
2%,%6% ;robing an S3
T(e sr-probe%omman" %an 1e &e" in t'o 'a2
$. To i"enti+2 &n8no'n !arameter +or &e in %reatin, a SR.
#. To ret&rn a lit o+ exitin, SR.
In 1ot( %ae sr-probe'or8 12 !e%i+2in, an SR t2!e an" one or more device-config!arameter +or t(at
SR t2!e. @(en an in%om!lete et o+ !arameter i &!!lie" t(e sr-probe%omman" ret&rn an error mea,e
in"i%atin, !arameter are miin, an" t(e !oi1le o!tion +or t(e miin, !arameter. @(en a %om!lete et o+
!arameter i &!!lie" a lit o+ exitin, SR i ret&rne". All sr-probeo&t!&t i ret&rne" a XM4.
8/9/2019 Citirx Doc - Copy
29/228
Error code: SR_BACKEND_FAILURE_107
Error parameters: , The SCSIid parameter is missing or incorrect, \
IET
0
42949672960
149455400000000000000000002000000b70200000f000000
9ro1in, t(e ame tar,et an" &!!l2in, all t(ree !arameter 'ill ret&rn a lit o+ SR t(at exit on t(e 4UN i+ an2.
xe sr-probe type=lvmoiscsi device-config:target=192.168.1.10 \
device-config:targetIQN=192.168.1.10:filer1 \
device-config:SCSIid=149455400000000000000000002000000b70200000f000000
3f6e1ebd-8687-0315-f9d3-b02ab3adc4a6
/dev/disk/by-id/scsi-
149455400000000000000000002000000b70200000f000000
T(e +ollo'in, !arameter %an 1e !ro1e" +or ea%( SR t2!e
SR type device-config parameter, in order of
dependency
Can be
probed?
Required for sr-
create?
lvmoiscsi target No Yes
chapuser No No
8/9/2019 Citirx Doc - Copy
30/228
SR type device-config parameter, in order of
dependency
Can be
probed?
Required for sr-
create?
chappassword No No
targetIQN Yes Yes
SCSIid Yes Yes
lvmohba SCSIid Yes Yes
netapp target No Yes
username No Yes
password No Yes
chapuser No No
chappassword No No
aggregate No[a] Yes
FlexVols No No
allocation No No
asis No No
ns server No Yes
serverpath Yes Yes
lvm device No Yes
ext device No Yes
e!uallogic target No Yes
http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.id2554162http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.id2554162http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.id2554162http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.id25541628/9/2019 Citirx Doc - Copy
31/228
SR type device-config parameter, in order of
dependency
Can be
probed?
Required for sr-
create?
username No Yes
password No Yes
chapuser No No
chappassword No No
storagepool No[b] Yes
cslg target No Yes
storageS"stemId Yes Yes
storage#oolId Yes Yes
username No No [c]
password No No [c]
cslport No No [c]
chapuser No No [c]
chappassword No No [c]
provision$t"pe Yes No
protocol Yes No
http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.id2554376http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.id2554376http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.cslg_probehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.cslg_probehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.cslg_probehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.cslg_probehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.cslg_probehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.id2554376http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.cslg_probehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.cslg_probehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.cslg_probehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.cslg_probehttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.cslg_probe8/9/2019 Citirx Doc - Copy
32/228
SR type device-config parameter, in order of
dependency
Can be
probed?
Required for sr-
create?
provision$options Yes No
raid$t"pe Yes No
[a]%ggregate probing is onl" possible at sr-createtime& It needs to be done there so that the
aggregate can be speciied at the point that the S' is created&
[b] Storage pool probing is onl" possible at sr-createtime& It needs to be done there so that
the aggregate can be speciied at the point that the S' is created&
[c]I the username( password( or port coniguration o the Storage)in* service are changed romthe deault value then the appropriate parameter and value must be speciied&
2%,%=% Storage )ultipathing
D2nami% m<i!at(in, &!!ort i availa1le +or
8/9/2019 Citirx Doc - Copy
33/228
-. Set t(e (otF other-config:m("tipathhand"e!arameter to "m!
xe host-param-set other-config:multipathhandle=dmp uuid=host_uuid
. I+ t(ere are exitin, SR on t(e (ot r&nnin, in in,le !at( mo"e 1&t t(at (ave m<i!le !at(
Mi,rate or &!en" an2 r&nnin, ,&et 'it( virt&al "i8 in a++e%te" t(e SR
Un!l&, an" re!l&, t(e 9:D o+ an2 a++e%te" SR to re%onne%t t(em &in, m<i!at(in,
xe pbd-plug uuid=
To "ia1le m<i!at(in, +irt &n!l&, 2o&r V:D et t(e (ot other-config:m("tipathing!arameter
to fa"sean" t(en re!l&, 2o&r 9:D a "e%ri1e" a1ove. Do not mo"i+2 t(e other-
config:m("tipathhand"e!arameter a t(i 'ill 1e "one a&tomati%all2.
M<i!at( &!!ort in XenServer i 1ae" on t(e "evi%ema!!er m("tipathd components. A%tivation an"
"ea%tivation o+ m<i!at( no"e i (an"le" a&tomati%all2 12 t(e Stora,e Mana,er A9I. Unli8e t(e tan"ar" dm-
m("tipathtool in lin&x "evi%e ma!!er no"e are not a&tomati%all2 %reate" +or all 4UN on t(e 2tem an" it i
onl2 '(en 4UN are a%tivel2 &e" 12 t(e tora,e mana,ement la2er t(at ne' "evi%e ma!!er no"e are !roviione".
It i &nne%ear2 t(ere+ore to &e an2 o+ t(e dm-m("tipathC4I tool to *&er2 or re+re( DM ta1le no"e in
XenServer. S(o&l" it 1e ne%ear2 to *&er2 t(e tat& o+ "evi%ema!!er ta1le man&all2 or lit a%tive "evi%e ma!!er
m<i!at( no"e on t(e 2tem &e t(e mpath(ti" &tilit2
m!at(&til lit
m!at(&til tat&
Unli8e t(e tan"ar" dm-m("tipathtool in 4in&x "evi%e ma!!er no"e are not a&tomati%all2 %reate" +or all 4UN
on t(e 2tem. A 4UN are a%tivel2 &e" 12 t(e tora,e mana,ement la2er ne' "evi%e ma!!er no"e are
!roviione". It i &nne%ear2 to &e an2 o+ t(e dm-m("tipathC4I tool to *&er2 or re+re( DM ta1le no"e in
XenServer.
Note
D&e to in%om!ati1ilitie 'it( t(e inte,rate" m<i!at( mana,ement ar%(ite%t&re t(e tan"ar" dm-m("tipathC4I
&tilit2 should not )e used'it( XenServer. 9leae &e t(e mpath(ti"C4I tool +or *&er2in, t(e tat& o+ no"e on
t(e (ot.
Note
M<i!at( &!!ort in E*&allo,i% arra2 "oe not en%om!a Stora,e IO m<i!at(in, in t(e tra"itional ene o+ t(e
term. M<i!at(in, m&t 1e (an"le" at t(e net'or8?NIC 1on" level. Re+er to t(e E*&allo,i% "o%&mentation +or
in+ormation a1o&t %on+i,&rin, net'or8 +ailover +or E*&allo,i% SR?4VMoISCSI SR.
-.-. Stora,e Re!oitor2 T2!e
8/9/2019 Citirx Doc - Copy
34/228
T(e tora,e re!oitor2 t2!e &!!orte" in XenServer are !rovi"e" 12 !l&,in in t(e %ontrol "omainJ t(ee %an 1e
examine" an" !l&,in &!!orte" 12 t(ir" !artie %an 1e a""e" to t(e /opt/xensource/sm"ire%tor2. Mo"i+i%ation
o+ t(ee +ile i &n&!!orte" 1&t vii1ilit2 o+ t(ee +ile ma2 1e val&a1le to "evelo!er an" !o'er &er. Ne' tora,e
mana,er !l&,in !la%e" in t(i "ire%tor2 are a&tomati%all2 "ete%te" 12 XenServer. Ue t(e sm-list%omman"
6ee Se%tion 3..$- LStora,e Mana,er %omman"7 to lit t(e availa1le SR t2!e .
Ne' tora,e re!oitorie are %reate" &in, t(e Ne1 Storage 1i?ardin XenCenter. T(e 'i=ar" ,&i"e 2o& t(ro&,(
t(e vario& !ro1in, an" %on+i,&ration te!. Alternativel2 &e t(e sr-create%omman". T(i %omman" %reate a
ne' SR on t(e tora,e &1trate 6!otentiall2 "etro2in, an2 exitin, "ata7 an" %reate t(e SR A9I o1;e%t an" a
%orre!on"in, 9:D re%or" ena1lin, VM to &e t(e tora,e. On &%%e+&l %reation o+ t(e SR t(e 9:D i
a&tomati%all2 !l&,,e". I+ t(e SR shared)tr(e+la, i et a 9:D re%or" i %reate" an" !l&,,e" +or ever2
XenServer Hot in t(e reo&r%e !ool.
All XenServer SR t2!e &!!ort VDI rei=e +at %lonin, an" na!(ot. SR 1ae" on t(e 4VM SR t2!e 6lo%al iSCSI
or H:A7 !rovi"e t(in !roviionin, +or na!(ot an" (i""en !arent no"e. T(e ot(er SR t2!e &!!ort +&ll t(in
!roviionin, in%l&"in, +or virt&al "i8 t(at are a%tive.
Note
A&tomati% 4VM meta"ata ar%(ivin, i "ia1le" 12 "e+a<. T(i "oe not !revent meta"ata re%over2 +or 4VM ,ro&!.
*arning
@(en VHD VDI are not atta%(e" +or exam!le in t(e %ae o+ a VDI na!(ot t(e2 are tore" 12 "e+a< t(inl2
!roviione". :e%a&e o+ t(i it i im!erative to en&re t(at t(ere i &++i%ient "i8!a%e availa1le +or t(e VDI to
1e%ome t(i%8l2 !roviione" '(en attem!tin, to atta%( it. VDI %lone (o'ever are t(i%8l2!roviione".
T(e maxim&m &!!orte" VDI i=e are
Storage type Maximum VDI sie
+,-. /-0
)V1 /-0
Netapp /-0
+!ual)ogic 23-0
4N-%#5Net%pp6 2/-0
2%2%.% Local L()
T(e 4o%al 4VM t2!e !reent "i8 'it(in a lo%all2atta%(e" Vol&me )ro&!.
http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_smhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#cli-xe-commands_sm8/9/2019 Citirx Doc - Copy
35/228
:2 "e+a< XenServer &e t(e lo%al "i8 on t(e !(2i%al (ot on '(i%( it i intalle". T(e 4in&x 4o,i%al Vol&me
Mana,er 64VM7 i &e" to mana,e VM tora,e. A VDI i im!lemente" in VHD +ormat in an 4VM lo,i%al vol&me o+ t(e
!e%i+ie" i=e.
XenServer verion !rior to 5.5.0 "i" not &e t(e VHD +ormat an" 'ill remain in le,a%2 mo"e. See Se%tion -.#.#
LU!,ra"in, 4VM tora,e +rom XenServer 5.0 or earlier+or in+ormation a1o&t &!,ra"in, a tora,e re!oitor2 to t(ene' +ormat.
2%2%.%.% Creating a local L() S3 #lvm
Devi%e%on+i, !arameter +or lvm SR are
!arameter "ame Description Required?
7evice device name on the local host to use or the S' Yes
To %reate a lo%al lvm SR on /dev/sdb&e t(e +ollo'in, %omman".
xe sr-create host-uuid=content-type=user \
name-label=shared=false \
device-config:device=/dev/sdb type=lvm
2%2%,% Local "XT2 (/!
T(e 4o%al EXT- VHD t2!e re!reent "i8 a VHD +ile tore" on a lo%al !at(.
4o%al "i8 %an alo 1e %on+i,&re" 'it( a lo%al EXT SR to erve VDI tore" in t(e VHD +ormat. 4o%al "i8 EXT SRm&t 1e %on+i,&re" &in, t(e XenServer C4I.
:2 "e+inition lo%al "i8 are not (are" a%ro !ool o+ XenServer (ot. A a %one*&en%e VM '(oe VDI are
tore" in SR on lo%al "i8 are not a,ile t(e2 %annot 1e mi,rate" 1et'een XenServer (ot in a reo&r%e !ool.
2%2%,%.% Creating a local "XT2 S3 #e+t
Devi%e%on+i, !arameter +or ext SR
!arameter "ame Description Required?
7evice device name on the local host to use or the S' Yes
To %reate a lo%al ext SR on /dev/sdb&e t(e +ollo'in, %omman"
xe sr-create host-uuid=content-type=user \
name-label=shared=false \
http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#upgrading_to_lvhdhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#upgrading_to_lvhdhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#upgrading_to_lvhdhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#upgrading_to_lvhd8/9/2019 Citirx Doc - Copy
36/228
device-config:device=/dev/sdb type=ext
2%2%2% udev
T(e (devt2!e re!reent "evi%e !l&,,e" in &in, t(e (dev"evi%e mana,er a VDI.
XenServer (a t'o SR o+ t2!e udevt(at re!reent remova1le tora,e. One i +or t(e CD or DVD "i8 in t(e !(2i%al
CD or DVDROM "rive o+ t(e XenServer (ot. T(e ot(er i +or a US: "evi%e !l&,,e" into a US: !ort o+ t(e
XenServer (ot. VDI t(at re!reent t(e me"ia %ome an" ,o a "i8 or US: ti%8 are inerte" an" remove".
2%2%$% IS0
T(e ISO t2!e (an"le CD ima,e tore" a +ile in ISO +ormat. T(i SR t2!e i &e+&l +or %reatin, (are" ISO
li1rarie.
2%2%6% "4ualLogic
T(e E*&al4o,i% SR t2!e ma! 4UN to VDI on a E*&al4o,i% arra2 ,ro&! allo'in, +or t(e &e o+ +at na!(ot an"
%lone +eat&re on t(e arra2.
I+ 2o& (ave a%%e to an E*&al4o,i% +iler 2o& %an %on+i,&re a %&tom E*&al4o,i% tora,e re!oitor2 +or VM tora,e
on 2o& XenServer "e!lo2ment. T(i allo' t(e &e o+ t(e a"van%e" +eat&re o+ t(i +iler t2!e. Virt&al "i8 are tore"
on t(e +iler &in, one 4UN !er virt&al "i8. Uin, t(i tora,e t2!e 'ill ena1le t(e t(in !roviionin, na!(ot an" +at
%lone +eat&re o+ t(i +iler.
Coni"er 2o&r tora,e re*&irement '(en "e%i"in, '(et(er to &e t(e !e%iali=e" SR !l&,in or to &e t(e ,eneri%
4VM?iSCSI tora,e 1a%8en". :2 &in, t(e !e%iali=e" !l&,in XenServer 'ill %omm&ni%ate 'it( t(e +iler to !roviion
tora,e. Some arra2 (ave a limitation o+ even %on%&rrent %onne%tion '(i%( ma2 limit t(e t(ro&,(!&t o+ %ontrol
o!eration. Uin, t(e !l&,in 'ill allo' 2o& to ma8e &e o+ t(e a"van%e" arra2 +eat&re (o'ever o 'ill ma8e 1a%8&!
an" na!(ot o!eration eaier.
*arning
T(ere are t'o t2!e o+ a"minitration a%%o&nt t(at %an &%%e+&ll2 a%%e t(e E*&al4o,i% SM !l&,in
A ,ro&! a"minitration a%%o&nt '(i%( (a a%%e to an" %an mana,e t(e entire ,ro&! an" all
tora,e !ool.
A !ool a"minitrator a%%o&nt t(at %an mana,e onl2 t(e o1;e%t 6SR an" VDI na!(ot7 t(at are
in t(e !ool or !ool ai,ne" to t(e a%%o&nt.
2%2%6%.% Creating a shared "4ualLogic S3
Devi%e%on+i, !arameter +or E*&al4o,i% SR
8/9/2019 Citirx Doc - Copy
37/228
!arameter
"ame
Description #ptiona$?
target the I# address or hostname o the +!ual)ogic arra" that hosts the
S'
no
username the login username used to manage the )8Ns on the arra" no
password the login password used to manage the )8Ns on the arra" no
storagepool the storage pool name no
chapuser the username to be used or C9%# authentication "es
chappassword the password to be used or C9%# authentication "es
allocation speciies whether to use thic* or thin provisioning& 7eault is thic*&-hin provisioning reserves a minimum o 2:; o volume space&
"es
snap$reserve$
percentage
sets the amount o space( as percentage o volume reserve( to
allocate to snapshots& 7eault is 2::;&
"es
snap$depletion sets the action to ta*e when snapshot reserve space isexceeded& vo"(me-off"inesets the volume and all its snapshots
oline& -his is the deault action& -he de"ete-o"destaction
deletes the oldest snapshot until enough space is available orcreating the new snapshot&
"es
Ue t(e sr-create%omman" to %reate an E*&al4o,i% SR.
8/9/2019 Citirx Doc - Copy
38/228
T(e NetA!! t2!e ma! 4UN to VDI on a NetA!! erver ena1lin, t(e &e o+ +at na!(ot an" %lone +eat&re on
t(e +iler.
Note
NetA!! an" E*&al4o,i% SR re*&ire a Citri+ "ssentials for XenServerli%ene. To learn more a1o&t CitrixEential +or XenServer an" to +in" o&t (o' to &!,ra"e viit t(e Citrix 'e1ite(ere.
I+ 2o& (ave a%%e to Net'or8 A!!lian%eG 6NetA!!7 tora,e 'it( &++i%ient "i8 !a%e r&nnin, a verion o+ Data
ONTA9 ) 6verion .0 or ,reater7 2o& %an %on+i,&re a %&tom NetA!! tora,e re!oitor2 +or VM tora,e on 2o&r
XenServer "e!lo2ment. T(e XenServer "river &e t(e A9I inter+a%e to t(e tora,e to %reate a ,ro&!
o+ -le+Volst(at %orre!on" to an SR. VDI are %reate" a virt&al 4UN on t(e tora,e an" atta%(e" to XenServer
(ot &in, an iSCSI "ata !at(. T(ere i a "ire%t ma!!in, 1et'een a VDI an" a ra' 4UN t(at "oe not re*&ire an2
a""itional vol&me meta"ata. T(e NetA!! SR i a mana,e" vol&me an" t(e VDI are t(e 4UN 'it(in t(e vol&me. VM
%lonin, &e t(e na!(ottin, an" %lonin, %a!a1ilitie o+ t(e tora,e +or "ata e++i%ien%2 an" !er+orman%e an" to
en&re %om!ati1ilit2 'it( exitin, ONTA9 mana,ement tool.
A 'it( t(e iSCSI1ae" SR t2!e t(e NetA!! "river alo &e t(e 1&iltin o+t'are initiator an" it ai,ne" (ot IN
'(i%( %an 1e mo"i+ie" 12 %(an,in, t(e val&e (o'n on t(e Generalta1 '(en t(e tora,e re!oitor2 i ele%te" in
XenCenter.
T(e eaiet 'a2 to %reate NetA!! SR i to &e XenCenter. See t(e XenCenter (el! +or "etail. See Se%tion -.-./.$
LCreatin, a (are" NetA!! SR over iSCSI+or an exam!le o+ (o' to %reate t(em &in, t(e xe C4I.
le+(ols
NetA!! &e
8/9/2019 Citirx Doc - Copy
39/228
)iven t(ee reo&r%e %ontraint t(e ma!!in, o+ virt&al tora,e o1;e%t to t(e Onta! tora,e 2tem (a 1een
"ei,ne" in t(e +ollo'in, manner. 4UN are "itri1&te" evenl2 a%ro
8/9/2019 Citirx Doc - Copy
40/228
I+ 2o& are &in, t(in !roviionin, in !ro"&%tion environment ta8e a!!ro!riate mea&re to en&re t(at 2o& never r&n
o&t o+ tora,e !a%e. VM atta%(e" to tora,e t(at i +&ll 'ill +ail to 'rite to "i8 an" in ome %ae ma2 +ail to rea"
+rom "i8 !oi1l2 ren"erin, t(e VM &n&a1le.
AS !eduplication
8/9/2019 Citirx Doc - Copy
41/228
Devi%e%on+i, !arameter +or neta!! SR
!arameter
"ame
Description #ptiona$?
target the I# address or hostname o the Net%pp server that hosts theS'
no
port the port to use or connecting to the Net%pp server that hosts
the S'& 7eault is port
8/9/2019 Citirx Doc - Copy
42/228
Note
T(i 'or8 on ne' VDI %reation in t(e ele%te"
8/9/2019 Citirx Doc - Copy
43/228
D&rin, NetA!! SR !roviionin, a""itional "i8 !a%e i reerve" +or na!(ot. I+ 2o& !lan to not &e t(e
na!(ottin, +&n%tionalit2 2o& mi,(t 'ant to +ree &! t(i reerve" !a%e. To "o o 2o& %an re"&%e t(e val&e o+
t(e other-config:m("tip"ier!arameter. :2 "e+a< t(e val&e o+ t(e m<i!lier i #. o t(e amo&nt o+ !a%e
reerve" i #. time t(e amo&nt o+ !a%e t(at 'o&l" 1e nee"e" +or t(e
8/9/2019 Citirx Doc - Copy
44/228
It i im!erative t(at ever2 iSCSI tar,et an" initiator (ave a &ni*&e IN. I+ a non&ni*&e IN i"enti+ier i &e" "ata
%orr&!tion an"?or "enial o+ 4UN a%%e %an o%%&r.
*arning
Do not %(an,e t(e XenServer (ot IN 'it( iSCSI SR atta%(e". Doin, o %an re< in +ail&re %onne%tin, to ne'tar,et or exitin, SR.
2%2%5% )anaging /ard1are /ost 1&>tar,et>l&n> an" a tan"ar" "evi%e !at( &n"er /dev. To remove t(e "evi%eentrie +or 4UN no lon,er in &e a SR &e t(e +ollo'in, te!
$. Ue sr-forgetor sr-destroya a!!ro!riate to remove t(e SR +rom t(e XenServer (ot "ata1ae.
SeeSe%tion -..$ LDetro2in, or +or,ettin, a SR+or "etail.
#. Remove t(e =onin, %on+i,&ration 'it(in t(e SAN +or t(e "eire" 4UN to t(e "eire" (ot.
http://www.qlogic.com/http://www.qlogic.com/http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#probing_an_srhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#probing_an_srhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#Shared_LVM_storage_over_FC_or_iSCSI_hardware_HBAshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#Shared_LVM_storage_over_FC_or_iSCSI_hardware_HBAshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#Shared_LVM_storage_over_FC_or_iSCSI_hardware_HBAshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#destroying_or_forgetting_a_SRhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#destroying_or_forgetting_a_SRhttp://www.qlogic.com/http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#probing_an_srhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#Shared_LVM_storage_over_FC_or_iSCSI_hardware_HBAshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#Shared_LVM_storage_over_FC_or_iSCSI_hardware_HBAshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#destroying_or_forgetting_a_SR8/9/2019 Citirx Doc - Copy
45/228
-. Ue t(e sr-probe%omman" to "etermine t(e ADA9TER :US TAR)ET an" 4UN val&e %orre!on"in,
to t(e 4UN to 1e remove". SeeSe%tion -.#.5 L9ro1in, an SR+or "etail.
. Remove t(e "evi%e entrie 'it( t(e +ollo'in, %omman"
echo "1" >/sys/class/scsi_device/:::/device/delete
*arning
Ma8e a1ol&tel2 &re 2o& are %ertain '(i%( 4UN 2o& are removin,. A%%i"entall2 removin, a 4UN re*&ire" +or (ot
o!eration &%( a t(e 1oot or root "evi%e 'ill ren"er t(e (ot &n&a1le.
2%2%8% L() over iSCSI
T(e 4VM over iSCSI t2!e re!reent "i8 a 4o,i%al Vol&me 'it(in a Vol&me )ro&! %reate" on an iSCSI 4UN.
2%2%8%.% Creating a shared L() over iSCSI S3 using the soft1are iSCSI initiator #lvmoiscsi
Devi%e%on+i, !arameter +or lvmoi%i SR
!arameter "ame Description #ptiona$?
target the I# address or hostname o the iSCSI iler that hosts the S' "es
targetIQN the IQN target address o iSCSI iler that hosts the S' "es
SCSIid the SCSI bus I7 o the destination )8N "es
chapuser the username to be used or C9%# authentication no
chappassword the password to be used or C9%# authentication no
port the networ* port number on which to !uer" the target no
usediscover"number the speciic iscsi record index to use no
To %reate a (are" lvmoi%i SR on a !e%i+i% 4UN o+ an iSCSI tar,et &e t(e +ollo'in, %omman".
xe sr-create host-uuid=content-type=user \
name-label=shared=true \
device-config:target=device-config:targetIQN=\
device-config:SCSIid=\
type=lvmoiscsi
http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#probing_an_srhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#probing_an_srhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#probing_an_sr8/9/2019 Citirx Doc - Copy
46/228
2%2%8%,% Creating a shared L() over ibre Channel B iSCSI /
8/9/2019 Citirx Doc - Copy
47/228
8/9/2019 Citirx Doc - Copy
48/228
device-config:SCSIid=type=lvmohba
Note
o& %an &e t(e :RANDBCONSO4EJ 3epair Storage 3epositor7+&n%tion to retr2 t(e 9:D %reation an" !l&,,in,
!ortion o+ t(esr-create
o!eration. T(i %an 1e val&a1le in %ae '(ere t(e 4UN =onin, 'a in%orre%t +or one ormore (ot in a !ool '(en t(e SR 'a %reate". Corre%t t(e =onin, +or t(e a++e%te" (ot an" &e t(e 3epair Storage
3epositor7+&n%tion intea" o+ removin, an" re%reatin, t(e SR.
2%2%.&% NS (/!
T(e N
8/9/2019 Citirx Doc - Copy
49/228
XenServer (a 1een t&ne" +or enter!rie%la tora,e t(at &e nonvolatile RAM to !rovi"e +at a%8no'le",ment o+
'rite re*&et '(ile maintainin, a (i,( "e,ree o+ "ata !rote%tion +rom +ail&re. XenServer (a 1een tete" extenivel2
a,aint Net'or8 A!!lian%e
8/9/2019 Citirx Doc - Copy
50/228
XenServer (ot &!!ort i t(e name or I9 a""re o+ t(e ma%(ine r&nnin, t(e Stora,e4in8 ervi%e
http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#creating_storage_repositorieshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#creating_storage_repositorieshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#creating_storage_repositories8/9/2019 Citirx Doc - Copy
51/228
/opt/Citrix/StorageLink/bin/csl \
server=[:][,,]
8/9/2019 Citirx Doc - Copy
52/228
!arameter
name Description #ptiona$?
storage s"stems& I not speciied c is used i available( otherwiseiscsi&
provision$t"peSpeciies whether to use thic* or thin provisioning 5thic* or thin6?deault is thic*
Yes
provision$options%dditional provisioning options@ Set to ded(pto use the de$
duplication eatures supported b" the storage s"stemYes
raid$t"pe-he level o '%I7 to use or the S'( as supported b" the storage
arra"Yes
[a]I the username( password( or port coniguration o the Storage)in* service are changed rom
the deault then the appropriate parameter and value must be speciied&
SR o+ t2!e %l, &!!ort t'o a""itional !arameter t(at %an 1e &e" 'it( tora,e arra2 t(at &!!ort 4UN ,ro&!in,
+eat&re &%( a NetA!! +lexvol.
sm-config!arameter +or CS4) SR
!arameter
name Description #ptiona$?
pool$countCreates the speciied number o groups on the arra"( in which )8Nsprovisioned within the S' will be created
Yes
ph"sical$siAe-he total siAe o the S' in 10& +ach pool will be created with a siAee!ual to ph"sical$siAe divided b" pool$count&
Yes [a]
[a]'e!uired when speci"ing the sm-config:poo"-co(nt parameter
http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#if_the_username_password_or_porthttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#if_the_username_password_or_porthttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#if_the_username_password_or_porthttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.id2558707http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#id2558707http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#id2558707http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#id2558707http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#if_the_username_password_or_porthttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#ftn.id2558707http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#id25587078/9/2019 Citirx Doc - Copy
53/228
Note
@(en a ne' NetA!! SR i %reate" &in, Stora,e4in8 12 "e+a< a in,le
8/9/2019 Citirx Doc - Copy
54/228
33.
34.
35.
36.
37.
38. 5001-4380-013C-0240
39.
40. 16
41.
42. STORAGE_VOLUME
43.
44.
45. DIFF_SNAPSHOT
46.
47.
48.
49.
50.
51. 5001-4380-013C-0240
52.
53. 16
54.
55. STORAGE_VOLUME
56.
57.
58. CLONE
59.
60.
61. 62.
63.
64.
65.
o& %an &e ,re! to +ilter t(e r!ro1e o&t!&t to ;&t t(e tora,e !ool ID
xe sr-probe type=cslg device-config:target=192.168.128.10 | grep
storageSystemId
EMC__CLARIION__APM00074902515
HP__EVA__50014380013C0240 NETAPP__LUN__0AD4F00A
//. A"" t(e "eire" tora,e 2tem ID to t(e sr-probe%omman" to i"enti+2 t(e tora,e !ool availa1le 'it(in
t(e !e%i+ie" tora,e 2tem
67. xe sr-probe type=cslg \
8/9/2019 Citirx Doc - Copy
55/228
68. device-config:target=192.168.128.10 \ device-
config:storageSystemId=HP__EVA__50014380013C0240
69.
70.
71.
72. Default Disk Group
73. Default Disk Group
74.
00010710B4080560B6AB08000080000000000400
75.
76. HP__EVA__50014380013C0240
77. 1957099
78. 1273067
79. No
80. 0
81.
82.
83. RAID0
84. RAID1
85. RAID5
86.
87.
88. STORAGE_VOLUME
89.
90.
91.
92.
93.
94.
o& %an &e ,re! to +ilter t(e r!ro1e o&t!&t to ;&t t(e tora,e !ool ID
xe sr-probe type=cslg \
device-config:target=192.168.128.10 \
device-config:storageSystemId=HP__EVA__50014380013C0240 \
| grep storagePoolId
00010710B4080560B6AB08000080000000000400
5. Create t(e SR !e%i+2in, t(e "eire" tora,e 2tem an" tora,e !ool ID
96. xe sr-create type=cslg name-label=CSLG_EVA_1 shared=true \
97. device-config:target=192.168.128.10 \
98. device-config:storageSystemId=HP__EVA__50014380013C0240 \
device-config:storagePoolId=00010710B4080560B6AB08000080000000000400
-.. Mana,in, Stora,e Re!oitorie
8/9/2019 Citirx Doc - Copy
56/228
T(i e%tion %over vario& o!eration re*&ire" in t(e on,oin, mana,ement o+ Stora,e Re!oitorie 6SR7.
2%$%.% !estro7ing or forgetting a S3
o& %an "etro2 an SR '(i%( a%t&all2 "elete t(e %ontent o+ t(e SR +rom t(e !(2i%al me"ia. Alternativel2 2o& %an
+or,et an SR '(i%( allo' 2o& to reatta%( t(e SR +or exam!le to anot(er XenServer (ot 'it(o&t removin, an2 o+t(e SR %ontent. In 1ot( %ae t(e 9:D o+ t(e SR m&t +irt 1e &n!l&,,e".
8/9/2019 Citirx Doc - Copy
57/228
/. Create a 9:D to a%%om!an2 t(e SR. T(e UUID o+ t(e ne' 9:D i ret&rne"
7. xe pbd-create type=lvmoiscsi host-uuid=sr-
uuid=\
8. device-config:target=\
9. device-config:targetIQN=\
device-config:SCSIid=
$0. 9l&, t(e 9:D to atta%( t(e SR
xe pbd-plug uuid=
$$. Veri+2 t(e tat& o+ t(e 9:D !l&,. I+ &%%e+&l t(e c(rrent"y-attached!ro!ert2 'ill 1e tr&e
xe pbd-list sr-uuid=
Note
Ste! - t(ro&,( 5 m&t 1e !er+orme" +or ea%( (ot in t(e reo&r%e !ool an" %an alo 1e !er+orme" &in, t(e 3epair
Storage 3epositor7+&n%tion in XenCenter.
2%$%2% 3esi?ing an S3
I+ 2o& (ave rei=e" t(e 4UN on '(i%( a iSCSI or H:A SR i 1ae" &e t(e +ollo'in, !ro%e"&re to re+le%t t(e i=e
%(an,e in XenServer
$. iS2S3 SRs &n!l&, all 9:D on t(e (ot t(at re+eren%e 4UN on t(e ame tar,et. T(i i re*&ire" to
reet t(e iSCSI %onne%tion to t(e tar,et '(i%( in t&rn 'ill allo' t(e %(an,e in 4UN i=e to 1e re%o,ni=e" '(en
t(e 9:D are re!l&,,e".
#. H/+ SRs re1oot t(e (ot.
Note
In !revio& verion o+ XenServer ex!li%it %omman" 'ere re*&ire" to rei=e t(e !(2i%al vol&me ,ro&! o+ iSCSI an"
H:A SR. T(ee %omman" are no' i&e" a !art o+ t(e 9:D !l&, o!eration an" are no lon,er re*&ire".
2%$%$% Converting local ibre Channel S3s to shared S3s
Ue t(e xe C4I an" t(e XenCenter 3epair Storage 3epositor7+eat&re to %onvert a lo%al
8/9/2019 Citirx Doc - Copy
58/228
xe sr-param-set shared=true uuid=
. @it(in XenCenter t(e SR i move" +rom t(e (ot level to t(e !ool level in"i%atin, t(at it i no' (are". T(e
SR 'ill 1e mar8e" 'it( a re" ex%lamation mar8 to (o' t(at it i not %&rrentl2 !l&,,e" on all (ot in t(e !ool.
5. Sele%t t(e SR an" t(en ele%t t(e Storage 3epair Storage 3epositor7men& o!tion.
/. Cli%8 3epairto %reate an" !l&, a 9:D +or ea%( (ot in t(e !ool.
2%$%6% )oving (irtual !is: Images #(!Is bet1een S3s
T(e et o+ VDI ao%iate" 'it( a VM %an 1e %o!ie" +rom one SR to anot(er to a%%ommo"ate maintenan%e
re*&irement or tiere" tora,e %on+i,&ration. XenCenter !rovi"e t(e a1ilit2 to %o!2 a VM an" all o+ it VDI to t(e
ame or a "i++erent SR an" a %om1ination o+ XenCenter an" t(e xe C4I %an 1e &e" to %o!2 in"ivi"&al VDI.
2%$%6%.% Cop7ing all of a ()'s (!Is to a different S3
T(e XenCenter Cop7VM +&n%tion %reate %o!ie o+ all VDI +or a ele%te" VM on t(e ame or a "i++erent SR. T(e
o&r%e VM an" VDI are not a++e%te" 12 "e+a<. To move t(e VM to t(e ele%te" SR rat(er t(an %reatin, a %o!2
ele%t t(e 3emove original ()o!tion in t(e Cop7 (irtual )achine"ialo, 1ox.
$. S(&t"o'n t(e VM.
#. @it(in XenCenter ele%t t(e VM an" t(en ele%t t(e () Cop7 ()men& o!tion.
-. Sele%t t(e "eire" tar,et SR.
2%$%6%,% Cop7ing individual (!Is to a different S3
A %om1ination o+ t(e xe C4I an" XenCenter %an 1e &e" to %o!2 in"ivi"&al VDI 1et'een SR.
$. S(&t"o'n t(e VM.
#. Ue t(e xe C4I to i"enti+2 t(e UUID o+ t(e VDI to 1e move". I+ t(e VM (a a DVD "rive it vdi-((id'ill
1e lite" a 4not in data'ase5an" %an 1e i,nore".
xe vbd-list vm-uuid=
Note
T(e vbd-list%omman" "i!la2 1ot( t(e V:D an" VDI UUID. :e &re to re%or" t(e VDI UUID
rat(er t(an t(e V:D UUID.
-. In XenCenter ele%t t(e VMF Storageta1.
8/9/2019 Citirx Doc - Copy
59/228
I+ 2o& &e t(e vbd-destroy%omman" to "eta%( t(e VDI UUID 1e &re to +irt %(e%8 i+ t(e V:D (a
t(e !arameterother-config:owneret to tr(e. I+ o et it to fa"se. I&in, t(e vbd-
destroy%omman" 'it( other-config:owner)tr(e'ill alo "etro2 t(e ao%iate" VDI.
. Ue t(e vdi-copy%omman" to %o!2 ea%( o+ t(e VMF VDI to 1e move" to t(e "eire" SR.
xe vdi-copy uuid=sr-uuid=
5. @it(in XenCenter ele%t t(e VMF Storageta1. Cli%8 t(e Attach1&tton an" ele%t t(e VDI +rom t(e ne'
SR. T(i te! %an alo 1e "one &e t(e v'd-create%omman".
/. To "elete t(e ori,inal VDI 'it(in XenCenter ele%t t(e Storageta1 o+ t(e ori,inal SR. T(e ori,inal VDI 'ill
1e lite" 'it( an em!t2 val&e +or t(e VM +iel" an" %an 1e "elete" 'it( t(e Delete 1&tton.
2%$%=% Adjusting the dis: I0 scheduler
on t(e SR an" to en&re t(at t(e 9:D (a 1een re!l&,,e" in or"er +or t(e
%(e"&ler %(an,e to ta8e e++e%t.
http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#disk_qoshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#disk_qoshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#disk_qoshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#disk_schedulerhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#disk_schedulerhttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#disk_qoshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#disk_qoshttp://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#disk_scheduler8/9/2019 Citirx Doc - Copy
60/228
T(e +irt !arameter i >os_a"gorithm_type. T(i !arameter nee" to 1e et to t(e val&e ionice '(i%( i t(e
onl2 t2!e o+ oS al,orit(m &!!orte" +or virt&al "i8 in t(i releae.
T(e oS !arameter t(emelve are et 'it( 8e2?val&e !air ai,ne" to
t(e >os_a"gorithm_param!arameter. os_a"gorithm_param:schedare
sched)rtor sched)rea"-timeet t(e oS %(e"&lin, !arameter to real time !riorit2 '(i%(
re*&ire a %la !arameter to et a val&e
sched)id"eet t(e oS %(e"&lin, !arameter to i"le !riorit2 '(i%( re*&ire no %la !arameter to et
an2 val&e
sched)4anything5et t(e oS %(e"&lin, !arameter to 1et e++ort !riorit2 '(i%( re*&ire a %la
!arameter to et a val&e
T(e !oi1le val&e +or c"assare
One o+ t(e +ollo'in, 8e2'or" (i,(et (i,( normal lo' lo'et
an inte,er 1et'een 0 an" '(ere i t(e (i,(et !riorit2 an" 0 i t(e lo'et o t(at +or exam!le I?O
re*&et 'it( a !riorit2 o+ 5 'ill 1e ,iven !riorit2 over I?O re*&et 'it( a !riorit2 o+ #.
To ena1le t(e "i8 oS ettin, 2o& alo nee" to et t(e other-config:sched("erto cf>an" re!l&, 9:D
+or t(e tora,e in *&etion.
8/9/2019 Citirx Doc - Copy
61/228
.#.$. Creatin, net'or8 in a tan"alone erver
.#.#. Creatin, net'or8 in reo&r%e !ool
.#.-. Creatin, V4AN
.#.. Creatin, NIC 1on" on a tan"alone (ot
.#.5. Creatin, NIC 1on" in reo&r%e !ool
.#./. Con+i,&rin, a "e"i%ate" tora,e NIC.#.. Controllin, &alit2 o+ Servi%e 6oS7
.#.3. C(an,in, net'or8in, %on+i,&ration o!tion
.#.. NIC?9I< or"erin, in reo&r%e !ool
.-. Net'or8in, Tro&1le(ootin,
.-.$. Dia,noin, net'or8 %orr&!tion
.-.#. Re%overin, +rom a 1a" net'or8 %on+i,&ration
T(i %(a!ter "i%&e (o' !(2i%al net'or8 inter+a%e %ar" 6NIC7 in XenServer (ot are &e" to ena1le
net'or8in, 'it(in Virt&al Ma%(ine 6VM7. XenServer &!!ort &! to / !(2i%al net'or8 inter+a%e 6or &! to / !air o+
1on"e" net'or8 inter+a%e7 !er XenServer (ot an" &! to virt&al net'or8 inter+a%e !er VM.
Note
XenServer !rovi"e a&tomate" %on+i,&ration an" mana,ement o+ NIC &in, t(e xe %omman" line inter+a%e 6C4I7.
Unli8e !revio& XenServer verion t(e (ot net'or8in, %on+i,&ration +ile (o&l" not 1e e"ite" "ire%tl2 in mot
%aeJ '(ere a C4I %omman" i availa1le "o not e"it t(e &n"erl2in, +ile.
I+ 2o& are alrea"2 +amiliar 'it( XenServer net'or8in, %on%e!t 2o& ma2 'ant to 8i! a(ea" to one o+ t(e +ollo'in,
e%tion
8/9/2019 Citirx Doc - Copy
62/228
Some net'or8in, o!tion (ave "i++erent 1e(avior '(en &e" 'it( tan"alone XenServer (ot %om!are" to
reo&r%e !ool. T(i %(a!ter %ontain e%tion on ,eneral in+ormation t(at a!!lie to 1ot( tan"alone (ot an"
!ool +ollo'e" 12 !e%i+i% in+ormation an" !ro%e"&re +or ea%(.
$%.%.% Net1or: objects
T(ere are t(ree t2!e o+ erveri"e o+t'are o1;e%t '(i%( re!reent net'or8in, entitie. T(ee o1;e%t are
A PI- '(i%( re!reent a !(2i%al net'or8 inter+a%e on a XenServer (ot. 9I< o1;e%t (ave a name an"
"e%ri!tion a ,lo1all2 &ni*&e UUID t(e !arameter o+ t(e NIC t(at t(e2 re!reent an" t(e net'or8 an"
erver t(e2 are %onne%te" to.
A VI- '(i%( re!reent a virt&al inter+a%e on a Virt&al Ma%(ine. VI< o1;e%t (ave a name an" "e%ri!tion a
,lo1all2 &ni*&e UUID an" t(e net'or8 an" VM t(e2 are %onne%te" to.
A networ '(i%( i a virt&al Et(ernet 'it%( on a XenServer (ot. Net'or8 o1;e%t (ave a name an"
"e%ri!tion a ,lo1all2 &ni*&e UUID an" t(e %olle%tion o+ VI
8/9/2019 Citirx Doc - Copy
63/228
S'it%( !ort %on+i,&re" to !er+orm 30#.$ V4AN ta,,in,?&nta,,in, %ommonl2 re+erre" to a !ort 'it( a native
V0A"or a access mode!ort %an 1e &e" 'it( XenServer mana,ement inter+a%e to !la%e mana,ement tra++i% on
a "eire" V4AN. In t(i %ae t(e XenServer (ot i &na'are o+ an2 V4AN %on+i,&ration.
XenServer mana,ement inter+a%e %annot 1e ai,ne" to a XenServer V4AN via a tr&n8 !ort.
$%.%2%,% 9sing (LANs 1ith virtual machines
S'it%( !ort %on+i,&re" a 30#.$ V4AN tr&n8 !ort %an 1e &e" in %om1ination 'it( t(e XenServer V4AN +eat&re
to %onne%t ,&et virt&al net'or8 inter+a%e 6VI
8/9/2019 Citirx Doc - Copy
64/228
i an a%tive?a%tive mo"e 1&t onl2 &!!ort loa"1alan%in, o+ VM tra++i% a%ro t(e !(2i%al NIC
!rovi"e +ailover &!!ort +or all ot(er tra++i% t2!e
"oe not re*&ire 'it%( &!!ort +or Et(er%(annel or 30#.-a" 64AC97
loa" 1alan%e tra++i% 1et'een m<i!le inter+a%e at VM ,ran&larit2 12 en"in, tra++i% t(ro&,( "i++erent
inter+a%e 1ae" on t(e o&r%e MAC a""re o+ t(e !a%8et
i "erive" +rom t(e o!en o&r%e A4: mo"e an" re&e t(e A4: %a!a1ilit2 to "2nami%all2 re1alan%e loa"
a%ro inter+a%e
An2 ,iven VI< 'ill onl2 &e one o+ t(e lin8 in t(e 1on" at a time. At tart&! no ,&arantee are ma"e a1o&t t(e a++init2
o+ a ,iven VI< to a lin8 in t(e 1on". Ho'ever +or VI
8/9/2019 Citirx Doc - Copy
65/228
a in,le 9I< i %reate" %orre!on"in, to t(e (otF in,le NIC
t(e 9I< i %on+i,&re" 'it( t(e I9 a""rein, o!tion !e%i+ie" "&rin, intallation an" to ena1le mana,ement
o+ t(e (ot
t(e 9I< i et +or &e in (ot mana,ement o!eration
a in,le net'or8 net'or8 0 i %reate"
net'or8 0 i %onne%te" to t(e 9I< to ena1le external %onne%tivit2 to VM
@(en a (ot (a m<i!le NIC t(e %on+i,&ration !reent a+ter intallation "e!en" on '(i%( NIC i ele%te" +or
mana,ement o!eration "&rin, intallation
9I
8/9/2019 Citirx Doc - Copy
66/228
&!!ort a"van%e" o!eration &%( a V4AN or NIC 1on"in,
To a"" or remove net'or8 &in, XenCenter re+er to t(e XenCenter online Hel!.
To add a ne1 net1or: using the CLI
$. O!en t(e XenServer (ot text %onole.
#. Create t(e net'or8 'it( t(e net'or8%reate %omman" '(i%( ret&rn t(e UUID o+ t(e ne'l2 %reate" net'or8
xe network-create name-label=
At t(i !oint t(e net'or8 i not %onne%te" to a 9I< an" t(ere+ore i internal.
$%,%,% Creating net1or:s in resource pools
All XenServer (ot in a reo&r%e !ool (o&l" (ave t(e ame n&m1er o+ !(2i%al net'or8 inter+a%e %ar" 6NIC7
alt(o&,( t(i re*&irement i not tri%tl2 en+or%e" '(en a XenServer (ot i ;oine" to a !ool.
Havin, t(e ame !(2i%al net'or8in, %on+i,&ration +or XenServer (ot 'it(in a !ool i im!ortant 1e%a&e all (ot in
a !ool (are a %ommon et o+ XenServer net'or8. 9I
8/9/2019 Citirx Doc - Copy
67/228
-. Ue t(e pif-list%omman" to +in" t(e UUID o+ t(e 9I< %orre!on"in, to t(e !(2i%al NIC &!!ortin, t(e
"eire" V4AN ta,. T(e UUID an" "evi%e name o+ all 9I
8/9/2019 Citirx Doc - Copy
68/228
xe bond-create network-uuid=pif-
uuids=,
Note
SeeSe%tion .#..# LControllin, t(e MAC a""re o+ t(e 1on"+or "etail on %ontrollin, t(e MACa""re &e" +or t(e 1on" 9I
8/9/2019 Citirx Doc - Copy
69/228
an o!tional mac!arameter %an 1e !e%i+ie" in t(e bond-create%omman". Uin, t(i !arameter t(e 1on"
MAC a""re %an 1e et to an2 ar1itrar2 a""re.
I+ t(e mac!arameter i not !e%i+ie" t(e MAC a""re o+ t(e +irt 9I< lite" in t(e pif-((ids!arameter
i &e" +or t(e 1on".
$%,%$%2% 3everting NIC bonds
I+ revertin, a XenServer (ot to a non1on"e" %on+i,&ration 1e a'are o+ t(e +ollo'in, re*&irement
A '(en %reatin, a 1on" all VM 'it( VI
8/9/2019 Citirx Doc - Copy
70/228
a. Ue t(e network-create%omman" to %reate a ne' !ool'i"e net'or8 +or &e 'it( t(e 1on"e"
NIC. T(e UUID o+ t(e ne' net'or8 i ret&rne".
xe network-create name-label=
1. Ue t(epif-list
%omman" to "etermine t(e UUID o+ t(e 9I
8/9/2019 Citirx Doc - Copy
71/228
T(e net'or8 an" 1on" in+ormation i a&tomati%all2 re!li%ate" to t(e ne' (ot. Ho'ever t(e mana,ement
inter+a%e i not a&tomati%all2 move" +rom t(e (ot NIC to t(e 1on"e" NIC. Move t(e mana,ement inter+a%e on
t(e (ot to ena1le t(e 1on" a +ollo'
a. Ue t(e host-list%omman" to +in" t(e UUID o+ t(e (ot 1ein, %on+i,&re"
xe host-list
1. Ue t(e pif-list%omman" to "etermine t(e UUID o+ 1on" 9I< on t(e ne' (ot. In%l&"e
t(e host-((id!arameter to lit onl2 t(e 9I
8/9/2019 Citirx Doc - Copy
72/228
restart%omman". T(i %a&e t(e 1on" an" V4AN ettin, on t(e mater to 1e in(erite" 12 ea%( (ot.
Recommended