<div dir="ltr"><div><br></div><div>Hello, </div><div>I&#39;m configuring an hypervisor for iSCSI Dell PS Series</div><div>It is a CentOS 7.3 + updates server.</div><div>The server has been already added to oVirt as a node, but without any storage domain configured yet.</div><div>It has access to one lun that will become the storage domain one.</div><div><br></div><div>Default oVirt generated multipath.conf is like this:</div><div><br></div><div>defaults {</div><div>    polling_interval            5</div><div>    no_path_retry               fail</div><div>    user_friendly_names         no</div><div>    flush_on_last_del           yes</div><div>    fast_io_fail_tmo            5</div><div>    dev_loss_tmo                30</div><div>    max_fds                     4096</div><div>}</div><div><br></div><div>devices {</div><div>    device {</div><div>        # These settings overrides built-in devices settings. It does not apply</div><div>        # to devices without built-in settings (these use the settings in the</div><div>        # &quot;defaults&quot; section), or to devices defined in the &quot;devices&quot; section.</div><div>        # Note: This is not available yet on Fedora 21. For more info see</div><div>        # <a href="https://bugzilla.redhat.com/1253799">https://bugzilla.redhat.com/1253799</a></div><div>        all_devs                yes</div><div>        no_path_retry           fail</div><div>    }</div><div>}</div><div><br></div><div><br></div><div>Apparently in device-mapper-multipath there is no builtin for this combination</div><div><br></div><div>  Vendor: EQLOGIC  Model: 100E-00          Rev: 8.1 </div><div><br></div><div>So, with the oVirt provided configuration a &quot;show config&quot; for multipath reports something like this at the end: </div><div><br></div><div>        polling_interval 5</div><div>        path_selector &quot;service-time 0&quot;</div><div>        path_grouping_policy &quot;failover&quot;</div><div>        path_checker &quot;directio&quot;</div><div>        rr_min_io_rq 1</div><div>        max_fds 4096</div><div>        rr_weight &quot;uniform&quot;</div><div>        failback &quot;manual&quot;</div><div>        features &quot;0&quot;</div><div><br></div><div>and multipath layout this way</div><div><br></div><div>[root@ov300 etc]# multipath -l</div><div>364817197b5dfd0e5538d959702249b1c dm-3 EQLOGIC ,100E-00         </div><div>size=1.0T features=&#39;0&#39; hwhandler=&#39;0&#39; wp=rw</div><div>|-+- policy=&#39;service-time 0&#39; prio=0 status=active</div><div>| `- 7:0:0:0 sde 8:64 active undef  running</div><div>`-+- policy=&#39;service-time 0&#39; prio=0 status=enabled</div><div>  `- 8:0:0:0 sdf 8:80 active undef  running</div><div>[root@ov300 etc]# </div><div><br></div><div>Following recommendations from Dell here:</div><div><a href="http://en.community.dell.com/techcenter/extras/m/white_papers/20442422">http://en.community.dell.com/techcenter/extras/m/white_papers/20442422</a></div><div><br></div><div>I should put into defaults section these directives:</div><div><br></div><div>defaults {</div><div>    polling_interval            10</div><div>    path_selector               &quot;round-robin 0&quot;</div><div>    path_grouping_policy        multibus</div><div>    path_checker                tur</div><div>    rr_min_io_rq                10</div><div>    max_fds                     8192</div><div>    rr_weight                   priorities</div><div>    failback                    immediate</div><div>    features                    0</div><div>}</div><div><br></div><div>I&#39;m trying to mix EQL and oVirt reccomendations to have the best for my use </div><div>and arrived at this config (plus a blacklist section with my internal hd and my flash wwids that is not relevant here):</div><div><br></div><div># VDSM REVISION 1.3</div><div># VDSM PRIVATE</div><div><br></div><div>defaults {</div><div>    polling_interval            5</div><div>    no_path_retry               fail</div><div>    user_friendly_names         no</div><div>    flush_on_last_del           yes</div><div>    fast_io_fail_tmo            5</div><div>    dev_loss_tmo                30</div><div>#    Default oVirt value overwritten</div><div>#    max_fds                     4096</div><div>#</div><div>    max_fds                     8192</div><div>}</div><div><br></div><div>devices {</div><div>    device {</div><div>        # These settings overrides built-in devices settings. It does not apply</div><div>        # to devices without built-in settings (these use the settings in the</div><div>        # &quot;defaults&quot; section), or to devices defined in the &quot;devices&quot; section.</div><div>        # Note: This is not available yet on Fedora 21. For more info see</div><div>        # <a href="https://bugzilla.redhat.com/1253799">https://bugzilla.redhat.com/1253799</a></div><div>        all_devs                yes</div><div>        no_path_retry           fail</div><div>    }</div><div>    device {</div><div>        vendor                  &quot;EQLOGIC&quot;</div><div>        product                 &quot;100E-00&quot;</div><div>#        Default EQL configuration overwritten by oVirt default</div><div>#        polling_interval        10</div><div>#</div><div>        path_selector           &quot;round-robin 0&quot;</div><div>        path_grouping_policy    multibus</div><div>        path_checker            tur</div><div>        rr_min_io_rq            10</div><div>        rr_weight               priorities</div><div>        failback                immediate</div><div>        features                &quot;0&quot;</div><div>    }</div><div>}</div><div><br></div><div>After activating this config I have this mutipath layout</div><div><br></div><div>[root@ov300 etc]# multipath -l</div><div>364817197b5dfd0e5538d959702249b1c dm-3 EQLOGIC ,100E-00         </div><div>size=1.0T features=&#39;0&#39; hwhandler=&#39;0&#39; wp=rw</div><div>`-+- policy=&#39;round-robin 0&#39; prio=0 status=active</div><div>  |- 7:0:0:0 sde 8:64 active undef  running</div><div>  `- 8:0:0:0 sdf 8:80 active undef  running</div><div>[root@ov300 etc]# </div><div><br></div><div>NOTE: at this moment the storage is not yet configured as a storage domain.</div><div>I also changed /etc/iscsi/iscsd.conf and sysctl.d parameters as from EQL doc indications</div><div><br></div><div>From an iSCSI initiator point of view:</div><div><br></div><div>[root@ov300 ~]# iscsiadm -m session</div><div>tcp: [1] <a href="http://10.10.100.9:3260">10.10.100.9:3260</a>,1 iqn.2001-05.com.equallogic:4-771816-e5d0dfb59-1c9b240297958d53-ovsd3910 (non-flash)</div><div>tcp: [2] <a href="http://10.10.100.9:3260">10.10.100.9:3260</a>,1 iqn.2001-05.com.equallogic:4-771816-e5d0dfb59-1c9b240297958d53-ovsd3910 (non-flash)</div><div>[root@ov300 ~]# </div><div><br></div><div>[root@ov300 ~]# iscsiadm -m session -P 1</div><div>Target: iqn.2001-05.com.equallogic:4-771816-e5d0dfb59-1c9b240297958d53-ovsd3910 (non-flash)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>Current Portal: <a href="http://10.10.100.41:3260">10.10.100.41:3260</a>,1</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>Persistent Portal: <a href="http://10.10.100.9:3260">10.10.100.9:3260</a>,1</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>**********</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Interface:</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>**********</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Iface Name: ip1p1</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Iface Transport: tcp</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Iface Initiatorname: iqn.1994-05.com.redhat:f2d7fc1e2fc</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Iface IPaddress: 10.10.100.87</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Iface HWaddress: &lt;empty&gt;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Iface Netdev: &lt;empty&gt;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>SID: 1</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>iSCSI Connection State: LOGGED IN</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>iSCSI Session State: LOGGED_IN</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Internal iscsid Session State: NO CHANGE</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>Current Portal: <a href="http://10.10.100.42:3260">10.10.100.42:3260</a>,1</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>Persistent Portal: <a href="http://10.10.100.9:3260">10.10.100.9:3260</a>,1</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>**********</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Interface:</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>**********</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Iface Name: ip1p2</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Iface Transport: tcp</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Iface Initiatorname: iqn.1994-05.com.redhat:f2d7fc1e2fc</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Iface IPaddress: 10.10.100.87</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Iface HWaddress: &lt;empty&gt;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Iface Netdev: &lt;empty&gt;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>SID: 2</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>iSCSI Connection State: LOGGED IN</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>iSCSI Session State: LOGGED_IN</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>Internal iscsid Session State: NO CHANGE</div><div>[root@ov300 ~]# </div><div><br></div><div>Do you think it is ok?</div><div><br></div><div>Thanks for any comments,</div><div><br></div><div>Gianluca</div></div>