怎样进行EMC存储多路径软件配置-创新互联

本篇文章为大家展示了怎样进行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存储多路径软件配置,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注创新互联-成都网站建设公司行业资讯频道。


网页名称:怎样进行EMC存储多路径软件配置-创新互联
文章起源:http://scyanting.com/article/djpocp.html