Chinaunix

标题: Aix下的Emc存储问题求教 [打印本页]

作者: xray26    时间: 2006-09-03 21:31
标题: Aix下的Emc存储问题求教
硬件环境:IBM p5 570(两台),EMC CX500(一台)。两台小机通过光纤交换机(2台)接到emc阵列
软件环境:AIX5300-04,HAcmp5.2

现象:
连接好设备后,发现设备认重
# lspv
hdisk0          00ce164c3e85c13c                    rootvg          active
hdisk1          00ce164c956a1cfd                    rootvg          active
hdisk2          00ce164c4b301c42                    None
hdisk3          none                                None
hdisk4          none                                None
hdisk5          00cd737c4b2dccf4                    None
hdisk6          00ce164c4b301c42                    None
hdisk7          none                                None
hdisk8          none                                None
hdisk9          00cd737c4b2dccf4                    None

# lsdev -Cc disk
hdisk0 Available 0A-08-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 0A-08-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 09-08-02     Other FC SCSI Disk Drive
hdisk3 Available 09-08-02     Other FC SCSI Disk Drive
hdisk4 Available 09-08-02     Other FC SCSI Disk Drive
hdisk5 Available 09-08-02     Other FC SCSI Disk Drive
hdisk6 Available 0D-08-02     Other FC SCSI Disk Drive
hdisk7 Available 0D-08-02     Other FC SCSI Disk Drive
hdisk8 Available 0D-08-02     Other FC SCSI Disk Drive
hdisk9 Available 0D-08-02     Other FC SCSI Disk Drive

随即安装emc odm:  EMC.AIX.5.2.0.4
      安装pp软件:EMCPower.AIX5.4.5.2.Patch.b004
      没有安装agent

然后
删除设备hdisk(除hdisk0、hdisk1)
rmdev -dl hdiskX   
# lspv
hdisk0          00ce164c3e85c13c                    rootvg          active
hdisk1          00ce164c956a1cfd                    rootvg          active

# cfgmgr

# lspv
hdisk0          00ce164c3e85c13c                    rootvg          active
hdisk1          00ce164c956a1cfd                    rootvg          active
hdisk2          none                                None
hdisk3          none                                None
hdisk4          none                                None
hdisk5          none                                None
hdisk6          none                                None
hdisk7          none                                None
hdisk8          none                                None
hdisk9          none                                None
hdiskpower0     00ce164c4b301c42                    None
hdiskpower1     00cd737c4b2dccf4                    None

# powermt display dev=all

Pseudo name=hdiskpower0
CLARiiON ID=CK200051200770 [TDRP]
Logical device ID=600601602CCE14003C6199FE9EB4D911 [LUN 2]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
   0 fscsi0                    hdisk2    SP B0     unlic   alive      0      0
   0 fscsi0                    hdisk4    SP A0     unlic   alive      0      0
   1 fscsi1                    hdisk6    SP B1     active  alive      0      0
   1 fscsi1                    hdisk8    SP A1     active  alive      0      0

Pseudo name=hdiskpower1
CLARiiON ID=CK200051200770 [TDRP]
Logical device ID=600601602CCE14007E8C97E89EB4D911 [LUN 1]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
   0 fscsi0                    hdisk3    SP B0     unlic   alive      0      0
   0 fscsi0                    hdisk5    SP A0     unlic   alive      0      0
   1 fscsi1                    hdisk7    SP B1     active  alive      0      0
   1 fscsi1                    hdisk9    SP A1     active  alive      0      0


在下没有搞过小机连EMC,请教各位专家,还需要进一步配置什么啊?
作者: 星海夜航    时间: 2006-09-03 23:18
注册pp的license了么?如果注册了就运行下边的命令
#powermt set policy=co
作者: yddll    时间: 2006-09-04 00:22
除了楼上说的,差不多了

再测试以下,可以收工了
作者: xray26    时间: 2006-09-04 08:58
pp没有licence,怎么办
作者: xray26    时间: 2006-09-04 09:04
还有我把hdisk2-hdisk9的pvid又用chdev -l hdiskX -a pv=yes认了一下,出现重复设备:
#lspv
hdisk0          00ce164c3e85c13c                    rootvg          active
hdisk1          00ce164c956a1cfd                    rootvg          active
hdisk2          00ce164c4b301c42                    datavg1
hdisk3          none                                None
hdisk4          none                                None
hdisk5          00cd737c4b2dccf4                    datavg2
hdisk6          00ce164c4b301c42                    datavg1
hdisk7          none                                None
hdisk8          none                                None
hdisk9          00cd737c4b2dccf4                    datavg2
hdiskpower0     00ce164c4b301c42                    datavg1
hdiskpower1     00cd737c4b2dccf4                    datavg2

然后用powermt config,pvid又成为none了
#powermt config
Warning: all licenses for storage systems support are missing or expired.
#lspv
hdisk0          00ce164c3e85c13c                    rootvg          active
hdisk1          00ce164c956a1cfd                    rootvg          active
hdisk2          none                                None
hdisk3          none                                None
hdisk4          none                                None
hdisk5          none                                None
hdisk6          none                                None
hdisk7          none                                None
hdisk8          none                                None
hdisk9          none                                None
hdiskpower0     00ce164c4b301c42                    datavg1
hdiskpower1     00cd737c4b2dccf4                    datavg2
作者: 科学球    时间: 2006-09-04 13:27
除了缺license,没什么问题啊。

从上面结果看,datavg1和datavg2重复应该是正常的。但你或者emc的SPA与SPB没有冗余,或者光纤交换机没有冗余,否则,你应当同时认出16个盘吧?好象还少8个。缺一些条件,我不能保证。

[ 本帖最后由 科学球 于 2006-9-4 13:31 编辑 ]
作者: sonorous    时间: 2006-09-04 14:00
不是license的问题,是powerpath的policy没有设对,设成co就可以了
作者: xray26    时间: 2006-09-04 14:55
原帖由 科学球 于 2006-9-4 13:27 发表
除了缺license,没什么问题啊。

从上面结果看,datavg1和datavg2重复应该是正常的。但你或者emc的SPA与SPB没有冗余,或者光纤交换机没有冗余,否则,你应当同时认出16个盘吧?好象还少8个。缺一些条件,我不能 ...


我没有安装agent,这个必须吗?他主要是做什么用的?是不是差aix的IY?
作者: xray26    时间: 2006-09-04 14:56
原帖由 sonorous 于 2006-9-4 14:00 发表
不是license的问题,是powerpath的policy没有设对,设成co就可以了




#ptwermt set policy=co
Error: Attempted action for CLARiiON storage system support is
not allowed with the current license level.
作者: sonorous    时间: 2006-09-04 15:29
哦,有输过号吗?
作者: xray26    时间: 2006-09-04 16:44
手头没有lisence
作者: 科学球    时间: 2006-09-05 11:01
先把license搞定再说吧。。。

很多功能你现在都不能用啊
作者: shiqiaoliang    时间: 2006-09-05 19:02
就是LICENSE的问题。搞个LICENSE就可以了
作者: xray26    时间: 2006-09-05 22:20
有一半设备是unlic,跟lisence有关系吗?如果不注册lisence使用,会有什么影响?

[ 本帖最后由 xray26 于 2006-9-5 22:23 编辑 ]
作者: lk751211    时间: 2006-09-06 16:46
我认为除了一些高级功能外,必要的工作都已经成功了,可以测试了主要是模仿链路断掉以后活动的hdisk的变化。
作者: xray26    时间: 2006-09-09 16:38
万分感谢以上各位不吝赐教!
作者: cpqapd    时间: 2006-09-12 10:29
1. 关于unlic的说明:
unlic indicates that unlicensed PowerPath is running for a CLARiiON storage system (no license key has been installed). In this scenario, all paths are marked unlicensed except one path to each SP. Unlicensed paths cannot become candidates for path failover.

2. 关于 powermt set policy=li|lb|rr|re 的使用说明
[class=symm|clariion|ess|hitachi|hpxp|hphsx|invista|all]
[dev=device|all]
powermt set policy=so|nr [dev=device|all]
powermt set policy=bf|co [dev=device|all]
powermt set policy=ad|nr
[class=hitachi|hpxp|hphsx|ess|invista] [dev=device|all]

powermt set policy=co
I/O requests are assigned to paths based on an algorithm that takes into account path load and logical device priority.  This policy is valid only for CLARiiON storage systems and is the default policy for them, on platforms with a valid PowerPath license.

详细说明见EMC的Powerpath 4.5 guide
300-002-834_a04_elccnt_0 Powerpath 4.5 Guide.pdf
作者: xray26    时间: 2006-09-20 16:05
谢谢楼上
作者: kjrr    时间: 2006-09-22 10:20
EMC建议安装Naviagent,虽然我觉得agent只是传递lun信息,但是我想可能会有更深的用处,最好还是装上。
另外我觉得光线卡的fast fail参数是不是要打开啊?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2