En ocasiones necesitamos incluir alguna software adicional en a un lpp_source ya creado. Este procedimiento muestra esta tarea tomando como ejemplo un lpp_source del Expansion Pack que viene con AIX, al cual se le quiere agregar un paquete con java6.
1. Desde NIM y con el usuario root accedemos al siguiente menú:
#smitty nim
Perform NIM Administration Tasks
Manage Resources
Perform Operations on Resources
+--------------------------------------------------------------------------+
| Resource Name |
| |
| Move cursor to desired item and press Enter. Use arrow keys to scroll. |
| |
| java6_64_skd resources installp_b |
| lpp_6100-04-00-0943_and_6100-04-09-1112 resources lpp_source |
| lpp_6100-04-00-and-06-1034 resources lpp_source |
| lpp_AIX6100TL06SP04 resources lpp_source |
| lpp_AIX71Base resources lpp_source |
| lpp_AIX71Tl0Sp2 resources lpp_source |
| lpp_aix6100-06-00-1036_NUEVO resources lpp_source |
| lpp_aix6100-tl06-sp04 resources lpp_source |
| lpp_aix61_tl06_sp00 resources lpp_source |
| lpp_aix6orig resources lpp_source |
| lpp_exppack resources lpp_source |
| |
| ............. ......... .......... |
| |
| F1=Help F2=Refresh F3=Cancel |
| F8=Image F10=Exit Enter=Do |
| /=Find n=Find Next |
+--------------------------------------------------------------------------+
2. Luego de seleccionar el recurso sobre el cual queremos trabajar, seleccionamos el tipo de operación:
+--------------------------------------------------------------------------+
| Network Install Operation to Perform |
| |
| Move cursor to desired item and press Enter. |
| |
| showres = show contents of a resource |
| lslpp = list LPP information about an object |
| check = check the status of a NIM object |
| lppmgr = eliminate unnecessary software images in an lpp_source |
| update = add or remove software to or from an lpp_source |
| |
| F1=Help F2=Refresh F3=Cancel |
| F8=Image F10=Exit Enter=Do |
| /=Find n=Find Next |
+--------------------------------------------------------------------------+
3. Seleccionamos la función add (de agregado de software):
Update an lpp_source
Type or select a value for the entry field.
Press Enter AFTER making all desired changes.
[Entry Fields]
Add or Remove Software add +
4. Seleccionamos el origen del paquete a agregar:
Select Software Source
Type or select a value for the entry field.
Press Enter AFTER making all desired changes.
[Entry Fields]
Media, directory or lpp_source to copy images from [F4/eg: cd0] +
+--------------------------------------------------------------------------+
| Media, directory or lpp_source to copy images from |
| |
| Move cursor to desired item and press Enter. |
| |
| cd0 Available 01-08-00 SATA DVD-ROM Drive |
| lpp_6100-04-00-0943_and_6100-04-09-1112 |
| lpp_6100-04-00-and-06-1034 |
| lpp_AIX6100TL06SP04 |
| lpp_AIX71Base |
| ............. |
| |
| F1=Help F2=Refresh F3=Cancel |
| F8=Image F10=Exit Enter=Do |
| /=Find n=Find |
+--------------------------------------------------------------------------+
5. Luego seleccionamos el paquete dentro de la lista de paquetes que en este caso esta en la unidad óptica:
Add Software to an lpp_source
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
TARGET lpp_source lpp_exppack
SOURCE of Software to Add cd0
SOFTWARE Packages to Add [F4] +
-OR-
INSTALLP BUNDLE containing packages to add [] +
gencopy Flags
DIRECTORY for temporary storage during copying [/tmp]
EXTEND filesystems if space needed? yes +
Process multiple volumes? yes +
Add Software to an lpp_source
+--------------------------------------------------------------------------+
| SOFTWARE Packages to Add |
| |
| Move cursor to desired item and press F7. |
| ONE OR MORE items can be selected. |
| Press Enter AFTER making all selections. |
| |
| [TOP] |
| # Package Name Level I/U |
| #--------------------------------------------------------------- |
| DirectorCommonAgent 6.2.0.1 I |
| DirectorPlatformAgent 6.2.0.1 I |
| > Java6_64.sdk 6.0.0.215 I |
| Java6_64.source 6.0.0.215 I |
| OpenGL.OpenGL_X.adt 7.1.0.0 I |
| OpenGL.OpenGL_X.dev 7.1.0.0 I |
| OpenGL.OpenGL_X.rte 7.1.0.0 I |
| OpenGL.OpenGL_X.tools 7.1.0.0 I |
| PEX_PHIGS.dev 7.1.0.0 I |
| PEX_PHIGS.graPHIGS.adt 7.1.0.0 I |
| PEX_PHIGS.graPHIGS.fnt 7.1.0.0 I |
| PEX_PHIGS.graPHIGS.rte 7.1.0.0 I |
| PEX_PHIGS.msg.CA_ES 7.1.0.0 I |
| PEX_PHIGS.msg.CS_CZ 7.1.0.0 I |
| PEX_PHIGS.msg.DE_DE 7.1.0.0 I |
| PEX_PHIGS.msg.EN_US 7.1.0.0 I |
| PEX_PHIGS.msg.ES_ES 7.1.0.0 I |
| [MORE...1102] |
| |
| F1=Help F2=Refresh F3=Cancel |
| F7=Select F8=Image F10=Exit |
| Enter=Do /=Find n=Find Next |
+--------------------------------------------------------------------------+
Add Software to an lpp_source
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
TARGET lpp_source lpp_exppack
SOURCE of Software to Add cd0
SOFTWARE Packages to Add [Java6_64.sdk 6.0.0.215 I] +
-OR-
INSTALLP BUNDLE containing packages to add [] +
gencopy Flags
DIRECTORY for temporary storage during copying [/tmp]
EXTEND filesystems if space needed? yes +
Process multiple volumes? yes +
6. Por último damos ENTER y para agregar el software seleccionado.
Nota: Existe la forma de listar el contenido de un lpp_source, lo cual nos permite asegurarnos que el paquete se haya incluido correctamente. Este tema sera tratado en otra sub sección del aparatado NIM.
TIPS:
Commando:
#nim -o update -a source=/tmp/OrigenDeDatos -a packages=printers.ibmNetPrinter.attach 6.1.6.0 -a gencopy_flags=-bqS -X NombreDelRecursoLpp