IBM Support

How to use NIM to restore mksysb on client lpar?

Question & Answer


Question

How to use NIM to restore mksysb to client lpar while it is up and running ?

Answer

This document guides you through the steps of restoring mksysb by using NIM over a client lpar free disk while it is up and running. In case you run into any problems during this operation open new case with IBM Support team for further investigation.
This topic is covered in the following parts:
Prerequisites:
Using NIM to restore mksysb to client:
Command line:
# nim -o alt_disk_install -a source=mksysb -a mksysb=mksysbresource -a diskname(s) ClientName
Here is an example of performing an mksysb installation to an alternate disk on a NIM client from the command line. The client machine machine1 is a running system, hdisk2 is not currently occupied by a volume group.
# nim -o alt_disk_install -a source=mksysb -a mksysb=mksysb_bkp_res -a hdisk2 machine1
Smit interface:
# smit nim_alt_mksysb

* Target Machine / Group to Install                  [Press ESC+4 or F4 and select the client or type it manually]
* Target Disk(s) to install                          [type in manually the desired not occupied hdisk]
* MKSYSB image                                       [Press ESC+4 or F4 and select the mksysb resource]
Example:
# smit nim_alt_mksysb

* Target Machine / Group to Install                  [machine1]
* Target Disk(s) to install                          [hdisk2]
* MKSYSB image                                       [mksysb_bkp_res]
Monitoring the log of the mksysb restore operation:
The alt_disk_install command is initiated on the target system, and progress is shown with the lsnim command initiated on NIM:
# lsnim -l ClientName
A log kept on the target system, /var/adm/ras/alt_disk_inst.log, contains progress messages and any error or warning messages that might occur. If requested the /var/adm/ras/nim.alt_disk_install log contains debug information.
To monitor the log on the target system execute:
# tail -f /var/adm/ras/alt_disk_inst.log
In case you run into any problems open new case with IBM Support team for further investigation.

References:

[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cvz2AAA","label":"Install-\u003ENIM"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions"}]

Document Information

Modified date:
07 December 2023

UID

ibm17090897