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: Roberto Nibali <ratz@xxxxxx>
Date: Thu, 03 May 2001 12:28:00 +0200
Hoi Alois,

> I am now transferring my 10 gb, and I am measuring about
> 1.5 Mb / sec transfer speed per CPU.
> 
> I use rsync with underlying ssh protocol.
> 
> The bottleneck is the CPU of my source machine,
> a HP J2240 with HP-PA Risc at 236 Mhz.

Shudder!! Please get rid of it. Every PII is ways faster then
this machine.
 
> Each ssh process takes about 75% of one CPU, I can run two rsync
> processes at once, as it is a dual CPU box.
> 
> the target is a Linux dual CPU 933 Mhz and I see only about 25% CPU load
> per ssh process.

That's what I think too.
 
> On the directory, in between (which does NAT), I see no CPU load at all.
> All the work is the encrypting and decrypting of the ssh packets, it
> seems.

Yes.
 
> So rcp would still help, but it is not worth it to bother, over the
> lunch break all the 10 gb server data will be copied also via ssh.

:)
 
> Later, for maintenance of the server, of course rsync will have little
> work to do as it is really a nice tool by sending only the diffs, in a
> really intelligent way. I have always loved rsync, since I discovered it.

Ok, now I understand. This was just the initial setup. Ok, maybe you 
could have had NFS exporting the stuff just for copying it the first
time and then disable NFS and do the synchro via rsync.
 
> NFS is tricky: I can mount external volumes on the director, and I can
> mount director volumes on the realservers, but I cannot mount-through.

I'm puzzled, why do you need to mount the nfs exports on the director?

> It maybe because my external NFS server is a HPUX box which does
> not have the 'nohide' option which I have seen in Linux NFS servers, which
> should allow re-export of NFS-mounted volumes.

Did you post a sketch of your setup before to this list? I don't understand
your setup anymore. For me, you would just have needed to export nfs volume
and mount it on the second realserver, BEFORE you go online. Maybe I made
wrong assumptions about your network setup.

Best regards,
Roberto Nibali, ratz

-- 
mailto: `echo NrOatSz@xxxxxxxxx | sed 's/[NOSPAM]//g'`


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