我已经在谷歌搜索了大约4个小时,没有运气。我正在尝试将运行Oracle server 6.3的Linux服务器设置为光纤通道主机。然后将其连接到一个包含500 to容量的Dell Compellent光纤通道主机。
Oracle服务器本身包含两个Brocade 815 FC HBA。我发现了他们的WWN
cat /sys/class/fc_host/host1/port_name
0x100000051efc3d85
cat /sys/class/fc_host/host2/port_name
0x100000051efc3d9f下一部分是我不知所措的地方。我曾经使用过iSCSI before...is FC,与您有发起者和目标的情况相同吗?如果是这样的话,那么在linux中我应该在哪里指定呢?
作为一种协议,我对光纤通道也很陌生,所以我不确定做一个事务需要什么?WWN和端口ID?类似于IP:以太网世界中的端口组合。
我读过很多关于使用systool、多路径、fc_transport命令的文章,但是这些命令都不是OracleServer6.3中的有效命令。
感谢您的指导和帮助。
我安装了sccsi目标-utils,现在可以运行rescan bus和sg_map -x。
rescan-scsi-bus.sh -l -w -r
Host adapter 0 (megaraid_sas) found.
Host adapter 1 ((null)) found.
Host adapter 2 ((null)) found.
Host adapter 3 (ata_piix) found.
Host adapter 4 (ata_piix) found.
Scanning SCSI subsystem for new devices
and remove devices that have disappeared
Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15, LUNs 0 1 2 3 4 5 6 7
Scanning for device 0 2 0 0 ....
OLD: Host: scsi0 Channel: 02 Id: 00 Lun: 00
Vendor: DELL Model: PERC H700 Rev: 2.30
Type: Direct-Access ANSI SCSI revision: 05
Scanning for device 0 2 1 0 ...
OLD: Host: scsi0 Channel: 02 Id: 01 Lun: 00
Vendor: DELL Model: PERC H700 Rev: 2.30
Type: Direct-Access ANSI SCSI revision: 05
Scanning host 1 for all SCSI target IDs, LUNs 0 1 2 3 4 5 6 7
Scanning for device 1 0 3 1 ...
OLD: Host: scsi1 Channel: 00 Id: 03 Lun: 01
Vendor: COMPELNT Model: Compellent Vol Rev: 0505
Type: Direct-Access ANSI SCSI revision: 05
Scanning host 2 for all SCSI target IDs, LUNs 0 1 2 3 4 5 6 7
Scanning host 3 for all SCSI target IDs, LUNs 0 1 2 3 4 5 6 7
Scanning for device 3 0 0 0 ...
REM: Host: scsi3 Channel: 00 Id: 00 Lun: 00
DEL: Vendor: TEAC Model: DVD-ROM DV-28SW Rev: R.2A
Type: CD-ROM ANSI SCSI revision: 05
Scanning host 4 channels 0 for SCSI target IDs 0, LUNs 0 1 2 3 4 5 6 7
0 new device(s) found.
1 device(s) removed.和
sg_map -x
/dev/sg0 0 0 32 0 13
/dev/sg1 0 2 0 0 0 /dev/sda
/dev/sg2 0 2 1 0 0 /dev/sdb
/dev/sg4 1 0 3 1 0 /dev/sdc多径-ll
multipath -ll
Dec 19 09:33:57 | DM multipath kernel driver not loaded
Dec 19 09:33:57 | multipath.conf line 14, invalid keyword: device
Dec 19 09:33:57 | multipath.conf line 15, invalid keyword: vendor
Dec 19 09:33:57 | multipath.conf line 16, invalid keyword: product
Dec 19 09:33:57 | multipath.conf line 17, invalid keyword: path_grouping_policy
Dec 19 09:33:57 | multipath.conf line 18, invalid keyword: getuid_callout
Dec 19 09:33:57 | multipath.conf line 19, invalid keyword: path_selector
Dec 19 09:33:57 | multipath.conf line 20, invalid keyword: path_checker
Dec 19 09:33:57 | multipath.conf line 21, invalid keyword: features
Dec 19 09:33:57 | multipath.conf line 22, invalid keyword: hardware_handler
Dec 19 09:33:57 | multipath.conf line 23, invalid keyword: failback
Dec 19 09:33:57 | multipath.conf line 24, invalid keyword: rr_weight
Dec 19 09:33:57 | multipath.conf line 25, invalid keyword: no_path_retry
Dec 19 09:33:57 | multipath.conf line 26, invalid keyword: rr_min_io
Dec 19 09:33:57 | multipath.conf line 27, invalid keyword: }
Dec 19 09:33:57 | DM multipath kernel driver not loaded我不知道这一切意味着什么..。
发布于 2012-12-19 02:00:47
看起来,/dev/sdb和/dev/sdc是SAN卷的两条路径。所以您可以从中选择一个分区,格式化它并直接挂载它。但是,这不是一个好主意,因为您将没有任何故障转移支持。
下一步是安装和配置device-mapper-multipath --参见这个RedHat医生 (我假设Oracle6与RHEL 6相同)。我不知道你到底需要什么在/etc/multipath.conf的戴尔公司阵列。这样做可能会奏效:
device {
vendor "COMPELNT"
product "Compellent Vol"
path_grouping_policy multibus
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
path_selector "round-robin 0"
path_checker tur
features "0"
hardware_handler "0"
failback immediate
rr_weight uniform
no_path_retry queue
rr_min_io 1000
}是http://pig.made-it.com/multipath.html寄来的。
一旦启动了多路径服务,就应该能够运行multipath -ll并查看到SAN的两条路径。此外,此输出中的mpath名称应该映射到/dev/mapper中的条目。映射磁盘是要格式化、分区、挂载等的路径。
FYI,你不必把所有的SCSI重新扫描的东西都搞砸了。如果您只是对两个FC主机sys条目都回显1,则会显示/dev/sdx条目。像echo "1" > /sys/class/fc_host/host1/issue_lip这样的人就能做到这一点。主机号码在你的systel上可能不一样。确保您也回显到所有主机端口。
https://serverfault.com/questions/459155
复制相似问题