oracle多路径存储,Oracle RAC存储多路径的设置案例

Oracle RAC存储多路径的设置案例

以redhat6、centos6、oracle6及Asianux4为例

1.安装多路径的客户端

如果是FC SAN: yum install device-mapper device-mapper-multipath -y

如果是IP SAN: yum install iscsi-initiator-utils device-mapper device-mapper-multipath -y

2.设置一个多路径的配置文件:

/usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf的文件拷贝到/etc目录下面:

3.启动multipath服务

/etc/init.d/multipathd restart

4.将所有/etc/multipath/bindings 设置为一致,两边的内容一样

[root@rac81]# cat /etc/multipath/bindings

# Multipath bindings, Version : 1.0

# NOTE: this file is automatically maintained by the multipath program.

# You should not need to edit this file in normal circumstances.

#

# Format:

# aliaswwid

#

mpatha 3600605b005c1b03019ae96a616049c04

mpathb 3600143801259f9320000500000360000

mpathc 3600143801259f9320000500000420000

mpathd 3600143801259f9320000500000460000

mpathe 3600143801259f93200005000004a0000

mpathf 3600143801259f93200005000003e0000

mpathg 3600143801259f93200005000003a0000

mpathh 3600143801259f93200005000004e0000

mpathi 3600143801259f9320000500000520000

mpathj 3600143801259f9320000500000560000

mpathk 3600143801259f93200005000005a0000

mpathl 3600143801259f93200005000005e0000

mpathm 3600143801259f93200005000007a0000

4.配置multipath.conf文件的磁盘项目

devices {

device {

vendor "HP"

product "HSV2[01]0|HSV300|HSV4[05]0"

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值