IBM Support

How to create a spot and lpp_source from an Iso image.

How To


Summary

This technote discusses how to create a spot and lpp_source from an ISO image.

Environment

NIM Master running:
7200-04-01-1939
ISO images used for this technote:
AIX_v7.2_Base_Install_DVD_1_of_2_TL_7200-01-02_042017.iso
AIX_v7.2_Base_Install_DVD_2_of_2_TL_7200-01-02_042017.iso

Steps

Here are the steps to create an lpp_source using an iso image from the ESS website.
The ISO images are located in "/usr/sys/inst.images/".
I'll create the lpp_source under "/export/lpp_source/base".
Here is the command we ran:
nim -o define -t lpp_source -a server=master -a location=/export/lpp_source/base/lpp7200-01-02_new -a source=/usr/sys/inst.images/AIX_v7.2_Base_Install_DVD_1_of_2_TL_7200-01-02_042017.iso -a packages=all lpp7200-01-02_new
Output from the command:
Preparing to copy install images (this will take several minutes)...
/export/lpp_source/base/lpp7200-01-02_new/RPMS/ppc/expect-5.42.1-3.aix6.1.ppc.rpm
/export/lpp_source/base/lpp7200-01-02_new/RPMS/ppc/tcl-8.4.7-3.aix6.1.ppc.rpm
/export/lpp_source/base/lpp7200-01-02_new/RPMS/ppc/tk-8.4.7-3.aix6.1.ppc.rpm
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/xlsmp.rte.4.1.2.0.I
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/xlsmp.aix61.rte.4.1.2.0.I
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/xlC.sup.aix50.rte.9.0.0.1.I
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/xlC.rte.13.1.3.1.I
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/xlC.msg.en_US.cpp.9.0.0.0.I
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/xlC.cpp.9.0.0.0.I
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/xlC.aix61.13.1.3.1.I
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/wio.vscsi.7.2.0.0.I
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/wio.fcp.7.2.0.0.I
Later on...
 
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/Java7_64.jre.7.0.0.601.I
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/ICU4C.rte.7.2.1.0.I
Now checking for missing install images...
All required install images have been found. This lpp_source is now ready.
*Note by default NIM not all file sets are copied in to the LPP, by default only the essential base system images, which does not include things like additional languages, graphical interface, etc. are copied in to the LPP. 
If you want to add all file sets from the ISO image you should add "-a packages=all" attribute like in the bellow example. 
If you want to add the 2nd ISO image to the lpp_source, you run the following:
nim -o update -a packages=all -a source=/usr/sys/inst.images /AIX_v7.2_Base_Install_DVD_2_of_2_TL_7200-01-02_042017.iso lpp7200-01-02_new
Output from that command:
/export/lpp_source/base/lpp7200-01-02_new/ismp/ppc/db2_10_05_00_07
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/xlsmp.msg.zh_CN.rte.4.1.2.0.I
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/xlsmp.msg.Zh_CN.rte.4.1.2.0.I
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/xlsmp.msg.ZH_CN.rte.4.1.2.0.I
/export/lpp_source/base/lpp7200-01-02_new/installp/ppc/xlfrte.msg.ja_JP.15.1.2.0.I
The command goes back to prompt once it completes.
To create a SPOT from an iso image, you run the following:
nim -o define -t spot -a server=master -a location=/export/spot -a source=lpp7200-01-02_new S_72_TL1_SP2_new
Output from that command:
 Creating SPOT in "/export/spot" on machine "master" from "/usr/sys/inst.images/AIX_v7.2_Base_Install_DVD_1_of_2_TL_7200-01-02_042017.iso" ...
 Restoring files from BOS image.  This may take several minutes ...
later on...
devices.chrp.base.ServiceRM 2.5.1.1         USR         APPLY       SUCCESS
devices.chrp.base.ServiceRM 2.5.1.1         ROOT        APPLY       SUCCESS
installp:  * * * A T T E N T I O N ! ! !
        Software changes processed during this session require
        any diskless/dataless clients to which this SPOT is
        currently allocated to be rebooted.
 Checking filesets and network boot images for SPOT "S_72_TL1_SP2_new".
 This may take several minutes ...
Note: You can only create a spot from an lpp_source using Base Media.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

Modified date:
14 November 2024

UID

ibm16485567