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
- Monitoring the log of the mksysb restore operation
- References
Prerequisites:
- The NIM master must be configured, see “NIM setup guide document part Initial NIM Master Configuration”.
- The NIM client must exist in the NIM environment and must be running. To add the client to the NIM environment, see “NIM setup guide document part Define nim clients".
- The bos.alt_disk_install.rte fileset must be installed on the NIM client. To install a new fileset on a NIM Client, see “installp command man page document”.
- From the existing mksysb image a mksysb resource must be defined, see “NIM setup guide document part NIM resources".
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"}]
Was this topic helpful?
Document Information
Modified date:
07 December 2023
UID
ibm17090897