Auto-starting VMS in a all-in-one / confusion.

I've been digging thru mailing lists and blogs and I'm a bit confused about how you have VMs auto-start after a reboot in a ovirt system that is setup as all-in-one.
From what I can gather this can be achieved via some startup scripts (or a rc.local foo).
But there is no setting inside the WebUI that can be set to achieve this? Or have I missed something.

Hi, On Mon, November 27, 2017 1:58 pm, CRiMSON wrote:
I've been digging thru mailing lists and blogs and I'm a bit confused about how you have VMs auto-start after a reboot in a ovirt system that is setup as all-in-one.
From what I can gather this can be achieved via some startup scripts (or a rc.local foo).
But there is no setting inside the WebUI that can be set to achieve this?
Or have I missed something.
You have not missed anything. As of right now there is nothing in the WebUI to configure this. It can only be done by startup scripts. Me, I run my script on my hosted-engine VM. -derek -- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

On 27 Nov 2017, at 15:04, Derek Atkins <derek@ihtfp.com> wrote:
Hi,
On Mon, November 27, 2017 1:58 pm, CRiMSON wrote:
I've been digging thru mailing lists and blogs and I'm a bit confused about how you have VMs auto-start after a reboot in a ovirt system that is setup as all-in-one.
From what I can gather this can be achieved via some startup scripts (or a rc.local foo).
But there is no setting inside the WebUI that can be set to achieve this?
Or have I missed something.
You have not missed anything. As of right now there is nothing in the WebUI to configure this. It can only be done by startup scripts. Me, I run my script on my hosted-engine VM.
we recently removed the limitation of “cannot enable HA on a single host” for High Performance VM profile in 4.2 [1]. It can work for this case too, perhaps It may need [2] too which would mean it currently work for High Performance VMs only - if it works at all. [1] https://gerrit.ovirt.org/#/c/82014/ [2] https://gerrit.ovirt.org/#/c/81950/
-derek
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

HA on a single host is kind of a bad labeling of options IMHO. HA-SPOF (that makes me giggle a little). But maybe another option simply as "Start VM when engine is ready" and an ever more awesome setting would be the ability to # the VMs and how they start. This is very home use case stuff tho and I get if it's out of the scope of 4.2 usages. But it would be nice, since I run a beefy machine with 20+ VMs on it at home. And being able to say start my puppet server before everything else, then start the DBs before the WEB server, etc, etc. I know this is feature request, I'll grab all the source tonight and see if I can make a diff. On 27 November 2017 at 15:12, Michal Skrivanek <michal.skrivanek@redhat.com> wrote:
On 27 Nov 2017, at 15:04, Derek Atkins <derek@ihtfp.com> wrote:
Hi,
I've been digging thru mailing lists and blogs and I'm a bit confused about how you have VMs auto-start after a reboot in a ovirt system that is setup as all-in-one.
From what I can gather this can be achieved via some startup scripts (or a rc.local foo).
But there is no setting inside the WebUI that can be set to achieve
On Mon, November 27, 2017 1:58 pm, CRiMSON wrote: this?
Or have I missed something.
You have not missed anything. As of right now there is nothing in the WebUI to configure this. It can only be done by startup scripts. Me, I run my script on my hosted-engine VM.
we recently removed the limitation of “cannot enable HA on a single host” for High Performance VM profile in 4.2 [1]. It can work for this case too, perhaps It may need [2] too which would mean it currently work for High Performance VMs only - if it works at all.
[1] https://gerrit.ovirt.org/#/c/82014/ [2] https://gerrit.ovirt.org/#/c/81950/
-derek
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 27 Nov 2017, at 15:27, CRiMSON <crimson@unspeakable.org> wrote: =20 HA on a single host is kind of a bad labeling of options IMHO. HA-SPOF = (that makes me giggle a little). =20 But maybe another option simply as "Start VM when engine is ready" and = an ever more awesome setting would be the ability to # the VMs and how =
--Apple-Mail=_294C6386-034E-4F6A-8B08-3648ED489F1B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 they start.
=20 This is very home use case stuff tho and I get if it's out of the = scope of 4.2 usages. But it would be nice, since I run a beefy machine = with 20+ VMs on it at home. And being able to say start my puppet server = before everything else, then start the DBs before the WEB server, etc, = etc. =20 I know this is feature request, I'll grab all the source tonight and = see if I can make a diff.
=20 On 27 November 2017 at 15:12, Michal Skrivanek = <michal.skrivanek@redhat.com <mailto:michal.skrivanek@redhat.com>> = wrote: =20
On 27 Nov 2017, at 15:04, Derek Atkins <derek@ihtfp.com = <mailto:derek@ihtfp.com>> wrote:
Hi,
On Mon, November 27, 2017 1:58 pm, CRiMSON wrote:
I've been digging thru mailing lists and blogs and I'm a bit = confused about how you have VMs auto-start after a reboot in a ovirt system that = is setup as all-in-one.
=46rom what I can gather this can be achieved via some startup =
rc.local foo).
But there is no setting inside the WebUI that can be set to achieve =
Or have I missed something.
You have not missed anything. As of right now there is nothing in =
it can also work like described in = https://bugzilla.redhat.com/show_bug.cgi?id=3D1404987 scripts (or a this? the
WebUI to configure this. It can only be done by startup scripts. = Me, I run my script on my hosted-engine VM. =20 we recently removed the limitation of =E2=80=9Ccannot enable HA on a = single host=E2=80=9D for High Performance VM profile in 4.2 [1]. It can = work for this case too, perhaps It may need [2] too which would mean it currently work for High = Performance VMs only - if it works at all. =20 [1] https://gerrit.ovirt.org/#/c/82014/ = <https://gerrit.ovirt.org/#/c/82014/> [2] https://gerrit.ovirt.org/#/c/81950/ = <https://gerrit.ovirt.org/#/c/81950/> =20
-derek
-- Derek Atkins 617-623-3745 <tel:617-623-3745> derek@ihtfp.com <mailto:derek@ihtfp.com> = www.ihtfp.com <http://www.ihtfp.com/> Computer and Internet Security Consultant
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users>
=20 =20
--Apple-Mail=_294C6386-034E-4F6A-8B08-3648ED489F1B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div = class=3D"">On 27 Nov 2017, at 15:27, CRiMSON <<a = href=3D"mailto:crimson@unspeakable.org" = class=3D"">crimson@unspeakable.org</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D""><div class=3D"">HA on a single host is kind of a bad labeling = of options IMHO. HA-SPOF (that makes me giggle a little).</div><div = class=3D""><br class=3D""></div><div class=3D"">But maybe another option = simply as "Start VM when engine is ready" and an ever more awesome = setting would be the ability to # the VMs and how they start.</div><div = class=3D""><br class=3D""></div><div class=3D"">This is very home use = case stuff tho and I get if it's out of the scope of 4.2 usages. But it = would be nice, since I run a beefy machine with 20+ VMs on it at home. = And being able to say start my puppet server before everything else, = then start the DBs before the WEB server, etc, etc.</div><div = class=3D""><br class=3D""></div><div class=3D"">I know this is feature = request, I'll grab all the source tonight and see if I can make a = diff.<br class=3D""></div></div></div></blockquote><div><br = class=3D""></div>it can also work like described in <a = href=3D"https://bugzilla.redhat.com/show_bug.cgi?id=3D1404987" = class=3D"">https://bugzilla.redhat.com/show_bug.cgi?id=3D1404987</a></div>= <div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D""><div class=3D"gmail_extra"><br class=3D""><div = class=3D"gmail_quote">On 27 November 2017 at 15:12, Michal Skrivanek = <span dir=3D"ltr" class=3D""><<a = href=3D"mailto:michal.skrivanek@redhat.com" target=3D"_blank" = class=3D"">michal.skrivanek@redhat.com</a>></span> wrote:<br = class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""><br = class=3D""> > On 27 Nov 2017, at 15:04, Derek Atkins <<a = href=3D"mailto:derek@ihtfp.com" class=3D"">derek@ihtfp.com</a>> = wrote:<br class=3D""> ><br class=3D""> > Hi,<br class=3D""> ><br class=3D""> > On Mon, November 27, 2017 1:58 pm, CRiMSON wrote:<br class=3D""> >> I've been digging thru mailing lists and blogs and I'm a bit = confused<br class=3D""> >> about<br class=3D""> >> how you have VMs auto-start after a reboot in a ovirt system = that is setup<br class=3D""> >> as all-in-one.<br class=3D""> >><br class=3D""> >> =46rom what I can gather this can be achieved via some startup = scripts (or a<br class=3D""> >> rc.local foo).<br class=3D""> >><br class=3D""> >> But there is no setting inside the WebUI that can be set to = achieve this?<br class=3D""> >><br class=3D""> >> Or have I missed something.<br class=3D""> ><br class=3D""> > You have not missed anything. As of right now there is = nothing in the<br class=3D""> > WebUI to configure this. It can only be done by startup = scripts. Me, I<br class=3D""> > run my script on my hosted-engine VM.<br class=3D""> <br class=3D""> </span>we recently removed the limitation of =E2=80=9Ccannot enable HA = on a single host=E2=80=9D for High Performance VM profile in 4.2 [1]. It = can work for this case too, perhaps<br class=3D""> It may need [2] too which would mean it currently work for High = Performance VMs only - if it works at all.<br class=3D""> <br class=3D""> [1] <a href=3D"https://gerrit.ovirt.org/#/c/82014/" rel=3D"noreferrer" = target=3D"_blank" class=3D"">https://gerrit.ovirt.org/#/c/<wbr = class=3D"">82014/</a><br class=3D""> [2] <a href=3D"https://gerrit.ovirt.org/#/c/81950/" rel=3D"noreferrer" = target=3D"_blank" class=3D"">https://gerrit.ovirt.org/#/c/<wbr = class=3D"">81950/</a><br class=3D""> <span class=3D""><br class=3D""> ><br class=3D""> > -derek<br class=3D""> ><br class=3D""> > --<br class=3D""> > Derek Atkins = <a href=3D"tel:617-623-3745" = value=3D"+16176233745" class=3D"">617-623-3745</a><br class=3D""> > <a href=3D"mailto:derek@ihtfp.com" = class=3D"">derek@ihtfp.com</a> = <a href=3D"http://www.ihtfp.com/" rel=3D"noreferrer" = target=3D"_blank" class=3D"">www.ihtfp.com</a><br class=3D""> > Computer and Internet Security = Consultant<br class=3D""> ><br class=3D""> </span>> ______________________________<wbr = class=3D"">_________________<br class=3D""> > Users mailing list<br class=3D""> > <a href=3D"mailto:Users@ovirt.org" class=3D"">Users@ovirt.org</a><br = class=3D""> > <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = rel=3D"noreferrer" target=3D"_blank" = class=3D"">http://lists.ovirt.org/<wbr = class=3D"">mailman/listinfo/users</a><br class=3D""> ><br class=3D""> ><br class=3D""> <br class=3D""> </blockquote></div><br class=3D""></div> </div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_294C6386-034E-4F6A-8B08-3648ED489F1B--

Hi, you can also add yourself to the RFE we have about this here: https://bugzilla.redhat.com/show_bug.cgi?id=1325468 Best regards Martin Sivak SLA / oVirt On Mon, Nov 27, 2017 at 9:42 PM, Michal Skrivanek <michal.skrivanek@redhat.com> wrote:
On 27 Nov 2017, at 15:27, CRiMSON <crimson@unspeakable.org> wrote:
HA on a single host is kind of a bad labeling of options IMHO. HA-SPOF (that makes me giggle a little).
But maybe another option simply as "Start VM when engine is ready" and an ever more awesome setting would be the ability to # the VMs and how they start.
This is very home use case stuff tho and I get if it's out of the scope of 4.2 usages. But it would be nice, since I run a beefy machine with 20+ VMs on it at home. And being able to say start my puppet server before everything else, then start the DBs before the WEB server, etc, etc.
I know this is feature request, I'll grab all the source tonight and see if I can make a diff.
it can also work like described in https://bugzilla.redhat.com/show_bug.cgi?id=1404987
On 27 November 2017 at 15:12, Michal Skrivanek <michal.skrivanek@redhat.com> wrote:
On 27 Nov 2017, at 15:04, Derek Atkins <derek@ihtfp.com> wrote:
Hi,
On Mon, November 27, 2017 1:58 pm, CRiMSON wrote:
I've been digging thru mailing lists and blogs and I'm a bit confused about how you have VMs auto-start after a reboot in a ovirt system that is setup as all-in-one.
From what I can gather this can be achieved via some startup scripts (or a rc.local foo).
But there is no setting inside the WebUI that can be set to achieve this?
Or have I missed something.
You have not missed anything. As of right now there is nothing in the WebUI to configure this. It can only be done by startup scripts. Me, I run my script on my hosted-engine VM.
we recently removed the limitation of “cannot enable HA on a single host” for High Performance VM profile in 4.2 [1]. It can work for this case too, perhaps It may need [2] too which would mean it currently work for High Performance VMs only - if it works at all.
[1] https://gerrit.ovirt.org/#/c/82014/ [2] https://gerrit.ovirt.org/#/c/81950/
-derek
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant
_______________________________________________ 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

On Mon, Nov 27, 2017 at 9:42 PM, Michal Skrivanek < michal.skrivanek@redhat.com> wrote:
On 27 Nov 2017, at 15:27, CRiMSON <crimson@unspeakable.org> wrote:
HA on a single host is kind of a bad labeling of options IMHO. HA-SPOF (that makes me giggle a little).
But maybe another option simply as "Start VM when engine is ready" and an ever more awesome setting would be the ability to # the VMs and how they start.
This is very home use case stuff tho and I get if it's out of the scope of 4.2 usages. But it would be nice, since I run a beefy machine with 20+ VMs on it at home. And being able to say start my puppet server before everything else, then start the DBs before the WEB server, etc, etc.
I know this is feature request, I'll grab all the source tonight and see if I can make a diff.
it can also work like described in https://bugzilla.redhat. com/show_bug.cgi?id=1404987
I don't understand where to set the 2. Enable "autostart" described in the referred bugzilla, that is marked as 'closed current release", so that I can test this feature in case of single hosted engine host environment Thanks, Gianluca
participants (5)
-
CRiMSON
-
Derek Atkins
-
Gianluca Cecchi
-
Martin Sivak
-
Michal Skrivanek