Software Distributor Administrator Guide (September 2010)
1. Execute the product preinstall script
2. For each fileset
a. execute the preinstall script
b. install the files
c. execute the postinstall script
3. Execute the product postinstall script
If any of these steps fails (e.g., a lost source or a script error) then the undo scripts are
run, and the files restored from the point of failure in reverse order.
NOTE: Patches created using the features capabilities described may maintain saved
files. In this case, patches can be removed (rolled back) or committed (by removing
saved files). See Chapter 5: “HP-UX Patching and Patch Management” (page 135) for
more information on patches.
NOTE: The use of autorecover_product=true during an update of the HP-UX
OS is not supported.
8.11 Installation With Separate Configuration
NOTE: Because deferring configuration of OS software and patches can leave the
system in an unusable state, do not use this technique with HP-supplied software.
If you create your own software that includes configuration scripts to be performed
automatically after installation, performing the configuration separately can increase
the reliability of the overall installation process.
To install without configuring, set the defer_configure option to true for
swinstall. Then, after all the installs have completed successfully, you can run the
configure scripts for all targets at once by using the swconfig command.
8.12 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
8.11 Installation With Separate Configuration 183