SUN平台新装完PowerPath之后,一定要确认路径Policy的状态,需要改为CLAROpt的双Active模式(加入License之后)!
步骤如下: 另外,在没有安装PP软件之前,format的输出中,OS只能够发现一般的路径和硬盘,另外一般的硬盘类型是Unknow的状态。
# /etc/powermt display dev=all Pseudo name=emcpower0a CLARiiON ID=CK200074900142 [emc3] Logical device ID=6006016015D21E006FA82325D019DD11 [LUN 2] 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 ============================================================================== 3074 c3t5006016041E04ED6d0s0 SP A0 active alive 0 0 3074 c3t5006016841E04ED6d0s0 SP B0 active alive 0 0 3072 c4t5006016141E04ED6d0s0 SP A1 unlic alive 0 0 3072 c4t5006016941E04ED6d0s0 SP B1 unlic alive 0 0
# /etc/powermt set policy=co Error: "co" is not a valid policy for CLARiiON storage systems with the installed license.
#添加License之前的修改,会去check license的状态。报错!!
# /sbin/emcpreg -add BSPO-FB4R-MFZK-QAOZ-MH9Y-6N79 1 key(s) successfully added.
查看PowerPath的sn: emcpreg -list
# powermt set policy=co
# powermt display dev=all Pseudo name=emcpower0a CLARiiON ID=CK200074900142 [emc3] Logical device ID=6006016015D21E006FA82325D019DD11 [LUN 2] state=alive; policy=CLAROpt; 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 ============================================================================== 3074 c3t5006016041E04ED6d0s0 SP A0 active alive 0 0 3074 c3t5006016841E04ED6d0s0 SP B0 active alive 0 0 3072 c4t5006016141E04ED6d0s0 SP A1 active alive 0 0 3072 c4t5006016941E04ED6d0s0 SP B1 active alive 0 0