OBJETIVO:
Describir los pasos necesario para realizar las tareas de Migración y Actualización de un VIOS (V1.5 a V2.1).
INTRODUCCIÓN:
Las tareas que se realizaron fueron diferentes y de hecho se pueden realizar en diferentes momentos. Sin embargo en este instructivo se reflejan ambas tareas de forma continua, puesto que fueron parte de la misma estrategia: Mejoras en los niveles de mantenimientos de VIOS.
Migración (Migrating your Virtual IO server to VIO 2.1):
Se realizó el pasaje de la versión 1.5.2.0 a la versión 2.1.0.0 de VIO Server.
Actualización (Update VIOS 2.1.0.0 to VIOS 2.2.0.10 Fixpack 24):
Luego de la migración (cambio de versión del VIOS) se aplicó el fixpack 24. El resultado a nivel de Sistema y FP es: 2.2.0.10-FP-24, mientras que a nivel de SO es: AIX 6.1.0.0
Recursos Utilizados:
Los recursos utilizados para las tareas fueron:
Documentación:
- Migrating your Virtual IO server to VIO 2.1
- Documentación oficial del sitio de IBM (FixCentral)
Software:
- VIOS 2.1.0.0 Migration DVD Virtual I/O Server 1.0.0.0
- VIOS 2.1.0.0 Migration DVD Readme
- Fixpack VIOS_2.2.0.10-FP-24
Repositorios:
- NIM Server
Nota: La motivación esencial de realizar una documentación propia para esta tarea se origina a raíz de que la documentación “oficial” presentaba muchas omisiones a pasos que para nosotros (percepción personal del grupo) eran de real importancia.
Migración VIO Server 2.1
Es de vital importancia destacar que existen muchos pasos/tareas previas al comienzo de la migración. Por el objetivo expuesto en este procedimiento, queda fuera de alcance mostrar en detalle (no así detallar un punteo de los mismos) de los pasos anteriores a la migración (en si gran mayoría fueron opcionales o bien tenían otra forma de realizarlos, de hecho optamos por las más convenientes).
TAREAS realizadas a alto nivel pre-migración (no conllevan un orden específico):
Backup de VIOS.
Hacer VIOS Cliente de NIM Server.
Backup de archivos de configuraciones.
Descargas del Software necesario (FixCentral)
Investigación Operativa (Chequeo de compatibilidades de Software, etc.).
Pruebas de contingencia (Ambiente de DUAL VIOS).
Es de destacar que de algunas de estas tareas se realizó documentación oportunamente.
Pasos de la Migración
Duración aproximada del procedimiento completo: (comenzamos 9:15)
1.- Preparar el NIM para la instalación:
Now, all the required NIM resources are ready to use, we can process to installation itself.
- Using smitty :
# smitty nim_bosinst
> Select the client we previously defined. (Our VIOS)
> Select Installation Type: “rte - Install from installation images”
> Select the lpp_source we previously created [ vios_migration_lpp ]
> Select the spot we previously created. [ vios_migration_spot ]
> Set “ACCEPT new license agreements?” to yes
> Set “Initiate reboot and installation now?” to no
2.- Bajar el VIO a migrarse, modificar el profile para que levante vía SMS.
3.- Activamos la partición con el profile modificado y abriendo la consola.
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Main Menu
1. Select Language
2. Setup Remote IPL (Initial Program Load)
3. Change SCSI Settings
4. Select Console
5. Select Boot Options
-------------------------------------------------------------------------------
Navigation Keys:
X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
Open Completed.
2
PowerPC Firmware
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
NIC Adapters
Device Location Code Hardware
Address
1. Interpartition Logical LAN U9117.MMA.10B7E32-V6-C21-T1 faf87ef11215
2. Interpartition Logical LAN U9117.MMA.10B7E32-V6-C22-T1 faf87ef11216
3. Interpartition Logical LAN U9117.MMA.10B7E32-V6-C23-T1 faf87ef11217
4. Interpartition Logical LAN U9117.MMA.10B7E32-V6-C24-T1 faf87ef11218
5. Interpartition Logical LAN U9117.MMA.10B7E32-V6-C25-T1 faf87ef11219
6. Interpartition Logical LAN U9117.MMA.10B7E32-V6-C26-T1 faf87ef1121a
7. Interpartition Logical LAN U9117.MMA.10B7E32-V6-C27-T1 faf87ef1121b
8. Interpartition Logical LAN U9117.MMA.10B7E32-V6-C28-T1 faf87ef1121c
9. PORT - 6 IBM Host Ethernet Ada U789D.001.DQD30AW-P1-C10-T4 00215e32cea5
10. Port 1 - IBM 4 PORT PCIe 10/10 U789D.001.DQD30AW-P1-C1-T1 00145ee7694c
11. Port 2 - IBM 4 PORT PCIe 10/10 U789D.001.DQD30AW-P1-C1-T2 00145ee7694d
12. Port 3 - IBM 4 PORT PCIe 10/10 U789D.001.DQD30AW-P1-C1-T3 00145ee7694e
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu N = Next page of list
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
Seleccionamos alguna interfase en la misma red que el NIMSERVER, en este caso la IVE
9
PowerPC Firmware
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Select Internet Protocol Version.
1. IPv4 - Address Format 123.231.111.222
2. IPv6 - Address Format 1234:5678:90ab:cdef:1234:5678:90ab:cdef
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
1
PowerPC Firmware
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Select Network Service.
PORT - 6 IBM Host Ethernet Adapter: U789D.001.DQD30AW-P1-C10-T4
1. BOOTP
2. ISCSI
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
1
PowerPC Firmware
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Network Parameters
PORT - 6 IBM Host Ethernet Adapter: U789D.001.DQD30AW-P1-C10-T4
1. IP Parameters
2. Adapter Configuration
3. Ping Test
4. Advanced Setup: BOOTP
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
1
PowerPC Firmware
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
IP Parameters
PORT - 6 IBM Host Ethernet Adapter: U789D.001.DQD30AW-P1-C10-T4
1. Client IP Address [000.000.000.000]
2. Server IP Address [000.000.000.000]
3. Gateway IP Address [000.000.000.000]
4. Subnet Mask [000.000.000.000]
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
Los modificamos todos de acuerdo a lo que estamos haciendo (Ejemplo para vioserver1).
PowerPC Firmware
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
IP Parameters
PORT - 6 IBM Host Ethernet Adapter: U789D.001.DQD30AW-P1-C10-T4
1. Client IP Address [10.1.4.125]
2. Server IP Address [10.1.4.254]
3. Gateway IP Address [10.1.4.11]
4. Subnet Mask [255.255.255.0]
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
ESC para menú anterior y hacemos un Ping Test; si no funciona, corregimos.
Check that “Advanced Setup” is set to “BOOTP”
If all the above works fine, go back to the root sms menu, and select “Select Boot Options”.
ESC ESC ESC ESC; 5
Choose “Select Install/Boot Device”
PowerPC Firmware
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Multiboot
1. Select Install/Boot Device
2. Configure Boot Device Order
3. Multiboot Startup <OFF>
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
1
Select “Network”
PowerPC Firmware
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Select Device Type
1. Diskette
2. Tape
3. CD/DVD
4. IDE
5. Hard Drive
6. Network
7. List all Devices
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
6
PowerPC Firmware
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Select Network Service.
Port 4 - IBM 4 PORT PCIe 10/100/1000 Base-TX Adapter: U789D.001.DQD30AW-P1-C1-T4
1. BOOTP
2. ISCSI
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
1
Choose the adapter we configured above.
PowerPC Firmware
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Select Device
7. - Interpartition Logical LAN
( loc=U9117.MMA.10B7E32-V6-C27-T1 )
8. - Interpartition Logical LAN
( loc=U9117.MMA.10B7E32-V6-C28-T1 )
9. - PORT - 6 IBM Host Ethernet Adapter
( loc=U789D.001.DQD30AW-P1-C10-T4 )
10. - Port 1 - IBM 4 PORT PCIe 10/100/1000 Base-TX Adapter
( loc=U789D.001.DQD30AW-P1-C1-T1 )
11. - Port 2 - IBM 4 PORT PCIe 10/100/1000 Base-TX Adapter
( loc=U789D.001.DQD30AW-P1-C1-T2 )
12. - Port 3 - IBM 4 PORT PCIe 10/100/1000 Base-TX Adapter
( loc=U789D.001.DQD30AW-P1-C1-T3 )
13. - Port 4 - IBM 4 PORT PCIe 10/100/1000 Base-TX Adapter
( loc=U789D.001.DQD30AW-P1-C1-T4 )
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu P = Previous page of list
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
9
Select “Normal Mode Boot”
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Select Task
PORT - 6 IBM Host Ethernet Adapter
( loc=U789D.001.DQD30AW-P1-C10-T4 )
1. Information
2. Normal Mode Boot
3. Service Mode Boot
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
2
_________________________________________________________________________________________________________________________________________________________________________
And validate all the above by selecting “Yes”.
PowerPC Firmware
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Are you sure you want to exit System Management Services?
1. Yes
2. No
-------------------------------------------------------------------------------
Navigation Keys:
X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
1
(Arranca el booteo… demora 5 minutos aproximadamente para pedirnos la consola)
boot device: /lhea@23c00600/ethernet@23e00500:speed=auto,duplex=auto,10.1.4.2542
-------------------------------------------------------------------------------
******* Please define the System Console. *******
Type a 1 and press Enter to use this terminal as the
system console.
Pour definir ce terminal comme console systeme, appuyez
sur 1 puis sur Entree.
Taste 1 und anschliessend die Eingabetaste druecken, um
diese Datenstation als Systemkonsole zu verwenden.
Premere il tasto 1 ed Invio per usare questo terminal
come console.
Escriba 1 y pulse Intro para utilizar esta terminal como
consola del sistema.
Escriviu 1 1 i premeu Intro per utilitzar aquest
terminal com a consola del sistema.
Digite um 1 e pressione Enter para utilizar este terminal
como console do sistema.
1 (damos 1 + enter, no se ve lo que se tipea).
Empieza el "relojito" (/), demora aproximadamente 10 minutos y pide el lenguaje de la instalación.
>>> 1 Type 1 and press Enter to have English during install.
88 Help ?
>>> Choice [1]:
1
Welcome to Base Operating System
Installation and Maintenance
Type the number of your choice and press Enter. Choice is indicated by >>>.
>>> 1 Start Install Now with Default Settings
2 Change/Show Installation Settings and Install
3 Start Maintenance Mode for System Recovery
4 Configure Network Disks (iSCSI)
5 Select Storage Adapters
88 Help ?
99 Previous Menu
>>> Choice [1]:
Se puede chequear con 2 el disco donde se va a instalar, nos dio el hdisk27 con 140013 MB
Verificar que el level sea la versión de AIX a actualizar; 5.3 en el ejemplo de este documento.
Se puede dar 1 en este panel o después de confirmar el disco arranca la instalación.
Migration Confirmation
Either type 0 and press Enter to continue the installation, or type the
number of your choice and press Enter.
1 List the saved Base System configuration files which will not be
merged into the system. These files are saved in /tmp/bos.
2 List the filesets which will be removed and not replaced.
3 List directories which will have all current contents removed.
4 Reboot without migrating.
Acceptance of license agreements is required before using system.
You will be prompted to accept after the system reboots.
>>> 0 Continue with the migration.
88 Help ?
+---------------------------------------------------------------------------
WARNING: Selected files, directories, and filesets (installable options)
from the Base System will be removed. Choose 2 or 3 for more information.
>>> Choice[0]:
Podemos confirmar lo que queramos, luego continuamos con 0.
(Arranca la migración, demora una hora y cuarto aproximadamente)
Ejemplo de pantallas…
Installing Base Operating System
Please wait...
Approximate Elapsed time
% tasks complete (in minutes)
7 4 Restoring base operating system.
Puede dar un failure, no asustarse, está documentado.
Cuando termina se rebootea y aparece:
PowerPC Firmware
Version EM350_049
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Main Menu
1. Select Language
2. Setup Remote IPL (Initial Program Load)
3. Change SCSI Settings
4. Select Console
5. Select Boot Options
-------------------------------------------------------------------------------
Navigation Keys:
X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
a. Prepare the NIM master for installation.
Inactivamos la partición
Modificamos el profile para un levante normal
Activamos nuevamente con la versión actualizada.
Aplicación del Fixpack 24
Se movieron todos los archivos del fp24 en el NIMSERVER al directorio de export del viosserver1.
Applying updates from a remotely mounted file system
If the remote file system is to be mounted read-only, follow one of these steps.
The current level of the VIOS must be 2.1.0 or higher
Log in to the VIOS as the user padmin.
If you use one or more File Backed Optical Media Repositories, you need to unload media images before you apply the Fix Pack. See details here..
Mount the remote directory onto the Virtual I/O Server.
$ mount remote_machine_name:directory /mnt
Para montar los paquetes del FixPack 24 vía NFS en el VIOS a actualizar.
En NIM server:
Mover el Fixpack al directorio /export/respaldos/fixpack24
Exportar vía NFS apuntando a la IP del VIO a actualizar:
# mknfsexp –d /export/respaldos/fixpack24 –B \
–v '3' -S 'sys,none' -t 'rw' \
-h '10.1.4.125' -c '10.1.4.125' -r '10.1.4.125'
En VIO Server:
Crear el directorio de punto de montaje, por ejemplo viofp24 bajo /mnt:
# mkdir /mnt/viofp24
Montar el recurso NFS compartido:
# mount nimserver:/export/respaldos/fixpack24 /mnt/viofp24
Commit previous updates, by running the updateios command
$ updateios -commit
Apply the update by running the updateios command
$ updateios -accept -install -dev /mnt
$ updateios –accept –install –dev /mnt/viofp24
*NOTE The deferred filesets mentioned above will be processed after the
installp update and its requisites are successfully installed.
RESOURCES
---------
Estimated system resource requirements for filesets being installed:
(All sizes are in 512-byte blocks)
Filesystem Needed Space Free Space
/usr 33384 673120
/tmp 456 5237704
----- -------- ------
TOTAL: 33840 5910824
NOTE: "Needed Space" values are calculated from data available prior
to installation. These are the estimated resources required for the
entire operation. Further resource checks will be made during
installation to verify that these initial estimates are sufficient.
******************************************************************************
End of installp PREVIEW. No apply operation has actually occurred.
******************************************************************************
Continue the installation [y|n]?
y
(y demora otro rato largo: aproximadamente 1h 40 minutos o más)
If you are upgrading to Fix Pack 24 from VIOS level 2.1.3, run the following command (skip to step 7 if you are upgrading from a prior level of the VIOS):
$ swrole - PAdmin
To load all changes, reboot the VIOS as user padmin.
$ shutdown -restart
After the VIOS has rebooted, you are required to accept the license.
$ license -accept
Verify that the update was successful by checking the results of the updateios command and by running the isolevel command, which should indicate that the ioslevel is now 2.2.0.10-FP-24.
$ioslevel
Pasos Complementarios
Corregimos el inconveniente detectado con el protocolo SSH:
Editar el fichero /etc/ssh/sshd_config y comentar la línea
AddressFamily inet6
Para que quede
#AddressFamily inet6
Salvar el fichero con la nueva configuración.
Enviar la señal HUP al proceso del dæmon ssh:
#kill –HUP pid
Verificamos estados de los discos y Comprobamos el mapeo a los Clientes de los VIOS
#lspath
Deberían estar todos los discos en estado Enable
#lsmap –all | more
SVSA Physloc Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0 U9117.MMA.10B7E32-V6-C11 0x00000001
VTD NO VIRTUAL TARGET DEVICE FOUND
SVSA Physloc Client Partition ID
--------------- -------------------------------------------- ------------------
vhost1 U9117.MMA.10B7E32-V6-C12 0x00000002
VTD vhdisk5
Status Available
LUN 0x8100000000000000
Backing device hdisk5
Physloc U5796.001.15112A0-P1-C1-T1-W203500A0B842359C-L600000000000
Mirrored false
VTD vhdisk6
Status Available
LUN 0x8200000000000000
Backing device hdisk6
Physloc U5796.001.15112A0-P1-C1-T1-W203500A0B842359C-L800000000000
…………………
Los mapeos de discos deben coincidir con los extraídos previo la maniobra de migración.
Reseteamos el VIOS en el NIM
Desde NIM Server (esto se realiza con el fin de estar seguros que NIM no queda con recursos “enganchados” con la LPAR, podría originar problemas con otras tareas, eg los mksysb).
# smitty nim
Perform NIM Admin Tasks >
Manage Machines >
Perform Operation on Machines >
viosserfver1
& reset.
Deallocate All Resources & Force en ‘yes’.
Estados de discos y caminos y en las LPAR Clientes del VIOS
Si bien en esquemas de Dual VIOS (Dos VIOS contingentes) se puede maniobrar más tranquilos, debemos tomar algunos recaudos.
Luego de la Actualización sería una buena práctica verificar el estado de los discos (comparando con la información relevada pre-migración):
(root@sapnodo1e) /> lspv
hdisk0 00cb7e1227f40e67 rootvg active
hdisk1 00cb7e1227f40448 rootvg active
hdisk3 00cb7e12e7eb0934 vgaudit active
En cuanto al acceso a los discos es probable, y se dio en la práctica, que cuando se devuelve el servicio del VIOS en cuestión, queda con una “pata" (vscsi0) en estado inaccesible (Missing).
(root@viosserver1) /> lspath | grep hdisk0
Missing hdisk0 vscsi0
Enabled hdisk0 vscsi0
Enabled hdisk0 vscsi1
(root@viosserver1) /> lspath | grep hdisk1
Missing hdisk1 vscsi0
Enabled hdisk1 vscsi0
Enabled hdisk1 vscsi1
(root@viosserver1) /> lspath | grep hdisk3
Missing hdisk3 vscsi0
Enabled hdisk3 vscsi0
Enabled hdisk3 vscsi1
La idea es que cuando vuelve el servicio del VIOS (Fin de Migración y Actualización) el adaptador virtual que atendía ese VIOS quede en estado Enabled, por el contrario se ve otro (un nuevo) adaptador virtual y que estaba Missing durante la maniobra, queda con esta estado. Por esto se debería eliminar los path (caminos) perdidos.
#root@sapnodo1e) /> smitty mpio
MPIO Management
Move cursor to desired item and press Enter.
MPIO Path Management
MPIO Device Management
MPIO Parent Management
F1=Help F2=Refresh F3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
MPIO Path Management
Move cursor to desired item and press Enter.
List/Export Paths
Enable Paths
Configure Paths
Add a Path
Change/Show Path Characteristics
Disable Paths
Remove Paths
F1=Help F2=Refresh F3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
Remove a Path
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Path to Remove []
KEEP definition in database no
+-------------------------------------------------------------+
| Path to Remove |
| |
| Move cursor to desired item and press Enter. |
| |
| Missing hdisk0 0 vscsi0 810000000000 |
| Missing hdisk0 1 vscsi1 810000000000 |
| Enabled hdisk0 2 vscsi0 820000000000 |
| Enabled hdisk0 3 vscsi1 820000000000 |
| Missing hdisk1 0 vscsi0 820000000000 |
| Missing hdisk1 1 vscsi1 820000000000 |
| Enabled hdisk1 2 vscsi0 810000000000 |
| Enabled hdisk1 3 vscsi1 810000000000 |
| Missing hdisk3 0 vscsi0 840000000000 |
| Missing hdisk3 1 vscsi1 840000000000 |
| Enabled hdisk3 2 vscsi0 830000000000 |
| Enabled hdisk3 3 vscsi1 830000000000 |
| |
| F1=Help F2=Refresh F3=Cancel |
F1=Help F2| F8=Image F10=Exit Enter=Do | F4=List
F5=Reset F6| /=Find n=Find Next | F8=Image
F9=Shell F1+-------------------------------------------------------------+
Ejecutar este procedimiento hasta que no se encuentren más path en estado Missing.
Se puede volver a listar el estado de los caminos en cual tendría que tener una salida limpia:
(root@sapnodo1e) /> lspath
Enabled hdisk3 vscsi0
Enabled hdisk1 vscsi0
Enabled hdisk0 vscsi0
Enabled hdisk3 vscsi1
Enabled hdisk1 vscsi1
Enabled hdisk0 vscsi1
(root@sapnodo1e) />
Otro caso que se puede presentara es el de encontrar cominos en estado Failed. En este caso se puede utilizar el comando chpath para intentar cambiar el estado del camino de acceso a los discos.
- Obtener el estado de los caminos con el comando lspath
- Divisar los caminos en estado Failed: - Identificar disco (hdisk9 – hdisk10 - ……)
- Identificar adaptador (vscsi0)
(ediaz@viosserver1) /home/ediaz> lspath | grep hdisk9
Failed hdisk9 vscsi0
Enabled hdisk9 vscsi1
(ediaz@viosserver1) /home/xediaz>
- Con usuario root y con los datos anteriores en mano, ejecutamos:
(root@viosserver1) /> chpath -l hdisk9 -p vscsi0 -s enabled
Paths Changed
(root@viosserver1) /> lspath | grep hdisk9
Enabled hdisk9 vscsi0
Enabled hdisk9 vscsi1
(root@viosserver1) />
Se puede repetir este procedimiento para la cantidad de disco que se encuentren en iguales condiciones.
Última modificación:
Monday, October 26, 2010. 09:36:00
Esteban Díaz