gzip'ing or compressing the expat.dmp before copying will help things
along a bit....
-Joe
- Ross Collado <Ross.Collado_at_techpac.com> wrote:
> Hello gurus,
>
> Env:
> BoxA - outside the firewall.
> BoxB - inside the firewall
> BoxC - inside the firewall
> All boxes are Solaris 8.
>
> BoxA has the file expdat.dmp size 1.9Gb. BoxA has no access to any
> of the
> boxes inside the FW.
> BoxB is the only box that can reach out to BoxA through the FW.
> BoxB has an
> exception rule in the FW.
> I wanted to copy (using scp) expdat.dmp from BoxA to BoxC. I could
> have
> simply scp'd from BoxB then scp it again to BoxC, however, because
> of space
> restrictions in BoxB, this is not an option.
> I was thinking of using 'pipe file' using mkfifo in BoxB to scp
> (pull) the
> file from BoxA then immediately scp (push) the same to BoxC. BoxB
> is kind of
> like a middleman then.
> I attempted using my script below but I got an error and core dump.
>
> #!/bin/ksh
> #This SCP script executed from BoxB
> rm /home/oracle/tmp/fifo
> mkfifo /home/oracle/tmp/fifo
> scp -q /home/oracle/tmp/fifo BoxC:/home/oracle &
> scp -q BoxA:/oracle1/export/expdat.dmp /home/oracle/tmp/fifo
> #
> #End
>
>
> The error is:
> /home/oracle/tmp/fifo: not a regular file
> Segmentation Fault(coredump)
>
> Are pipe files useable in scp's? How? I know I've used them before
> in
> EXPorts that pipes to a gzip but I can't seem to get it to work for
> scp.
> I'm only trying to avoid creating a transient copy of expdat.dmp in
> BoxB.
> Otherwise, I might have to clear out some space in BoxB (which I'm
> desperately trying to avoid).
>
> Any suggestions?
>
> Rgds,
>
> Ross
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Ross Collado
> INET: Ross.Collado_at_techpac.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing
> Lists
>
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like
subscribing).
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Joe Raube
INET: jraube_at_yahoo.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Wed Aug 07 2002 - 08:03:21 CDT