emc存储linux多路径,【多路径】EMC存储多路径软件配置

EMC PowerPath是用于进行路径选择,冗余和负载均衡的管理软件,相对于HP,IBM等厂商的多路径,

EMC的优势在于能够实现负载均衡,而其他厂家仅支持基本故障切换。

1)安装rpm包

先将powerpath安装包上传到服务器:(D:\EMC存储配置\powerpath)

[root@shcrm tmp]# ls *.rpm

EMCpower.LINUX-5.3.1.00.00-111.rhel.i386.rpm

开始安装:

[root@shcrm tmp]#rpm

-Uvh EMCpower.LINUX-5.3.1.00.00-111.rhel.x86_64.rpm

准备...########################################### [100%]

1:EMCpower.LINUX########################################### [100%]

2)注册

注册PowerPathLicense:

[root@shcrm ~]#emcpreg -install

根据提示输入PowerPathLicense

PowerPath

license key:BZPV-ZB4K-BFTK-QOME-ML9O-UYFB

如果您输入了一个有效的注册密钥,您将看到以下输出:

1 Key(s) successfully added.

Key successfully installed:

如果您输入了一个无效的注册密钥,屏幕上将显示一条错误消息,

提示您输入有效的密钥。

3)启动PowerPath

加载PowerPath模块:

[root@shcrm ~]#/etc/init.d/PowerPath

start

查看是否出现新的伪设备:

[root@shcrm ~]#fdisk

-l |grep emcpower

[root@X01A19 tmp]# fdisk -l

Disk /dev/sda: 899.9 GB, 899899242496 bytes

255 heads, 63 sectors/track, 109406

cylinders

Units = cylinders of 16065 * 512 = 8225280

bytes

Sector size (logical/physical): 512 bytes /

512 bytes

I/O size (minimum/optimal): 262144 bytes /

786432 bytes

Disk identifier: 0x00088dd0

Device BootStartEndBlocksIdSystem

/dev/sda1*12620505683Linux

Partition 1 does not end on cylinder

boundary.

/dev/sda2261308010485734483Linux

/dev/sda313080172583355468882Linux swap / Solaris

/dev/sda4172581094077401899985Extended

/dev/sda5172581094077401891848eLinux LVM

Disk /dev/sdb: 322.1 GB, 322122547200 bytes

255 heads, 63 sectors/track, 39162

cylinders

Units = cylinders of 16065 * 512 = 8225280

bytes

Sector size (logical/physical): 512 bytes /

512 bytes

I/O size (minimum/optimal): 512 bytes / 512

bytes

Disk identifier: 0x00000000

Disk /dev/sdc: 322.1 GB, 322122547200 bytes

255 heads, 63 sectors/track, 39162

cylinders

Units = cylinders of 16065 * 512 = 8225280

bytes

Sector size (logical/physical): 512 bytes /

512 bytes

I/O size (minimum/optimal): 512 bytes / 512

bytes

Disk identifier: 0x00000000

Disk /dev/sdd: 322.1 GB, 322122547200 bytes

255 heads, 63 sectors/track, 39162

cylinders

Units = cylinders of 16065 * 512 = 8225280

bytes

Sector size (logical/physical): 512 bytes /

512 bytes

I/O size (minimum/optimal): 512 bytes / 512

bytes

Disk identifier: 0x00000000

Disk /dev/sde: 322.1 GB, 322122547200 bytes

255 heads, 63 sectors/track, 39162

cylinders

Units = cylinders of 16065 * 512 = 8225280

bytes

Sector size (logical/physical): 512 bytes /

512 bytes

I/O size (minimum/optimal): 512 bytes / 512

bytes

Disk identifier: 0x00000000

Disk /dev/sdf: 322.1 GB, 322122547200 bytes

255 heads, 63 sectors/track, 39162

cylinders

Units = cylinders of 16065 * 512 = 8225280

bytes

Sector size (logical/physical): 512 bytes /

512 bytes

I/O size (minimum/optimal): 512 bytes / 512

bytes

Disk identifier: 0x00000000

Disk /dev/sdg: 322.1 GB, 322122547200 bytes

255 heads, 63 sectors/track, 39162

cylinders

Units = cylinders of 16065 * 512 = 8225280

bytes

Sector size (logical/physical): 512 bytes /

512 bytes

I/O size (minimum/optimal): 512 bytes / 512

bytes

Disk identifier: 0x00000000

检查负载平衡和故障切换策略:

[root@shcrm ~]#powermt display dev=all

Pseudo name=emcpowera

VNX ID=CETV2134900044 [USC B2B]

Logical device

ID=6006016051E03600841F3C47B2FCE611 [lun1_USC_B2B]

state=alive; policy=CLAROpt; queued-IOs=0

Owner: default=SP A, current=SP AArray failover mode: 4

==============================================================================

--------------- Host ---------------- Stor --- I/O Path ---- Stats ---

###HW PathI/O

PathsInterf.ModeStateQ-IOs Errors

==============================================================================

1 qla2xxxsdgSP B1activealive00

1 qla2xxxsdfSP A3activealive00

1 qla2xxxsdeSP B2activealive00

0 qla2xxxsdbSP B3activealive01

0 qla2xxxsdcSP A1activealive01

0 qla2xxxsddSP A2activealive01

(此处显示的行数为路径的数目)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值