updateios Command

Purpose

Updates the Virtual I/O Server to latest maintenance level.

Syntax

updateios -dev Media [-f] [ -install ] [ -accept ]

updateios -commit | -reject [ -f ]

updateios -cleanup

updateios -remove { -file RemoveListFile | RemoveList }

Description

The updateios command is used to install fixes, or updates the Virtual I/O Server to the latest maintenance level. Before installing a fix or maintenance level, the updateios command will first run a preview installation and display the results. Upon completion of the preview, the user will then be prompted to continue or exit. If the preview fails for any reason, the updates should not be installed.

The -install flag is used to install new file sets onto the Virtual I/O Server. This flag should not be used to install fixes or maintenance levels.

The -cleanup flag cleans up after an interrupted installation and attempts to remove all incomplete pieces of the previous installation. Cleanup should be performed whenever any software product or update is in a state of either applying or committing and can be run manually as needed.

The -commit flag will commit all uncommitted updates to the Virtual I/O Server.

The -reject flag will reject all uncommitted updates to the Virtual I/O Server.

If the -remove flag is specified, the listed file sets will be removed from the system. The file sets to be removed must be listed on the command line or in the RemoveListFile file.

The log file, install.log in the user's home directory, will be overwritten with a list of all file sets that were installed.

Flags

-accept Agrees to required software license agreements for software to be installed.
-cleanup Cleans up after an interrupted installation or update.
-commit Commits all specified updates.
-dev Media Specifies the device or directory containing the images to install.
-f Forces all uncommitted updates to be committed prior to applying the new updates. When combined with the -dev flag, commits all updates prior to applying any new ones. When combined with the -reject flag, rejects all uncommitted updates with out prompting for confirmation.
-file file Specifies the file containing a list of entries to uninstall.
-install Installs new file sets onto the Virtual I/O Server.
-reject Rejects all specified uncommitted updates.
-remove Performs an uninstall of the specified software.

Exit Status

19 All uncommitted updates must be committed
20 There are no uncommitted updates

Examples

  1. To update the Virtual I/O Server to the latest level, where the updates are located on the mounted filesystem /home/padmin/update, type:
    updateios -dev /home/padmin/update
  2. To update the Virtual I/O Server to the latest level, when previous levels are not committed, type:
    updateios -f -dev /home/padmin/update
  3. To reject installed updates, type
    updateios -reject
  4. To cleanup partial installed updates, type
    updateios -cleanup
  5. To commit the installed updates, type
    updateios -commit

Related Information

The lssw command, the ioslevel command, the remote_management command, the oem_setup_env command, and the oem_platform_level command.


Send feedback |  Rate this page