Question & Answer
Question
This document will cover the procedure on configuring NIM on a PowerVS and migrating an AIX VM NIM Client from AIX 7.1 to AIX 7.2/7.3, as well as other operations.
This document explains the procedure on how to configure NIM on PowerVS and migrate a AIX VM client from AIX 7.1 to AIX 7.2/7.3, how to deploy a AIX 7.2/7.3 VM on the same subnet where AIX 7.1 is. This VM is deployed using the PowerVS stock image and configured as an AIX 7.2/7.3 NIM Master.
Note: For customer who want to migrate Virtual server from 7.1 to 7.2. it is recommended to configure a NIM Master on a 7.2 AIX LPAR so that we can access the /usr/sys/inst.images directory for 7.2 base fileset to create lpp_resource and spot at 7.2 level
Answer
Introduction
Note: For users who want to migrate a virtual server from 7.1 to 7.2. It is recommended to configure NIM Master on 7.2 machine so that we can access the /usr/sys/inst.images directory for 7.2 base fileset to create lpp_resource and spot at 7.2 level.
Requirements
For users planning to migrate clients from 7.1 to 7.2, as mentioned earlier deploy a 7.2 VM as a NIM Master.
![image-20230918110830-2](/support/pages/system/files/inline-images/image-20230918110830-2.png)
![image-20230918110941-3](/support/pages/system/files/inline-images/image-20230918110941-3.png)
![image-20230918111317-4](/support/pages/system/files/inline-images/image-20230918111317-4.png)
![image-20230918111324-5](/support/pages/system/files/inline-images/image-20230918111324-5.png)
Setting up your NIM environment
![image-20230918112117-1](/support/pages/system/files/inline-images/image-20230918112117-1.png)
![image-20230918112206-2](/support/pages/system/files/inline-images/image-20230918112206-2.png)
![image-20230918112215-3](/support/pages/system/files/inline-images/image-20230918112215-3.png)
![image-20230918112220-4](/support/pages/system/files/inline-images/image-20230918112220-4.png)
# smitty nimconfig
![image-20230918112423-5](/support/pages/system/files/inline-images/image-20230918112423-5.png)
![image-20230918112428-6](/support/pages/system/files/inline-images/image-20230918112428-6.png)
Once this is complete, we have a functioning NIM master.
Look at the following output and you’ll see information about your master
# lsnim -l master
![image-20230918112601-7](/support/pages/system/files/inline-images/image-20230918112601-7.png)
![image-20230918112607-8](/support/pages/system/files/inline-images/image-20230918112607-8.png)
![image-20230918112739-9](/support/pages/system/files/inline-images/image-20230918112739-9.png)
![image-20230918112807-10](/support/pages/system/files/inline-images/image-20230918112807-10.png)
#niminit –a name=<client hostnam> –a master=<master hostname> -a pif_name=enX–a connect=shell/nimsh
On the NIM Master:
#nim –o lslpp <client name>
![image-20230918113004-11](/support/pages/system/files/inline-images/image-20230918113004-11.png)
Defining NIM resources
Before we get into that, we need to specify where we will keep them. A good standard is to use “/export” for the filesystem nomenclature
![image-20230918113554-12](/support/pages/system/files/inline-images/image-20230918113554-12.png)
The lpp_source is just a folder that stores all the filesets that needs to be installed during an installation or update operation
![image-20230918113749-13](/support/pages/system/files/inline-images/image-20230918113749-13.png)
![image-20230918113825-14](/support/pages/system/files/inline-images/image-20230918113825-14.png)
![image-20230918113848-15](/support/pages/system/files/inline-images/image-20230918113848-15.png)
A SPOT provides a /usr filesystem as well as the network boot support for all clients.
Everything that a machine requires from a /usr filesystem, such as the AIX kernel, executable commands, libraries, and applications are included in the SPOT resource.
![image-20230918114031-16](/support/pages/system/files/inline-images/image-20230918114031-16.png)
Fill the Resource Name, pick the previously created lpp_source as a source of install image and provide the location where the SPOT needs to be defined.
![image-20230918114041-17](/support/pages/system/files/inline-images/image-20230918114041-17.png)
![image-20230918114145-18](/support/pages/system/files/inline-images/image-20230918114145-18.png)
NIM Client= nimclient1 (oslevel 7100-05-09-2148)
We are migrating the client (nimclient1) to 7.3 using resource using AIX-7300-01-01-2246_lpp and AIX-7300-01-01-2246_spot.
![image-20230918114437-19](/support/pages/system/files/inline-images/image-20230918114437-19.png)
Select the Client listed, here our client name is nimclient1
![image-20230918114505-20](/support/pages/system/files/inline-images/image-20230918114505-20.png)
![image-20230918114552-21](/support/pages/system/files/inline-images/image-20230918114552-21.png)
![image-20230918114637-22](/support/pages/system/files/inline-images/image-20230918114637-22.png)
![image-20230918114846-23](/support/pages/system/files/inline-images/image-20230918114846-23.png)
Accept License Agreement to Yes
Initiate Reboot and Installation to No
Again Accept License Agreement to Yes
![image-20230918115120-24](/support/pages/system/files/inline-images/image-20230918115120-24.png)
![image-20230918115151-25](/support/pages/system/files/inline-images/image-20230918115151-25.png)
![image-20230918115226-26](/support/pages/system/files/inline-images/image-20230918115226-26.png)
![image-20230918115309-27](/support/pages/system/files/inline-images/image-20230918115309-27.png)
![image-20230918115334-28](/support/pages/system/files/inline-images/image-20230918115334-28.png)
![image-20230918115415-29](/support/pages/system/files/inline-images/image-20230918115415-29.png)
![image-20230918115454-30](/support/pages/system/files/inline-images/image-20230918115454-30.png)
![image-20230918115501-31](/support/pages/system/files/inline-images/image-20230918115501-31.png)
![image-20230918115509-32](/support/pages/system/files/inline-images/image-20230918115509-32.png)
![image-20230918115549-33](/support/pages/system/files/inline-images/image-20230918115549-33.png)
![image-20230918115615-34](/support/pages/system/files/inline-images/image-20230918115615-34.png)
![image-20230918115703-35](/support/pages/system/files/inline-images/image-20230918115703-35.png)
![image-20230918115723-36](/support/pages/system/files/inline-images/image-20230918115723-36.png)
![image-20230918115740-37](/support/pages/system/files/inline-images/image-20230918115740-37.png)
![image-20230918115821-38](/support/pages/system/files/inline-images/image-20230918115821-38.png)
![image-20230918115841-39](/support/pages/system/files/inline-images/image-20230918115841-39.png)
![image-20230918115942-40](/support/pages/system/files/inline-images/image-20230918115942-40.png)
![image-20230918120014-41](/support/pages/system/files/inline-images/image-20230918120014-41.png)
![image-20230918120044-42](/support/pages/system/files/inline-images/image-20230918120044-42.png)
![image-20230918120140-43](/support/pages/system/files/inline-images/image-20230918120140-43.png)
Useful links:
Was this topic helpful?
Document Information
Modified date:
18 September 2023
UID
ibm17033798