1834484 Members
3992 Online
110067 Solutions
New Discussion

swinstall

 
David Domaguin
Occasional Contributor

swinstall

Is there a way to make swinstall to force an installation onto an "NFS" mounted directory?
Help Me ... Please!!!
2 REPLIES 2
Steffi Jones_1
Esteemed Contributor

Re: swinstall

Hello,

NFS and swinstall doesn't go together too good.
And there is not really a need to have them cooperate.

This is how I would do it ...
Run swinstall on the box which exports the filesystem. In the window where you can select the source point it to network directory, enter the hostname of the client and the path and start the install from there. It is much easier to pull than to push. The push option is part of the OV Software distributor and is not standard.
This way you can easily install on a local filesystem even the depot is on the client.

Please let me know, if that is what you were trying to do or if I can help any further,

Steffi Jones
Bill Hassell
Honored Contributor

Re: swinstall

It's not necessary or desirable to use NFS because SD has it's own network distribution capability. The OpenView option is used to push an install, but any machine can act as a network depot server. There are just a few steps:

On the server, you can either mount the CDROM or use swcopy to copy from the CD or a series of patches into a local depot. For a CD, mount the CD, then use swreg to register this mountpoint as a depot:

swreg -l depot /cdrom

where /cdrom is the CD. This works for Install/core CDsa and all the Application CDs. The SupportPlus CDs are multi-depot CD's so you must swreg each of the depots on the CD. For example:

swreg -l depot /cdrom/XSW800GR1020
swreg -l depot /cdrom/XSW800HWCR1020

And that's all you do. Don't bother with NFS. Now go to your client, run swlist to see the remote depot(s):

swlist -l depot @ server

or for other details:

swlist -l bundle -s server:/cdrom/XSW800GR1020
swlist -l product -s server:/cdrom/XSW800GR1020

which verifies that all is well. Now you can run swinstall, select Network/CDROM as the source, fill in the name of the server and then tab to the [Source Depot Path...]. Here's a little known secret: rather than having to remember (and correctly spell) the pathname, leave the Source Depot Path... highlighted and press Return (or click on Source Depot Path... if you use the GUI). Pick the appropriate source path and then click OK.

And then perform your install. Note that you can perform the entire process from the command line:

swinstall -s server:/cdrom/XSW800GR1020 PHNE_19710

If you want to register a bunch of patches on your server, they can be in a local directory, perhaps something like /var/tmp/patches. Use swcopy to copy them from the original .depot files into /var/tmp/patches.


Bill Hassell, sysadmin