Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2004 18:39:53 +1200 (NZST)
From:      Andrew McNaughton <andrew@scoop.co.nz>
To:        freebsd-isp@freebsd.org
Subject:   Re: updating lots of servers
Message-ID:  <20040629182756.S3236@a2.scoop.co.nz>
In-Reply-To: <00c001c45d55$aa2c4d90$6400a8c0@chivas>
References:  <01d201c458a9$de9d3ae0$9c01a8c0@chivas> <00c001c45d55$aa2c4d90$6400a8c0@chivas>

next in thread | previous in thread | raw e-mail | index | archive | help

I've used rsync for backups and server replication for a few years.  It's
very good, but when file systems get large scanning the entire system for
changes can get very IO intensive, tying up most of the disk IO capacity
for hours at a time.  I've generally had to make complex arrangements to
exclude parts of the file system from daily updates, and include some
parts of the system in lower frequency updates.

It's possible to feed rsync a list of files to update based on info about
changes to the system, which would help a lot.

A simple approach to locating changes based on file update times recorded
in the file system is adequate in some cases, but it's not always
reliable.  Probably just fine for /usr/src and /usr/obj trees though.

I'm hoping that kernel support for fam (/usr/ports/devel/fam) will happen
some time soon.  I can see a whole raft of uses for it, particularly in
areas of replication, backup, and versioning systems.

Andrew McNaughton


On Mon, 28 Jun 2004, Gustavo A. Baratto wrote:

> hello guys...
>
> Thanks for all your suggestions...
> After much thinking and google search, I came up with rsyicing (over ssh)
> /usr/src and /usr/obj, and then make installworld (and kernel) as we would
> normally do.
>
> Very fast and secure
>
> Thanks
> ----- Original Message -----
> From: "Emre Bastuz" <info@emre.de>
> To: <freebsd-isp@freebsd.org>
> Cc: <gbaratto@superb.net>
> Sent: Tuesday, June 22, 2004 4:53 PM
> Subject: Re: updating lots of servers
>
>
> > Hi,
> >
> > Zitat von "Gustavo A. Baratto" <gbaratto@superb.net>:
> > > Is there any other simple way to track many freebsd boxes other than the
> one
> > > in the handbook?
> > quite some time ago I read this article from the guys att xs4all.nl who
> describe
> > how they do keep their farm up to date with a combined PXE/Rsync/TFTP/etc.
> > environment:
> >
> > http://www.pix.net/software/pxeboot/archive/SANE.pdf
> > http://www.xs4all.nl/~scorpio/sane2002/
> >
> > Hope this helps.
> >
> > Cheers,
> >
> > Emre
> >
> > --
> > http://www.emre.de                        UIN: 561260
> > PGP Key ID: 0xAFAC77FD
> >
> > I don't see why some people even HAVE cars. -- Calvin
> >
>
> _______________________________________________
> freebsd-isp@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
>

--

No added Sugar.  Not tested on animals.  May contain traces of Nuts.  If
irritation occurs, discontinue use.

-------------------------------------------------------------------
Andrew McNaughton           Living in a shack in Tasmania
andrew@scoop.co.nz          Between the bush and the sea

Mobile: +61 422 753 792     http://staff.scoop.co.nz/andrew/cv.doc
                            http://www.scoop.co.nz/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040629182756.S3236>