Under Construction
Erzeugen einer lpp_source aus einem ISO-Installations-Image
In diesem Beispiel haben wir das Installations-Image AIX_v7.3_Install_7300-02-01-2346_flash_112023_LCD8265304.iso für AIX 7300-02-01-2346 von IBM heruntergeladen und in einem temporären Verzeichnis auf dem NIM-Master abgelegt:
aixnim # ls -l /export/nim/tmp/AIX_v7.3_Install_7300-02-01-2346_flash_112023_LCD8265304.iso
-rw-r--r-- 1 root system 8565850112 Jun 12 09:49 /export/nim/tmp/AIX_v7.3_Install_7300-02-01-2346_flash_112023_LCD8265304.iso
aixnim #
Das ISO-Image kann beim Erzeugen direkt über das Attribut source angegeben werden:
aixnim # nim -o define -t lpp_source -a server=master -a location=/export/nim/lpps/aix730201lpp -a source=/export/nim/tmp/AIX_v7.3_Install_7300-02-01-2346_flash_112023_LCD8265304.iso -a show_progress=yes -a nfs_vers=4 aix730201lpp
Preparing to copy install images (this will take several minutes)...
/export/nim/lpps/aix730201lpp/RPMS/ppc/expect-5.42.1-3.aix6.1.ppc.rpm
/export/nim/lpps/aix730201lpp/RPMS/ppc/tcl-8.4.7-3.aix6.1.ppc.rpm
/export/nim/lpps/aix730201lpp/RPMS/ppc/tk-8.4.7-3.aix6.1.ppc.rpm
/export/nim/lpps/aix730201lpp/installp/ppc/zlibNX.7.3.2.0.I
…
/export/nim/lpps/aix730201lpp/installp/ppc/ICU4C.rte.7.3.2.0.I
Now checking for missing install images...
All required install images have been found. This lpp_source is now ready.
aixnim #
Hinweis: Das ISO-Image wird automatisch über einen Loopback-Mount gemountet, das muss man nicht selber manuell durchführen!
Die Meldung am Ende informiert, das alle für eine Betriebssystem-Installation notwendigen Images enthalten sind. Das zeigt auch das simages Attribut:
aixnim # lsnim -l aix730201lpp
aix730201lpp:
class = resources
type = lpp_source
arch = power
Rstate = ready for use
prev_state = unavailable for use
nfs_vers = 4
location = /export/nim/lpps/aix730201lpp
simages = yes
alloc_count = 0
server = master
date_updated = Thu Jun 12 10:40:36 2025
aixnim #
Die erzeugte lpp_source ist sofort für eine Benutzung verfügbar (Rstate ist „ready for use“).