[ovirt-users] Start VM automatically

2018-02-26 Thread Fabrice SOLER

Hello,

My node (IP ovirtmgmt) is behind a routeur that is running on the 
hypervisor (the node itself).


So, I need that the VM (routeur) start automatically after the node start.

The ovirt engine is running on another infrastructure and the version is 
4.2.0. The node is also in this version.


Is there a solution ?

Sincerely,

--
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Start VM automatically

2018-02-26 Thread Fabrice SOLER

Hi Hanson,

Thank you for your answer, but the routeur is a VM.

So I need that this VM start without the engine. It has to start when 
the node start (after a power failure).


Only when the routeur will be up, I will be able to manage the node and 
the VMs.


Do you think there a solution ?

Sincerely,

Fabrice


Le 26/02/2018 à 18:18, Hanson Turner a écrit :


Hi Fabrice,

If there's an issue with the hypervisor, the VM should pause. In the 
highly available section, (edit the advanced options on the vm) you 
can set the resume options restart/resume/stay off


The engine needs to be able to see + manage the node. You'll have to 
take care of the networking/port forwarding/vpn/vlan etc to make sure 
the engine can control the node.


Once the node's in control, the engine can restore the VM when it 
knows the node is good.


Thanks,

Hanson


On 02/26/2018 04:09 PM, Fabrice SOLER wrote:


Hello,

My node (IP ovirtmgmt) is behind a routeur that is running on the 
hypervisor (the node itself).


So, I need that the VM (routeur) start automatically after the node 
start.


The ovirt engine is running on another infrastructure and the version 
is 4.2.0. The node is also in this version.


Is there a solution ?

Sincerely,

--


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Start VM automatically

2018-02-26 Thread Christopher Cox

On 02/26/2018 05:33 PM, Fabrice SOLER wrote:

Hi Hanson,

Thank you for your answer, but the routeur is a VM.

So I need that this VM start without the engine. It has to start when 
the node start (after a power failure).


Only when the routeur will be up, I will be able to manage the node and 
the VMs.


Do you think there a solution ?


Obviously this a bit more "chicken-and-egg" than running a hosted 
engine.  Even if there was a "start automatically" sort of thing, this 
is still going to be fraught with potential issues, because almost 
anything could happen to prevent the "router vm" from starting.


I think you've created a fairly high risk scenario.

In other words, even if you got this working, I wouldn't trust it.

Just my opinion.  At a minimum I'd pull the "router" out of the VM 
stack.  Now, you could have a separate hypervisor cluster stack for the 
router, just don't put it's mgmt engine (separate engine req'd) behind 
the router :-)





Sincerely,

Fabrice


Le 26/02/2018 à 18:18, Hanson Turner a écrit :


Hi Fabrice,

If there's an issue with the hypervisor, the VM should pause. In the 
highly available section, (edit the advanced options on the vm) you 
can set the resume options restart/resume/stay off


The engine needs to be able to see + manage the node. You'll have to 
take care of the networking/port forwarding/vpn/vlan etc to make sure 
the engine can control the node.


Once the node's in control, the engine can restore the VM when it 
knows the node is good.


Thanks,

Hanson


On 02/26/2018 04:09 PM, Fabrice SOLER wrote:


Hello,

My node (IP ovirtmgmt) is behind a routeur that is running on the 
hypervisor (the node itself).


So, I need that the VM (routeur) start automatically after the node 
start.


The ovirt engine is running on another infrastructure and the version 
is 4.2.0. The node is also in this version.


Is there a solution ?

Sincerely,

--


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users






___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Start VM automatically

2018-02-27 Thread Martin Sivak
Hi,

we are considering the feature and its many angles:

- starting without the management using local storage (
https://bugzilla.redhat.com/show_bug.cgi?id=1166657)
- starting without the management with shared storage (
https://bugzilla.redhat.com/show_bug.cgi?id=817363)
- starting the VM via the management running as Hosted Engine (
https://bugzilla.redhat.com/show_bug.cgi?id=1325468)

All three cases have their pain points eg: which host should start the VM
and how do you protect against split brain?

If you would be so kind, please describe your use case to the relevant RFE
bug so we can consider it when planning the feature. And stand assured that
we are thinking about how to implement this properly.

Best regards

--
Martin Sivak
SLA / oVirt

On Mon, Feb 26, 2018 at 10:09 PM, Fabrice SOLER <
fabrice.so...@ac-guadeloupe.fr> wrote:

> Hello,
>
> My node (IP ovirtmgmt) is behind a routeur that is running on the
> hypervisor (the node itself).
>
> So, I need that the VM (routeur) start automatically after the node start.
>
> The ovirt engine is running on another infrastructure and the version is
> 4.2.0. The node is also in this version.
>
> Is there a solution ?
>
> Sincerely,
> --
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Start VM automatically

2018-02-27 Thread Fabrice SOLER

Hi,

We want to install ovirt for every school in Guadeloupe (~70 schools)

Each school has an internet connexion with a basic physical router (no vpn).

We have bought one physical server for each school.

We have installed an ovirt engine on our central site where we want to 
manage all the node which are in the school.


In first, for the tests in laboratory, I have installed a node behind a 
routeur. The routeur forwarded all the traffic from the ovirt engine to 
the ovirmgmt ip address (NAT).


It works but I cannot have access to the VM consoles : my Spice client 
try to access directly to the node private IP address. Is there a 
solution to resolv this ? In ovirt documentation, I read "Spice Proxy" 
and  "Websocket Proxy".  Could these features answer to this problematic ?


In the ovirt engine, is it possible to provide a NAT address to the node 
? then the VM consoles coud work.


So, I give up the above architecture and move my ovirtmgmt ip address 
behind a VM routeur which has a tunneling IPSec to our central site. The 
access to the VM consoles is resolved but I discover that the VM does 
not start automaticaly whithout the engine (like vmware does).


I hope you understand my problematic.

Sincerely,

--
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Start VM automatically

2018-02-27 Thread Alex K
You can overwrite the console ip at cluster -> console. Try to put there
the external ip and have NAT correctly set.  This should work.

Alex

On Feb 27, 2018 12:15, "Fabrice SOLER" 
wrote:

> Hi,
>
> We want to install ovirt for every school in Guadeloupe (~70 schools)
>
> Each school has an internet connexion with a basic physical router (no
> vpn).
>
> We have bought one physical server for each school.
>
> We have installed an ovirt engine on our central site where we want to
> manage all the node which are in the school.
>
> In first, for the tests in laboratory, I have installed a node behind a
> routeur. The routeur forwarded all the traffic from the ovirt engine to the
> ovirmgmt ip address (NAT).
>
> It works but I cannot have access to the VM consoles : my Spice client try
> to access directly to the node private IP address. Is there a solution to
> resolv this ? In ovirt documentation, I read "Spice Proxy" and  "Websocket
> Proxy".  Could these features answer to this problematic ?
>
> In the ovirt engine, is it possible to provide a NAT address to the node ?
> then the VM consoles coud work.
>
> So, I give up the above architecture and move my ovirtmgmt ip address
> behind a VM routeur which has a tunneling IPSec to our central site. The
> access to the VM consoles is resolved but I discover that the VM does not
> start automaticaly whithout the engine (like vmware does).
>
> I hope you understand my problematic.
>
> Sincerely,
> --
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users