HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

i
install-sd(1M) install-sd(1M)
(HP-UX Software Distributor)
NAME
install-sd - install Software Distributor
SYNOPSIS
install-sd -s source_depot_location
DESCRIPTION
The install-sd command installs the SD product onto a workstation or server. You may need to install
SD if the SD currently on your system is unusable, or if you want to install a newer version of SD. This
command also installs any SD patches that exist in the source depot.
Prerequisites
The install-sd command and an accompanying swagent.Z file require at least 2 MB of free space in
the
/var/tmp directory. If there is not enough space in the temporary directory
install-sd will fail.
Options
The
install-sd command supports the following option:
-s source_depot_location
Specifies the source media location, where source_depot_location is an absolute path. Possible
media locations are:
A local directory.
A CD-ROM mount point that has an SD media CD-ROM loaded.
A remote machine (or host) and depot combination.
If source_depot_location is a remote machine and depot combination, specify the machine name,
a colon, then the absolute path to the remote depot. The syntax is:
[machine_name][:][/depot_path]
For example:
swtest:/var/spool/sw
Replacing an Unusable Version of SD
If the SD on the target system is unusable, you must first load the install-sd utility and an accom-
panying
swagent.Z file onto your system into /var/tmp, then use install-sd to re-install SD.
The install-sd utility ships in the catalog/SW-DIST/pfiles
directory. Use cp or rcp (depend-
ing on whether the new software is on CD or a remote system in a software depot) to load
install-sd
onto your system.
For example, to load install-sd from a local CD-ROM mounted at /SD_CDROM into /var/tmp
:
1) Copy install-sd onto your system from the CD-ROM:
cp /SD_CDROM/catalog/SW-DIST/pfiles/install-sd /var/tmp
2)
Copy the swagent.Z file from the CD-ROM:
cp /SD_CDROM/catalog/SW-DIST/pfiles/swagent.Z /var/tmp
3)
Make install-sd executable:
chmod +x /var/tmp/install-sd
4)
Execute install-sd :
/var/tmp/install-sd -s /SD_CDROM
The SW-DIST product will then install itself onto your system from the CD-ROM.
Getting a Newer Version of SD
If you want to install a newer version of SD on your system and /usr/sbin/install-sd
is not yet on
your system, use this procedure:
1) Type on the command line:
/usr/sbin/swinstall -r -s source_depot_location \
SW-DIST.SD-UPDATE > \@/var/adm/sw/install-sd.root 2>/dev/null
HP-UX 11i Version 1: September 2005 1 Hewlett-Packard Company Section 1M375