怎样进行EMC存储多路径软件配置

发布时间:2021-11-08 17:45:57 作者:柒染
来源:亿速云 阅读:385

本篇文章为大家展示了怎样进行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 Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1          26      205056   83  Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2              26       13080   104857344   83  Linux

/dev/sda3           13080       17258    33554688   82  Linux swap / Solaris

/dev/sda4           17258      109407   740189998    5  Extended

/dev/sda5           17258      109407   740189184   8e  Linux 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 A       Array failover mode: 4

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

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

###  HW Path               I/O Paths    Interf.  Mode     State   Q-IOs Errors

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

   1 qla2xxx                sdg         SP B1    active   alive      0      0

   1 qla2xxx                sdf         SP A3    active   alive      0      0

   1 qla2xxx                sde         SP B2    active   alive      0      0

   0 qla2xxx                sdb         SP B3    active   alive      0      1

   0 qla2xxx                sdc         SP A1    active   alive      0      1

   0 qla2xxx                sdd         SP A2    active   alive      0      1

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

上述内容就是怎样进行EMC存储多路径软件配置,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注亿速云行业资讯频道。

推荐阅读:
  1. EMC CX存储手动注册主机
  2. VMware存储和EMC的配置关系

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

emc

上一篇:JavaScript如何实现橱窗展示效果

下一篇:Java运算符有哪些

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》