Skip to main content

NIM VIOS Alt Disk Overview

NIM VIOS Alt Disk Overview

NIM VIOS Alt Disk refers to the process of creating or cleaning an alternate root volume group (rootvg) disk for VIOS clients using Network Installation Management (NIM). This process involves copying the root volume group to an alternate disk or cleaning an existing copy, which can be useful for system migrations or backups.

Purpose and Functionality

The alternate disk specified for the NIM Alt Disk Migration is used to perform the migration tasks, ensuring that the system can be restored or migrated without affecting the primary root volume group. The module nim_vios_alt_disk in the repository provides the functionality to perform these operations, including specifying the target VIOS clients and the disks to be used for the alternate disk copy. The operations supported include alt_disk_copy to perform the alternate disk copy and alt_disk_clean to clean up an existing alternate disk copy.

Example Usage

This example demonstrates how to perform an alternate disk copy of the rootvg to hdisk1 on nimvios01 using the nim_vios_alt_disk module.


This code snippet shows how to perform an alternate disk copy of the rootvg to hdisk1 on nimvios01.

- name: Perform an alternate disk copy of the rootvg to hdisk1 on nimvios01
nim_vios_alt_disk:
action: alt_disk_copy
targets:
- nimvios01: [hdisk1]


This code snippet shows how to perform a cleanup of any existing alternate disk copy on nimvios01.

- name: Perform a cleanup of any existing alternate disk copy on nimvios01
nim_vios_alt_disk:
action: alt_disk_clean

Example Playbook

The example playbook shows how to use the nim_alt_disk_migration role to perform an alternate disk migration without validating the lpp or spot resources.

 

This is an auto-generated document by Swimm 🌊 and has not yet been verified by a human