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
        • Synopsis
        • Requirements
        • Parameters
        • Notes
        • Examples
        • Return Values
        • Status
      • 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.
      • 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
  • hdcrypt_facts – Displays encryption/decryption related information
  • Edit on GitHub

hdcrypt_facts – Displays encryption/decryption related information

  • Synopsis

  • Requirements

  • Parameters

  • Notes

  • Examples

  • Return Values

  • Status

Synopsis

This module is used for getting encryption and decryption related information for logical volumes, physical volumes, volume groups.

This module is a wrapper around hdcryptmgr command.

Requirements

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

  • AIX >= 72X

  • Python >= 2.7

Parameters

action (True, str, None)

Specifies which information needs to be displayed. lv displays logical volume encryption status; vg displays volume group encryption capability; pv displays physical volume encryption capability; meta displays encryption metadata related to devices; conv displays status of all the active and stopped conversions;

device (False, str, )

Specifies the devices for which you want the information to be displayed.

Required for action=lv, action=pv and action=meta.

Notes

Note

  • You can refer to the IBM documentation for additional information on the commands used at https://www.ibm.com/docs/en/aix/7.2?topic=h-hdcryptmgr-command.

Examples

- name: Display LV encryption status
  ibm.power_aix.hdcrypt_facts:
    action: lv
    device: "{{lv_val}}"

- name: Display LV encryption status of all the LVs in a VG
  ibm.power_aix.hdcrypt_facts:
    action: lv
    device: "{{vg_val}}"

- name: Display VG encryption status of all the VGs
  ibm.power_aix.hdcrypt_facts:
    action: vg

- name: Display VG encryption status of a VG
  ibm.power_aix.hdcrypt_facts:
    action: pv
    device: "{{vg_val}}"

- name: Display PV encryption status of all the PVs
  ibm.power_aix.hdcrypt_facts:
    action: pv

- name: Display meta facts of a VG
  ibm.power_aix.hdcrypt_facts:
    action: meta
    device: "{{vg_val}}"

- name: Display all active and stopped conversions
  ibm.power_aix.hdcrypt_facts:
    action: conv

Return Values

msg (always, str, Logical Volume ‘testlv’ encrypted.)

The execution message.

cmd (always, str, )

The command executed.

rc (always, int, )

The command return code.

stdout (always, str, )

The standard output of the command.

stderr (always, str, )

The standard error of the command.

changed (always, bool, )

Shows if any change was made.

lv_facts (For I(action=lv), list, )

Contains logical volume encryption status information.

vg_facts (For I(action=vg), list, )

Contains volume group encryption capability information.

pv_facts (For I(action=pv), list, )

Contains physical volume encryption capability information.

meta_facts (For I(action=meta), list, )

Contains encryption metadata related information.

conv_facts (For I(action=conv), list, )

Contains information about all the active and stopped conversions.

Status

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

  • This module is maintained by community.

Authors

  • Shreyansh Chamola (@schamola)

Previous Next

© Copyright 2020, IBM.