十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
本篇文章为大家展示了怎样进行EMC存储多路径软件配置,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。
创新互联建站专业成都做网站、成都网站制作,集网站策划、网站设计、网站制作于一体,网站seo、网站优化、网站营销、软文推广等专业人才根据搜索规律编程设计,让网站在运行后,在搜索中有好的表现,专业设计制作为您带来效益的网站!让网站建设为您创造效益。
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存储多路径软件配置,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注创新互联行业资讯频道。