[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Installation Guide and Reference

Optional Software Products and Service Updates

After the Base Operating System (BOS) is installed, you might want to install optional software or service updates. This chapter includes information on the following topics:

Note
AIX 5.2 provides the cdromd CD and DVD automount facility, which is included in the bos.cdmount fileset. To determine if the cdromd daemon is enabled on your system, run the following command:
# lssrc -s cdromd
The cdromd daemon can interfere with scripts, applications, or instructions which attempt to mount the CD or DVD device without first checking to see if the device is already enabled. A resource or device busy error occurs in such a condition. Use the cdumount or cdeject command to unmount the device. Then mount the device as specified in the program or instructions. Alternatively, use the cdcheck -m or mount command to determine the current mount point of the device. For further information, see the cdromd command documentation in the AIX 5L Version 5.2 Commands Reference.

The installation code allows for this automatic mounting. If cdromd is enabled and the mkcd command is run, the CD-R or DVD-RAM is ejected after the image is completed. If you do not want to have the media ejected, then the cdromd daemon should be put in the inoperative state with the following command:

# stopsrc -s cdromd

Optionally Installed Software

Optionally installable software includes:

Software products can be divided into the following categories:

Licensed Program    A licensed program (also known as a product) is a complete software product including all packages associated with that licensed program. For example, bos (the base operating system) is a licensed program.
Package A group of separately installable units that provide a set of related functions. For example, bos.net is a package.
Fileset An individually installable option. Filesets provide a specific function. An example of a fileset is bos.net.nfs.client 5.1. For more information on fileset packaging, see Fileset Installation Packaging.
Fileset Update An individually installable update. Fileset updates either enhance or correct a defect in a previously installed fileset.
Bundle A collection of packages, products, or individual filesets that suit a specific purpose, such as providing personal productivity software or software for a client machine in a network environment. A set of bundles is provided with BOS that contain a specific set of optional software. For more information on bundle packaging, see Bundle Packaging.

A product can be composed of several packages, which in turn can be composed of different filesets. A product might be installed in its entirety, or only certain packages or filesets for the product might be installed. Software products are subdivided in this way, because many software products are large and have many pieces that can be used independently. Dividing a product into separately installable filesets allows you to install only those filesets you need.

You can install all the filesets included in a package or the entire product, or you can install only selected filesets, especially if you have limited hard disk space on your system.

Software Product Identification

The product name and level number identify a software product. The format for a software product level in AIX 5.2 is as follows:

versionnumber.releasenumber.modificationlevel.fixlevel

Each field in the software product identification is defined as follows:

For example, 05.01.0000.0000 is a software product level number, and 05.01.0000.0032 is a software product update level. It is not necessary to include the leading zeroes in the version, release, modification level, and fix level fields of the level. Level 05.01.0000.0000 can also be written as 5.1.0.0.

Software Licensing

The types of software licensing that can be implemented in the software purchase are run-time licensing and acceptance of software license agreements. Normally, software requiring run-time licenses is only selected for installation when you have a license to use that software. Although the Web-based System Manager and System Management Interface Tool (SMIT) allow you to install licensed software even if you do not own a license, you might be prevented from using the newly installed software until you have obtained the appropriate license.

Accepting software license agreements requires that the license agreement be accepted as part of the installation process. If software installed as part of your BOS installation requires accepting a software license agreement, you cannot exit the Configuration Assistant (or the Installation Assistant for non-graphics consoles) until the license agreement has been accepted. You can view as well as accept the license agreement. The BOS installation can be customized to automatically accept software licenses. Refer to Customized BOS Installations for more information.

For optional software installation, you can preview the license agreements on the installation media using the smit license_on_media fast path or the installp -El command. During the installation process, you can use the menu item to accept the software license, or you can use the installp command with the -Y flag. To view accepted license agreements on a system, you can use the SMIT smit installed_license fast path or the lslpp -E command. To view licenses using the Web-based System Manager, type wsm to start the application, and select Software. When a product is uninstalled, the license agreement acceptance is changed to the inactive state. If the product is reinstalled, you will not be prompted to reaccept the license agreement.

After completing the prerequisites in the next section, your next step is deciding whether to install software with the Web-based System Manager or with SMIT. Descriptions of both applications are included in this chapter.

Before you install optional software and service updates, refer to the specific instructions that accompany your installation media. If you ever need to reinstall your system, refer to the installation media instructions.

Note: For information about developing software products that are installed using the installp command, refer to Packaging Software for Installation in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.

Installing Optional Software Products and Service Updates

If either of the following conditions apply to you, go to the referenced section. Otherwise, continue with the procedures in this chapter.

Step 1. Complete the Prerequisites

Before installing optional software or service updates, complete the following prerequisites:

Step 2. Install Optional Software Products or Service Updates

Optional software products and service updates can be installed using system management tools provided with the operating system. The following sections provide a brief description of the procedures:

To view the files as they are being installed, do the following:

Install Optional Software Products or Service Updates with Web-based System Manager

The graphics interface provides access to Web-based System Manager options for installing the following:

The Web-based System Manager allows you to install software, as well as to change the system's default install settings and specify other options. By default, the Web-based System Manager applies and commits any software updates you are installing. However, you can change this default setting and have the software updates applied only.

Note: Base software applications are always committed. If a previous version of the software is installed, it cannot be saved.
Installing Optional Software
  1. Start the Web-based System Manager by typing wsm on the command line.
  2. Expand the machine name.
  3. Expand Software in the Navigation area.
  4. Select Overview and Tasks.
  5. Select Install Software.
Installing Service Updates
  1. Start the Web-based System Manager by typing wsm on the command line.
  2. Expand the machine name.
  3. Expand Software in the Navigation area.
  4. Select Overview and Tasks.
  5. Select Update Software to the Latest Level.
Installing Software Bundles
  1. Start the Web-based System Manager by typing wsm on the command line.
  2. Expand the machine name.
  3. Expand Software in the Navigation area.
  4. Select Installed Software.
  5. From the Software menu, select New Software (Install/Update) --> Install Bundles (Easy).

Install Optional Software and Service Updates Using SMIT

The following installation paths are available in SMIT:

Install Software Install or update software from the latest levels of software available on the media. To shorten the list of software displayed, message and locale software are omitted from the list. To use this option, type smit install_latest on the command line.
Update Installed Software to Latest Level Update all currently installed software to the latest level available on the installation media. To use this option, type smit update_all on the command line.
Install Software Bundle Install complete bundles of software simply by specifying the input device and which bundle you are installing. You can also preview a bundle installation to see what software will be installed and how much space is required in the file system to install the bundle. To use this option, type smit install_bundle on the command line.
Update Software by Fix Install a specific fix for a problem. This menu allows you to list all service fixes on the media and select a fix to install. You can also preview the installation to see what software will be updated and how much space is required in the file system to apply the fix. To use this option, type smit update_by_fix on the command line.
Install and Update from ALL Available Software Install or update software from all software available on the media. To use this option, type smit install_all on the command line.

Note: If a problem occurs during the installation of optional software that causes the installation process to halt abnormally, you might have to complete a cleanup procedure to remove the partially installed software from the system before attempting to reinstall it. If the system instructs you to do a cleanup, go to Cleaning Up Optional Software Products and Service Updates.

Completing the SMIT Installation and Reading the Status Messages

This section describes the system activity and actions that you must take after the installation process has begun.

  1. When you press Enter to start the installation, the COMMAND STATUS screen displays. A series of messages display as the installation proceeds. The amount of time that the installation takes varies depending on your system and the software you are installing and updating.

    Note: The system might prompt you to insert the volume of the installation media, with a message similar to the following:

    Mount volume 2 on /dev/cd0.
    Press the Enter key to continue.

    When this message displays, insert the specified media and press Enter.

    When the installation finishes, the Command: status field on the COMMAND STATUS screen changes to OK or failed. OK indicates that the installation ran to completion, although some filesets may not have installed successfully. The failed status means that there was a problem with the installation. Although a preview installation always finishes with an OK status, always check the summaries.

    For information about error messages, refer to Acting on System and Error Messages.

  2. When the installation halts or finishes, the screen returns to the top of the list of messages that display during installation. You can review the message list as described in the next step, or you can exit SMIT and review the smit.log file (/smit.log or /home/user_id/smit.log).
  3. Review the message list for error messages on software products or service updates that may not have been successfully installed. Use the following procedure to correct any errors in the installation:
    1. Look at the pre- and post-installation summaries at the end of the message list to see whether any installation failure occurred.
    2. Use the message list to determine problems and which software products or service updates were involved. For example, space limits might have been exceeded or the requisites might not have been met for some software. The system lists how much extra space is needed and which requisite software products or service updates to install.
    3. Any product that is marked as FAILED, BROKEN, or CANCELLED can be reinstalled after the condition that caused the failure has been corrected. You do not need to reinstall any service update or software product that was marked as SUCCESS in the Installp Summary report. If you need to perform the installation again, change installation settings as appropriate. For example, if requisites were missing, set AUTOMATICALLY install requisite software? to yes. If there was not enough space to complete the installation, set EXTEND file systems if space needed? to yes.

      If you need to install again and you have AIX BOS multivolume media, insert volume 1 of the AIX product CDs. Press F3 to return to the previous screen, then restart the installation. See Acting on System and Error Messages for information about bosboot command errors that may occur while the installation program is running, and about recovery procedures for these errors.

    4. If the installation was interrupted (for example, a power failure), you might need to use the cleanup procedure before continuing. Press F10 (or Esc+0) to exit SMIT, and refer to Cleaning Up Optional Software Products and Service Updates.
    5. If the software has been installed successfully, and you have no other software to install, go to Step 4.

      If you have additional software to install from a different installation media, remove the media that is in that drive and insert the new media.

      Press F3 (or Esc+3) to return to the previous screen and continue installing the software product or service update.

  4. Press F10 (or Esc+0) to exit SMIT.
  5. Remove all installation media from the drives.
  6. When you are directed reboot your system by typing:

    # shutdown -Fr

Update Installed Software to Latest Level from the Command Line

The install_all_updates command updates installed system software to the latest level that is on the media and verifies the current recommended maintenance level. The install_all_updates command will not install any filesets that are present on the media, but not installed on the system, unless these filesets are installed as requisites of other selected filesets. For installp images, all installp requisites are enforced.

The following example shows how to install all installp updates on device /dev/cd0 and to verify the current recommended maintenance level,:

# install_all_updates -d /dev/cd0

For more information on the install_all_updates command, refer to the AIX 5L Version 5.2 Commands Reference.

Maintaining Optional Software Products and Service Updates

During and after installation, the following major maintenance actions can be taken with optional software products and service updates. Optional software and service updates can be:

Whether a particular action can be taken depends on whether the action is being applied to the entire software product, or only to a service update that has had a previous action taken on it.

You can perform these actions using either the Web-based System Manager or the System Management Interface Tool (SMIT) or by using commands directly from the command line. The following sections briefly describe how to do each action using Web-based System Manager, SMIT, or a command. Both Web-based System Manager and SMIT provide online help to guide you through each process.

Apply Action (Service Updates Only)

When installing a service update, it can be left in the applied state. In this state, the former version of that software product is saved in the /usr/lpp/PackageName directory. Service Updates in the applied state allow you to restore the former version of the software without having to reinstall it.

Only service updates can be placed in the applied state. In contrast, after you install an entire software product, the product is left in the committed state. Software products in the committed state do not save the previous version of the software, because two versions of the same software product cannot be installed at the same time.

To apply a service update using Web-based System Manager:
  1. Start the Web-based System Manager by typing wsm on the command line.
  2. Expand the machine name.
  3. Expand Software.
  4. Select Overview and Tasks.
  5. Select Update Software to the Latest Level.
To apply a service update using SMIT:
Type smit update_by_fix on the command line.
To apply a service update from the command line:
Use the installp -a command to only apply the update.

Commit Action (Service Updates Only)

Committing a service update removes the previous version of a product from the system, which conserves disk space. After a software product or update has been committed, it cannot be deleted from the system except by removing the entire software product (the base level product and all of its updates) or by force-installing it back to a previous level. To do a force-installation, you must have the base level of the fileset available on media.

Although applying and committing a service update are considered separate actions, both can be accomplished while installing the update. In fact, the default action under Web-based System Manager and SMIT is to both apply and commit the service update during installation. This default can be changed to just apply the update.

To commit a service update using Web-based System Manager:
  1. Start the Web-based System Manager by typing wsm on the command line.
  2. Expand the machine name.
  3. Expand the Software container.
  4. Select Installed Software.
  5. From the Software menu, choose Software Utilities -> Commit Applied Updates.

You can list all service updates in the applied state by selecting List Installed Software -> Updates in Applied State from the Software menu.

To commit a service update using SMIT:
Type smit commit on the command line.

You can list all service updates in the applied state by typing smit list_installed on the command line.

To commit a service update from the command line:
Use the installp -c command to commit applied updates.

You can list all service updates in the applied state by typing installp -s on the command line.

Reject Action (Service Updates Only)

When you reject an applied service update, the update files are removed from the system and the previous version of the software is restored. Only service updates in the applied state can be rejected. You can use the Web-based System Manager or SMIT to reject applied service updates.

To reject a service update using Web-based System Manager:
  1. Start the Web-based System Manager by typing wsm on the command line.
  2. Expand the machine name.
  3. Expand the Software container.
  4. Select Installed Software.
  5. From the Software menu, choose Software Utilities --> Reject Applied Updates.
To reject a service update using SMIT:
Type smit reject on the command line.
To reject a service update from the command line:
Use the installp -r command to reject an applied update.

Remove Action (Software Products Only)

When you remove a software product, that product's files are removed from the system and the Software Vital Product Data information is changed to indicate that the product is removed. The remove process also attempts to restore the system's configuration to its previous state, although this is dependent on the product and might not always be complete. After a product is removed, no version of that product remains running on the system.

Use the Web-based System Manager or SMIT to remove software products. In either application, if you set the Remove dependent software? field to yes, any requisite software (software that is dependent on the product you are removing) is also removed, unless it is required by other software on your system.

To remove a software product using Web-based System Manager:
  1. Start the Web-based System Manager by typing wsm on the command line.
  2. Expand the machine name.
  3. Expand the Software container.
  4. Select Installed Software.
  5. Select the software product you want to remove.
  6. From the Selected menu, choose Remove Software.
To remove a software product using SMIT:
Type smit remove on the command line.
To remove a software product from the command line:
Use the geninstall -u command to remove the product.

Copy Software Bundle to Hard Disk for Future Installation

The Copy Software Bundle to Hard Disk for Future Installation option allows you to copy a software bundle from a specified source to a location on your local system.

Installation software bundles include the following:

Cleaning Up Optional Software Products and Service Updates

Note: This procedure applies only to the update or installation of optional software products. If your AIX 5.2 BOS installation was unsuccessful, see Accessing a System That Does Not Boot for more information.

This section describes how to clean up software products and service updates after an interrupted installation. The cleanup procedure attempts to delete items that were partially installed or left in an incomplete state. For example, after an update is interrupted, the lslpp -l command might report the update status as APPLYING rather than APPLIED.

The cleanup procedure attempts to revert the update to its previous state. For example, when cleaning up an update that was interrupted in the COMMITTING state, the cleanup procedure attempts to return the update to its APPLIED state.

If the interruption occurs during the initial state of an installation, then the cleanup procedure attempts to delete the installation entirely and restore the previous version of the product (if there is one). When the previous version is restored, it becomes the active version. When the previous version cannot be restored, the software is listed by the lslpp -l command as BROKEN.

When the product is deleted or BROKEN, you can attempt to reinstall the software. Any product in the BROKEN state cannot be cleaned up; it can only be reinstalled or removed.

The system automatically initiates a cleanup when an installation fails or is interrupted. Normally, you must initiate a cleanup procedure if the system shuts down or loses power during an installation or if the installation process terminates abnormally. Occasionally, you are prompted to reboot (restart) the system after running the cleanup procedure.

To initiate a cleanup procedure using Web-based System Manager:
  1. Start the Web-based System Manager by typing wsm on the command line.
  2. Expand the machine name.
  3. Expand the Software container.
  4. Select Installed Software.
  5. From the Software menu, choose Troubleshooting --> Cleanup Failed or Interrupted Installation.
To initiate a cleanup procedure using SMIT:
  1. Type smit maintain_software on the command line.
  2. Select Clean Up After Failed or Interrupted Installation.
To initiate a cleanup procedure from the command line:
Type installp -C on the command line.

If you get a message indicating that no products were found that could be cleaned up, you may have executed the cleanup procedure when it was not needed. Try your installation again.

If you get a message indicating that you need to clean up a failed installation, contact your point of sale for assistance.

Manage an Existing installp Image Source

The lppmgr command is used to manage an existing installp image source. The lppmgr command performs the following functions on an existing installp image source (also known as an lpp_source resource in the NIM environment):

By default, lppmgr lists all images filtered by the preceding routines. The -r flag can be used to remove the filtered images and the -m flag can be used to move the images to another location.

The lppmgr command is not intended to replace bffcreate, install anything, or work with installed filesets. It is also not intended to address any issues other than those mentioned. Before using the -X flag, you should have a good understanding of NIM, system images (known as SIMAGES in NIM), and the workings of a NIM lpp_source resource.

To list all duplicate and conflicting updates in the /myimages image source directory, type:

# lppmgr -d /myimages -u 

To remove all duplicate and conflicting updates in the /myimages image source directory, type:

# lppmgr -d /myimages -u -r

For more information on the lppmgr command, refer to the AIX 5L Version 5.2 Commands Reference.

Software Service Management

The Software Service Management menu generates comparison reports to manage filesets installed on a system, filesets contained in a repository, and filesets available from the IBM eServer pSeries support Web site. The Software Service Management menu also provides a way for you to clean up and rename software images in a repository. The following options are available:

You can perform these actions using either the SMIT service_software fast path or by using commands directly from the command line. The following sections briefly describe how to do each action using SMIT or a command.

Comparison Reports

The Comparison Reports menu allows you to generate several comparison reports to verify that the filesets for a particular fix or preventive maintenance package are installed by comparing filesets installed on a system to another source. This source could be a fix repository, such as an lpp_source or a directory of fixes, or a downloaded list from the IBM eServer pSeries support Web site.

If you want to verify that your lpp_source is up to date, you can also compare a fix repository to a downloaded list.

You can perform these actions in the SMIT compare_report fast path or using the compare_report command available from the command line.

Compare Installed Software to Fix Repository

The Compare Installed Software to Fix Repository menu allows you to compare the filesets installed on a system to a fix repository. The following report lists are generated:

The Compare Installed Software to Fix Repository option is available using the SMIT instofix_compare fast path or the compare_report command with the following options:

compare_report -s -i FixDir {[ -l ] [ -h ] [ -m ] [ -n ]} \
					[ -t ReportDir -Z | -v ]

Compare Installed Software to List of Available Updates

The Compare Installed Software to List of Available Updates menu allows you to compare the filesets installed on a system to a downloaded list of available updates from the IBM eServer pSeries service Website. The following report lists are generated:

The Compare Installed Software to List of Available Updates option is available using the SMIT instolist_compare fast path or the compare_report command with the following options:

compare_report -s -r ServiceReport  {[ -l ] [ -h ]} [ -t ReportDir -Z | -v ]

Compare Fix Repository to List of Available Updates

The Compare Fix Repository to List of Available Updates menu allows you to compare the filesets in a fix repository, such as a fix directory or lpp_source, to a downloaded list of available updates from the IBM eServer pSeries service Web site. The report list that is generated contains information on filesets in the fix directory that are back-level from latest (lowerthanlatest2.rpt).

The Compare Fix Repository to List of Available Updates option is available using the SMIT fixtolist_compare fast path or the compare_report command with the following options:

compare_report -i FixDir -r ServiceReport [ -t ReportDir -Z | -v ]

Compare a List of Installed Software on a Base System to Another System

You can also compare a list of installed software on a base system to another system. This option allows you to compare the filesets installed on a system to another system. The lslpp -Lc output from one system is saved to a file and compared to the lslpp -Lc output from another system. The following report lists are generated:

To compare a list of installed software on a base system to another system use the compare_report command with the following options:

compare_report -b BaseList -o OtherList {[ -l ] [ -h ] [ -m ] [ -n ]} [ -t ReportDir -Z | -v ] 

Rename Software Images in Repository

The Rename Software Images in Repository option allows you to rename updates that have FIX ID numbers for names to more meaningful fileset names like those generated when updates are copied to hard disk for future installation. This action renames all filesets in the indicated directory with the same format. This option is available using the SMIT rename_software fast path.

You can also use the bffcreate command to rename software images in a directory. To rename software images in a directory using the bffcreate command, use the -c flag and the -d flag for the directory containing the filesets. For example, to rename filesets in the /usr/sys/inst.images directory, type:

# /usr/sbin/bffcreate -cd /usr/sys/inst.images

You can also create a log file containing a mapping between the old names and new names using the -s logfile option, as shown in the following example:

# /usr/sbin/bffcreate -cd /usr/sys/inst.images -s /usr/sys/inst.images/names.log  

This example creates a /usr/sys/inst.images/names.log file that contains content formatted as follows:

old_fileset_name:new_fileset_name

This option is also available in SMIT Rename Software Images in Repository menu as the LOG software name changes (location of log file) option.

Clean Up Software Images in Repository

The Clean Up Software Images in Repository option allows you to remove unneeded or duplicate software images from a local software-image repository. You can remove duplicate software, superseded updates, and language software:

This option is available using the SMIT cleanup_software fast path.

InstallShield Multi-Platform Packaged Installations

Some products that are distributed for installation on AIX are packaged and installed with InstallShield Multi-Platform (ISMP). Unlike installp or RPM installations which only provide non-prompted or silent installations of a product, ISMP packaged products provide both interactive and silent interfaces for installation and uninstallation of a product.

Similar to products packaged and installed with installp and RPM, ISMP packaged products can be installed using the AIX system management tools, including SMIT and Web-based System Manager. These tools use the geninstall command to install or uninstall products that are packaged and installed with installp, RPM, or ISMP. As expected, the geninstall command can be used directly to install, list, or uninstall ISMP packaged products.

For instructions for installing or uninstalling a specific product packaged and installed with ISMP, consult the product's documentation.

This section provides information on the following topics:

Installing an ISMP Product

You install an ISMP product using SMIT, Web-based System Manager, the geninstall command, or the files provided by the product's devloper.

.

Uninstalling an ISMP Product

You uninstall an ISMP product using SMIT, Web-based System Manager, the geninstall command, or the files provided by the product's developer.

Silent Installations and Using Response Files

The section provides information on how to perform silent installations and uninstallations for ISMP packaged products using response files.

A response file contains predetermined responses for an installation or uninstallation. To use response files with ISMP products, the following methods are available:

Related Information

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]