Define spot resource NIM Server
Este procedimiento muestra cómo crear un nuevo recurso NIM del tipo spot. Este tipo de recurso creado en NIM y mediante el usuario root, permite crear un "punto" de actualización AIX. El cual usara un lpp_source con los fileset necesario creado previamente.
1. Desde NIM Server acceder como root al siguiente menú:
# smitty nim
Perform NIM Administration Tasks
Manage Resources
Define a Resource
+--------------------------------------------------------------------------+
| Resource Type |
| |
| Move cursor to desired item and press Enter. Use arrow keys to scroll. |
| |
| spot = Shared Product Object Tree - equivalent to /usr file |
| root = parent directory for client / (root) directories |
| paging = parent directory for client paging files |
| dump = parent directory for client dump files |
| home = parent directory for client /home directories |
| shared_home = /home directory shared by clients |
| tmp = parent directory for client /tmp directories |
| exclude_files = files to be excluded when creating a mksysb or savev |
| lpp_source = source device for optional product images |
| installp_bundle = an installp bundle file |
| fix_bundle = fix (keyword) input file for the cust or fix_query o |
| .......... = .....................................................|
| |
| F1=Help F2=Refresh F3=Cancel |
| F8=Image F10=Exit Enter=Do |
| /=Find n=Find Next |
+--------------------------------------------------------------------------+
2. Definir los datos del recurso, teniendo en cuenta:
Resource Name: Nombre del spot, sin punto
Source of Install Images: lpp_source que contiene los fileset del AXI7.1 (press F4)
lpp_source define: Define lpp_source NIM Server
Location of Resource: Directorio donde se guardar el recurso NIM
Define a Resource
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Resource Name [spotinstallaix71]
* Resource Type spot
* Server of Resource [master] +
Source of Install Images [lpp_AIX71Base] +
* Location of Resource [/export/spot/] /
NFS Client Security Method [] +
NFS Version Access [] +
Expand file systems if space needed? yes +
Comments [Spot para instalacion de AIX 7.1]
installp Flags
PREVIEW only? (install operation will NOT occur) no +
COMMIT software updates? no +
SAVE replaced files? yes +
AUTOMATICALLY install requisite software? yes +
OVERWRITE same or newer versions? no +
VERIFY install and check file sizes? no +
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
3. Verificar el estado de la definición del recurso:
COMMAND STATUS
Command: running stdout: yes stderr: no
Before command completion, additional instructions may appear below.
Creating SPOT in "/export/spot/" on machine "master" from "lpp_AIX71Base" ...
Restoring files from BOS image. This may take several minutes ...
3.1 . Salida deseada:
COMMAND STATUS
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
[MORE...6368]
/usr/sbin/rsct/install/bin/ctposti
0513-071 The ctrmc Subsystem has been added.
done
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
rsct.core.utils 3.1.0.1 USR APPLY SUCCESS
rsct.core.utils 3.1.0.1 ROOT APPLY SUCCESS
rsct.core.sr 3.1.0.1 USR APPLY SUCCESS
rsct.core.sr 3.1.0.1 ROOT APPLY SUCCESS
rsct.core.sec 3.1.0.1 USR APPLY SUCCESS
rsct.core.sec 3.1.0.1 ROOT APPLY SUCCESS
rsct.core.rmc 3.1.0.1 USR APPLY SUCCESS
rsct.core.rmc 3.1.0.1 ROOT APPLY SUCCESS
rsct.core.hostrm 3.1.0.1 USR APPLY SUCCESS
rsct.core.hostrm 3.1.0.1 ROOT APPLY SUCCESS
Checking filesets and network boot images for SPOT "spotinstallaix71".
This may take several minutes ...
[BOTTOM]
F1=Help F2=Refresh F3=Cancel F6=Command
3.1 Listar el spot
# /export/spot> ls -ltr
total 0
drwxr-xr-x 2 root system 256 Dec 29 2008 lost+found
drwxr-xr-x 3 bin bin 256 Dec 29 2008 spotaix6
drwxr-xr-x 2 root system 256 Jul 02 2010 spotora2
drwxr-xr-x 3 bin bin 256 Oct 06 2010 vios_migration_spot
drwxr-xr-x 3 bin bin 256 Apr 01 15:01 spotAIX71
drwxr-xr-x 3 root system 256 May 25 18:30 spot_AIX6orig
drwxr-xr-x 3 bin bin 256 Jun 28 16:32 spotinstallaix71
# /export/spot>
TIPs:
Dependiendo del tamaño del lpp_source puede demorar entre 15 a 20 minutos.
Mediante linea de comandos:
# nim -o define -t spot -a source=lpp_AIX71Base -a server=master -a location=/export/spot spotinstallaix71
Una vez creado el recursos lpp_source y spot, podemos realizar una instalación/migración de por ejemplo un VIOS, tal como se muestra en: VIOS Migration Guide