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
Nenhum comentário:
Postar um comentário