• Keine Ergebnisse gefunden

Define a Product Subset with cfgsa

Im Dokument Software Installing Domain (Seite 150-158)

You might remove subcomponents upon which other subcomponents depend. Also, you'll have no way of ensuring that the configuration

Step 2. Define a Product Subset with cfgsa

Once the product's release index is in an Authorized Area, you can define a subset of the product using the interactive cfgsa tool. You define the subset with cfgsa's constrain subcommand. You then issue cfgsa's generate com-mand, which creates a selection file and a corresponding override file in the current directory that reflect the specified subset. For a comprehensive de-scription of cfgsa and its subcommands, see "cfgsa" in Chapter 10.

1 Change the current directory.

Change the current directory to the directory where you want to place the custom selection file and override file that you create with cfgsa. (cfgsa's gen-erate subcommand creates these files in the current directory.) You may want to put these files in the directory that contains the product's HP-supplied se-lection and override files: AAlinstaU/templates/apoUolproduct _ name.v.version.

2 Invoke the cfgsa tool.

Invoke cfgsa by entering the command AAlinstaU/tools/cfgsa AA

where AA is the pathname of the Authorized Area containing the product (or product release index).

cfgsa displays a list of products available in the Authorized Area and a CFGSA> prompt. You can redisplay this list later by entering available (or av) at the CFGSA> prompt.

3 Select the product.

Select the product by entering the command CFGSA> select product_number

where product_number is the number of the product in the list of available products. Or enter

CFGSA> select produce name version

Step 2: Define Subset with cfgsa

where product_name and version are the name and version number of the product as they appear in the list of available products; for example pas 8.7.m. You can omit version if there is only one version of the product in the Authorized Area.

4 Define the product subset.

Enter the command CFGSA> constrain

This begin the constraint session --the process of defining the product subset.

cfgsa displays the configuration questions for the product (the questions that are shown to a user when a user runs config or install

+ +

to configure the product) and the possible answers that a user can supply. If no active override file for the product exists, cfgsa presents the full set of questions defined by product's release index. If an active override file exists, the questions pres-ented reflect the constraints defined by the override file.

cfgsa pauses after each configuration question and prompts you for a re-sponse. Keep in mind that you are simultaneously defining constraints for both the loading of the product from media into an Authorized Area and for the configuration of the product (with config or install + +) prior to its instal-lation. Depending on the particular configuration question and your

responses, the results may effect only the configuration process prior to in-stallation and not what gets loaded into the Authorized Area.

For each question, enter answer, limit, or user:

answer Enter answer to restrict the product configuration to one of the pos-sible answers. cfgsa then prompts you to enter the answer of your choice. If the question concerns the installation of a product subcomponent and one of the possible answers is "none"or "no", entering answer and then none or no causes the subcomponent not to be loaded from media. Similarly, if the ques-tion asks which of a number of related objects are to be installed (such as the question about which sau directories to install for Domain/OS), entering an·

swer and a then one of the objects causes only that object to be loaded from media. When a user configures the product, the question does not appear at all.

Defining and Loading a Product Subset Step 2: Define Subset with

limit Enter limit to limit the product configuration to a subset of the possi-ble answers. cfgsa then prompts you to enter one or more of the possipossi-ble answers. If the question asks which of a number of related objects are to be installed, entering limit and a then a subset of the full range of choices causes only that subset to be loaded from media. When a user configures the prod-uct, the user is presented with the question and the reduced answer set.

user Enter user (or just press < RETURN> ) to impose no constraints. If the question concerns the installation of a subcomponent or group of related subcomponents, all subcomponents are loaded from media. When a user con-figures the product, the user is presented with the question and the full set of possible answers.

In response to a question, you can also enter help to obtain information about the constraint subcommands; refresh to redisplay the question and answers;

or abort to exit the constraint session. abort saves any constraints already de-fined and returns you to the CFGSA> prompt.

When you finish responding to all the configuration questions, the CFGSA>

prompt reappears.

5 Optionally display and change the constraints.

You can enter show at the CFGSA> prompt to display all the questions for the product and the constraints you've applied. To change the constraints, enter revert. revert removes all constraints that you've applied to the selected prod-uct during the current cfgsa session. You can then redefine constraints with the constrain command.

6 Create a selection file and a corresponding override file.

When you finish defining the configuration constraints, create a selection file and a corresponding override file that reflect the constraints. To do this, enter the command

CFGSA> generate name

where name is an identifier of your choice for both the selection and override file. cfgsa creates a selection file with the name aa.name and an override file with the name OVJlame. Both files are created in the current directory.

If the current directory is the directory that contains the HP-supplied selec-tion and override files for the product, do not set name to product_name, since this might overwrite one of the HP-supplied files.

Example

Step 2: Define Subset with cfgsa

7 Exit cfgsa.

Select, constrain, and generate selection/override file pairs for as many prod-ucts as you want. When you finish, enter the command

CFGSA> exit

to return to the shell prompt.

In this example, we create a custom subset of SR10.4, which resides in the Authorized Area Ilaa/srlO.4. We define a subset that includes the sys5.3 envi-ronment only (it excludes Aegis and BSD4.3); that includes only the sau directories and hardware diagnostics for the Series 3500 (sau7) and Series 2500 (sau9) machines; and that excludes optional fonts.

% cd /laa/srlO.4/install/templates/apoll%s.v.lO.4

% / /aa/srlO.4/instaJl/tools/cfgsa /laa/srlO.4

RAI System Administrator Override Tool V1.01 3 Apr 89 Scanning Authorized Area in //aa/sr10.4

Products Available in //aa/sr10.4

1) c++ 2.1.0.m

Defining and Loading a Product Subset

YOUR CHOICE [ Answer Limit User(D) Help Refresh Abort] : answer

Pick 3 of [ all (D) aegis bsd4. 3 sys5. 3 ]: sys5.3

QUESTION: MACHINE-SPECIFIC SUPPORT

The sauN directories provide support for Apollo saull - 9000/425s, 9000/425t sau12 - 9000/400s, 9000/400t sau14 - dn5500

You must select the sau(s) for all machine types using this installation configuration, including the sau(s) for any machines that will boot diskless from the target(s).

Note: Unless this is a cmpexe release, only ISP compatible saus are available.

Please select the set of saus you want (/all/ for

QUESTION: HARDWARE DIAGNOSTICS

Offline hardware diagnostics (in /sauN) are used for troubleshooting hardware problems. They do not need to be local to every node, but they should be available somewhere on the network. Disk space requirements differ for different saus.

Note: Unless this is a cmpexe release, diagnostics are only available for ISP compatible saus.

would you like offline hardware diagnostics for the

Defining and Loading a Product Subset

selected machine types?

ANSWERS: Up to 2 of [ yes (D) no ]

YOUR CHOICE [ Answer Limit User(D) Help Refresh Abort] : answer

Pick 2 of [ yes (D) no ]: yes

QUESTION: OPTIONAL DM FONTS

Optional DM fonts include 8-bit (European-based), 16-bit (Asian-based) fonts, and some additional size and typeface ver~ions of existing fonts. The optional DM fonts require on the order of 2.5 MB of disk space.

Would you like the set of optional DM fonts?

ANSWERS: Up to 1 of [ yes (D) no ]

YOUR CHOICE [ Answer Limit User(D) Help Refresh Abort] : answer

pick 1 of [ yes (D) no ]: no

CFGSA> show

For product: os 10.4

For: You may install any combination of the available environments:

aegis bsd4.3 sys5.3

Please specify the environments to be installed, or /all/ for all three.

===> Answer forced to be: "sys5.3"

For: You have selected to install more than one environment.

Defining and Loading a Product Subset

For: MACHINE-SPECIFIC SUPPORT

The sauN directories provide support for Apollo machine types: saull - 9000/425s, 9000/425t sau12 - 9000/400s, 9000/400t sau14 - dn5500

You must select the sau(s) for all machine types using this installation configuration, including the sau(s) for any machines that will boot diskless from the target(s).

Note: Unless this is a cmpexe release, only ISP compatible saus are available.

Please select the set of saus you want (/all/ for all saus) .

===> Answers limited to: "sau7" "sau9"

For: HARDWARE DIAGNOSTICS

Offline hardware diagnostics (in /sauN) are used for troubleshooting hardware problems. They do not need to be local to every node, but they should be available somewhere on the network. Disk space requirements differ for different saus.

Note: Unless this is a cmpexe release, diagnostics are only available for ISP compatible saus.

Would you like offline hardware diagnostics for the

with

selected machine types?

===> Answer forced to be: "yes"

For: OPTIONAL DM FONTS

Optional DM fonts include 8-bit (European-based), 16-bit (Asian-based) fonts, and some additional size and

Defining and Loading a Product Subset

Step 3. Remove the Product from the

Im Dokument Software Installing Domain (Seite 150-158)