Software Distributor Administrator Guide (September 2010)

C.1.2 Using install-sd
Syntax
install-sd -s source_depot_location
Options and Operands
The source_depot_location option specifies an absolute path to the source media
location. Possible media locations are:
A local directory
A CD-ROM mount point that has an SD-UX media CD-ROM loaded
A remote system (or host) and depot combination, which you must specify with
this syntax:
system_name:/depot_path
For example:
swtest:/var/spool/sw
Command Notes
The command returns a value of 0 to indicate successful completion and a value
of 1 to indicate an error.
An install-sd session writes messages for major tasks and the begin and end of
each session. All WARNING and ERROR conditions are written to stderr.
Detailed events are logged to /var/adm/sw/install-sd.log
Example
install-sd -s swtest:/var/spool/sw
C.2 Replacing an Unusable Version of SD-UX
If the version of SD-UX on the target system is unusable, you must first load install-sd
and the swagent.Z file onto your system into /var/tmp, then use install-sd to re-install
SW-DIST. The install-sd utility ships in the catalog/SW-DIST/pfiles directory.
Use cp (if you are copying from a local CD-ROM) or rcp (if you are copying from a
software depot on a remote system) 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
348 Replacing or Updating SD-UX