Re: [Vserver] One More Time - copy a Guest from system to system

2007-07-11 Thread Daniel Hokka Zakrisson
Roderick A. Anderson wrote:
> Daniel Hokka Zakrisson wrote:
>> Roderick A. Anderson wrote:
>>> I've been all through the Wiki and old docs, searched using Google,
>>> looked through my _OLD_ messages (back to 2003) and still can't come up
>>> with a well defined method to copy a (running if possible) vserver
>>> guest
>>> from one system to another.
>>>
>>>  From my reading I think I need to build the _new_ guest 'mynewone'
>>> using the skeleton method.  Then rm all the files in /vserver/mynewone
>>> and  follow that with a rsync from the _old_ guest to the _new_ guest.
>>> Unfortunately the vserver docs are from the CTX kernels.  A vserver
>>> --help gets a semi-useful help screen.  Any newer docs?
>>>
>>> What special rsync switches do I need or use to make this process
>>> doable?  As in it is a running guest that I'd prefer not taking down
>>> until the actual move I'm sure /proc and maybe /dev could cause
>>> problems.
>>>
>>> The need for the hot copy is because the _old_ guest has a big pile of
>>> installed perl modules and _other_ software packages.  It would be
>>> easier to copy than (re)install them.  :-)
>>
>> The way I'd do it:
>> export RSYNC_RSH=ssh
>> vserver  build -m rsync --context ... -- --source
>> [EMAIL PROTECTED]:/vservers//
>
> I've got this far but since it is getting a new IP I used that instead
> of the current IP.  Not a high traffic site so after I change to the old
> IP I'll try this next step.
>
>> 
>
> How not good?  I'm thinking rsync does it right so maybe my invocation
> could have been wrong.  ???

It's always best to make sure something didn't go terribly wrong... ;-)

>> rsync -Hazx --numeric-ids [EMAIL PROTECTED]:/vservers//
>
> The man page for rsync seems to indicate that the -H switch will be in
> conflict with the -a switch or the other way around.

To me, it just says that -a doesn't include -H.

> Rod
> --
>> /vservers//
>> vserver  start
>>
>> --
>> Daniel Hokka Zakrisson

-- 
Daniel Hokka Zakrisson
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] The $64,000 dollar question

2007-07-11 Thread Roderick A. Anderson
Thanks to all for your help and suggestions on copying Vserver guests. 
So far it has worked quite well.



I'm now on to newer things which brings me to the "question."  What 
distribution should I use for the Host?


With Daniel's excellent repository(s) I have been using Fedora Core 5. 
I has been very stable and makes any work in the host easy.  And then 
the guests get FC5 which with vyum makes them very easy to to 
maintain/enhance.
   But I just went through a repository hell trying to update the host. 
 Not sure what was going on but I suspect that with FC5 at end-of-life 
this will happen more often.


So the big question is which (preferably YUM-able) distribution should I 
use for the host?  I'm currently thinking CentOS 5 as it has an 
end-of-life in about 5 years.  I hope to be retired by then. :-)  Plus I 
believe I read that it is actually supported in Daniel's repository.


  And does it make sense to use an _older_ distribution in the guests 
that don't change much?



Thanks for your insights,
Rod
--
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The $64,000 dollar question

2007-07-11 Thread Ben Green
On Wed, 11 Jul 2007 19:06:49 +0100, Roderick A. Anderson <[EMAIL PROTECTED]> 
wrote:

>  And does it make sense to use an _older_ distribution in the guests that 
> don't change much?
>

I would have thought actively maintained security updates would be a priority 
for anyone, but your questions are distro questions, not really vserver 
questions.

-- 
 From Ben Green
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The $64,000 dollar question

2007-07-11 Thread Daniel Hokka Zakrisson
Roderick A. Anderson wrote:
> Thanks to all for your help and suggestions on copying Vserver guests.
> So far it has worked quite well.
>
>
> I'm now on to newer things which brings me to the "question."  What
> distribution should I use for the Host?
>
> With Daniel's excellent repository(s) I have been using Fedora Core 5.
> I has been very stable and makes any work in the host easy.  And then
> the guests get FC5 which with vyum makes them very easy to to
> maintain/enhance.
> But I just went through a repository hell trying to update the host.
>   Not sure what was going on but I suspect that with FC5 at end-of-life
> this will happen more often.

"Repository hell"? Meaning what, exactly?

> So the big question is which (preferably YUM-able) distribution should I
> use for the host?  I'm currently thinking CentOS 5 as it has an
> end-of-life in about 5 years.  I hope to be retired by then. :-)  Plus I
> believe I read that it is actually supported in Daniel's repository.

Unfortunately not, I haven't had enough round tuits lately, but you can
use the FC6 kernel RPM (though that is not as updated as I'd like it to
be, Fedora no longer updates the public tree) for now.

>And does it make sense to use an _older_ distribution in the guests
> that don't change much?

Sounds like the definition of an "enterprise"-distro, so CentOS should be
fine there too...

-- 
Daniel Hokka Zakrisson
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The $64,000 dollar question

2007-07-11 Thread Roderick A. Anderson

Daniel Hokka Zakrisson wrote:

Roderick A. Anderson wrote:

Thanks to all for your help and suggestions on copying Vserver guests.
So far it has worked quite well.


I'm now on to newer things which brings me to the "question."  What
distribution should I use for the Host?

With Daniel's excellent repository(s) I have been using Fedora Core 5.
I has been very stable and makes any work in the host easy.  And then
the guests get FC5 which with vyum makes them very easy to to
maintain/enhance.
But I just went through a repository hell trying to update the host.
  Not sure what was going on but I suspect that with FC5 at end-of-life
this will happen more often.


"Repository hell"? Meaning what, exactly?


I was checking for updates "yum check-update" and got md5sum failure for 
twenty plus "extras" repositories before I walked off to do something 
else.  Came back so 10 minutes or more later and the check was done.



So the big question is which (preferably YUM-able) distribution should I
use for the host?  I'm currently thinking CentOS 5 as it has an
end-of-life in about 5 years.  I hope to be retired by then. :-)  Plus I
believe I read that it is actually supported in Daniel's repository.


Unfortunately not, I haven't had enough round tuits lately, but you can
use the FC6 kernel RPM (though that is not as updated as I'd like it to
be, Fedora no longer updates the public tree) for now.


Year I know about that.  I've been trying to figure out a way to 
counterfeit or steal them.  No luck so far.



   And does it make sense to use an _older_ distribution in the guests
that don't change much?


Sounds like the definition of an "enterprise"-distro, so CentOS should be
fine there too...


Well I was thinking of the Fedora series.  But I'm liking CentOD more 
and more.



Rod
--




___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver