Swapping hard drives to another chassis - Networking issues
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Swapping hard drives to another chassis - Networking issues
Hey all. I recently posted this question over on FedoraForum, but as yet I've not had any feedback. Thought I'd try here, as well. For simplicity's sake, I'll just cut and paste:
Quote:
Hello all. I have a question that's driving me a little crazy, so this is the place to be!
I am working with some IBM x3500 Blade servers running FC6. Long story short, I ran in to a problem at a remote site last week. Ended up getting it fixed, but one of the issues I ran across was that I do not seem able to swap hard drives from the previous/production chassis to another one (if there's a hardware problem), and have it come online.
INFO: All of them run the exact same OS, FC6. We have one proprietary application to connect to our terminals. All of the servers are identical, hardware-wise. We run a RAID1 and are using IBM/Adaptec ServeRAID 8K cards for controllers/management. They all have 192.168.x.x IPs on a 255.255.255.0 subnet.
So... I went to swap the two drives from the old chassis to the new. I kept them in the same order (SCSI 1, 0 left to right). When I booted up the new chassis using the old drives, Fedora started *however* during the network initialization, the IP process failed (right after the successful loopback test). I had made no changes to the IP addressing prior to shutting down the previous chassis and pulling the drives.
It boots up, I log in to command line and discover that the /etc/sysconfig ifcfg-eth0 IP is gone (we only use one port, so eth0). No IPADDR entry nor SUBNET. They can be manually entered via "vi" at which point, if I recall correctly, once the network service was stopped/started I was able to ping across the LAN, however I was not able to get the system fully working. We connect via PCI cards to serial cables that connect to end user equipment. The configuration information was not coming across, which is actually communicated to the server via an off-site server on our WAN.
A LITTLE MORE INFO: We have some older servers running Debian, also IBM Blade servers but an older version that use ServeRAID 7K controllers. Drive swaps in those have always worked just fine. During boot, when the RAID is initializing, after a drive swap the controller recognizes the drives and prompts to "accept the configuration" from the new drives. Do so, and it boots up and POOF everything works.
Well, with the server with the problem, as I said we use ServeRAID 8K. At boot, when drives are swapped there is NO prompt for configuration acceptance, it just boots up.
I was initially thinking that it might be a problem with the controller, but I'm not sure about that. To me it seems more like a problem with the IP configuration binding to the MAC address of the eth0 port, and then when the drives are swapped, it does not work. However what is different about Debian that would allow this to work, when Fedora does not? That may be a pivotal question, if I'm going about this the right way.
Essentially, we SHOULD be able to swap chassis, maybe with an extra step or two... I just don't know what those are. Yet.
Thanks! I just know this is going to be a facepalm moment... something stupid that I'm not aware of yet...
Two unavoidable things:
A moderator on FedoraForum pointed out was that Fedora should not be used on a production server. I agree... sort of... but this was not my call. This is several separate LANs of a dozen or more servers apiece, all over the service area I drive to. It's unavoidable.
Also, yes, they run FC6. I realize that we went beyond support for FC6 in about 2007. This server type was installed in 2007-2008 initially, and for our purposes we had to remain constant. We will not be upgrading. It is what it is. These servers run one proprietary application, that's it.
So that's out of the way...
Any advice? Since I posted the above, my efforts in troubleshooting have rather fallen flat. The most helpful documents I found are here:
This unfortunately does not work. We don't use Gnome/GUI (console only) for our purposes, but even under the system-network-config command line utility, there is no option for unbinding a MAC address associated to an ethernet port.
That bug seems to comment on the file /etc/udev/rules.d/70-persistent-net.rules not being present in older Fedora releases. Looks like maybe it started with FC8, not sure. Maybe relevant, maybe not...
I've tried changing the HWADDR settings under /etc/sysconfig/network-scripts/ifg-eth0 (we only use the one port), but no dice. Yet.
This is a tricky one. Sorry if I got confusing, but any help would be grand.
One thing: I did mention that our older servers, running Debian work fine. Swap the drives into the other chassis, accept the drive configuration in ServeRAID, and the OS loads and that's it. One thing I'd really love to know is *why* it works there, but not Fedora.... could be helpful in troubleshooting this.
Don't post to your own post. Makes it look like someone answered it.
Yep, I have seen Fedora do that. I forgot now what the issue was and the fix. I just ended up reloading it. From what I recall it was still trying to load up the other nic's. It was actually calling the new nics (supposed to be the same hardware) by new names like eth5 and eth6. There is a simple sort of fix out there but not sure what it was.
A simple fix is what I'm hoping for.....I've figured for the past few days that it would be something simple-ish, at least. I did notice that after the drives were swapped, the eth0 and eth1 addresses changed, or went like you said to eth1 and eth2 or something like that. So I'm almost wondering if it IS a RAID controller configuration that has to be set? Only trouble is that these ServeRAID 8K modules don't have any kind of acceptance prompt when a new drive pair is inserted. It just starts to boot normally.
IBM servers have a CTRL+A option at boot during the RAID initialization phase, but that's just to modify or delete the existing RAID. I don't think it has a mini-configuration option anymore.
As for posting to my post, sorry I'm not quite sure what you mean - the quoted section perhaps?
I've only seen this issue on Fedora. I did find the answer after looking for it but I forgot what it was. There is a solution out there but it isn't exactly worded easy to find as I recall. It is one of those things that I said that I will remember and then forgot.
Well it happens on RHeL too, I've seen it firsthand. Curiously, with that it kind of resolved itself after a number of reboots.
I think it's got to be something related to just changing the MAC. Post-swap perhaps since the OS seems to pick up on the hardware once it's installed (as designed).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.