Operating System - HP-UX
1834650 Members
1853 Online
110069 Solutions
New Discussion

Re: mounting a remote cd-rom

 
Kurtkarl
Frequent Advisor

mounting a remote cd-rom

Hi.

I want to share my cdrom installed on Server "A" to another Server "B" both hpux 10.x.

This is what I did on both machine.
Server A
- mount -r /dev/dsk/c2t1d0 /cdrom
- Add "/cdrom -ro" on /etc/exports file
- run "exportfs -av"
Server B
- mount serverA:/cdrom /cdrom

But everytime I tried to run swinstall on server B using "Local Directory" pointing to my newly mounted /cdrom as my Source depot type, he was telling me that there are no depot software on this location.

While if I run this on Server A I could see all available products that can be installed. Well in fact I was able to install from this cd. By the way, I'm trying to install an application from HP Application CD no. 3.

Thanks in Advance
Joey
Just starting to learn thru this forum
6 REPLIES 6
Ramesh Donti
Frequent Advisor

Re: mounting a remote cd-rom

Hi,
On serverB, give
swreg -l depot /cdrom and try once again.

If you don't register ur NFS mounted /cdrom directory, you can't see any software for swinstall. One exception to this is, if you give the complete path and name of the product.
Always Keep Smiling
Kurtkarl
Frequent Advisor

Re: mounting a remote cd-rom

after mounting the cdrom on server B I can see already the files in it. But got number for uid and gid.

I run what u have told me "swreg -l depot /cdrom" and it was successfull" but after running "swinstall -s serverb:/cdrom/ClusterView @ /" this error occured "There is no current depot on host serverB at location /cdrom/ClusterView".

any other suggestions
thanks
Just starting to learn thru this forum

Re: mounting a remote cd-rom

Try running swinstall interactively. At the command prompt just type swinstall and hit enter. It will chew and regurgitate for a few seconds and then give you a sub-window that asks for the directory. Change it to "Network Directory/CDROM" and type in the /cdrom directory.

I have never actually done this but I did stay at a Hilladay Inn Express last night!
Denver Osborn
Honored Contributor

Re: mounting a remote cd-rom

On host A with the CD mounted can you;
# swreg -l depot /mount_point
Then from host B;
# swinstall -s hostA:/mount_point

What does '# swlist -l depot hostA' show, is the registered depot seen? If not then the swinstall would complain.
Denver Osborn
Honored Contributor

Re: mounting a remote cd-rom

sorry the above should've read;
# swlist -l depot -s hostA
Kurtkarl
Frequent Advisor

Re: mounting a remote cd-rom

Denver,

I did what u have told me re swreg on serverA and when I run "swlist -l depot -s serverA" it says:
#Initializing
# Target "serverA" has the ff depot
/cdrom
But after running "swinstall -s serverA:/cdrom" on serverB this error occured:
"There are no products on this source which is compatible with the target"

thanks again
Joey
Just starting to learn thru this forum