Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Dec 04, 2006 3:04 pm 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
I would like to set up a redundant server for the following reason.

I have had my linode up for some time now using gentoo. I am not an expert and make lots of mistakes. I am running a server for a few websites one of which needs to be up 100% of the time but do to some dumb mistakes I have downed the server and not been able to recover it for a couple of days. This has happened to me twice already when I do an emerge -Davu world and the restart my server.

I'd like to have a way where I can update and test patches without affecting my online server. Is there any way I can do this on linode? If so what are my alternatives?


Top
   
 Post subject:
PostPosted: Wed Dec 06, 2006 6:27 am 
Offline
Senior Member

Joined: Thu Sep 23, 2004 8:35 pm
Posts: 73
Location: The Hague, Netherlands
fifo wrote:
I'd like to have a way where I can update and test patches without affecting my online server. Is there any way I can do this on linode? If so what are my alternatives?


When I previously used Gentoo/Linode I kept a i686 chroot'ed Gentoo environment on my home machine that I was fairly well synchronised with the state of my Linode.

I was then performed emerge {sync,update}; tweaked the package files; built all the required binary packages; uploaded them; and then upgraded the Linode with the uploaded binary packages.


You could I suppose, if you have a 1Gb to spare, set up a Gentoo chroot on your Linode (unpack a stage 3 tarball, then mount a shared portage tree from your primary Gentoo). Update the chrooted Gentoo (while building tarballs) and watch for stuff that breaks.

When everything has upgraded satisfactorily in the chroot, do an emerge -uv world in your primary Gentoo and hopefully everything will install smoothly from the binary packages in the shared portage tree.


A third alternative (I used this as a workaround for hanging emerge syncs, blocking packages and things): I moved my Linode to Debian. There are plenty of other binary-based distros to choose from if you prefer others. Regular updates will then take minutes, not hours or days -- and as rule: upgrades won't break things.

HTH,

Cliff

PS. A dhcp client (you referred to this in a separate post) is required to create eth0. See: https://www.linode.com/members/netinfo.cfm


Top
   
 Post subject:
PostPosted: Sat Dec 30, 2006 6:48 pm 
Offline
Senior Newbie

Joined: Tue Jul 04, 2006 9:19 am
Posts: 5
If you are making mistakes in production environment, I will recommend you to download your root_fs to a local PC at your location.
Then you can set up your own UML working on your PC, test every change you want to do previously in LAB environment.

I now have it this way, and that's my best advice.

HAPPY NEW YEAR!


Top
   
 Post subject:
PostPosted: Wed Jan 03, 2007 6:46 pm 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
Is there any documentation anywhere on how to do this?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group