multipathing ?
our oracle(oracle 10G) server got a serious problem, the OS is SLES 9 SP4, two HBA adapters(QLogic 2340) with NetApp FC Storage(FAS3140), we have installed multipath-tools on this server and ensure that physical connection and swith configuration are correct, but we only can see a path? any advices will be appreciated.
:~ # multipath -ll
360a98000572d4d414b4a522d7a62376d dm-2 NETAPP,LUN
[size=200G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:0:21 sdb 8:16 [active][ready]
lspci
0000:03:03.0 Fibre Channel: QLogic Corp. ISP2312-based 2Gb Fibre Channel to PCI-X HBA (rev 02)
0000:04:04.0 Fibre Channel: QLogic Corp. ISP2312-based 2Gb Fibre Channel to PCI-X HBA (rev 02)
:~ # rpm -q multipath-tools
multipath-tools-0.4.7-75.21
:~ # rpm -qa | grep device*
device-mapper-1.01.01-1.6
/etc/multipath.conf
:~ # less /etc/multipath.conf
##
## This is a template multipath-tools configuration file
## Uncomment the lines relevent to your environment
##
defaults {
udev_dir /dev
polling_interval 10
selector "round-robin 0"
path_grouping_policy failover
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_names no
}
blacklist {
devnode "^sda"
}
devices
{
device
{
vendor "NETAPP"
product "LUN"
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
prio_callout "/sbin/mpath_prio_netapp /dev/%n"
features "1 queue_if_no_path"
hardware_handler "0"
path_grouping_policy group_by_prio
failback immediate
rr_weight uniform
rr_min_io 128
path_checker readsector0
}
}
Last edited by xgxiaofei; 01-10-2010 at 11:58 PM.
|