Servicios

Web hosting
Ver »
Páginas Web
Ver »
Soporte UNIX
Ver »
UNIX TIPS
Ver »

Solaris Multipathing MPxIO

To explicitly enable multipathing on this HBA port, but disable on the rest of the HBA ports, add the following: 

MODIFICAR	/kernel/drv/scsi_vhci.conf

# For enabling MPxIO support for 3rd party symmetric device need an
# entry similar to following in this file. Just replace the "SUN     SENA"
# part with the Vendor ID/Product ID for the device, exactly as reported by
# Inquiry cmd.
#
# device-type-scsi-options-list =
# "SUN     SENA", "symmetric-option";
#
# symmetric-option = 0x1000000;

device-type-scsi-options-list =
"HP      OPEN-V*4", "symmetric-option";   <== iostat -En   Add the vendor ID and product ID entries. 
symmetric-option = 0x1000000;

MODIFICAR	/kernel/drv/fp.conf

# You can also enable or disable MPxIO on a per port basis. 
# Per port settings override the global setting for the specified ports.
# To disable MPxIO on port 0 whose parent is /pci@8,600000/SUNW,qlc@4 set:
# name="fp" parent="/pci@8,600000/SUNW,qlc@4" port=0 mpxio-disable="yes";
#
name="fp" parent="/pci@300/pci@1/pci@0/pci@4/SUNW,emlxs@0" port=0 mpxio-disable="no"; <== luxadm -e port To enable multipathing on a HBA port, add
name="fp" parent="/pci@300/pci@1/pci@0/pci@5/SUNW,emlxs@0" port=0 mpxio-disable="no"; <== luxadm -e port To enable multipathing on a HBA port, add

# NOTE: If you just want to enable or disable MPxIO on all fp ports, it is
# better to use stmsboot(1M) as it also updates /etc/vfstab.
#
mpxio-disable="yes";    <== set yes  To disable multipathing globally, change to:

# reboot -- -r

The vendor ID and product ID are the vendor and product indentification strings that the device returns in SCSI INQUIRY data. 
The vendor ID must be eight characters long. You must specify all eight characters (even if the trailing characters are spaces). 
The product ID can be up to 16 characters long. 
Regresar

Random TIPS

COPIA DE ARCHIVOS EN UNA UNIDAD DE CINTA REMOTA (tar y dd)

# tar cvf - * | rsh remote-host dd of=/dev/rmt/0 obs=126b

EXTRAER ARCHIVOS DE UN DISPOSITIVO DE CINTA REMOTO
Inserte la cinta en la unidad de cinta.
Cambie a un directorio temporal.
$ cd /var/tmp
Extraiga los archivos de un dispositivo de cinta remoto.
$ rsh remote-host dd if=/dev/rmt/n | tar xvBpf -

CÓMO COPIAR TODOS LOS ARCHIVOS DE UN DIRECTORIO EN UNA CINTA (cpio)

$ ls -l | cpio -oc > /dev/rmt/0n
Compruebe que los archivos se hayan copiado en la cinta.
$ cpio -civt < /dev/rmt/0n
Cómo recuperar todos los archivos de una cinta (cpio)
Cambie al directorio donde desea colocar los archivos.
Extraiga todos los archivos de la cinta.

$ cpio -icvd < /dev/rmt/0n

free counters