Page 1 of 1

Move From 10/100 NIC To 10/100/1000 NIC

Posted: 2017/05/28 04:19:43
by etpoole60
My current environment is:
CentOS 6.9 x86_64
AMD Phenom(tm) II X6 1055T Processor
32 GB RAM
nVidia GeForce 218 video card
ASRock 970DE3 motherboard (with on-board gigabit nic)
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Oracle/SUN Happy Meal 10/100 Ethernet quad-port
(A total of 6 ethernet ports)
A total of 6 WD Black hard drives (4 - 1TB drives and 2 - 2TB drives) set up in RAID-1 configuration.
This machine runs 6 KVM virtual machines that uses ifcfg-br0 and ifcfg-br1 off of ifcfg-eth4 and ifcfg-eth5.

I want to replace that old Oracle/SUN adapter with a new Intel quad-port 10/100/1000 adapter.

My thoughts are:
1. Keep the /etc/udev/rules.d/70-persistent-net.rules for eth0 and eth1 comment out the definitions for eth2 - eth5.
2. Move all of the definitions in /etc/sysconfig/network-scripts for eth2 - eth5 and br0 and br1 to some holding directory (i.e. /root)
3. Edit those definitions in /root and comment out the HWADDR and the UUID.
4. Set the virtual machine so that they do no auto start.
5. Power down the machine.
6. Replace the quad-port NIC with the new quad-port adapter, plugin in CAT6 cables.
7. Power up the machine.
8. Edit the /etc/udev/rules.d/70-persistent-net.rules make sure that the new entries correspond with eth2 - eth5.
9. Edit the network definitions stored in /root with the correct HWADDR information.
10. Move the edited entried from /root back to /etc/sysconfig/network-scripts.
11. Restart the network (/etc/init.d/network restart) and verify network connections.
12. Set the virtual machines so that they do auto start.
13. Power down the machine to force a cold boot.
14. Start the machine normally.
15. Check-out all of the connections.

How does this plan sound?
Have I missed something?

TIA
Gene

Re: Move From 10/100 NIC To 10/100/1000 NIC

Posted: 2017/05/28 12:05:23
by TrevorH
Is NetworkManager installed and enabled? You might need to adjust your steps if it is.

Re: Move From 10/100 NIC To 10/100/1000 NIC

Posted: 2017/05/28 18:24:55
by etpoole60
I'm old school so I turned NetworkManager off at initial install back with CentOS 6.1.
Back pre-retirement days we ran ~2,000 Linux servers and none with gui's turned on. We were taught that the gui and gcc represented a security violation.
Is that the way it is currently? I don't know but even when I do run the GUI I bring up a terminal and do it command line.

TIA
Gene

Re: Move From 10/100 NIC To 10/100/1000 NIC

Posted: 2017/05/29 02:16:21
by TrevorH
NetworkManager would have confused your plan so since you don't use it, that's good.