[CentOS] Moving server

2011-11-30 Thread Timothy Murphy
I want to move my home server over to a new machine,
both running CentOS.
(The present server is running CentOS-5.7, the new one 6.0.)
I'm thinking of moving things over one at a time,
starting with email.
I'm running IMAP on the server,
with my email in ~/Maildir/ .
I'm wondering what exactly I need to copy to the new machine?

Any help or suggestions gratefully received.


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving server

2011-11-30 Thread ken
On 11/30/2011 06:36 AM Timothy Murphy wrote:
> I want to move my home server over to a new machine,
> both running CentOS.
> (The present server is running CentOS-5.7, the new one 6.0.)
> I'm thinking of moving things over one at a time,
> starting with email.
> I'm running IMAP on the server,
> with my email in ~/Maildir/ .
> I'm wondering what exactly I need to copy to the new machine?
> 
> Any help or suggestions gratefully received.

If it were me, I'd copy the entire old machine (running 5.7) over to the 
new machine so that after the copy it was also running 5.7, then upgrade 
the new machine to 6.0.  ...unless you like making things more 
complicated than they need to be.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving server

2011-11-30 Thread Johnny Hughes
On 11/30/2011 06:18 AM, ken wrote:
> On 11/30/2011 06:36 AM Timothy Murphy wrote:
>> I want to move my home server over to a new machine,
>> both running CentOS.
>> (The present server is running CentOS-5.7, the new one 6.0.)
>> I'm thinking of moving things over one at a time,
>> starting with email.
>> I'm running IMAP on the server,
>> with my email in ~/Maildir/ .
>> I'm wondering what exactly I need to copy to the new machine?
>>
>> Any help or suggestions gratefully received.
> 
> If it were me, I'd copy the entire old machine (running 5.7) over to the 
> new machine so that after the copy it was also running 5.7, then upgrade 
> the new machine to 6.0.  ...unless you like making things more 
> complicated than they need to be.

An upgrade on the same machine from 5.7 to 6.x is not supported and
would always leave behind a bunch of old libraries, etc.

The way he is doing it is the correct way (at least as recommended by RH
for RHEL and by us for CentOS.

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/ch-upgrade-x86.html





signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving server

2011-11-30 Thread Reindl Harald


Am 30.11.2011 13:45, schrieb Johnny Hughes:
> On 11/30/2011 06:18 AM, ken wrote:
>> On 11/30/2011 06:36 AM Timothy Murphy wrote:
>>> I want to move my home server over to a new machine,
>>> both running CentOS.
>>> (The present server is running CentOS-5.7, the new one 6.0.)
>>> I'm thinking of moving things over one at a time,
>>> starting with email.
>>> I'm running IMAP on the server,
>>> with my email in ~/Maildir/ .
>>> I'm wondering what exactly I need to copy to the new machine?
>>>
>>> Any help or suggestions gratefully received.
>>
>> If it were me, I'd copy the entire old machine (running 5.7) over to the 
>> new machine so that after the copy it was also running 5.7, then upgrade 
>> the new machine to 6.0.  ...unless you like making things more 
>> complicated than they need to be.
> 
> An upgrade on the same machine from 5.7 to 6.x is not supported and
> would always leave behind a bunch of old libraries, etc.

yes you have to manually clean up something

but since i upgraded > 20 servers since F9 to F14 and
currently stzart upgrade to F15 via yum this should also
work on CentOS and is mostly more painless than searching
every piece of configuraion on a new machine

since this is a new machine while the old is still there it
would be not a problem to test what is happening, on my
environments all servers are virtual-machines what makes
it all relaxter with a full snapshot





signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving server

2011-11-30 Thread Les Mikesell
On Wed, Nov 30, 2011 at 5:36 AM, Timothy Murphy  wrote:
> I want to move my home server over to a new machine,
> both running CentOS.
> (The present server is running CentOS-5.7, the new one 6.0.)
> I'm thinking of moving things over one at a time,
> starting with email.
> I'm running IMAP on the server,
> with my email in ~/Maildir/ .
> I'm wondering what exactly I need to copy to the new machine?

If you can run both machines during the conversion, I'd bring up the
new one, then rsync over the home directories and any other data,
making sure the related applications work.  If you make changes to the
IMAP server, there is an imapcopy utility that will move all mail to a
different type of server - or for a few accounts you can just recreate
the folder structure from a client, connect to both accounts and drag
the messages over, letting the servers take care of the
storage/formatting details.

-- 
  Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving server

2011-11-30 Thread Ljubomir Ljubojevic
Vreme: 11/30/2011 01:53 PM, Reindl Harald piše:
> but since i upgraded>  20 servers since F9 to F14 and
> currently stzart upgrade to F15 via yum this should also
> work on CentOS and is mostly more painless than searching
> every piece of configuraion on a new machine
>
> since this is a new machine while the old is still there it
> would be not a problem to test what is happening, on my
> environments all servers are virtual-machines what makes
> it all relaxter with a full snapshot

Fedora upgrades every 6 months so changes are not so big. CentOS 5.x and 
CentOS 6.x are MUCH more different, there is number of packages that are 
obsoleted and replaced with packages of same effect but with different 
config files, file locations, etc.

Do what you like, but with such different changes, my servers will be 
freshly built and clean (I am slated to upgrade them in few weeks.)


-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving server

2011-11-30 Thread Johnny Hughes
On 11/30/2011 06:53 AM, Reindl Harald wrote:
> 
> 
> Am 30.11.2011 13:45, schrieb Johnny Hughes:
>> On 11/30/2011 06:18 AM, ken wrote:
>>> On 11/30/2011 06:36 AM Timothy Murphy wrote:
 I want to move my home server over to a new machine,
 both running CentOS.
 (The present server is running CentOS-5.7, the new one 6.0.)
 I'm thinking of moving things over one at a time,
 starting with email.
 I'm running IMAP on the server,
 with my email in ~/Maildir/ .
 I'm wondering what exactly I need to copy to the new machine?

 Any help or suggestions gratefully received.
>>>
>>> If it were me, I'd copy the entire old machine (running 5.7) over to the 
>>> new machine so that after the copy it was also running 5.7, then upgrade 
>>> the new machine to 6.0.  ...unless you like making things more 
>>> complicated than they need to be.
>>
>> An upgrade on the same machine from 5.7 to 6.x is not supported and
>> would always leave behind a bunch of old libraries, etc.
> 
> yes you have to manually clean up something
> 
> but since i upgraded > 20 servers since F9 to F14 and
> currently stzart upgrade to F15 via yum this should also
> work on CentOS and is mostly more painless than searching
> every piece of configuraion on a new machine
> 
> since this is a new machine while the old is still there it
> would be not a problem to test what is happening, on my
> environments all servers are virtual-machines what makes
> it all relaxter with a full snapshot

That is the fun thing about being an administrator ... you (we) get to
do things the way you (we) want and are comfortable with.

I manage a few servers myself and I am much more comfortable, if I have
a new machine, to start with only the new binaries on there an to move
things over.  Other people are likely more comfortable using the linux
upgradeany method from the install media.

To each their own.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos