Mostrando postagens com marcador IBM - Storage Subsystem. Mostrar todas as postagens
Mostrando postagens com marcador IBM - Storage Subsystem. Mostrar todas as postagens

quarta-feira, 29 de setembro de 2010

Exemplo de multipath.conf/ multipath.conf sample

Exemplo de arquivo multipath.conf para storage IBM DS3,4,5000
Sample file to multipath.conf to IBM DS3,4,500 storage



defaults {
        udev_dir                /dev
        polling_interval        2
        default_getuid_callout  "/sbin/scsi_id -g -u -s /block/%n"
        user_friendly_names     yes
    bindings_file        "/etc/multipath/bindings"
}

devnode_blacklist {
        wwid     360026b90507ccb0000aa8d90999df333
        devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
        devnode "^hd[a-z][[0-9]*]"
        devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
}

devices {
    device {
                vendor                  "IBM"
                product                 "1814      FAStT"
         getuid_callout        "/sbin/scsi_id -g -u -s /block/%n"
                prio_callout            "/sbin/mpath_prio_rdac /dev/%n"   
          features        "0"
         hardware_handler    "1 rdac"
                path_grouping_policy    group_by_prio
         failback        immediate
         rr_weight        uniform
         no_path_retry        queue
         rr_min_io        1000
                path_checker            rdac
        }
}
multipaths {
            multipath {
        wwid            3600a0b8000510fde000005e14b4d828a
        alias            alias_name1
    }   
     multipath { 
                wwid         3600a0b8000510fa0000003344b4d81fa
                alias        nome_do_alias
        }
     multipath {
                wwid         3600a0b8000510fde000005df4b4d823d
                alias        myspace
    }
    multipath {
        wwid            3600a0b8000510fa00000032e4b4d7e4d
        alias            meudisco
    }



}

sexta-feira, 5 de março de 2010

Trocando discos com defeitos no IBM DS4700 - Change fail drive on IBM DS4700

Após trocado o disco com defeito, vamos realocar o disco para o array e liberar o disco de HotSpare.
Então, abra o Storage Manager clique no menu superior em Array>Replace Drives...
Aguarde e pronto.

After replaced the failed disk, we will reallocate the disk to the array and free the disk Hotspare.Then, open the Storage Manager click on the top menu in Array> Replace Drives ...Wait and ready.


terça-feira, 8 de dezembro de 2009

Configurando multipath para IBM DS4000 com Red Hat Enterprise 5.2 - Configuring multipath IBM Storage DS4000 on Linux Red Hat Enterprise 5.2 or later

Depois de fazer o zining e de entregar as LUN's para o host, vamos configurar o multipath no linux Red Hat Enterprise 5.2 ou superior.

After done zoning and assign LUN's to host, configure the multipath on Linux Red Hat Enterprise Linux 5.2 or later is very easy.

Altere o arquivo /etc/multipath.conf
change the file /etc/multipath.conf

remova o # das linhas comentadas.
remove the # of the lines commented.

Original:

#defaults {
# udev_dir /dev
# polling_interval 10
# selector "round-robin 0"
# path_grouping_policy multibus
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout /bin/true
# path_checker readsector0
# rr_min_io 100
# rr_weight priorities
# failback immediate
# no_path_retry fail
# user_friendly_name yes
#}

Alterado:
Changed:

defaults {
udev_dir /dev
polling_interval 2
default_getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
user_friendly_names yes

}


Original:


#devnode_blacklist {
# wwid 26353900f02796769
# devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
# devnode "^hd[a-z]"
#}

Alterado:
Changed:

devnode_blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z][[0-9]*]"
devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
devnode "sda"

}


Original:

#devices {
# device {
# vendor "COMPAQ "
# product "HSV110 (C)COMPAQ"
# path_grouping_policy multibus
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# path_checker readsector0
# path_selector "round-robin 0"
# hardware_handler "0"
# failback 15
# rr_weight priorities
# no_path_retry queue
# }
# device {
# vendor "COMPAQ "
# product "MSA1000 "
# path_grouping_policy multibus
# }
#}

Alterado:
Changed:

devices {
device
{
vendor "IBM"
product "1814 FAStT"
path_grouping_policy failover
path_checker tur
path_selector "round-robin 0"
prio_callout "/sbin/mpath_prio_rdac /dev/%n"
failback immediate
features "1 queue_if_no_path"
no_path_retry 300
}
}

multipaths {
multipath {
wwid 3600a0b8a1048b82a0121a3a586051497
alias disco_de_dados
}
}


Execute os comandos abaixo para que as configurações seam mantidas depois do reboot.
Run the commands to enable the configs after the reboot.

root@howtomeinfo# chkconfig multipathd on
root@howtomeinfo# service multipathd start

Feito
Done