Re: rsync of /usr/ports on local lan?

2002-11-30 Thread Jack L. Stone
At 05:23 PM 11.30.2002 +, Christian Weisgerber wrote:
><[EMAIL PROTECTED]> wrote:
>
>> Have a small network here of FreeBSD machines (-stable and -current). I
>> have on my production FreeBSD machine setup an rsyncd via xinetd, and
>> would like to rsync /usr/ports across to the other FreeBSD machines so I
>> wouldn't have to crontab cvsup on all of them (thus putting more load on
>> my limited bandwidth, and adding unnecessary load to the cvsup servers).
>
>Set up a local FreeBSD CVSup mirror (tivial if you use
>ports/net/cvsup-mirror) and have your LAN machines cvsup from there.
>
>-- 
>Christian "naddy" Weisgerber  [EMAIL PROTECTED]
>

Why don't you just share a single machine's /usr/ports over NFS?? Just
set it up in /etc/fstab in the "slave" machines like this:
yourportsserver:/usr/ports/usr/ports nfs rw   0   0

...then you only have the one machine to cvsup and the other machines
*think* it's just another directory. Of course you need to configure NFS,
but it's easy to do and designed for this kind of thing.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: rsync of /usr/ports on local lan?

2002-11-30 Thread Christian Weisgerber
<[EMAIL PROTECTED]> wrote:

> Have a small network here of FreeBSD machines (-stable and -current). I
> have on my production FreeBSD machine setup an rsyncd via xinetd, and
> would like to rsync /usr/ports across to the other FreeBSD machines so I
> wouldn't have to crontab cvsup on all of them (thus putting more load on
> my limited bandwidth, and adding unnecessary load to the cvsup servers).

Set up a local FreeBSD CVSup mirror (tivial if you use
ports/net/cvsup-mirror) and have your LAN machines cvsup from there.

-- 
Christian "naddy" Weisgerber  [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: rsync of /usr/ports on local lan?

2002-11-30 Thread Mathieu Arnold


--On samedi 30 novembre 2002 15:57 +0200 Giorgos Keramidas
<[EMAIL PROTECTED]> wrote:

> On 2002-11-30 06:16, [EMAIL PROTECTED] wrote:
>> Have a small network here of FreeBSD machines (-stable and -current). I
>> have on my production FreeBSD machine setup an rsyncd via xinetd, and
>> would like to rsync /usr/ports across to the other FreeBSD machines so I
>> wouldn't have to crontab cvsup on all of them (thus putting more load on
>> my limited bandwidth, and adding unnecessary load to the cvsup servers).
>> Things appear to be working. However, I'm currently running the rsync
>> commands on the client machines over ssh, which means I need ssh root
>> access, on top of which using public key encryption (so I can crontab the
>> rsync commands). Is there a better way to do this?
> 
> I'd probably use NFS on the local network :-)
> No need to 'sync' anything then.

As I told him in private, NFS + setting 
WRKDIRPREFIX=/usr/portsobj
or some partition with disk space to avoid doing all via nfs.

-- 
Mathieu Arnold

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: rsync of /usr/ports on local lan?

2002-11-30 Thread Giorgos Keramidas
On 2002-11-30 06:16, [EMAIL PROTECTED] wrote:
> Have a small network here of FreeBSD machines (-stable and -current). I
> have on my production FreeBSD machine setup an rsyncd via xinetd, and
> would like to rsync /usr/ports across to the other FreeBSD machines so I
> wouldn't have to crontab cvsup on all of them (thus putting more load on
> my limited bandwidth, and adding unnecessary load to the cvsup servers).
> Things appear to be working. However, I'm currently running the rsync
> commands on the client machines over ssh, which means I need ssh root
> access, on top of which using public key encryption (so I can crontab the
> rsync commands). Is there a better way to do this?

I'd probably use NFS on the local network :-)
No need to 'sync' anything then.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



rsync of /usr/ports on local lan?

2002-11-30 Thread bsd
Have a small network here of FreeBSD machines (-stable and -current). I
have on my production FreeBSD machine setup an rsyncd via xinetd, and
would like to rsync /usr/ports across to the other FreeBSD machines so I
wouldn't have to crontab cvsup on all of them (thus putting more load on
my limited bandwidth, and adding unnecessary load to the cvsup servers).
Things appear to be working. However, I'm currently running the rsync
commands on the client machines over ssh, which means I need ssh root
access, on top of which using public key encryption (so I can crontab the
rsync commands). Is there a better way to do this?

Thanks.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message