Hola,
Vamos a configurar el multipathing en un sistema solaris 10. Con esto conseguiremos Alta disponibilidad en el caso de tener mas de un camino hacia nuestra SAN.
Editamos el siguiente archivo y cambiamos unicamente la siguiente linea:
bash-3.00# vi /kernel/drv/fp.conf
#mpxio-disable=”yes”;
mpxio-disable=”no”;
Es posible que sea necesario especificar el tipo de almacenamiento que tenemos en el siguiente archivo:
bash-3.00# vi /kernel/drv/scsi_vhci.conf
Una vez hemos hecho las modificaciones reiniciamos la maquina con un reconfigure:
bash-3.00# reboot — -r
Al iniciar podemos ver los diferentes discos y comprobamos que efectivamente estamos usando la alta disponibilidad.
bash-3.00# luxadm probe
No Network Array enclosures found in /dev/es
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s):
Node WWN:200400a0b84711d8 Device Type:Disk device
Logical Path:/dev/rdsk/c4t600A0B8000474BFA00003F2D4DD9BF3Dd0s2
Node WWN:200400a0b84711d8 Device Type:Disk device
Logical Path:/dev/rdsk/c4t600A0B8000474BFA0000119348B377E6d0s2
Node WWN:200400a0b84711d8 Device Type:Disk device
Logical Path:/dev/rdsk/c4t600A0B80004710BC00002D1A4D465007d0s2
Node WWN:200400a0b84711d8 Device Type:Disk device
Logical Path:/dev/rdsk/c4t600A0B80004710BC00002F664DE83C08d0s2
Node WWN:200400a0b84711d8 Device Type:Disk device
Logical Path:/dev/rdsk/c4t600A0B80004710BC0000167B4B95B76Bd0s2
Node WWN:200400a0b84711d8 Device Type:Disk device
Logical Path:/dev/rdsk/c4t600A0B80004710BC0000305E4E71669Bd0s2
Node WWN:20000014c38a2ea1 Device Type:Disk device
Logical Path:/dev/rdsk/c4t20000014C38A2EA1d0s2
Node WWN:20000014c38a2843 Device Type:Disk device
Logical Path:/dev/rdsk/c4t20000014C38A2843d0s2
Node WWN:200400a0b84711d8 Device Type:Disk device
Logical Path:/dev/rdsk/c4t600A0B8000474BFA00003F2D4DD9BF3Dd0s2
Node WWN:200400a0b84711d8 Device Type:Disk device
Logical Path:/dev/rdsk/c4t600A0B8000474BFA0000119348B377E6d0s2
Node WWN:200400a0b84711d8 Device Type:Disk device
Logical Path:/dev/rdsk/c4t600A0B80004710BC00002D1A4D465007d0s2
Node WWN:200400a0b84711d8 Device Type:Disk device
Logical Path:/dev/rdsk/c4t600A0B80004710BC00002F664DE83C08d0s2
Node WWN:200400a0b84711d8 Device Type:Disk device
Logical Path:/dev/rdsk/c4t600A0B80004710BC0000167B4B95B76Bd0s2
Node WWN:200400a0b84711d8 Device Type:Disk device
Logical Path:/dev/rdsk/c4t600A0B80004710BC0000305E4E71669Bd0s2
Node WWN:20000014c38a2ea1 Device Type:Disk device
Logical Path:/dev/rdsk/c4t20000014C38A2EA1d0s2
Node WWN:20000014c38a2843 Device Type:Disk device
Logical Path:/dev/rdsk/c4t20000014C38A2843d0s2
bash-3.00# luxadm display /dev/rdsk/c4t600A0B8000474BFA00003F2D4DD9BF3Dd0s2
/dev/rdsk/c4t600A0B8000474BFA00003F2D4DD9BF3Dd0s2
/devices/scsi_vhci/ssd@g600a0b8000474bfa00003f2d4dd9bf3d:c,raw
Controller /devices/pci@8,600000/SUNW,qlc@1,1/fp@0,0
Device Address 202500a0b84711d8,2
Host controller port WWN 210100e08ba6661e
Class secondary
State STANDBY
Controller /devices/pci@8,600000/SUNW,qlc@1/fp@0,0
Device Address 201400a0b84711d8,2
Host controller port WWN 210000e08b86661e
Class primary
State ONLINE
/dev/rdsk/c4t600A0B8000474BFA00003F2D4DD9BF3Dd0s2
/devices/scsi_vhci/ssd@g600a0b8000474bfa00003f2d4dd9bf3d:c,raw
Controller /devices/pci@8,600000/SUNW,qlc@1,1/fp@0,0
Device Address 202500a0b84711d8,2
Host controller port WWN 210100e08ba6661e
Class secondary
State STANDBY
Controller /devices/pci@8,600000/SUNW,qlc@1/fp@0,0
Device Address 201400a0b84711d8,2
Host controller port WWN 210000e08b86661e
Class primary
State ONLINE
Como podemos ver un path esta ONLINE y el otro STANDBY.
Un saludo,
No hay comentarios:
Publicar un comentario