Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-09 Thread Chuck Campbell
On 10/5/2014 3:17 PM, George Kontostanos wrote: I really don't get it. Why get into so much fuss just to rename your interfaces On Sun, Oct 5, 2014 at 5:18 PM, Eliezer Croitoru elie...@ngtech.co.il wrote: You might be (like I am) running archaic license servers that have hard coded

Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-06 Thread George Kontostanos
On Sun, Oct 5, 2014 at 11:20 PM, Digimer li...@alteeve.ca wrote: To answer this question using my use-case; I build HA clusters, and I want to make sure that physical port X on all nodes have the same device name. Biosdevname tries to address this, but doesn't work all the time. Further,

Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-05 Thread George Kontostanos
On Fri, Oct 3, 2014 at 11:08 PM, Robert Moskowitz r...@htt-consult.com wrote: On 10/03/2014 03:11 PM, Richer, Mark (CIV) wrote: Thanks to everyone who responded. This led to some interesting reading and learning, but it hasn’t avoided the reboot. I found this page on udev: How to reload

Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-05 Thread Eliezer Croitoru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey Mark, You can use ip tools to do the trick. For Ubuntu I wrote this upstart script that helps with it without touching udev. You can see it here: http://www1.ngtech.co.il/paste/1175/ You can run this function at runtime and it will change the

Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-05 Thread George Kontostanos
I really don't get it. Why get into so much fuss just to rename your interfaces On Sun, Oct 5, 2014 at 5:18 PM, Eliezer Croitoru elie...@ngtech.co.il wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey Mark, You can use ip tools to do the trick. For Ubuntu I wrote this upstart

Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-05 Thread Digimer
To answer this question using my use-case; I build HA clusters, and I want to make sure that physical port X on all nodes have the same device name. Biosdevname tries to address this, but doesn't work all the time. Further, in my case, I've got a minimum of six interfaces in each node,

[CentOS] Renaming NIC name in CentOS 7

2014-10-03 Thread Richer, Mark (CIV)
All, I am trying to understand better how you give an interface a more descriptive name and get it all working without a reboot, if possible. We have 1G and 10G interfaces, and I’m trying to use names like 1G-internal, 1G-external, 10G-private, etc. When I boot up, it’s all fine, but if I add

Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-03 Thread Robert Moskowitz
On 10/03/2014 09:12 AM, Richer, Mark (CIV) wrote: All, I am trying to understand better how you give an interface a more descriptive name and get it all working without a reboot, if possible. udev is in control. You need a /etc/udev/rules.d/70-persistent-net.rules like: # net device ()

Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-03 Thread Digimer
On 03/10/14 09:12 AM, Richer, Mark (CIV) wrote: All, I am trying to understand better how you give an interface a more descriptive name and get it all working without a reboot, if possible. We have 1G and 10G interfaces, and I’m trying to use names like 1G-internal, 1G-external, 10G-private,

Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-03 Thread Darr247
On 03 October 2014 @13:53 zulu, Digimer wrote: On 03/10/14 09:12 AM, Richer, Mark (CIV) wrote: All, I am trying to understand better how you give an interface a more descriptive name and get it all working without a reboot, if possible. I actually wrote a small tutorial on how to do just

Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-03 Thread Robert Moskowitz
On 10/03/2014 12:38 PM, Darr247 wrote: On 03 October 2014 @13:53 zulu, Digimer wrote: On 03/10/14 09:12 AM, Richer, Mark (CIV) wrote: All, I am trying to understand better how you give an interface a more descriptive name and get it all working without a reboot, if possible. I actually

Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-03 Thread Richer, Mark (CIV)
Thanks to everyone who responded. This led to some interesting reading and learning, but it hasn’t avoided the reboot. I found this page on udev: How to reload udev rules without reboot?http://unix.stackexchange.com/questions/39370/how-to-reload-udev-rules-without-reboot

Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-03 Thread Richer, Mark (CIV)
Of course, I found a page with a solution that worked right after sending the last email. However, without pointing to me to search for pages in google on reloading udev rules, I wouldn’t have found this so thanks to the list for the collaborative solution.

Re: [CentOS] Renaming NIC name in CentOS 7

2014-10-03 Thread Robert Moskowitz
On 10/03/2014 03:11 PM, Richer, Mark (CIV) wrote: Thanks to everyone who responded. This led to some interesting reading and learning, but it hasn’t avoided the reboot. I found this page on udev: How to reload udev rules without