Operating System - HP-UX
1827769 Members
2706 Online
109969 Solutions
New Discussion

Re: sharing a tape device on Solaris system

 
Marwan Shantir
Occasional Contributor

sharing a tape device on Solaris system

Dear All,
I have HP server that holds no tape device and at the same time I have a SUN server that holds a tape device.
Now my question is:
Can I use the tape device that exists on a SUN system as a remote backup device from the HP server?
I'm asking this because if you go to the SAM backup and Recovery you will find an option saying "Specify Remote Backup Device".
and is the answer was yes, how can I set up the shared device on the HP server?

Thanking yOu
Marwan Shantir
4 REPLIES 4
Sunil Sharma_1
Honored Contributor

Re: sharing a tape device on Solaris system

Hi Marwan,

There is nothing much to do in this. You have to enable remote shall on SUN server.

you should be able to login to SUN server without password using rlogin. if this work you can use your SUN server's tape drive from HP servers in SAM utility.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
melvyn burnard
Honored Contributor

Re: sharing a tape device on Solaris system

The backup facility within SAM is going to use fbackup, so you cannot use this to back up to your SUN system.
You will need to use tar, cpio, vxdump, dd or other utilites and then send the output to the tape on the remote system.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
harry d brown jr
Honored Contributor

Re: sharing a tape device on Solaris system

Test this first (root on BOTH):

on HP system:

cd to say /tmp
/sbin/mknod /stuffithere p
echo "+ +" >/.rhosts
tar -cvf /stuffithere .

on SUN server

rsh HPSYSTEM dd if=/stuffithere | dd of=/tapedevicepath

tar -tvf /tapedevicepath


live free or die
harry d brown jr
Live Free or Die
B. Hulst
Trusted Contributor

Re: sharing a tape device on Solaris system

Hi,

Also netcat is very usefull to make a pipe over the network to the SUN tapedrive.

On the SUN with tape drive:

nc -l -p 40000 | dd of=/dev/rmt/0m bs=32k

On the HP to backup:
tar cpf - / | nc -w 3 40000

Try it.

It uses port 40000 in this example to pipe the tar stdout into the sun host with netcat. (not norton commander ;-) )

Regards,
Bob