I don't have a system similar to my active server, and I'd like to install CentOS to a new drive on a spare system and then load that disk in my server once it's configured with the services I need. How hardware-independent is a server installation? What should I look out for when doing this? I've been using Linux on servers for several years and am a software/hardware integrator by day. It seems like this should be trivial but I'd like to know if I'm missing any obvious gotchas. I'm guessing the biggest issue is associating eth names with actual devices (modules.conf?), since the systems are unlikely to use the same Ethernet hardware.
On Mon, 2007-04-16 at 11:04 -0700, Kenneth Porter wrote:> I don't have a system similar to my active server, and I'd like to install > CentOS to a new drive on a spare system and then load that disk in my > server once it's configured with the services I need. How > hardware-independent is a server installation? What should I look out for > when doing this? > > I've been using Linux on servers for several years and am a > software/hardware integrator by day. It seems like this should be trivial > but I'd like to know if I'm missing any obvious gotchas. > > I'm guessing the biggest issue is associating eth names with actual devices > (modules.conf?), since the systems are unlikely to use the same Ethernet > hardware.kudzu should detect any changes as long as the hard drive types are the same and the drive is the same number for grub (hd0, hd1, etc.) Also you need to be careful with drive labels ... if you have 2 /boot labels or 2 /root labels the machine will not boot. you can use e2label to change the partition labels (if required) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20070416/a1020d03/attachment-0004.sig>
>I don't have a system similar to my active server, and I'd like to install >CentOS to a new drive on a spare system and then load that disk in my >server once it's configured with the services I need. How >hardware-independent is a server installation? What should I look out for >when doing this? > > I've been using Linux on servers for several years and am a > software/hardware integrator by day. It seems like this should be trivial > but I'd like to know if I'm missing any obvious gotchas. > > I'm guessing the biggest issue is associating eth names with actual > devices (modules.conf?), since the systems are unlikely to use the same > Ethernet hardware.Hello, Kenneth. One of the main problems you might have is when the two servers don't have the same hard disk driver chip manufacturer (SATA driver for example, on the mainboard side). In this case, your system would not boot at all, as not all sata drivers are put into the initrd file by default. It only takes the one that was present on the installed server, and then makes any move not easily possible. But if the two servers are the same, then no problems doing that. Regards, Daniel
Johnny Hughes wrote:> > Also you need to be careful with drive labels ... if you have 2 /boot > labels or 2 /root labels the machine will not boot.It won't? In my experience wit RHL it would simply choose the wrong one. -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list