Operating System - HP-UX
1752807 Members
5915 Online
108789 Solutions
New Discussion юеВ

Re: Installing depot software on DAT via the network

 
SOLVED
Go to solution
Jerome Bellet
Advisor

Installing depot software on DAT via the network

Hello again!

Is there also a simple way to install software on DAT via the network?
7 REPLIES 7
Dan Hetzel
Honored Contributor
Solution

Re: Installing depot software on DAT via the network

Hi Jerome,

If your DAT tape is on remote_host and you want to install on local_host, type as root on local_host:
swinstall -s remote_host:/dev/rmt/??

If you want to copy a software depot (local file) onto a remote host's tape , type the following:
dd if=your__depot | remsh remote_host -n "dd of=/dev/rmt/?? bs=64k"

In both cases, the /.rhosts file on remote_host must have a one line entry with the local host name

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Rainer_1
Honored Contributor

Re: Installing depot software on DAT via the network

i think no, because swinstall only supports remote directories, not devices.
Best way is to copy the DAT depot to the disk an then doing the same job as with the cdrom except with the new created depot directory.
Copy could be done ie:

swcopy -s /dev/rmt/0m @ /var/tmp/dat_depot

After this the depot should be already registered so you can install with

swinstall -s :/var/tmp/dat_depot
CHRIS ANORUO
Honored Contributor

Re: Installing depot software on DAT via the network

You can use SAM's remote tape facility.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
CHRIS ANORUO
Honored Contributor

Re: Installing depot software on DAT via the network

You can use SAM's remote tape facility.
Why don't you copy the software to disk and installl from there? A tape might not be that secure, somebody could eject it.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Jerome Bellet
Advisor

Re: Installing depot software on DAT via the network

Chris, you're right I'd better copy the depot on disk before.
BTW I can not find SAM's remote tape facility. Where is it located?

Thanks
Dan Hetzel
Honored Contributor

Re: Installing depot software on DAT via the network

Hi Jerome,

You'll have to register the tape drive first. Here is the full procedure:

To register the tape depot simply do the following:

Host with DAT:
# swreg -l depot /dev/rmt/??

Host without DAT:
# swinstall -s host_with_DAT:/dev/rmt/??

Select the software -> Actions-> Install

This works, I just tested it !

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Dan Hetzel
Honored Contributor

Re: Installing depot software on DAT via the network

Hi again,

I meant 'register the tape depot' and not 'the tape drive' of course.

I'm typing too fast... ;-)

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com