Alt Disk Module Overview
Alt Disk Overview
Alt Disk refers to the management of an alternate root volume group (rootvg) disk. It involves copying the rootvg to an alternate disk or cleaning up an existing one on a logical partition (LPAR).
Operations on Alt Disk
The alternate disk can be used for various operations such as copying the rootvg, cleaning up an existing alternate disk copy, or installing filesets and fixes on an existing alternate disk. The module provides options to specify the target disks, choose a disk based on size policy, and perform actions like copying, cleaning, or installing on the alternate disk.
Ensuring Validity
The alt_disk
Configuration Options
The module also includes options to handle specific configurations such as running bootlist after the copy, copying specific files, resetting device configurations, and running customization scripts during the initial boot of the alternate rootvg.
Example of performing an alternate disk copy of the rootvg to hdisk1
- name: Perform an alternate disk copy of the rootvg to hdisk1
alt_disk:
action: copy
targets: hdisk1
Example of performing an alternate disk copy of the rootvg to the smallest disk that can be selected.
- name: Perform an alternate disk copy of the rootvg to the smallest disk that can be selected
alt_disk:
action: copy
disk_size_policy: minimize
Example of performing a cleanup of any existing alternate disk copy.
alt_disk:
action: clean
Example of performing a cleanup of any existing alternate disk copy and old rootvg.
alt_disk:
action: clean
allow_old_rootvg: true
This is an auto-generated document by Swimm 🌊 and has not yet been verified by a human