--_000_CAA8F9CFBF7E4B03BEF0852CA7283F02sluse_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
28 jul 2012 kl. 14.11 skrev Moti Asayag:
On 07/26/2012 02:53 PM, Karli Sj=F6berg wrote:
Hi,
In my DC, I have three hosts added:
hostA
hostB
hostC
I want a way to force only to use hostA as a proxy for power commands.
The algorithm of selection a host to act as a proxy for PM commands is
quite naive: any host from the system with status UP.
You can see how it is being selected in FencingExecutor.FindVdsToFence()
from
ovirt-engine/backend/manager/modules/bll/src/main/java/org/ovirt/engine/cor=
e/bll/FencingExecutor.java
There is no other algorithm for the selection at the moment.
How would you handle a case in which hostA isn't responsive ? Wouldn't
you prefer trying to perform the fencing using other available host ?
Let me explain a little to make you better understand my reasoning behind t=
his configuration.
We work with segmented, separated networks. One network for public access, =
one for storage traffic, one for management and so on. That means that if t=
he nodes themselves have to do their own power-management, the nodes would =
require three interfaces each, and the metal we are using for hosts just do=
n=B4t have that. But if we can use the engine to do that, the hosts would o=
nly require two interfaces, which most 1U servers are equipped with as stan=
dard (plus one iLO/IPMI/whatev), so we can use them as hosts without issue.=
Then the backend has one extra interface that it can use to communicate ov=
er the power management network to the respective service processor with.
Is there a "better" way to achieve what we are aiming for? Ideally, I would=
like to set up the two NICs in a bond and create VLAN-interfaces on top of=
that bond. That way, I can have as many virtual interfaces as I want witho=
ut having more than two physical NICs, but I haven=B4t been able to find a =
good HOWTO explaining the process.
/Karli
This is where I=B4m at today:
ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch
ovirt-engine-config-3.1.0-1.fc17.noarch
ovirt-engine-userportal-3.1.0-1.fc17.noarch
ovirt-log-collector-3.1.0-0.git10d719.fc17.noarch
ovirt-engine-sdk-3.1.0.4-1.fc17.noarch
ovirt-engine-restapi-3.1.0-1.fc17.noarch
ovirt-engine-backend-3.1.0-1.fc17.noarch
ovirt-engine-3.1.0-1.fc17.noarch
ovirt-engine-webadmin-portal-3.1.0-1.fc17.noarch
ovirt-engine-notification-service-3.1.0-1.fc17.noarch
ovirt-engine-dbscripts-3.1.0-1.fc17.noarch
ovirt-engine-genericapi-3.1.0-1.fc17.noarch
ovirt-engine-tools-common-3.1.0-1.fc17.noarch
ovirt-engine-cli-3.1.0.6-1.fc17.noarch
ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch
ovirt-engine-setup-3.1.0-1.fc17.noarch
vdsm-cli-4.10.0-5.fc17.noarch
vdsm-4.10.0-5.fc17.x86_64
vdsm-python-4.10.0-5.fc17.x86_64
vdsm-xmlrpc-4.10.0-5.fc17.noarch
vdsm-bootstrap-4.10.0-5.fc17.noarch
Best Regards
---------------------------------------------------------------------------=
----
Karli Sj=F6berg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kron=E5sv=E4gen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66
karli.sjoberg@slu.se<mailto:karli.sjoberg@slu.se> <mailto:karli.sjoberg@adm=
.slu.se>
_______________________________________________
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
Med V=E4nliga H=E4lsningar
---------------------------------------------------------------------------=
----
Karli Sj=F6berg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kron=E5sv=E4gen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66
karli.sjoberg@slu.se<mailto:karli.sjoberg@adm.slu.se>
--_000_CAA8F9CFBF7E4B03BEF0852CA7283F02sluse_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html><head></head><body style=3D"word-wrap: break-word;
-webkit-nbsp-mode:=
space; -webkit-line-break: after-white-space;
"><br><div><div>28 jul 2012 =
kl. 14.11 skrev Moti Asayag:</div><br
class=3D"Apple-interchange-newline"><=
blockquote type=3D"cite"><div>On 07/26/2012 02:53 PM, Karli Sj=F6berg
wrote=
:<br><blockquote
type=3D"cite">Hi,<br></blockquote><blockquote
type=3D"cite=
"><br></blockquote><blockquote type=3D"cite">In my DC,
I have three hosts a=
dded:<br></blockquote><blockquote
type=3D"cite"><br></blockquote><blockquot=
e type=3D"cite">hostA<br></blockquote><blockquote
type=3D"cite">hostB<br></=
blockquote><blockquote
type=3D"cite">hostC<br></blockquote><blockquote type=
=3D"cite"><br></blockquote><blockquote
type=3D"cite">I want a way to force =
only to use hostA as a proxy for power commands.<br></blockquote><br>The
al=
gorithm of selection a host to act as a proxy for PM commands is<br>quite n=
aive: any host from the system with status UP.<br><br>You can see how it is=
being selected in FencingExecutor.FindVdsToFence()<br>from<br>ovirt-engine=
/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Fencin=
gExecutor.java<br><br>There is no other algorithm for the selection at the =
moment.<br><br>How would you handle a case in which hostA isn't responsive
=
? Wouldn't<br>you prefer trying to perform the fencing using other availabl=
e host
?<br></div></blockquote><div><br></div><div><br></div><div>Let
me ex=
plain a little to make you better understand my reasoning behind this confi=
guration.</div><div><br></div><div>We work with segmented,
separated networ=
ks. One network for public access, one for storage traffic, one for managem=
ent and so on. That means that if the nodes themselves have to do their own=
power-management, the nodes would require three interfaces each, and the m=
etal we are using for hosts just don=B4t have that. But if we can use the e=
ngine to do that, the hosts would only require two interfaces, which most 1=
U servers are equipped with as standard (plus one iLO/IPMI/whatev), so we c=
an use them as hosts without issue. Then the backend has one extra interfac=
e that it can use to communicate over the power management network to the r=
espective service processor
with.</div><div><br></div><div>Is there a "bett=
er" way to achieve what we are aiming for? Ideally, I would like to set up =
the two NICs in a bond and create VLAN-interfaces on top of that bond. That=
way, I can have as many virtual interfaces as I want without having more t=
han two physical NICs, but I haven=B4t been able to find a good HOWTO expla=
ining the
process.</div><div><br></div><div>/Karli</div><div><br></div><div=
<br></div><blockquote
type=3D"cite"><div><br><blockquote
type=3D"cite">Thi=
s is where I=B4m at
today:<br></blockquote><blockquote
type=3D"cite"><br></=
blockquote><blockquote
type=3D"cite">ovirt-image-uploader-3.1.0-0.git9c42c8=
.fc17.noarch<br></blockquote><blockquote
type=3D"cite">ovirt-engine-config-=
3.1.0-1.fc17.noarch<br></blockquote><blockquote
type=3D"cite">ovirt-engine-=
userportal-3.1.0-1.fc17.noarch<br></blockquote><blockquote
type=3D"cite">ov=
irt-log-collector-3.1.0-0.git10d719.fc17.noarch<br></blockquote><blockquote=
type=3D"cite">ovirt-engine-sdk-3.1.0.4-1.fc17.noarch<br></blockquote><bloc=
kquote
type=3D"cite">ovirt-engine-restapi-3.1.0-1.fc17.noarch<br></blockquo=
te><blockquote
type=3D"cite">ovirt-engine-backend-3.1.0-1.fc17.noarch<br></=
blockquote><blockquote
type=3D"cite">ovirt-engine-3.1.0-1.fc17.noarch<br></=
blockquote><blockquote
type=3D"cite">ovirt-engine-webadmin-portal-3.1.0-1.f=
c17.noarch<br></blockquote><blockquote
type=3D"cite">ovirt-engine-notificat=
ion-service-3.1.0-1.fc17.noarch<br></blockquote><blockquote
type=3D"cite">o=
virt-engine-dbscripts-3.1.0-1.fc17.noarch<br></blockquote><blockquote
type=
=3D"cite">ovirt-engine-genericapi-3.1.0-1.fc17.noarch<br></blockquote><bloc=
kquote
type=3D"cite">ovirt-engine-tools-common-3.1.0-1.fc17.noarch<br></blo=
ckquote><blockquote
type=3D"cite">ovirt-engine-cli-3.1.0.6-1.fc17.noarch<br=
</blockquote><blockquote
type=3D"cite">ovirt-iso-uploader-3.1.0-0.git1841d=
9.fc17.noarch<br></blockquote><blockquote
type=3D"cite">ovirt-engine-setup-=
3.1.0-1.fc17.noarch<br></blockquote><blockquote
type=3D"cite">vdsm-cli-4.10=
.0-5.fc17.noarch<br></blockquote><blockquote
type=3D"cite">vdsm-4.10.0-5.fc=
17.x86_64<br></blockquote><blockquote
type=3D"cite">vdsm-python-4.10.0-5.fc=
17.x86_64<br></blockquote><blockquote
type=3D"cite">vdsm-xmlrpc-4.10.0-5.fc=
17.noarch<br></blockquote><blockquote
type=3D"cite">vdsm-bootstrap-4.10.0-5=
.fc17.noarch<br></blockquote><blockquote
type=3D"cite"><br></blockquote><bl=
ockquote type=3D"cite"><br></blockquote><blockquote
type=3D"cite">Best Rega=
rds<br></blockquote><blockquote
type=3D"cite">-----------------------------=
--------------------------------------------------<br></blockquote><blockqu=
ote type=3D"cite">Karli Sj=F6berg<br></blockquote><blockquote
type=3D"cite"=
Swedish University of Agricultural
Sciences<br></blockquote><blockquote ty=
pe=3D"cite">Box
7079 (Visiting Address Kron=E5sv=E4gen 8)<br></blockquote><=
blockquote type=3D"cite">S-750 07 Uppsala,
Sweden<br></blockquote><blockquo=
te type=3D"cite">Phone: +46-(0)18-67 15
66<br></blockquote><blockquot=
e type=3D"cite"><a
href=3D"mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.s=
e</a> <<a
href=3D"mailto:karli.sjoberg@adm.slu.se">mailto:karli.sjoberg@=
adm.slu.se</a>><br></blockquote><blockquote
type=3D"cite"><br></blockquo=
te><blockquote
type=3D"cite"><br></blockquote><blockquote
type=3D"cite"><br=
</blockquote><blockquote
type=3D"cite">___________________________________=
____________<br></blockquote><blockquote
type=3D"cite">Users mailing list<b=
r></blockquote><blockquote type=3D"cite"><a
href=3D"mailto:Users@ovirt.org"=
Users(a)ovirt.org</a><br></blockquote><blockquote
type=3D"cite"><a href=3D"h=
ttp://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt....
n/listinfo/users</a><br></blockquote><blockquote
type=3D"cite"><br></blockq=
uote><br><br></div></blockquote></div><br><div>
<span class=3D"Apple-style-span" style=3D"border-collapse: separate;
color:=
rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: no=
rmal; font-weight: normal; letter-spacing: normal; line-height: normal; orp=
hans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizonta=
l-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorati=
ons-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-wi=
dth: 0px; font-size: medium; "><div><br
class=3D"Apple-interchange-newline"=
<br></div><div>Med V=E4nliga
H=E4lsningar<br>-----------------------------=
--------------------------------------------------<br>Karli
Sj=F6berg<br>Sw=
edish University of Agricultural Sciences<br>Box 7079 (Visiting Address Kro=
n=E5sv=E4gen 8)<br>S-750 07 Uppsala, Sweden<br>Phone: +46-(0)18-67
15=
66</div><div><a
href=3D"mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu=
.se</a></div></span>
</div>
<br></body></html>=
--_000_CAA8F9CFBF7E4B03BEF0852CA7283F02sluse_--