Re: [ovirt-users] It is possible to use vdsClient / virsh to start VMs in the event that engine is down?

2015-10-30 Thread Liam Curtis
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
r...@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  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


Join the conversation! [image: Facebook]
 [image:
Twitter]  [image: LinkedIn]
 [image: Blog RSS]
 [image: YouTube]
 [image: Google Plus Page]

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


Re: [ovirt-users] It is possible to use vdsClient / virsh to start VMs in the event that engine is down?

2015-10-30 Thread Jiri Belka
> 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.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] It is possible to use vdsClient / virsh to start VMs in the event that engine is down?

2015-10-12 Thread Liam Curtis
Hello all,

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.

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.

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