opensvc / multipath-tools

Other
60 stars 48 forks source link

RFE: new NVMe configs from several vendors #28

Closed xosevp closed 2 years ago

xosevp commented 2 years ago
vendor "NVME"
product "HPE Alletra"
path_grouping_policy multibus
path_selector "round-robin 0"
path_checker "none"
prio const
failback immediate
rr_weight uniform
no_path_retry "queue"
rr_min_io_rq 1
fast_io_fail_tmo 10
dev_loss_tmo 14

Translated to code:

                /* Alletra 9000 NVMe */
                .vendor        = "NVME",
                .product       = "HPE Alletra",
                .pgpolicy      = MULTIBUS,
                .no_path_retry = NO_PATH_RETRY_QUEUE,
xosevp commented 2 years ago
xosevp commented 2 years ago

Translated to code:

                /* OceanStor NVMe */
                .vendor        = "NVME",
                .product       = "Huawei-XSG1",
                .pgpolicy      = MULTIBUS,
                .checker_name  = DIRECTIO,
                .no_path_retry = 12,
mwilck commented 2 years ago
xosevp commented 2 years ago
vendor                  "NVMe"
product                 "FlashSystem-9840"
path_selector           "service-time 0"
path_grouping_policy    multibus
path_checker            tur
rr_min_io_rq            4         
rr_weight               uniform
no_path_retry           fail
failback                immediate
dev_loss_tmo            300
fast_io_fail_tmo        25
user_friendly_names     yes

Translated to code:

        /* FlashSystem(RamSan) NVMe */
        .vendor        = "NVMe",
        .product       = "FlashSystem",
        .pgpolicy      = MULTIBUS,
        .no_path_retry = NO_PATH_RETRY_FAIL,
xosevp commented 2 years ago
xosevp commented 2 years ago

Translated to code:

        /* FlashArray NVMe */
        .vendor        = "NVME",
        .product       = "Pure Storage FlashArray",
        .pgpolicy      = MULTIBUS,
        .no_path_retry = 10,
xosevp commented 2 years ago
vendor               .*
product              dellemc-powerstore
uid_attribute        ID_WWN
prio                 ana             
failback             immediate
path_grouping_policy "group_by_prio" 
# path_checker       directio        
path_selector        "queue-length 0"
detect_prio          "yes"
fast_io_fail_tmo     15
no_path_retry        3
rr_min_io_rq         1

Translated to code:

        /* PowerStore NVMe */
        .vendor        = ".*",
        .product       = "dellemc-powerstore",
        .pgpolicy      = GROUP_BY_PRIO,
        .prio_name     = PRIO_ANA,
        .pgfailback    = -FAILBACK_IMMEDIATE,
        .no_path_retry = 3,
mwilck commented 2 years ago

@xosevp, what's the status here? I'm preparing a 0.9.0 submission. Do you need further input from anyone?

xosevp commented 2 years ago

DONE.