Re: [PVE-User] NIC invertion after reboot

2018-11-06 Thread Luis G. Coralle
Hi, you can set if names in this file:

root@pve1:~# cat /etc/udev/rules.d/70-persistent-net.rules


El mar., 6 de nov. de 2018 a la(s) 11:04, Gilberto Nunes (
gilberto.nune...@gmail.com) escribió:

> Hi there...
> I am using this in /etc/default/grub:
> net.ifnames=0 and biosdevname=0
> in order to use eth0, instead eno1, and so on...
> Today the server was rebooted and after that occur a invertion of the
> NIC...
> So vmbr3 which supposed to be eth2, turns vmbr4, something like that,
> because I wasn't present in the place, when this event happened...
> My question is if this invertion ( or swaping )  are regard the grub line
> inserted...
> Thanks a lot
>
> ---
> Gilberto Nunes Ferreira
>
> (47) 3025-5907
> (47) 99676-7530 - Whatsapp / Telegram
>
> Skype: gilberto.nunes36
> ___
> pve-user mailing list
> pve-user@pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>


-- 
Luis G. Coralle
Secretaría de TIC
Facultad de Informática
Universidad Nacional del Comahue
(+54) 299-4490300 Int 647
___
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


Re: [PVE-User] NIC invertion after reboot

2018-11-06 Thread Alwin Antreich
Hi Gilberto,

On Tue, Nov 06, 2018 at 12:03:00PM -0200, Gilberto Nunes wrote:
> Hi there...
> I am using this in /etc/default/grub:
> net.ifnames=0 and biosdevname=0
> in order to use eth0, instead eno1, and so on...
> Today the server was rebooted and after that occur a invertion of the
> NIC...
> So vmbr3 which supposed to be eth2, turns vmbr4, something like that,
> because I wasn't present in the place, when this event happened...
> My question is if this invertion ( or swaping )  are regard the grub line
> inserted...
> Thanks a lot
Yes, exactly. This sets the old naming behaviour that is, naming the
first device visible first. This is why there was the change to a more
predictable naming scheme.

--
Cheers,
Alwin

___
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


[PVE-User] NIC invertion after reboot

2018-11-06 Thread Gilberto Nunes
Hi there...
I am using this in /etc/default/grub:
net.ifnames=0 and biosdevname=0
in order to use eth0, instead eno1, and so on...
Today the server was rebooted and after that occur a invertion of the
NIC...
So vmbr3 which supposed to be eth2, turns vmbr4, something like that,
because I wasn't present in the place, when this event happened...
My question is if this invertion ( or swaping )  are regard the grub line
inserted...
Thanks a lot

---
Gilberto Nunes Ferreira

(47) 3025-5907
(47) 99676-7530 - Whatsapp / Telegram

Skype: gilberto.nunes36
___
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


Re: [PVE-User] Quick question regarding node removal

2018-11-06 Thread Thomas Lamprecht
Hi,

On 11/6/18 12:56 PM, Uwe Sauter wrote:
> Hi,
> 
> in the documentation to pvecm [1] it says:
> 
> 
> At this point you must power off hp4 and make sure that it will not power on 
> again (in the network) as it is.
> Important:
> As said above, it is critical to power off the node before removal, and make 
> sure that it will never power on again (in the
> existing cluster network) as it is. If you power on the node as it is, your 
> cluster will be screwed up and it could be difficult
> to restore a clean cluster state.
> 
> 
> Am I right to assume that this is due to the configuration on the node which 
> is to be removed? If I reinstall that node I can
> reuse hostname and IP addresses?

Yes, exactly. It's more for the reason that the removed node still thinks
that it is part of the cluster and has still access to the cluster
communication (through the '/etc/corosync/authkey').

So re-installing works fine.

You could also separate it without re-installing, see:
https://pve.proxmox.com/pve-docs/chapter-pvecm.html#pvecm_separate_node_without_reinstall

Here I recommend that you test this first (if the target is anything
production related) - e.g. in a virtual PVE cluster (PVE in VMs).

cheers,
Thomas

___
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


[PVE-User] Quick question regarding node removal

2018-11-06 Thread Uwe Sauter
Hi,

in the documentation to pvecm [1] it says:


At this point you must power off hp4 and make sure that it will not power on 
again (in the network) as it is.
Important:
As said above, it is critical to power off the node before removal, and make 
sure that it will never power on again (in the
existing cluster network) as it is. If you power on the node as it is, your 
cluster will be screwed up and it could be difficult
to restore a clean cluster state.


Am I right to assume that this is due to the configuration on the node which is 
to be removed? If I reinstall that node I can
reuse hostname and IP addresses?

Thanks,

Uwe


[1] https://pve.proxmox.com/pve-docs/chapter-pvecm.html#_remove_a_cluster_node
___
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user