Understanding VIOS Health Check
Purpose
The Power AIX VIOS Health Check is a health assessment tool used for pre-install routines of VIOS (Virtual I/O
vSCSI
How to Use
The tool should be executed on the NIM master and uses Curl (pycurl) to interact with the HMC REST API. It retrieves the HMC login/password from the HMC password file if not specified and uses an HMC session key for Curl requests.
Example Usage
The health_check
plugins/modules/nim_vios_hc.py
performs a health assessment of the VIOS targets to ensure they can support a rolling update operation.
The health_check
plugins/modules/nim_vios_hc.py
. It performs a health assessment of the VIOS targets to ensure they can support a rolling update operation. For each VIOS tuple, it calls roles/power_aix_vioshc/files/vioshc.py
twice: first to collect the VIOS UUIDs
def health_check(module, targets):
"""
Health assessment of the VIOS targets to ensure they can support
a rolling update operation.
For each VIOS tuple:
- call vioshc.py a first time to collect the VIOS UUIDs
- call vioshc.py a second time to check the healthiness
return: a dictionary with the state of each VIOS tuple
"""
This is an auto-generated document by Swimm 🌊 and has not yet been verified by a human