28 jul 2012 kl. 14.11 skrev Moti Asayag:

On 07/26/2012 02:53 PM, Karli Sjöberg 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/core/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 this 
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 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.

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.

/Karli



This is where I´m 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öberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone:  +46-(0)18-67 15 66
[email protected]<mailto:[email protected]> 
<mailto:[email protected]>



_______________________________________________
Users mailing list
[email protected]<mailto:[email protected]>
http://lists.ovirt.org/mailman/listinfo/users






Med Vänliga Hälsningar
-------------------------------------------------------------------------------
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone:  +46-(0)18-67 15 66
[email protected]<mailto:[email protected]>

_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to