[Vserver] keeping a mirror machine synched

2007-02-24 Thread Eugen Leitl

I have a stock install of Debian 3.1 with the kernel 2.6.13-vs2.0.1-pre2-686
and util-vserver-0.30.209 (I think) and several production vservers on one 
(32 bit) machine. I also have an identically configured second such machine.

I run a nightly script (over a private network) which does the
following synchronisation from the production to the backup machine:
rsync -a -e ssh /home/ [EMAIL PROTECTED]:/home/
rsync -a -e ssh /usr/local/etc/vservers/ [EMAIL 
PROTECTED]:/usr/local/etc/vservers/

My vservers live in /vservers which is a symlink to /home/vservers.
Apart from /usr/local/etc/vservers/ is there anything else I should synch?

Another question: Debian 4.0 is ante portas. Given that 3.1 had everything
way out of date, can one rely on stock vserver kernel and tools in Debian 4.0?

Thanks.

-- 
Eugen* Leitl a href=http://leitl.org;leitl/a http://leitl.org
__
ICBM: 48.07100, 11.36820http://www.ativel.com
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE


signature.asc
Description: Digital signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] keeping a mirror machine synched

2007-02-24 Thread Peter Mann
On Sat, Feb 24, 2007 at 04:13:43PM +0100, Eugen Leitl wrote:
 I run a nightly script (over a private network) which does the
 following synchronisation from the production to the backup machine:
 rsync -a -e ssh /home/ [EMAIL PROTECTED]:/home/
 rsync -a -e ssh /usr/local/etc/vservers/ [EMAIL 
 PROTECTED]:/usr/local/etc/vservers/
 
 My vservers live in /vservers which is a symlink to /home/vservers.
 Apart from /usr/local/etc/vservers/ is there anything else I should synch?

my tip: use rsync --numeric-ids  and --exclude vservers/name1/proc ...
(and you can use rsync without -e ssh, because it's default in Debian;
and maybe -e 'ssh -c blowfish')

i'm using some similar rsync scripts ...

 Another question: Debian 4.0 is ante portas. Given that 3.1 had everything
 way out of date, can one rely on stock vserver kernel and tools in Debian 4.0?

i upgraded all my sarge host servers to etch ... some guest servers is
still sarge, but almost all are etch ... there is problem with default
debian vserver kernel in TESTING, but i have my own recompiled kernels
and new debian kernels are almost ready for entering testing (and
debian-installer etch rc2/final)

-- 

5o   Peter.Mann at tuke.sk


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


Re: [Vserver] keeping a mirror machine synched

2007-02-24 Thread Herbert Poetzl
On Sat, Feb 24, 2007 at 05:00:33PM +0100, Peter Mann wrote:
 On Sat, Feb 24, 2007 at 04:13:43PM +0100, Eugen Leitl wrote:
  I run a nightly script (over a private network) which does the
  following synchronisation from the production to the backup machine:
  rsync -a -e ssh /home/ [EMAIL PROTECTED]:/home/
  rsync -a -e ssh /usr/local/etc/vservers/ [EMAIL 
  PROTECTED]:/usr/local/etc/vservers/
  
  My vservers live in /vservers which is a symlink to /home/vservers.
  Apart from /usr/local/etc/vservers/ is there anything else I should synch?
 
 my tip: use rsync --numeric-ids  and --exclude vservers/name1/proc ...
 (and you can use rsync without -e ssh, because it's default in Debian;
 and maybe -e 'ssh -c blowfish')

if you are doing the sync over a trusted network,
then getting rid of the ssh/encryption part is
a big win, both for speed and for cpu overhead

if your network is the bottleneck, using the -z
(compression) will help too, otherwise the following
options might come handy: -axHP

 i'm using some similar rsync scripts ...
 
  Another question: Debian 4.0 is ante portas. Given that 3.1 had 
  everything way out of date, can one rely on stock vserver kernel
  and tools in Debian 4.0?

I hope I'm wrong, but to me it looks like the
new Debian release will already be outdated
when the release happens ...

but hey, that's the debian model ...

 i upgraded all my sarge host servers to etch ... some guest servers is
 still sarge, but almost all are etch ... there is problem with default
 debian vserver kernel in TESTING, but i have my own recompiled kernels
 and new debian kernels are almost ready for entering testing (and
 debian-installer etch rc2/final)

best,
Herbert

 -- 
 
 5o   Peter.Mann at tuke.sk
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver