LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: stupid question: can 'rcp' be a virtual service ?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: stupid question: can 'rcp' be a virtual service ?
From: Alois Treindl <alois@xxxxxxxx>
Date: Thu, 3 May 2001 10:44:35 +0200 (METDST)
On Thu, 3 May 2001, Roberto Nibali wrote:

> Hi Alois,
> 
> Alois Treindl wrote:
> > 
> > can 'rcp' be configured as a virtual service?
> 
> dev:/home/projects/pab/top/opt/sec/tfx/bin# grep rcp /etc/services 
> rcp             469/tcp               # Radio Control Protocol
> rcp             469/udp               # Radio Control Protocol
> arcp          7070/tcp                        # ARCP
> arcp          7070/udp                        # ARCP
> dev:/home/projects/pab/top/opt/sec/tfx/bin# 
> 
> ================> yes!

But this is not the rcp I mean. (or have you been joking anyway?)
the rcp (remote copy) I mean is one of the 'r*' services based
on sun-rcp and portmap, as far as I know.
  
> 
> Still, I suggest you use rsync. If you use rsync -e "ssh -p 22" you have a
> save rsync.
>  

I do use rsync all the time to adminster my curent remote server, and
will of course use it once the new LVS cluster becomes the remote server.

But rsync uses either rsh or ssh as a 'transport protocol', and our
rsync in the local machines is configured to use ssh, so we are
back to the original question.

ssh is slow in the local network:
for a 9.1 Mb gzipped file I measure 7 seconds.

rcp takes less than 1 second.

For transferring 10 Gb of data, this is about 7000 seconds (2 hours)
versus 1000 seconds (18 minutes).

I am reluctant to play around with key length for ssh, this might cost me
more time than 7000 seconds...

Alois



<Prev in Thread] Current Thread [Next in Thread>