Software Distributor Administration Guide for HP-UX 11i

Reliability and Performance
Multiple Versions
Chapter 8 253
Multiple Versions
SD-UX supports installing multiple revisions of the same software on a
system at the same time, if the software supports it. By using multiple
installed versions, recovery can be supported at the system or task (all
systems) level.
Installing a second version requires some careful planning, as well as
understanding how to identify multiple versions on the system.
Each product has a product directory attribute. The installed location on
the target is by default the same as the product directory. For example, a
product Foo might have a product directory of /opt/foo. You can list the
locations of installed software with:
swlist -l product -a location
or
swlist -l product -a software_spec
A common practice is to install a second version of the product. When
installing this software, a new location must be selected. In the case of
the product Foo, the new location might be /opt/foo.v2. After
specifying the new location (i.e., by adding l=/opt/foo.v2 after the
product tag in the GUI or CLI), swinstall will replace the product
directory portion of all files with the new product location.
NOTE The allow_multiple_versions option must be set to true for swinstall
to install multiple versions of the software. The new version will not be
configured by swinstall if there is another version configured.
After a second version has been installed, each version can be identified
either by the location (Foo,l=/opt/foo and Foo,l=/opt/foo.v2), by
the revision (Foo,r=1.0 and Foo,r=2.0), or both. You can list the
locations and revisions of all versions with:
swlist -l fileset -a location -a revision