LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-21-2014, 04:26 PM   #1
v.v
LQ Newbie
 
Registered: Oct 2014
Posts: 1

Rep: Reputation: Disabled
Setting up a server for easy migration


Hi,

I have a personal server with various services running: Apache, bind, SVN, redmine, MySQL, postgresql, accounts for family members, a homebrew SMTP server, etc.

However every 2 years or so I migrate the server to a new machine, to get the new upgrades for the service, or because of issues with the provider. I find myself reinstalling everything, which takes a lot of time.

I'll have to migrate soon again due to network issues at my current provider, but this time I'd like to do it so that the *next* time will be as painless as possible. I've looked at the various options, running everything in VMs, or in containers, or simply mirroring the whole disk. Also going forward some kind of isolation between services and accounts would be nice.

I can't make up my mind because I lack experience with any of these options. So do you have some advice on how I might approach this? Assuming I go the VM/container way, is there a way to avoid having to maintain the OS updates separately in each one?

I'm running Debian stable.

Thanks.
 
Old 10-21-2014, 07:50 PM   #2
yohey03
LQ Newbie
 
Registered: Sep 2012
Location: Philippines
Distribution: (Servers:Redhat/Centos) (Desktops:Ubuntu and Elementary OS)
Posts: 26

Rep: Reputation: Disabled
Good day,

For me,VM Environment will more flexible in terms of migration and roll back/recovery in any issue incase.

For this other concern "is there a way to avoid having to maintain the OS updates separately in each one?"
correct me if Im wrong ,but if what you want is to Centralize Management of Linux OS Updates,I think you can use this
tool "Space Walk"
http://spacewalk.redhat.com/

regards,
yohey03
 
Old 10-22-2014, 01:00 AM   #3
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
You can write a shell script for it and you can run it when you want to migrate.

There are several tutorials available. You can google.
Here is an example.

http://www.rackspace.com/knowledge_c...command-line-0

http://www.rackspace.com/knowledge_c...d-line-stage-3
 
  


Reply



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
.. migration XEN VMs from one server to a server KVM ..????? darkperro Linux - Virtualization and Cloud 3 07-23-2011 01:08 PM
LXer: Easy Linux migration with Xandros Pro LXer Syndicated Linux News 0 11-28-2006 12:21 PM
LXer: Systems Solutions Teams with Open-Xchange to Deliver Easy-to-Deploy, Easy-to-Use Collaboration Server LXer Syndicated Linux News 0 02-22-2006 10:46 PM
easy way of setting auto login? KRiSX.cjb.net Debian 1 12-07-2004 02:18 AM
Easy One: Setting Pheonix As Default General_Tso Linux - Newbie 3 02-11-2003 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:44 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration