Operating System - HP-UX
1833696 Members
3462 Online
110062 Solutions
New Discussion

Oracle export over pipe (between 2 servers)

 
Geert Joosten
Occasional Advisor

Oracle export over pipe (between 2 servers)

Hi,
We want to export a Oracle database over a pipe between 2 servers. Oracle advise to two following procedure:
mknod /tmp/pipe on both machines (mknod file p)
chmod 777
start the process on the target server with
remsh sourceserver dd if=/tmp/pipe > /tmp/pipe &

Start the export on sourceserver with
exp xx/xx full=y volsize=0 FILE=/tmp/pipe

Start the import on targetserver with
imp xx/xx full=y file=/tmp/special_pipe volsize=0

This results in starting the export and import with error. But the import doesn't receive any data to proceed.

This worked on other non-hp machines before, but with rsh instead of remsh.
What's wrong? Any ideas.
4 REPLIES 4
Geert Joosten
Occasional Advisor

Re: Oracle export over pipe (between 2 servers)

Hi again,

Made a stupid typing error:
The export and import starts WITHOUT error. But nothing happens on both processes.

Geert.
Alexander M. Ermes
Honored Contributor

Re: Oracle export over pipe (between 2 servers)

Hi there.
Ever tried mkfifo instead of mknod ?
We are piping exports into zipped files taht way.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Geert Joosten
Occasional Advisor

Re: Oracle export over pipe (between 2 servers)

Hi,

We received the solution. The correct order in setting up is (after making the pipes):
1. start the import
2. start the remsh
3. start the export

This works fine.

Geert.
Geert Joosten
Occasional Advisor

Re: Oracle export over pipe (between 2 servers)

See previous reply.