<html><head></head><body style="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="Apple-interchange-newline"><blockquote type="cite"><div>On 07/26/2012 02:53 PM, Karli Sjöberg wrote:<br><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">In my DC, I have three hosts added:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">hostA<br></blockquote><blockquote type="cite">hostB<br></blockquote><blockquote type="cite">hostC<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I want a way to force only to use hostA as a proxy for power commands.<br></blockquote><br>The algorithm of selection a host to act as a proxy for PM commands is<br>quite naive: 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/FencingExecutor.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 available host ?<br></div></blockquote><div><br></div><div><br></div><div>Let me explain a little to make you better understand my reasoning behind this configuration.</div><div><br></div><div>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 the 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 don´t have that. But if we can use the engine to do that, the hosts would only require two interfaces, which most 1U servers are equipped with as standard (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 over the power management network to the respective service processor with.</div><div><br></div><div>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 without having more than two physical NICs, but I haven´t been able to find a good HOWTO explaining the process.</div><div><br></div><div>/Karli</div><div><br></div><div><br></div><blockquote type="cite"><div><br><blockquote type="cite">This is where I´m at today:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-config-3.1.0-1.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-userportal-3.1.0-1.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-log-collector-3.1.0-0.git10d719.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-sdk-3.1.0.4-1.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-restapi-3.1.0-1.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-backend-3.1.0-1.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-3.1.0-1.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-webadmin-portal-3.1.0-1.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-notification-service-3.1.0-1.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-dbscripts-3.1.0-1.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-genericapi-3.1.0-1.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-tools-common-3.1.0-1.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-cli-3.1.0.6-1.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch<br></blockquote><blockquote type="cite">ovirt-engine-setup-3.1.0-1.fc17.noarch<br></blockquote><blockquote type="cite">vdsm-cli-4.10.0-5.fc17.noarch<br></blockquote><blockquote type="cite">vdsm-4.10.0-5.fc17.x86_64<br></blockquote><blockquote type="cite">vdsm-python-4.10.0-5.fc17.x86_64<br></blockquote><blockquote type="cite">vdsm-xmlrpc-4.10.0-5.fc17.noarch<br></blockquote><blockquote type="cite">vdsm-bootstrap-4.10.0-5.fc17.noarch<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Best Regards<br></blockquote><blockquote type="cite">-------------------------------------------------------------------------------<br></blockquote><blockquote type="cite">Karli Sjöberg<br></blockquote><blockquote type="cite">Swedish University of Agricultural Sciences<br></blockquote><blockquote type="cite">Box 7079 (Visiting Address Kronåsvägen 8)<br></blockquote><blockquote type="cite">S-750 07 Uppsala, Sweden<br></blockquote><blockquote type="cite">Phone: +46-(0)18-67 15 66<br></blockquote><blockquote type="cite"><a href="mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a> <<a href="mailto:karli.sjoberg@adm.slu.se">mailto:karli.sjoberg@adm.slu.se</a>><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Users mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br></blockquote><blockquote type="cite"><a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a><br></blockquote><blockquote type="cite"><br></blockquote><br><br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><br class="Apple-interchange-newline"><br></div><div>Med Vänliga Hälsningar<br>-------------------------------------------------------------------------------<br>Karli Sjöberg<br>Swedish University of Agricultural Sciences<br>Box 7079 (Visiting Address Kronåsvägen 8)<br>S-750 07 Uppsala, Sweden<br>Phone: +46-(0)18-67 15 66</div><div><a href="mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a></div></span>
</div>
<br></body></html>