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@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@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 Engineering
Datto, Inc.
(203) 529-4949 x228
www.datto.com


Join the conversation! Facebook Twitter LinkedIn Blog RSS YouTube Google Plus Page