Displaying 16 results from an estimated 16 matches for "libvirt_guest".
2020 Mar 30
2
Re: Set hostname of guest during installation time
...>>>> If my understanding is correct, using 'try06' or 'debian' should do the
>>>> same thing?
>>>
>>> Yes, that is the idea. However, these plugins were not introduced at the
>>> same time. I think that especially Debian has delayed libvirt_guest
>>> plugin. You can check if both plugins exist:
>>>
>>> ls /usr/lib64/libnss_libvirt*
>>>
>>> /usr/lib64/libnss_libvirt_guest.so.2
>>> /usr/lib64/libnss_libvirt.so.2
>>
>> Note that paths are different in Debian-based distros, so th...
2020 Mar 27
2
Re: Set hostname of guest during installation time
...n doe wrote:
> On 3/27/2020 7:36 PM, Michal Prívozník wrote:
>> On 27. 3. 2020 19:23, john doe wrote:
>>> Okay, I have installed the pluging, do you mind explaning how this
>>> should work?:
>>>
>>> $ grep host /etc/ns*
>>> hosts: files libvirt_guest dns
>>>
>>>
>>> If I'm correct, following your example, I should be able to do:
>>>
>>> $ host try06
>>>
>>> What am I missing.
>>
>> 'host' does DNS directly, regardless of nsswitch.conf. That's not how
>...
2020 Mar 30
2
Re: Set hostname of guest during installation time
...n 27. 3. 2020 20:49, john doe wrote:
> > If my understanding is correct, using 'try06' or 'debian' should do the
> > same thing?
>
> Yes, that is the idea. However, these plugins were not introduced at the
> same time. I think that especially Debian has delayed libvirt_guest
> plugin. You can check if both plugins exist:
>
> ls /usr/lib64/libnss_libvirt*
>
> /usr/lib64/libnss_libvirt_guest.so.2
> /usr/lib64/libnss_libvirt.so.2
Note that paths are different in Debian-based distros, so the correct
ones in this case are actually
/lib/x86_64-linux-g...
2020 Mar 27
2
Re: Set hostname of guest during installation time
On 27. 3. 2020 19:23, john doe wrote:
> Okay, I have installed the pluging, do you mind explaning how this
> should work?:
>
> $ grep host /etc/ns*
> hosts: files libvirt_guest dns
>
>
> If I'm correct, following your example, I should be able to do:
>
> $ host try06
>
> What am I missing.
'host' does DNS directly, regardless of nsswitch.conf. That's not how
majority of SW work. Try:
getent hosts try06
or:
ssh try06
The m...
2020 May 05
3
Re: Set hostname of guest during installation time
...ebian' should
>>>>>> do the
>>>>>> same thing?
>>>>>
>>>>> Yes, that is the idea. However, these plugins were not introduced
>>>>> at the
>>>>> same time. I think that especially Debian has delayed libvirt_guest
>>>>> plugin. You can check if both plugins exist:
>>>>>
>>>>> ls /usr/lib64/libnss_libvirt*
>>>>>
>>>>> /usr/lib64/libnss_libvirt_guest.so.2
>>>>> /usr/lib64/libnss_libvirt.so.2
>>>>
>>>&...
2020 May 05
0
Re: Set hostname of guest during installation time
...>>>>>> do the
>>>>>>> same thing?
>>>>>>
>>>>>> Yes, that is the idea. However, these plugins were not introduced
>>>>>> at the
>>>>>> same time. I think that especially Debian has delayed libvirt_guest
>>>>>> plugin. You can check if both plugins exist:
>>>>>>
>>>>>> ls /usr/lib64/libnss_libvirt*
>>>>>>
>>>>>> /usr/lib64/libnss_libvirt_guest.so.2
>>>>>> /usr/lib64/libnss_libvirt.so.2
>&g...
2020 May 05
0
Re: Set hostname of guest during installation time
...If my understanding is correct, using 'try06' or 'debian' should do the
>>>>> same thing?
>>>>
>>>> Yes, that is the idea. However, these plugins were not introduced at the
>>>> same time. I think that especially Debian has delayed libvirt_guest
>>>> plugin. You can check if both plugins exist:
>>>>
>>>> ls /usr/lib64/libnss_libvirt*
>>>>
>>>> /usr/lib64/libnss_libvirt_guest.so.2
>>>> /usr/lib64/libnss_libvirt.so.2
>>>
>>> Note that paths are differen...
2020 Mar 30
0
Re: Set hostname of guest during installation time
...7/2020 7:36 PM, Michal Prívozník wrote:
>>> On 27. 3. 2020 19:23, john doe wrote:
>>>> Okay, I have installed the pluging, do you mind explaning how this
>>>> should work?:
>>>>
>>>> $ grep host /etc/ns*
>>>> hosts: files libvirt_guest dns
>>>>
>>>>
>>>> If I'm correct, following your example, I should be able to do:
>>>>
>>>> $ host try06
>>>>
>>>> What am I missing.
>>>
>>> 'host' does DNS directly, regardless of n...
2020 Mar 27
0
Re: Set hostname of guest during installation time
On 3/27/2020 7:36 PM, Michal Prívozník wrote:
> On 27. 3. 2020 19:23, john doe wrote:
>> Okay, I have installed the pluging, do you mind explaning how this
>> should work?:
>>
>> $ grep host /etc/ns*
>> hosts: files libvirt_guest dns
>>
>>
>> If I'm correct, following your example, I should be able to do:
>>
>> $ host try06
>>
>> What am I missing.
>
> 'host' does DNS directly, regardless of nsswitch.conf. That's not how
> majority of SW work. Try:
>
>...
2020 Mar 30
0
Re: Set hostname of guest during installation time
...49, john doe wrote:
>>> If my understanding is correct, using 'try06' or 'debian' should do the
>>> same thing?
>>
>> Yes, that is the idea. However, these plugins were not introduced at the
>> same time. I think that especially Debian has delayed libvirt_guest
>> plugin. You can check if both plugins exist:
>>
>> ls /usr/lib64/libnss_libvirt*
>>
>> /usr/lib64/libnss_libvirt_guest.so.2
>> /usr/lib64/libnss_libvirt.so.2
>
> Note that paths are different in Debian-based distros, so the correct
> ones in this case...
2020 Mar 27
2
Re: Set hostname of guest during installation time
On 27. 3. 2020 17:23, john doe wrote:
> On 3/27/2020 5:13 PM, Michal Prívozník wrote:
>> On 27. 3. 2020 16:48, Michal Prívozník wrote:
>>> On 27. 3. 2020 14:57, john doe wrote:
>>>> Hi,
>>>>
>>>> I would like to set the hostname when installing a guest, with the below
>>>> command the hostname is not set to 'try06' in the
2020 May 05
0
Re: Set hostname of guest during installation time
...rote:
> On 5/5/2020 10:41 AM, Michal Privoznik wrote:
>> On 5/5/20 9:26 AM, john doe wrote:
>>> On 5/5/2020 8:29 AM, Michal Privoznik wrote:
>>>> Because interface type='bridge' and type='network' are not the same.
>>>> The
>>>> libvirt_guest plugin needs a list of MAC addresses because it tries to
>>>> find a match across libvirt domain name -> list of domain's MAC
>>>> addresses -> list of leases. And whenever a domain is started, all its
>>>> interfaces with type='network' will no...
2017 Jul 17
5
SSH from host to domain using hostname
Hello!
I want to SSH from host to specific guest using hostname, e.g.
ssh <user>@<guest>
or
ssh test@vm02-fai
ssh to guest using IP works w/o issues.
I found Wiki article for "NSS module" (http://wiki.libvirt.org/page/NSS_module), but there are no results for the following commands:
ld4004:/home # virsh net-dhcp-leases default
Expiry Time MAC address
2017 Jul 18
0
Re: SSH from host to domain using hostname
...>> ssh test@vm02-fai
>>
>> ssh to guest using IP works w/o issues.
>>
>> I found Wiki article for "NSS module" (http://wiki.libvirt.org/page/NSS_module),
>
> Also, until 3.2.0 it was mandatory to restart the virtual network after
> configuring the libvirt_guest module (I've updated the wiki accordingly).
>
>> but there are no results for the following commands:
>> ld4004:/home # virsh net-dhcp-leases default
>> Expiry Time MAC address Protocol IP address Hostname Client ID or DUID
>> ----------------------------------------...
2020 Mar 27
0
Re: Set hostname of guest during installation time
...then specify it on virt-install cmd line.
>
> Or even better, do not bother with any of this and use libvirt-nss plugin:
>
> https://libvirt.org/nss.html
>
Okay, I have installed the pluging, do you mind explaning how this
should work?:
$ grep host /etc/ns*
hosts: files libvirt_guest dns
If I'm correct, following your example, I should be able to do:
$ host try06
What am I missing.
Thanks again for your help.
--
John Doe
2014 Jun 15
1
Question about clustering
...m running a little cluster at home. The
cluster is running on a workstation hardware and running on Centos 6.5.
Component: corosync, pacemaker, drbd and pcs. All works good.
This cluster has different resources:
1) drbd0
2) drbd1
3) drbd0_fs
4) drbd1_fs
5) pgsql
6) smb + nmb
7) libvirt (lbs)
8) libvirt_guests (lsb)
I've this constraint colocation and ordering constraint (sorry for format):
Ordering Constraints:
promote drbd_ms then start drbd0_fs (Mandatory)
(id:order-drbd_ms-drbd0_fs-mandatory)
promote drbd1_ms then start drbd1_fs (Mandatory)
(id:order-drbd1_ms-drbd1_fs-mandatory)
sta...