|
|
|
|
Using the POLYCENTER Software Installation utility
Perform POLYCENTER Software Installation utility operations from the DCL prompt. Use the following command format to invoke each operation:
$ PRODUCT subcommand product-name[/qualifier1,...]For example, to install COBOL Version 2.2 and the latest version of Fortran, enter the following command:
Installing with the POLYCENTER Software Installation utility describes installation.$
PRODUCT INSTALL COBOL/VERSION=2.2,FORTRAN [Return]
The following products have been selected:
DEC AXPVMS COBOL V2.2 Layered Product
DEC AXPVMS FORTRAN V7.0 Layered Product
Do you want to continue? [YES]
[Return]
You can enter PRODUCT commands at the DCL prompt ($) or in a DCL command procedure. Refer to the HP OpenVMS System Management Utilities Reference Manual: M--Z for subcommand syntax information.
To run the POLYCENTER Software Installation utility as a batch job, see Performing the Installation as a Batch Job.
DCL Commands and Descriptions lists DCL commands the POLYCENTER Software Installation utility can perform and describes each of them.
The POLYCENTER Software Installation utility requires specific privileges to perform certain operations, as shown in Privileges Required by the POLYCENTER Software Installation Utility.
Some commands might also require BYPASS or NETMBX privileges.
The execution of command procedures from the kit you are installing might require additional privileges. Check the installation guides that you receive with product kits for these privileges.
Product Files and Databases
The following files
are used by the POLYCENTER Software Installation utility:
Format of Software Product Kits
Software products compliant with the POLYCENTER Software Installation utility are distributed
in one of three formats:
Software Product Name Conventions
A software product kit packaged in sequential
copy format has a container file named in the following format:
producer-base-product-version-kit_type.PCSIA software product kit packaged in reference copy format has a product description file in the root directory named in the following format:
producer-base-product-version-kit_type.PCSI$DESCRIPTIONEach subfield is separated by a hyphen and is defined as follows:
Version Identification Format
The version of the software product kit is in the format tmmnn-ue.
This format is described in
Format of tmmnn-ue Version Identification.
The following table of examples shows how to use the format:
Example | Description |
---|---|
V6.1
|
In this example:
|
V6.1-1H2
|
In this example:
|
T6.2-FT2
|
In this example:
|
Software Product Name Examples
The following examples show how the format is used for one
sequential and two reference copy format kits:
DEC-VAXVMS-SOFTWIN-V0101--1.PCSIThis format shows that the producer is DEC (DIGITAL), the base is VAXVMS (OpenVMS VAX), the product is SOFTWIN, and the version is V1.1. The type of version is V, the major and minor version numbers are each 1. There are no update or maintenance edit levels. The kit_type is 1 (full).
DEC-AXPVMS-VMS-V0601-1H2-2.PCSI$DESCRIPTIONThis format shows that the producer is DEC (DIGITAL), the base is AXPVMS (OpenVMS Alpha), the product is OpenVMS, and the version is V6.1-1H2. The type of version is V, the major version number is 6, the minor version number 1, the update level is 1, and the maintenance edit level is H2. The kit_type is 2 (operating system).
HP-AXPVMS-KERBEROS-V0200-6-1.PCSI$COMPRESSEDThis format shows that the producer is HP, the base is AXPVMS (OpenVMS Alpha), the product is KERBEROS, and the version is V2.0-6. The type of version is V, the major version number is 2, the minor version number is 0, and the update level is 6. There is no maintenance edit level. The kit_type is 1 (full).
Creating a Product Configuration File (PCF)
You
can create a PCF before or during an installation. You can also
create more than one PCF for each product, thereby helping you to
customize software installations for unique hardware situations
or for different usage patterns within a group.
If a PCF is present and it contains a response for a configuration choice, the default for that choice comes from the PCF. The PCF specifies whether the choice can be changed or whether it is required.
If a PCF is not present or does not contain a response for a configuration choice, the default choice comes from one of two places:
Configuration Options
Some options available for customizing the PCF are:
Configuration Commands
To create a
PCF, use the PRODUCT CONFIGURE command. For example:
The POLYCENTER Software Installation utility creates a PCF in your current default directory. The default PCF is named DEFAULT.PCSI$CONFIGURATION. To override the default file name or directory, use the /CONFIGURATION=OUTPUT qualifier. Refer to the sample procedure in the next section.$
PRODUCT CONFIGURE CHESSMASTER
Recording Configuration Choices
After defining the PCF, the POLYCENTER Software Installation utility prompts you with questions
about the product. Determine how and whether your responses are
recorded in the PCF by responding to the questions and using two
predefined function keys. The following table shows how your responses
configure the PCF:
Key | Action by the POLYCENTER Software Installation utility |
---|---|
Return
|
Accepts the default or explicitly
entered choice for the current operation and for entry into the
PCF, and then moves to the next choice.
If the Defer option is in effect, this entry can be changed when the PCF is used for future installations or upgrades. If the Defer option is not in effect, this entry cannot be changed when the PCF is used for future installations or upgrades. If the Write option is in effect, this entry, including the Defer option, is written into the PCF and used when the PCF is used for future installations or upgrades. If the Write option is not in effect, this entry, including the Defer option, is not written into the PCF and is not used when the PCF is used for future installations or upgrades. In this case, the default for the future installation or upgrade will come from the PDF or PDB. |
F17
|
Toggles the Defer option.
By default, the Defer option is not in effect.
|
F18
|
Toggles the Write option. By default,
the Write option is in effect.
|
Press the Return key after each response.
Sample Procedure for Creating a PCF shows how to use keys F17 and F18 in the PCF. Note that this is an example only and does not necessarily represent an actual PCF for a product. A description of the callouts follows the example.
The callouts in the example mark the following actions:
When you use a single DCL command to install or configure more than one product and write the responses to a PCF, the information for all the products that are installed or configured is in a single PCF. Use separate operations to install or configure a set of products when you want to keep each product's configuration values in its own PCF.
Modifying an Existing PCF
You can use DCL to modify an existing file. Specify the name
of the PCF to be modified and the name of the PCF to be created.
Include both the INPUT and the OUTPUT keywords with the /CONFIGURATION qualifier
on the PRODUCT CONFIGURE command line. For example, read the default
values in the file PRODUCTA_REV1.DAT, make changes to the file,
and save the changes to PRODUCTA_REV2.DAT, the output file:
$
PRODUCT CONFIGURE -
_$
/CONFIGURATION=(INPUT=PRODUCTA_REV1.DAT,OUTPUT=PRODUCTA_REV2.DAT) -
_$
PRODUCTA
Using a Product Database
The POLYCENTER Software Installation utility automatically stores information about product
installation, configuration choices, and objects, such as files
and directories, that make up the product in the product database.
The product database is useful for recalling information about products
installed on your system and for detecting and tracking product
dependencies.
Adding Information to the Database
Although the POLYCENTER Software Installation utility stores product information for you
automatically, you can also add your own information. When you perform
a task, you can include a remark---a comment to be recorded in the
product database---along with the other information about the task
being performed.
To add a remark to the product database, use the /REMARK qualifier with any of the following DCL commands:
Refer to the HP OpenVMS System Management Utilities Reference Manual: M--Z for information about this command and the /REMARK qualifier.
Registering a Noncompliant Product
To register
a product that was installed with a tool other than the POLYCENTER Software Installation utility,
enter PRODUCT REGISTER PRODUCT. This command records information
that a PDF provides. For example:
If you do not have a PDF for a product you want to register, enter the following command:$
PRODUCT REGISTER PRODUCT TOOLCHEST
This procedure prompts you for the product name, version, and producer. For example, the producer for DIGITAL products is DEC. The procedure uses this information to create a temporary, minimal PDF. It then executes the PRODUCT REGISTER PRODUCT command to register the product, and deletes the temporary PDF.$
@SYS$UPDATE:PCSI$REGISTER_PRODUCT.COM
Because PCSI$REGISTER_PRODUCT.COM creates only a minimal PDF, it cannot register with the POLYCENTER Software Installation utility database all the information about the product. For this reason, if a PDF for the product is available, use it.
Although a transition PDF is intended specifically for PRODUCT REGISTER PRODUCT, you can also register full and operating system PDFs.
Detecting and Tracking Software Dependencies
Some
software products depend on other software products to work correctly.
For example, a product might work only when a specific version of
another product is installed on the system. The POLYCENTER Software Installation utility detects
and tracks the dependencies of the products that you install. The
utility also attempts to satisfy the requirements of multiple products.
In some instances, the POLYCENTER Software Installation utility is unable to resolve product dependency
issues. In such instances, the utility provides feedback on the
nature of the conflict and asks you to decide how to proceed.
Understanding
Recovery Data Sets
You can use recovery data sets in the following circumstances:
A recovery data set is, in a sense, an extension of the POLYCENTER Software Installation utility product database. A recovery data set consists of the following types of files:
A recovery data set is, in other words, a combination of the directories and files that are replaced by newer ones when a patch kit is installed. Recovery data set files are saved in a designated directory for possible future use. The data files that describe the replaced files and directories and their contexts are also saved.
Recovery data sets are stored in the following directory tree on the same system disk as the product database files, where nnn is the recovery data set number:
[PCSI$UNDO_nnn]
The two major uses of recovery data sets are discussed in the next two sections.
Recovering
from a Failed Installation of a Patch Kit
To be able to recover completely from a failed installation
of a patch kit, you must install the kit using the following command:
$
PRODUCT INSTALL/RECOVERY_MODE
When you enter this command, the POLYCENTER Software Installation utility installs the patch kit in what is called recovery mode. When you install a kit in recovery mode, the files that the installation modifies or replaces are saved; they make up a recovery data set. If an error condition interrupts the installation or if you intentionally terminate the installation, the POLYCENTER Software Installation utility can use the recovery data set to roll back the original files. This action restores the product environment that existed prior to the interrupted installation.
Once the rollback completes, the POLYCENTER Software Installation utility destroys the recovery data set. The utility also destroys the recovery data set at the end of a successful product installation or reconfiguration. You can, however, prevent the deletion of the recovery data set by using the /SAVE_RECOVERY_DATA qualifier with the PRODUCT INSTALL command. The next section explains how to do this.
Undoing
One or More Patch Kit Installations
You can create a recovery data set when you install a patch
kit, and, at the same time, explicitly request the POLYCENTER Software
Installation utility to save recovery data. You do this by entering
the following command:
$
PRODUCT INSTALL/SAVE_RECOVERY_DATA
When you enter this command, the POLYCENTER Software Installation utility permanently saves the files that the installation of the patch has removed. You can subseqently use the recovery data set to uninstall the patch product; you enter the PRODUCT UNDO PATCH command to do this. However, once you use the recovery data set to uninstall the patch product, the POLYCENTER Software Installation utility deletes it, and you cannot use recovery data set files again.
The POLYCENTER Software Installation utility also destroys the recovery data set when you enter any of the following (unrelated) DCL commands:
$ PRODUCT INSTALL (without the /SAVE_RECOVERY_DATA qualifier)
$ PRODUCT RECONFIGURE
$
PRODUCT REGISTER PRODUCT
$
PRODUCT REMOVE
Using Other Recovery Data Set Commands
You can use the following PRODUCT commands to view and delete recovery data sets:
$ PRODUCT SHOW RECOVERY_DATA
$ PRODUCT DELETE RECOVERY_DATA
By deleting one or more recovery data sets, you do not disturb
your current product environment. However, you cannot uninstall
the patch products that correspond to the recovery data that you
delete.
|
|