multipath ubuntu

# Single Path in multipath (not useful)
root@L0004906:~# cat /etc/multipath.conf | grep -v "#"
defaults {
    polling_interval    10
    selector        "round-robin 0"
    path_grouping_policy    multibus
    prio            const
    path_checker        directio
    failback        immediate
    no_path_retry       1
    features        "0"
}
blacklist {
}
blacklist_exceptions {
}
multipaths {
    multipath {
        alias           mpath0
    }
    multipath {
                wwid                    3600c0ff0001e54bae320f75401000000
                alias                   mpath1
        }
}

#Multiple path in multipath
root@L0004909:~# cat /etc/multipath.conf | grep -v "#"
defaults {
        polling_interval        10
        selector                "round-robin 0"
        path_grouping_policy    multibus
        prio                    const
        path_checker            directio
        failback                immediate
        no_path_retry           1
        features                "0"
}
blacklist {
}
blacklist_exceptions {
}
multipaths {
        multipath {
                alias                   mpath0
        }
        multipath {
                wwid                    3600c0ff0001e44ef1bd1fe5401000000
                alias                   mpath1
        }
    multipath {
                alias                   mpath2
        }
        multipath {
                wwid                    3600c0ff0001e44efd7cefe5401000000
                alias                   mpath3
        }
}
root@L0004909:~# multipath -ll
mpath2 (3600c0ff0001e6fd3d3cefe5401000000) dm-2 HP      ,MSA 2040 SAS   
size=3.3T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
  |- 4:0:0:11 sdh 8:112 active ready running
  `- 3:0:0:11 sdd 8:48  active ready running
mpath3 (3600c0ff0001e44efd7cefe5401000000) dm-3 HP      ,MSA 2040 SAS   
size=3.3T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
  |- 4:0:0:12 sdi 8:128 active ready running
  `- 3:0:0:12 sde 8:64  active ready running



  /opt/immune/bin/envdo python /opt/immune/installed/idx/apps/NewMerger/util/requester.py --q "|chart count() by device_ip"

No comments:

Post a Comment