IBM Power Systems AIX

Getting Started

  • Installation
  • Quickstart

References

  • Modules
    • Module reference
      • _nim_upgradeios – Use NIM to update a single or a pair of Virtual I/O Servers.
      • aixpert – System security settings management.
      • alt_disk – Alternate rootvg disk management.
      • backup – Data or system volume group backup management.
      • bootlist – Alters the list of boot devices available to the system.
      • bosboot – Creates boot image.
      • chsec – Modify AIX stanza files
      • devices – Devices management.
      • emgr – System interim fixes management.
      • errpt – Run the AIX errpt command to report logged system errors.
      • filesystem – Local and NFS filesystems management.
      • flrtvc – Generate FLRTVC report, download and install security and HIPER fixes.
      • geninstall – Generic installer for various packaging formats.
      • getconf – Reports system configuration variable values as facts.
      • group – Manage presence, attributes and member of AIX groups.
      • hdcrypt_auth – Controls authentication methods
      • hdcrypt_conv – Encrypt/Decrypt logical and physical volumes.
      • hdcrypt_facts – Displays encryption/decryption related information
      • hdcrypt_pks – Adds PKS authentication method and manages PKS keys
      • inittab – Manage inittab entries on AIX.
      • install_all_updates – Updates installed software to the latest level on media and verifies the current recommended maintenance or technology level.
        • Synopsis
        • Requirements
        • Parameters
        • Notes
        • Examples
        • Return Values
        • Status
      • installp – Installs and updates software.
      • lku – Performs live kernel update
      • lpar_facts – Reports logical partition (LPAR) related information as facts.
      • lpp_facts – Returns installed software products or fixes as facts.
      • lvg – Configure AIX LVM volume groups
      • lvm_facts – Reports LVM information as facts.
      • lvol – Configure AIX LVM logical volumes
      • mkfilt – Activates or deactivates the filter rules.
      • mktcpip – Sets the required values for starting TCP/IP on a host.
      • mktun – Creates, activates, deactivates and removes tunnels.
      • mount – Mounts/unmounts a filesystem or device on AIX.
      • mpio – Returns information about MultiPath I/O capable devices.
      • nim – Performs NIM operations - server setup, install packages, update SP or TL.
      • nim_backup – Uses NIM to manage backup of LPAR or VIOS clients.
      • nim_flrtvc – Use NIM to generate FLRTVC report, download and install security and HIPER fixes.
      • nim_resource – show/define/delete NIM resource object(s).
      • nim_select_target_disk – verify/autoselect a disk used for alternate disk migration role.
      • nim_suma – Use NIM to download fixes, SP or TL from IBM Fix Central website.
      • nim_updateios – Use NIM to update a single or a pair of Virtual I/O Servers.
      • nim_vios_alt_disk – Uses NIM to create/cleanup an alternate rootvg disk of VIOS clients.
      • nim_vios_hc – Check if a pair of VIOSes can be updated.
      • nim_viosupgrade – Use NIM to upgrade VIOS(es) with the viosupgrade tool from a NIM master.
      • nmon – Health Monitoring
      • pagingspace – Manage Paging space
      • password_hash – Encrypt password with AIX encryption methods
      • password_rules_policies – Manages password rules and policies
      • reboot – Reboot AIX machines.
      • route – Manage routes on IBM AIX systems.
      • smtctl – Enable and Disable Simultaneous MultiThreading Mode
      • snap – Run snap command on AIX.
      • suma – Download/Install fixes, SP or TL from IBM Fix Central website.
      • sysdumpdev – Manage system dump settings
      • tunables – Modify/Reset/Show tunables for various components on AIX.
      • tunfile_mgmt – Save/Restore/Validate/Modify tunables configuration file for various components on AIX.
      • user – Create new users or change/remove attributes of users on AIX.
      • vmstat – Run the AIX vmstat command to report system stats.
  • Playbooks
  • Roles

Community Guides

  • Contributing
  • Helpful Links

Requirements

  • Requirements
IBM Power Systems AIX
  • Modules
  • install_all_updates – Updates installed software to the latest level on media and verifies the current recommended maintenance or technology level.
  • Edit on GitHub

install_all_updates – Updates installed software to the latest level on media and verifies the current recommended maintenance or technology level.

  • Synopsis

  • Requirements

  • Parameters

  • Notes

  • Examples

  • Return Values

  • Status

Synopsis

install_all_updates examines currently installed software and attempts to update it to the latest level that is available on the media. install_all_updates will not install any filesets that are present on the media, but not installed on the system except if the new filesets are installed as requisites of other filesets or the /var/adm/ras/bosinst.data filesets ALL_DEVICES_KERNELS to yes.

Requirements

The below requirements are needed on the host that executes this module.

  • AIX >= 7.1 TL3

  • Python >= 3.6

  • Privileged user with authorization: aix.system.install

Parameters

device (True, str, None)

Specifies the device or directory that contains the installation images.

utilities_only (optional, bool, False)

Update install utilities only (bos.rte.install update).

commit (optional, bool, False)

Commits all newly installed updates.

update_rpm (optional, bool, False)

Update rpm images (if possible).

dependencies (optional, bool, True)

Automatically install requisites.

skip_verify (optional, bool, False)

Skip recommended maintenance or technology level verification.

extend_fs (optional, bool, True)

Attempts to resize any file systems where there is insufficient space to do the installation.

checksum (optional, bool, False)

Verify that all installed files in the fileset have the correct checksum value after the installation.

This operation may require more time to complete the installation.

suppress_multivolume (optional, bool, False)

Suppress multi-volume processing of cdrom media.

agree_licenses (optional, bool, False)

Agrees to all software license agreements which are required for software installation.

check_mode (optional, bool, False)

Performs a preview of an action by running all preinstallation checks for the specified action. No software changes are made.

Notes

Note

  • You can refer to the IBM documentation for additional information on the installp command at https://www.ibm.com/support/knowledgecenter/ssw_aix_73/i_commands/install_all_updates.html

Examples

- name: Install all installp updates on device /dev/cd0 and to verify the current recommended maintenance or technology level
  ibm.power_aix.install_all_updates:
    device: /dev/cd0

- name: Update any rpm images on your system, with newer technology levels from the /images directory
  ibm.power_aix.install_all_updates:
    device: /images
    update_rpm: true

- name: install the latest level of install utilities on device /dev/cd0 (bos.rte.install update)
  ibm.power_aix.install_all_updates:
    device: /dev/cd0
    utilities_only: true

Return Values

msg (always, str, install_all_updates ‘apply’ failed.)

The execution message.

cmd (always, str, )

The command executed.

rc (always, int, )

The command return code.

stdout (always, str, install_all_updates: Initializing system parameters.n install_all_updates: Log file is /var/adm/ras/install_all_updates.logn install_all_updates: Checking for updated install utilities on media.n install_all_updates: Updating install utilities to latest level on media.n ***************************************************************************n installp PREVIEW: installation will not actually occur.n ***************************************************************************n n +—————————————————————————–+n Pre-installation Verification…n +—————————————————————————–+n Verifying selections…donen Verifying requisites…donen Results…n n SUCCESSESn ———n Filesets listed in this section passed pre-installation verificationn and will be installed.n n Mandatory Fileset Updatesn ————————-n (being installed automatically due to their importance)n bos.rte.install 7.2.5.203 # LPP Install Commandsn n << End of Success Section >>n n +—————————————————————————–+n BUILDDATE Verification …n +—————————————————————————–+n Verifying build dates…donen FILESET STATISTICS n ——————n 1 Selected to be installed, of which:n 1 Passed pre-installation verificationn —-n 1 Total to be installedn n RESOURCESn ———n Estimated system resource requirements for filesets being installed:n (All sizes are in 512-byte blocks)n Filesystem Needed Space Free Spacen / 72 419656n /usr 24024 5421432n /tmp 560 8378576n —– ——– ——n TOTAL: 24656 14219664n n NOTE: “Needed Space” values are calculated from data available priorn to installation. These are the estimated resources required for then entire operation. Further resource checks will be made duringn installation to verify that these initial estimates are sufficient.n n **************************************************************************n End of installp PREVIEW. No apply operation has actually occurred.n **************************************************************************n install_all_updates: Processing media.n install_all_updates: Generating list of updatable installp filesets.n install_all_updates: The following filesets have been selected as updatesn to currently installed software:n n bos.64bit 7.2.5.201n …n security.acf 7.2.5.201n n << End of Fileset List >>n n install_all_updates: Performing installp update.n ***************************************************************************n installp PREVIEW: installation will not actually occur.n ***************************************************************************n n +—————————————————————————–+n Pre-installation Verification…n +—————————————————————————–+n Verifying selections…donen Verifying requisites…donen Results…n n SUCCESSESn ———n Filesets listed in this section passed pre-installation verificationn and will be installed.n n Mandatory Fileset Updatesn ————————-n (being installed automatically due to their importance)n bos.rte.install 7.2.5.203 # LPP Install Commandsn n << End of Success Section >>n n +—————————————————————————–+n BUILDDATE Verification …n +—————————————————————————–+n Verifying build dates…donen FILESET STATISTICS n ——————n 53 Selected to be installed, of which:n 1 Passed pre-installation verificationn 52 Deferred (see NOTE below)n —-n 1 Total to be installedn n *NOTE The deferred filesets mentioned above will be processed after then installp update and its requisites are successfully installed.n n RESOURCESn ———n Estimated system resource requirements for filesets being installed:n (All sizes are in 512-byte blocks)n Filesystem Needed Space Free Spacen / 72 419656n /usr 24024 5421432n /tmp 560 8378208n —– ——– ——n TOTAL: 24656 14219296n n NOTE: “Needed Space” values are calculated from data available priorn to installation. These are the estimated resources required for then entire operation. Further resource checks will be made duringn installation to verify that these initial estimates are sufficient.n n *****************************************************************************n End of installp PREVIEW. No apply operation has actually occurred.n **************************************************************************n n install_all_updates: ATTENTION, a higher level of install utilities isn available. The preview option will be more accurate and complete aftern updating to the latest level (see the -i option).n n install_all_updates: Log file is /var/adm/ras/install_all_updates.logn install_all_updates: Result = SUCCESS)

The standard output.

stderr (always, str, install_all_updates: Initializing system parameters.n install_all_updates: Log file is /var/adm/ras/install_all_updates.logn install_all_updates: Checking for updated install utilities on media.n install_all_updates: ATTENTION, no installp images were found on media.n install_all_updates: Processing media.n installp: Device /dev/rfd0 could not be accessed.n Specify a valid device name.n install_all_updates: Error reading media on /dev/rfd0n n install_all_updates: Log file is /var/adm/ras/install_all_updates.logn install_all_updates: Result = FAILURE)

The standard error.

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by community.

Authors

  • Syahrul Aiman Shaharuddin (@syahrul-aiman)

Previous Next

© Copyright 2020, IBM.