DBTest2:~ # powermt display dev=all
Pseudo name=emcpowera
CLARiiON ID=FCNCX093300010 [Storage Group 2]
Logical device ID=600601601EA02500326149A0207AE111 [LUN 10]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0;
Owner: default=SP A, current=SP A Array failover mode: 1
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sde SP B1 active alive 0 0
0 qla2xxx sdk SP A1 active alive 0 0
Pseudo name=emcpowerb
CLARiiON ID=FCNCX093300010 [Storage Group 2]
Logical device ID=600601601EA02500F22E8FC2207AE111 [LUN 11]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0;
Owner: default=SP A, current=SP A Array failover mode: 1
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sdg SP B1 active alive 0 0
0 qla2xxx sdl SP A1 active alive 0 0
Pseudo name=emcpowerc
CLARiiON ID=FCNCX093300010 [Storage Group 2]
Logical device ID=600601601EA02500FA322E81207AE111 [LUN 1]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0;
Owner: default=SP A, current=SP A Array failover mode: 1
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sdc SP B1 active alive 0 0
0 qla2xxx sdi SP A1 active alive 0 0
如上红色字体显示的,我们可以清楚的看到对于两台主机LUN对应的情况如下:
DBTEST1 DBTEST2
/dev/emcpowera /dev/emcpowerb
/dev/emcpowerb /dev/emcpowera
/dev/emcpowerc /dev/emcpowerc
本次由于安装RAC,根据规划,emcpowerb和emcpowerc分别为OCR disk和voting disk, 而emcpowera为datadg磁盘组
对于如问题我们可以处理的思路如下:
1.采用powerpath软件的管理命令可以将其伪设备名称修改为一致,具体可以参照DBTEST1的名称,在DBTEST2上做如下修改:
#emcpadm renamepseudo –s emcpowera –t emcpowerd
#emcpadm renamepseudo –s emcpowerb –t emcpowera
#emcpadm renamepseudo –s emcpowerd –t emcpowerb
更新配置后,重启下主机看看两端是否还能保持一致。
2.另外我们还可以采用如下方法,也就是保持伪设备名称不变,采用块设备,只需要绑定的raw设备一致即可
DBTEST1 DBTEST2