[ovirt-users] How to execute Virsh command after ovirt installation ?

Michal Skrivanek michal.skrivanek at redhat.com
Tue Jan 3 10:59:12 UTC 2017


> On 3 Jan 2017, at 11:55, Nathanaël Blanchet <blanchet at abes.fr> wrote:
> 
> except for quickly get RO informations like "virsh capabilities".
> 
> When you come from libvirt and you know what to do, you might not want to find/read a dedicated documentation for such a little query.
> 

yes, sure, for read-only
but for any modification, no matter how minimal, it’s almost always needed to inform vdsm/engine to know about it to prevent corner cases, misdetections, etc...

> 
> Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :
>> 
>>> On 3 Jan 2017, at 11:15, Nathanaël Blanchet < <mailto:blanchet at abes.fr>blanchet at abes.fr <mailto:blanchet at abes.fr>> wrote:
>>> 
>>> Use at your own risks:
>>> 
>>> vdsm at ovirt:shibboleth
>>> 
>>> But, you may unsynchronize your host HW with engine database.
>> 
>> it is almost always a bad idea to do that
>> hooks are exactly for the cases like below, just in a cleaner way
>> 
>>> 
>>> Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
>>>> It is preferable you use VDSM hooks to add devices to VMs.
>>>> 
>>>> Yaniv Dary
>>>> Technical Product Manager
>>>> Red Hat Israel Ltd.
>>>> 34 Jerusalem Road
>>>> Building A, 4th floor
>>>> Ra'anana, Israel 4350109
>>>> 
>>>> Tel : +972 (9) 7692306
>>>>         8272306
>>>> Email: ydary at redhat.com <mailto:ydary at redhat.com>
>>>> IRC : ydary
>>>> 
>>>> On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . < <mailto:tranceworldlogic at gmail.com>tranceworldlogic at gmail.com <mailto:tranceworldlogic at gmail.com>> wrote:
>>>> Hi Joop,
>>>> 
>>>> I want to add drdb device in vm instance hence would like to execute virsh command.
>>>> Is it possible ?
>>>> 
>>>> Thanks,
>>>> ~Rohit
>>>> 
>>>> 
>>>> 
>>>> On Tue, Jan 3, 2017 at 1:26 PM, jvandewege <jvandewege at nieuwland.nl <mailto:jvandewege at nieuwland.nl>> wrote:
>>>> On 3-1-2017 8:32, TranceWorldLogic . wrote:
>>>> > Hi,
>>>> >
>>>> > I tried execution below virsh command after ovirt installation.
>>>> > but it requesting username and password.
>>>> >
>>>> > ~# virsh list --all
>>>> > Please enter your authentication name:
>>>> >
>>>> > Please let me know which username and password I have to provide ?
>>>> If you only need read access then you need to supply -r as an additional
>>>> argument.
>>>> 
>>>> Why do you need virsh because that will only give you the info on that
>>>> host, using ovirt-shell gives you the info for all hosts.
>>>> 
>>>> Joop
>>>> 
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org <mailto:Users at ovirt.org>
>>>> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org <mailto:Users at ovirt.org>
>>>> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org <mailto:Users at ovirt.org>
>>>> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
>>> 
>>> -- 
>>> Nathanaël Blanchet
>>> 
>>> Supervision réseau
>>> Pôle Infrastrutures Informatiques
>>> 227 avenue Professeur-Jean-Louis-Viala
>>> 34193 MONTPELLIER CEDEX 5 	
>>> Tél. 33 (0)4 67 54 84 55
>>> Fax  33 (0)4 67 54 84 14
>>> blanchet at abes.fr <mailto:blanchet at abes.fr> 
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org <mailto:Users at ovirt.org>
>>> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
>> 
> 
> -- 
> Nathanaël Blanchet
> 
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 	
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14
> blanchet at abes.fr <mailto:blanchet at abes.fr> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170103/1ea70cd3/attachment-0001.html>


More information about the Users mailing list