У меня есть кластер с двумя узлами, установленными с «RedHat Entreprise Linux Server 5.6»

Если я выполню «multipath -ll» для них, я не получу тот же результат. Я проверил в «multipathd -k» с "show paths", и я не получаю все пути на server1.

Обратите внимание, что "server1" является узлом actif в кластере.

Пожалуйста, как я могу решить эту проблему?

Заранее спасибо за вашу большую помощь

===============================================

server1root # multipath -ll mpath2 (3600c0ff000134c3e8d11e44f01000000) dm-2 HP, P2000 G3 FC [размер = 558G] [features = 1 queue_if_no_path] [hwhandler = 0] [rw] _ round-robin 0 [prio = 10] [активный _] 3:0:0:3 SDC 8:32 [активно] [готово] mpath1 (3600c0ff000134c3e6e11e44f01000000) дм-1 HP, P2000 G3 FC [размер = 95M] [функции = 1 queue_if_no_path] [hwhandler = 0] [rw] _ тур -робин 0 [prio = 10] [активный] _ 3:0:0:2 SDB 8:16 [активный] [готов] mpath0 (3600c0ff000118c37dc11e44f01000000) дм-0 HP, P2000 G3 FC [размер = 558G] [функции = 1 queue_if_no_path] [hwhandler = 0] [rw] _ round-robin 0 [prio = 50] [active] _ 3:0:0:1 sda 8:0 [active] [готов] mpath4 (3600c0ff000134c3e4912e44f01000000) дм-4 HP, P2000 G3 FC [размер = 279G] [функции = 1 queue_if_no_path] [hwhandler = 0] [rw] _ циклический перебор 0 [prio = 10] [активный] _ 3:0:0:5 sde 8:64 [активный] [готово] mpath3 (3600c0ff000118c371d12e44f01000000) дм-3 HP, P2000 G3 FC [размер = 279G] [features = 1 queue_if_no_path] [hwhandler = 0] [rw] _ round-robin 0 [prio = 50] [активный] _ 3:0:0:4 сдд 8:48 [активный] [готовый] server1root #

server1 multipathd> показать пути hcil dev dev_t pri dm_st chk_st next_check 3:0:0:1 sda 8:0 50 [активно] [готово] XXXXXXXXX. 19/20 3:0:0:2 SDB 8:16 10 [активный] [готовый] XXXXXXXXX. 19/20 3:0:0:3 SDC 8:32 10 [активно] [готово] XXXXXXXXX. 19/20 3:0:0:4 сдд 8:48 50 [активно] [готово] XXXXXXXXX. 19/20 3:0:0:5 sde 8:64 10 [активно] [готово] XXXXXXXXX. 19/20 многолучевое распространение>

server2root # multipath -ll mpath2 (3600c0ff000134c3e8d11e44f01000000) dm-2 HP, P2000 G3 FC [размер = 558G] [features = 1 queue_if_no_path] [hwhandler = 0] [rw] _ round-robin 0 [prio = 50] [активный _] 2:0:0:3 SDC 8:32 [активный] [готов] _ циклический перебор 0 [prio = 10] [включен] _ 3:0:0:3 SDH 8:112 [активный] [готов] mpath1 (3600c0ff000134c3e6e11e44f01000000) дм-1 HP, P2000 G3 FC [размер = 95M] [features = 1 queue_if_no_path] [hwhandler = 0] [rw] _ round-robin 0 [prio = 50] [active] _ 2:0:0:2 SDB 8:16 [активен] [готов] _ циклический перебор 0 [prio = 10] [включен] _ 3:0:0:2 SDG 8:96 [активен] [готов] mpath0 (3600c0ff000118c37dc11e44f01000000) дм-0 HP, P2000 G3 FC [размер = 558G] [функции = 1 queue_if_no_path] [hwhandler = 0] [rw] _ циклический перебор 0 [prio = 50] [активный] _ 3:0:0:1 sdf 8:80 [активный] [готово] _ round-robin 0 [prio = 10] [включено] _ 2:0:0:1 sda 8:0 [активно] [готово] mpath4 (3600c0ff000134c3e4912e44f01000000) дм-4 HP, P2000 G3 FC [размер = 279G ] [features = 1 queue_if_no_path] [hwhandler = 0] [rw] _ циклический перебор 0 [prio = 50] [active] _ 2:0:0:5 sde 8:64 [active] [ready] _ rou nd-robin 0 [prio = 10] [включено] _ 3:0:0:5 sdj 8:144 [активно] [готово] mpath3 (3600c0ff000118c371d12e44f01000000) дм-3 HP, P2000 G3 FC [размер = 279G] [функции = 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] [включено] _ 2:0:0:4 sdd 8:48 [активно] [готово] server2root #

server2 multipathd> показать пути hcil dev dev_t pri dm_st chk_st next_check 2:0:0:1 sda 8:0 10 [активно] [готово] XXX ....... 7/20 2:0:0:2 SDB 8:16 50 [активно] [готово] XXX ....... 7/20 2:0:0:3 SDC 8:32 50 [активно] [готово] XXX ....... 7/20 2:0:0:4 сдд 8:48 10 [активно] [готово] XXX ....... 7/20 2:0:0:5 sde 8:64 50 [активно] [готово] XXX ....... 7/20 3:0:0:1 sdf 8:80 50 [активно] [готово] XXX ....... 7/20 3:0:0:2 sdg 8:96 10 [активно] [готово] XXX ....... 7/20 3:0:0:3 SDH 8:112 10 [активно] [готово] XXX ....... 7/20 3:0:0:4 SDI 8:128 50 [активно] [готово] XXX ....... 7/20 3:0:0:5 SDJ 8:144 10 [активно] [готово] XXX ....... 7/20 многолучевое>

1 ответ1

0

Извините, смотрите ниже для чистого чтения:

    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>

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .