Put the engine inside hosts after installation

Hello, I would like to try ovirt with hosted engine installation. I had so many problems (I have written them in another thread) so I will not try anymore hosted installation (up and running with ovirt 3.5 tutorial) But now I would try this approach: I install the engine on a dedicated server or as a virtual machine in another kvm based virtualizator. Now I create an ovirt cluster and use it. Can I after that install change my mind and so move the engine as a vm in the cluster? Or can I install a new engine in the cluster and powerdown the first engine? Thanks in advance for help, Mario

----- Original Message -----
From: "Mario Giammarco" <mgiammarco@gmail.com> To: users@ovirt.org Sent: Friday, January 16, 2015 10:39:44 AM Subject: [ovirt-users] Put the engine inside hosts after installation
Hello, I would like to try ovirt with hosted engine installation. I had so many problems (I have written them in another thread) so I will not try anymore hosted installation (up and running with ovirt 3.5 tutorial)
oVirt 3.5.1 RC1 will be published today so, if everything runs as expected, oVirt 3.5.1 will be out in a few days. oVirt 3.5.1 should solve the issue you reported.
But now I would try this approach: I install the engine on a dedicated server or as a virtual machine in another kvm based virtualizator.
Now I create an ovirt cluster and use it.
Can I after that install change my mind and so move the engine as a vm in the cluster?
As far as you maintain the same host name and a compatible network topology it should work without any hassle. Keep present that hosted-engine also installs and configures ovirt-hosted-engine-ha daemon to ensure HA capabilities restarting the engine VM if the host witch runs the VM goes down. In the setup you are proposing you are loosing that capability.
Or can I install a new engine in the cluster and powerdown the first engine?
Thanks in advance for help, Mario
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

2015-01-16 11:16 GMT+01:00 Simone Tiraboschi <stirabos@redhat.com>:
oVirt 3.5.1 RC1 will be published today so, if everything runs as expected, oVirt 3.5.1 will be out in a few days. oVirt 3.5.1 should solve the issue you reported.
Ok I will wait 3.5.1 and try again.
Keep present that hosted-engine also installs and configures ovirt-hosted-engine-ha daemon to ensure HA capabilities restarting the engine VM if the host witch runs the VM goes down. In the setup you are proposing you are loosing that capability.
I supposed the ha capability was offered by ovirt cluster. I need to investigate.

----- Original Message -----
From: "Mario Giammarco" <mgiammarco@gmail.com> To: "Simone Tiraboschi" <stirabos@redhat.com> Cc: users@ovirt.org Sent: Friday, January 16, 2015 12:12:34 PM Subject: Re: [ovirt-users] Put the engine inside hosts after installation
2015-01-16 11:16 GMT+01:00 Simone Tiraboschi <stirabos@redhat.com>:
oVirt 3.5.1 RC1 will be published today so, if everything runs as expected, oVirt 3.5.1 will be out in a few days. oVirt 3.5.1 should solve the issue you reported.
Ok I will wait 3.5.1 and try again.
Great, please help us reporting any other issue or strange thing.
Keep present that hosted-engine also installs and configures ovirt-hosted-engine-ha daemon to ensure HA capabilities restarting the engine VM if the host witch runs the VM goes down. In the setup you are proposing you are loosing that capability.
I supposed the ha capability was offered by ovirt cluster. I need to investigate.
HA capability is provided for other VMs by oVirt engine. But who provide it if the engine itself is on a VM on the host that it's managing? HA for the Engine VM needs to be managed by the hosts and not the Engine itself: so we have ovirt-hosted-engine-ha that ensure HA for the engine VM, the engine cloud than provide HA for other VMs.

2015-01-16 12:37 GMT+01:00 Simone Tiraboschi <stirabos@redhat.com>:
HA capability is provided for other VMs by oVirt engine. But who provide it if the engine itself is on a VM on the host that it's managing? HA for the Engine VM needs to be managed by the hosts and not the Engine itself: so we have ovirt-hosted-engine-ha that ensure HA for the engine VM, the engine cloud than provide HA for other VMs.
I am surprised. I supposed that HA was "self provided" by the cluster like
in xenserver. So you tell me that is the engine that checks if servers and vms are on like in cloudstack?

This is a multi-part message in MIME format. --------------080509020005000107080304 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 16/01/15 19:26, Mario Giammarco wrote:
2015-01-16 12:37 GMT+01:00 Simone Tiraboschi <stirabos@redhat.com <mailto:stirabos@redhat.com>>:
HA capability is provided for other VMs by oVirt engine. But who provide it if the engine itself is on a VM on the host that it's managing? HA for the Engine VM needs to be managed by the hosts and not the Engine itself: so we have ovirt-hosted-engine-ha that ensure HA for the engine VM, the engine cloud than provide HA for other VMs.
I am surprised. I supposed that HA was "self provided" by the cluster like in xenserver. So you tell me that is the engine that checks if servers and vms are on like in cloudstack?
This is just how any VM self-hosted setup would work. The 'engine/management' VM has to have HA managed by something other than the engine itself - otherwise if the engine is down how would it know or be able to restart itself? In VMWare or Xenserver there would have to be a separate system other than that in the engine VM to make sure that the management engine VM is a) running on at least one host on the cluster and b) *cannot* be running on more than one host to avoid screwing its own storage volume (ie heartbeat/fencing). Then this "managed engine" only has to take care of keeping its own VMs up. Logically I cannot see any other way this could possibly work - see "chicken and egg"! Cheers Alex --------------080509020005000107080304 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <br> <div class="moz-cite-prefix">On 16/01/15 19:26, Mario Giammarco wrote:<br> </div> <blockquote cite="mid:CABQ2P6GF92-ZuOOZAv3Gu98wg-0VM_JStV98N8j68DixADnCog@mail.gmail.com" type="cite"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">2015-01-16 12:37 GMT+01:00 Simone Tiraboschi <span dir="ltr"><<a moz-do-not-send="true" href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>></span>:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br> </span>HA capability is provided for other VMs by oVirt engine. But who provide it if the engine itself is on a VM on the host that it's managing?<br> HA for the Engine VM needs to be managed by the hosts and not the Engine itself: so we have ovirt-hosted-engine-ha that ensure HA for the engine VM, the engine cloud than provide HA for other VMs.<br> <br> </blockquote> </div> I am surprised. I supposed that HA was "self provided" by the cluster like in xenserver. So you tell me that is the engine that checks if servers and vms are on like in cloudstack?<br> </div> </div> <br> </blockquote> <br> This is just how any VM self-hosted setup would work. The 'engine/management' VM has to have HA managed by something other than the engine itself - otherwise if the engine is down how would it know or be able to restart itself? In VMWare or Xenserver there would have to be a separate system other than that in the engine VM to make sure that the management engine VM is a) running on at least one host on the cluster and b) <b>cannot</b> be running on more than one host to avoid screwing its own storage volume (ie heartbeat/fencing).<br> <br> Then this "managed engine" only has to take care of keeping its own VMs up. Logically I cannot see any other way this could possibly work - see "chicken and egg"!<br> <br> Cheers<br> <br> Alex<br> <br> <br> </body> </html> --------------080509020005000107080304--

This is a multipart message in MIME format. ------=_NextPart_000_0007_01D0324C.90653700 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Are you trying to use glusterFS as your hosted engine storage?? What problems are you having with the up and running tutorial? I have been loosely following it, and have not run into anything that is = not solvable. =20 Hosted-Engine is really the way to go, having your management machine HA = is a super huge plus.
=20
Can I after that install change my mind and so move the engine as a vm = in the cluster?
Or can I install a new engine in the cluster and powerdown the first = engine
=20 When you install a new engine the only problem I can think of off the = top of my head is the database=E2=80=A6 when you install the engine, you = setup a database, and if this database was on a vm in the cluster I = suppose you could have as many engines as you like???? I have not tried = this, so please correct me if I am wrong. =20 Donny D cloudspin.me =20 From: users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] On Behalf = Of Mario Giammarco Sent: Friday, January 16, 2015 2:40 AM To: users@ovirt.org Subject: [ovirt-users] Put the engine inside hosts after installation =20 Hello, I would like to try ovirt with hosted engine installation. I had so many problems (I have written them in another thread) so I will = not try anymore hosted installation (up and running with ovirt 3.5 = tutorial) But now I would try this approach: I install the engine on a dedicated = server or as a virtual machine in another kvm based virtualizator. Now I create an ovirt cluster and use it. Can I after that install change my mind and so move the engine as a vm = in the cluster? Or can I install a new engine in the cluster and powerdown the first = engine? Thanks in advance for help, Mario ------=_NextPart_000_0007_01D0324C.90653700 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta = name=3DGenerator content=3D"Microsoft Word 14 (filtered = medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif";} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue = vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>Are you trying to use glusterFS as your hosted engine = storage??<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>What problems are you having with the up and running = tutorial?<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>I have been loosely following it, and have not run into anything that = is not solvable.<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>Hosted-Engine is really the way to go, having your management machine = HA is a super huge plus.<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>><o:p> </o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>></span> Can I after that install change my mind and so move the = engine as a vm in the cluster?<o:p></o:p></p><p class=3DMsoNormal>>Or = can I install a new engine in the cluster and powerdown the first = engine<span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>When you install a new engine the only problem I can think of off the = top of my head is the database=E2=80=A6 when you install the engine, you = setup a database, and if this database was on a vm in the cluster I = suppose you could have as many engines as you like???? I have not tried = this, so please correct me if I am wrong.<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>Donny D<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>cloudspin.me<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></p><p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> = users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] <b>On Behalf Of = </b>Mario Giammarco<br><b>Sent:</b> Friday, January 16, 2015 2:40 = AM<br><b>To:</b> users@ovirt.org<br><b>Subject:</b> [ovirt-users] Put = the engine inside hosts after installation<o:p></o:p></span></p><p = class=3DMsoNormal><o:p> </o:p></p><div><div><div><div><div><p = class=3DMsoNormal>Hello,<br>I would like to try ovirt with hosted engine = installation.<o:p></o:p></p></div><p class=3DMsoNormal>I had so many = problems (I have written them in another thread) so I will not try = anymore hosted installation (up and running with ovirt 3.5 = tutorial)<o:p></o:p></p></div><p class=3DMsoNormal = style=3D'margin-bottom:12.0pt'>But now I would try this approach: I = install the engine on a dedicated server or as a virtual machine in = another kvm based virtualizator.<o:p></o:p></p></div><p = class=3DMsoNormal style=3D'margin-bottom:12.0pt'>Now I create an ovirt = cluster and use it.<o:p></o:p></p></div><div><p class=3DMsoNormal>Can I = after that install change my mind and so move the engine as a vm in the = cluster?<o:p></o:p></p></div><div><p class=3DMsoNormal = style=3D'margin-bottom:12.0pt'>Or can I install a new engine in the = cluster and powerdown the first engine?<o:p></o:p></p></div><div><p = class=3DMsoNormal>Thanks in advance for = help,<br>Mario<o:p></o:p></p></div></div></div></body></html> ------=_NextPart_000_0007_01D0324C.90653700--

----- Original Message -----
From: "Donny Davis" <donny@cloudspin.me> To: "Mario Giammarco" <mgiammarco@gmail.com>, users@ovirt.org Sent: Saturday, January 17, 2015 8:55:57 PM Subject: Re: [ovirt-users] Put the engine inside hosts after installation
When you install a new engine the only problem I can think of off the top of my head is the database… when you install the engine, you setup a database, and if this database was on a vm in the cluster I suppose you could have as many engines as you like???? I have not tried this, so please correct me if I am wrong.
This is currently not supported. See also [1]. [1] http://www.ovirt.org/Features/Engine_High_Availability Best, -- Didi
participants (5)
-
Alex Crow
-
Donny Davis
-
Mario Giammarco
-
Simone Tiraboschi
-
Yedidyah Bar David