LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-17-2007, 05:19 PM   #1
jsf03723
LQ Newbie
 
Registered: Jun 2003
Location: San Diego, CA, USA
Distribution: redhat 7/8/9, mandrake, smoothwall corporate 3.0
Posts: 20

Rep: Reputation: 0
Thoughts on migration/upgrade of older systems?


We've got a few older systems at our office which are in need of some updates.

The machines in question are Redhat 8 and 9 boxes which are currently used for (external) mail, (external) web, and (internal, development arena) home directories.

The mail and web configurations have been customized, so we will have to look at carrying that data to a new host. The home directories are served from a fairly "vanilla" configuration; I believe the data will simply need to be migrated to the new host and automount maps updated to reflect the new host.

New installations on freshened hardware are reasonable, we are not thinking of upgrading but rather re-implementing or re-deploying.


Rambling aside, I'm looking for feedback in the following areas:

- user migration from the old mail host to the new. How can this be achieved? Copy the relevant lines from passwd and shadow as well as current imap files in spool and home directories?

- home directory data migration - Place the new server on the network and rsync the data from one host to another, using that to maintain ownership and permissions?

- Any thoughts on an easy way to find other pieces of the system which may have been modified in the last few years while the boxes were running? While we have log books for the servers, a cli sequence might point out things which were updated and not logged.


Thanks for any feedback or pointers you can provide!
 
Old 01-20-2007, 10:32 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Why don't you just perform a backup on the old system and restore on the new? Of course there are a couple of additional steps such as installing a boot loader in the MBR of the new disk but I would give it a try.
 
Old 01-24-2007, 06:09 PM   #3
jsf03723
LQ Newbie
 
Registered: Jun 2003
Location: San Diego, CA, USA
Distribution: redhat 7/8/9, mandrake, smoothwall corporate 3.0
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by stress_junkie
Why don't you just perform a backup on the old system and restore on the new? Of course there are a couple of additional steps such as installing a boot loader in the MBR of the new disk but I would give it a try.
Backup and restore - so keep the same old OS load? That keeps us exposed to the same old shortcomings of using an EOL software product.

Looks like I'll be using rpm to check for changed files, manually investigate changes, and carry those changes which are *important* to the new system. I'll also be looking at the server log books for information on things that have changed since the system was built.



Other thoughts?
 
Old 01-25-2007, 01:34 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
I don't think that stress_junkie meant to restore the OS. But mail, homedirectories etc can be done like that.
Just check for each software that you use for the upgrades; there are usually guidelines available how to migrate specific software.

One example that I can think of is MySQL where somewhere along the line the password function changed and needed more storage space. If this applies, you have to check all databases for the use of the password function and the allocated storage space.
 
Old 01-25-2007, 06:05 PM   #5
jsf03723
LQ Newbie
 
Registered: Jun 2003
Location: San Diego, CA, USA
Distribution: redhat 7/8/9, mandrake, smoothwall corporate 3.0
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Wim Sturkenboom
I don't think that stress_junkie meant to restore the OS. But mail, homedirectories etc can be done like that.
Just check for each software that you use for the upgrades; there are usually guidelines available how to migrate specific software.
Good point, and better meaning than I took from it. I'll take my list of files installed by rpms that have been modified and pursue my upgrade/redeployment options on those.


Quote:
Originally Posted by Wim Sturkenboom
One example that I can think of is MySQL where somewhere along the line the password function changed and needed more storage space. If this applies, you have to check all databases for the use of the password function and the allocated storage space.
At this point, the database servers are not impacted by this upgrade, although there are some hosted applications which speak to them. I'll have to see what we can learn about updating the connections.
 
Old 01-25-2007, 09:07 PM   #6
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
Manually rsyncing is a fine choice, and would probably prove to be much more effective than anything else.

Your biggest problem may come from the fact that RH8 and RH9 are fairly ancient at this time, and you might gain/lose functionalities in an upgrade to modern OSes. As an example, all the home directory data will probably copy beautifully, but the apache running on those boxes is a very old version, and your side apps may not exist or have important changes that poke holes in your current setup.

Take your time, and try running the replacement system side by side for a while, just to make sure everything behaves itself exactly as it should before you scrap the old ones.

Peace,
JimBass
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
when trying to upgrade any rpms, it always says it conflicts with older version poiuytrewq Linux - Newbie 1 10-27-2004 06:27 PM
Just some thoughts neocookie General 29 05-12-2004 03:39 PM
Need Some Thoughts Please!!! blmartin777 Debian 9 04-23-2004 06:14 PM
How do linux systems upgrade packages whose files are in use? mtvoid Linux - General 1 02-07-2004 11:02 PM
Your thoughts... bkeating General 21 12-09-2002 12:07 PM


All times are GMT -5. The time now is 04:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration