Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

My (postfix) mail server currently runs on an old PowerEdge 2650 and it badly needs a hardware upgrade.

I would like to put it on an 8 core (3rd Gen) 2950, but have no idea how to go about changing hardware. Do I have to install CentOS on the new machine and then figure out how to get postfix/mailman/ldap all working on the new one? Is there any type of information on how to do this? I have no idea how modular linux ACTUALLY is. If I install a new version of CentOS 5.4, should I technically be able to copy over /var /usr /root /home /etc and have the server work exactly the same but on the new hardware? Or would I need to recompile certain programs? I feel like I never learned these type of things anywhere.

Or what if I ran clonezilla on the server and tried to restore it to the new hardware? Would I need to recompile/update the kernel?

Thanks for any help/input/direction.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

How about this for a "not-what-you-were-expecting answer". :)

Virtualize the sucker.

Download the free version of VMware's ESXi and install it on the 2950. Then use the (also free) VMware Converter product to do a P2V migration of the mailserver from its current hardware into the new virtualized server. Doing this will provide the following benefits:

  1. VMware Converter does a very good job of making sure that all necessary drivers are installed on the guest OS so that you don't have any compatibility problems after migration.
  2. After pulling the system into VMware, you will no longer be tied to a certain hardware platform. Want to upgrade again 2 years from now? Simple, install ESXi on the new server and copy the backing vmdk/vmx/etc. over.
  3. You'll be able to get better utilization out of the server. It's quite unlikely that you're using all the available memory, CPU, and disk resources this hardware has to offer. By inserting a virtualization solution into the mix, you'll be able to spin up additional virtual machines when needed with no additional hardware costs.
  4. The P2V conversion is 100% read-only. So if things do not go well for whatever reason, just boot up your original server and try again some other time.
share|improve this answer
    
I like it. But to my knowledge CentOS isn't supported by VMware converter? Also I should mention that the server is 32bit... –  Luke Sep 13 '11 at 3:57
1  
It's probably not "officially" supported by VMware, but due to it's tight similarity to RHEL (which is a supported platform), you'll likely have no problems with it. –  EEAA Sep 13 '11 at 3:58
    
And I really do enjoy having my mail server accessible no matter what the network conditions... Is it possible to access a client command line from a VMware host (without vSphere)? –  Luke Sep 13 '11 at 3:59
    
Aha. OK. Thanks. And I only ask because I've had difficulties with LVM and CentOS before, but I'll hopefully be able to work them out. –  Luke Sep 13 '11 at 4:00
    
Unfortunately no, the ESXi console is pretty bare-bones, and there is no way to access guest OS consoles through it. However, you can obviously get on the guest consoles using the vCenter client. –  EEAA Sep 13 '11 at 4:02

Swap the drive(s) into the 2950. This could require some raid magic and/or using mkinitrd

Build a new mail server from the working copy. Then use DNS to migrate from old to new. Or run two mail servers..

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.