Operating System - HP-UX
1825795 Members
2211 Online
109687 Solutions
New Discussion

Running swinstall over the network

 
SOLVED
Go to solution
Mihails Nikitins
Super Advisor

Running swinstall over the network

Hi,

Could you point me to simple instructions for sharing
installation CD-ROMs over the network?

Sometimes I got errors like

"hostname:/SD_CDROM/DIAGNOSTICS/B.11.00": You do not have the required permissions to perform this SD operation. Please check to see that you have the required permissions using the "swacl" command or see your system administrator for assistance.

swacl looks like giving access to everyone.
root@inapp1:/# swacl -l host

group:swadm:crwit
any_other:-r--t


Many thanks in advance!

BR,
Mihail
KISS - Keep It Simple Stupid
8 REPLIES 8
Helen French
Honored Contributor
Solution

Re: Running swinstall over the network

Hi,

On the local system:

# mount /dev/dsk/cxdxtx /SD_CDROM

# swreg -l depot /SD_CDROM/DIAGNOSTICS/B.11.00

# swagentd -r

On remote system:

# swinstall -s hostname:/SD_CDROM/DIAGNOSTICS/B.11.00

HTH,
Shiju
Life is a promise, fulfill it!
Sachin Patel
Honored Contributor

Re: Running swinstall over the network

I don't think you can do this without buying some other product. I forget the name of product but that will allow you to use swinstall over network.

Sachin
Is photography a hobby or another way to spend $
Helen French
Honored Contributor

Re: Running swinstall over the network

Hi Mihail,

Read this document about all SD-UX remote operations:

http://us-support3.external.hp.com/cki/bin/doc.pl/sid=1643a2430ae76d0661/screen=ckiDisplayDocument?docId=200000058668742

HTH,
Shiju

Life is a promise, fulfill it!
Sachin Patel
Honored Contributor

Re: Running swinstall over the network

Hi
There is a way around

add "/cdrom -ro" to the /etc/exports file
exportfs /cdrom

on remote server:

mount :/cdrom /cdrom (you might have to make /cdrom)

swinstall

select local disk

Sachin
Is photography a hobby or another way to spend $
Francois Bariselle_3
Regular Advisor

Re: Running swinstall over the network

Try to enable access on local :

1) mkdir /SD_CDROM
2) mount /SD_CDROM
3) swreg -l depot /SD_CDROM/DIAGNOSTICS/B.11.00

You can check your Driver with this command: ioscan -fnC disk

On remote, run swinstall...

To disable remote acess on local:

1) swreg -u -l depot /SD_CDROM/DIAGNOSTICS/B.11.00
2) umount /SD_CDROM

Good Luck.
frank
Fais la ...
MANOJ SRIVASTAVA
Honored Contributor

Re: Running swinstall over the network

Hi Mihails


You can also try to remote moun the CD to the machine where you are installing the s/w and use it under SAM.

On Local Machine(A)

1. pfsd &
2. pfs_mountd &
3. pfs_mount /dev/dsk/c2t2d0 /cdrom
4. pfs_exportfs -a -v

On machine where u want to install s/w

1 pfsd &
2.pfs_mountd &
3. pfs_mount a:/cdrom /SD_CDROM

and you are good to go.


There is no need for seperate licence for installing s/w over network .

Manoj Srivastava
Mateja Bezjak
Respected Contributor

Re: Running swinstall over the network

Hi Mihails,

What does it /var/adm/sw/swagentd.log file say?
You probably need to modify permissions for root on the target machine. On the target run:
swacl -l host -M user:root@source_machine:crwit
and
swacl -l root -m user:root@source_machine:crwit

As source_machine I ment the machine where you have the CD-ROM mounted.

Regards,
Mateja
Mihails Nikitins
Super Advisor

Re: Running swinstall over the network

Hi,

Thanks a lot for all the replies! Sorry, I do not check NFS solutions (they shouuld work), since I choose native SD-UX solution. My error was in wrong swreg commands.

By the way, diagnostic tools from HP-UX Support Plus cannot be installed in such manner, since it's tape archive. ("The source you have chosen is a tape device. A tape device must be local to the single marked target"). So, the example is not working in this case. ;-) I copied software to local disk first by

swcopy -s /SD_CDROM/DIAGNOSTICS/B.11.00 \* @ /tmp/depot

and then applied procedure from the 1st answer.

Here is the thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd9620719e045d6118fff0090279cd0f9,00.html

BR,
Mihail
KISS - Keep It Simple Stupid