rcp and connection time out

2007-12-24 20:21:00

This is a multi-part message in MIME format.

------=_NextPart_000_06A5_01C10EA3.2A948880
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi managers,

I have a script that uses 'rcp' to copy quit big Oracle db files from a =
Sun Solaris 2.6 server partition to an NFS storage mounted on another =
Solaris machine.=20
The script works fine in copying some files but it skips some other =
files and it keep on showing 'connection timed out' message.
The connection of both machines to the network is 100/Mbps.
My script runs as a sql script through SQLPLUS looks like this :-

ALTER TABLESPACE RADIUS BEGIN BACKUP;
host rcp -pr /oracle/radius1.dbf 192.168.2.1:/Oracle
host rcp -pr /oracle/radius2.dbf 192.168.2.1:/Oracle
host rcp -pr /oracle/radius3.dbf 192.168.2.1:/Oracle
host rcp -pr /oracle/radius4.dbf 192.168.2.1:/Oracle
ALTER TABLESPACE RADIUS END BACKUP;

Thanks for any suggestions,

Hisham

------=_NextPart_000_06A5_01C10EA3.2A948880
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2462.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi managers,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have a script that uses 'rcp' to copy =
quit big=20
Oracle db files&nbsp;from a Sun Solaris 2.6 server partition to an=20
NFS&nbsp;storage mounted on another Solaris machine. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The script works fine in copying some =
files but it=20
skips some other files and it keep on showing 'connection timed out'=20
message.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The connection of both machines to the =
network is=20
100/Mbps.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>My script runs as a sql script through =
SQLPLUS=20
looks like this :-</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>ALTER TABLESPACE RADIUS BEGIN =
BACKUP;<BR>host rcp=20
-pr /oracle/radius1.dbf 192.168.2.1:/Oracle<BR>host rcp -pr =
/oracle/radius2.dbf=20
192.168.2.1:/Oracle<BR>host rcp -pr /oracle/radius3.dbf=20
192.168.2.1:/Oracle</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>host rcp -pr /oracle/radius4.dbf=20
192.168.2.1:/Oracle<BR>ALTER TABLESPACE RADIUS END =
BACKUP;<BR></DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Thanks for any =
suggestions,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Hisham</DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_06A5_01C10EA3.2A948880--

Comments

Got something to say?

You must be logged in to post a comment.