redhat,集群节点上的多路径显示不同的结果

redhat,集群节点上的多路径显示不同的结果

我有一个安装了“RedHat Entreprise Linux Server 5.6”的两个节点的集群

如果我对这些服务器执行“multipath -ll”,则不会得到相同的结果。我已在“multipathd -k”中使用“show path”进行了检查,但并未获得 server1 上的所有路径。

请注意,“server1”是集群中的 actif 节点。

请问,我该如何解决这个问题?

提前感谢你的大力帮助

    server1root#multipath -ll
    mpath2 (3600c0ff000134c3e8d11e44f01000000) dm-2 HP,P2000 G3 FC
    [size=558G][features=1 queue_if_no_path][hwhandler=0][rw]
    \_ round-robin 0 [prio=10][active]
     \_ 3:0:0:3 sdc 8:32  [active][ready]
    mpath1 (3600c0ff000134c3e6e11e44f01000000) dm-1 HP,P2000 G3 FC
    [size=95M][features=1 queue_if_no_path][hwhandler=0][rw]
    \_ round-robin 0 [prio=10][active]
     \_ 3:0:0:2 sdb 8:16  [active][ready]
    mpath0 (3600c0ff000118c37dc11e44f01000000) dm-0 HP,P2000 G3 FC
    [size=558G][features=1 queue_if_no_path][hwhandler=0][rw]
    \_ round-robin 0 [prio=50][active]
     \_ 3:0:0:1 sda 8:0   [active][ready]
    mpath4 (3600c0ff000134c3e4912e44f01000000) dm-4 HP,P2000 G3 FC
    [size=279G][features=1 queue_if_no_path][hwhandler=0][rw]
    \_ round-robin 0 [prio=10][active]
     \_ 3:0:0:5 sde 8:64  [active][ready]
    mpath3 (3600c0ff000118c371d12e44f01000000) dm-3 HP,P2000 G3 FC
    [size=279G][features=1 queue_if_no_path][hwhandler=0][rw]
    \_ round-robin 0 [prio=50][active]
     \_ 3:0:0:4 sdd 8:48  [active][ready]
    server1root#

    multipathd> show paths
    hcil    dev dev_t pri dm_st   chk_st  next_check
    3:0:0:1 sda 8:0   50  [active][ready] XXXXXXXXX. 19/20
    3:0:0:2 sdb 8:16  10  [active][ready] XXXXXXXXX. 19/20
    3:0:0:3 sdc 8:32  10  [active][ready] XXXXXXXXX. 19/20
    3:0:0:4 sdd 8:48  50  [active][ready] XXXXXXXXX. 19/20
    3:0:0:5 sde 8:64  10  [active][ready] XXXXXXXXX. 19/20
    multipathd>


    server2root#multipath -ll
    mpath2 (3600c0ff000134c3e8d11e44f01000000) dm-2 HP,P2000 G3 FC
    [size=558G][features=1 queue_if_no_path][hwhandler=0][rw]
    \_ round-robin 0 [prio=50][active]
     \_ 2:0:0:3 sdc 8:32  [active][ready]
    \_ round-robin 0 [prio=10][enabled]
     \_ 3:0:0:3 sdh 8:112 [active][ready]
    mpath1 (3600c0ff000134c3e6e11e44f01000000) dm-1 HP,P2000 G3 FC
    [size=95M][features=1 queue_if_no_path][hwhandler=0][rw]
    \_ round-robin 0 [prio=50][active]
     \_ 2:0:0:2 sdb 8:16  [active][ready]
    \_ round-robin 0 [prio=10][enabled]
     \_ 3:0:0:2 sdg 8:96  [active][ready]
    mpath0 (3600c0ff000118c37dc11e44f01000000) dm-0 HP,P2000 G3 FC
    [size=558G][features=1 queue_if_no_path][hwhandler=0][rw]
    \_ round-robin 0 [prio=50][active]
     \_ 3:0:0:1 sdf 8:80  [active][ready]
    \_ round-robin 0 [prio=10][enabled]
     \_ 2:0:0:1 sda 8:0   [active][ready]
    mpath4 (3600c0ff000134c3e4912e44f01000000) dm-4 HP,P2000 G3 FC
    [size=279G][features=1 queue_if_no_path][hwhandler=0][rw]
    \_ round-robin 0 [prio=50][active]
     \_ 2:0:0:5 sde 8:64  [active][ready]
    \_ round-robin 0 [prio=10][enabled]
     \_ 3:0:0:5 sdj 8:144 [active][ready]
    mpath3 (3600c0ff000118c371d12e44f01000000) dm-3 HP,P2000 G3 FC
    [size=279G][features=1 queue_if_no_path][hwhandler=0][rw]
    \_ round-robin 0 [prio=50][active]
     \_ 3:0:0:4 sdi 8:128 [active][ready]
    \_ round-robin 0 [prio=10][enabled]
     \_ 2:0:0:4 sdd 8:48  [active][ready]
    server2root#

    multipathd> show paths
    hcil    dev dev_t pri dm_st   chk_st  next_check
    2:0:0:1 sda 8:0   10  [active][ready] XXX....... 7/20
    2:0:0:2 sdb 8:16  50  [active][ready] XXX....... 7/20
    2:0:0:3 sdc 8:32  50  [active][ready] XXX....... 7/20
    2:0:0:4 sdd 8:48  10  [active][ready] XXX....... 7/20
    2:0:0:5 sde 8:64  50  [active][ready] XXX....... 7/20
    3:0:0:1 sdf 8:80  50  [active][ready] XXX....... 7/20
    3:0:0:2 sdg 8:96  10  [active][ready] XXX....... 7/20
    3:0:0:3 sdh 8:112 10  [active][ready] XXX....... 7/20
    3:0:0:4 sdi 8:128 50  [active][ready] XXX....... 7/20
    3:0:0:5 sdj 8:144 10  [active][ready] XXX....... 7/20
    multipathd>

答案1

这看起来像是当 SAN 分区问题导致服务器 #1 无法看到 SAN 的某个接口时,或者服务器 #1 的某个 HBA 出现问题时发生的情况。

相关内容