Software Distributor Administration Guide for HP-UX 11i
Installing Software
Installation with swinstall
Chapter 2 79
SD-UX prompts you for these codewords or numbers prior to the
installation of protected software. You can enter or change the numbers
via the GUI using the
Add New Codeword choice from the Actions menu in
the GUI, or by using the appropriate default option (-x
codeword
=
xxxx
and -x
customer_id
=
xxx
) on the command line.
For example, if you want to store the codeword
123456789101bcdf
(from
the
/CD-ROM
mount point) and your customer_id was
xyzCorp
, you would
enter on the command line:
swinstall -p -x customer_id=xyzCorp \
-x codeword=123456789101bcdf \
-s /CD_ROM
(Since the purpose of this command is only to store codewords and
customer IDs, the -p option runs the command in preview mode so that
no actual software installation takes place.)
See Appendix A, “Command Options,” on page 421 for more information
on codeword and customer_id options.
Re-installing Software Distributor
The software product called SW-DIST provides all Software Distributor
functionality, commands, and tools. If the files that make up SW-DIST
are deleted or corrupted, you may need to re-install the product. This
process uses the new install-sd command, which is described in
Appendix C, “Replacing or Updating SD-UX,” on page 479.
Installing Multiple Versions
Your installation may commonly having multiple versions of a software
product installed at various hosts on the network. Multiple installed
version let you:
• Back out defective versions (by removing the new version and
reconfiguring the old version, if necessary)
• Let users migrate to newer software versions at their own pace
You can decide whether to allow multiple versions by controlling the
allow_multiple_versions command option. If set to false, installed or
configured multiple versions (that is, the same product, but a different
revision, installed into a different location) are not allowed. While
multiple installed versions of software are allowed, multiple configured
versions are not recommended.