[ovirt-users] It is possible to use vdsClient / virsh to start VMs in the event that engine is down?
Liam Curtis
lcurtis at datto.com
Fri Oct 30 23:25:56 UTC 2015
Thank you Jiri!
I had tried this, but your post made me think of googling
/etc/libvirt/passwd.db a bit more and discovered the sasldblistusers2 -f
/etc/libvirt/passwd.db command which showed me 2 users including
root at localbox...when I entered that user it worked. Still cannot start
turned-off vms this way, but its furtehr than I got.
Thanks again.
On Fri, Oct 30, 2015 at 1:29 PM, Jiri Belka <jbelka at redhat.com> wrote:
> > I do not see a way to start vm's in the event that an engine is down. I
> see
> > vdsClient -s 0 destroy works to shut them down.
>
> Yes, engine is SPOF. They invented hosted engine solution which pretends
> to bringe HA for engine but...
>
> I have no idea why it does not use JBoss based features like clustering.
>
> > Also, is it still possible to use non-read-only virsh commands? i tried
> using
> > saslpasswd2 to create an account, but that did not seem to work.
>
> You are doing something wrong then. Auth for virsh works ok, you just
> have to know how libvirt works with that sasl :)
>
> # grep ^sasldb /etc/sasl2/libvirt.conf
> sasldb_path: /etc/libvirt/passwd.db
>
> # saslpasswd2 -c -a libvirt testovic
> ...
> # strings /etc/libvirt/passwd.db | grep ^testovic
> testovic
>
> j.
>
--
*Liam Curtis*
Manager of Systems EngineeringDatto, Inc.(203) 529-4949 x228
www.datto.com
<http://datto.com/datto-signature/>
Join the conversation! [image: Facebook]
<http://www.facebook.com/dattoinc> [image:
Twitter] <https://twitter.com/datto> [image: LinkedIn]
<https://www.linkedin.com/company/datto-inc.> [image: Blog RSS]
<http://blog.datto.com/blog> [image: YouTube]
<http://www.youtube.com/user/DattoInc/featured> [image: Google Plus Page]
<https://plus.google.com/u/0/108292366419623632143/posts>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151030/e240df71/attachment-0001.html>
More information about the Users
mailing list