<div dir="ltr"><div><div>In my perspective, the ovirt developers put very general configuration of multipath.conf file, which in their opinion should work with as much as posslible arrays.<br></div>So you should modify this file and try to do some tests, plug in, plug out links etc.<br><br></div>If you want to get luns picture, you should better use: iscsiadm -m session -P 3.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-28 18:25 GMT+02:00 Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Hello, </div><div>I'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> # "defaults" section), or to devices defined in the "devices" 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" target="_blank">https://bugzilla.redhat.com/<wbr>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 "show config" for multipath reports something like this at the end: </div><div><br></div><div> polling_interval 5</div><div> path_selector "service-time 0"</div><div> path_grouping_policy "failover"</div><div> path_checker "directio"</div><div> rr_min_io_rq 1</div><div> max_fds 4096</div><div> rr_weight "uniform"</div><div> failback "manual"</div><div> features "0"</div><div><br></div><div>and multipath layout this way</div><div><br></div><div>[root@ov300 etc]# multipath -l</div><div>364817197b5dfd0e5538d959702249<wbr>b1c dm-3 EQLOGIC ,100E-00 </div><div>size=1.0T features='0' hwhandler='0' wp=rw</div><div>|-+- policy='service-time 0' prio=0 status=active</div><div>| `- 7:0:0:0 sde 8:64 active undef running</div><div>`-+- policy='service-time 0' 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" target="_blank">http://en.community.dell.com/<wbr>techcenter/extras/m/white_<wbr>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 "round-robin 0"</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'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> # "defaults" section), or to devices defined in the "devices" 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" target="_blank">https://bugzilla.redhat.com/<wbr>1253799</a></div><div> all_devs yes</div><div> no_path_retry fail</div><div> }</div><div> device {</div><div> vendor "EQLOGIC"</div><div> product "100E-00"</div><div># Default EQL configuration overwritten by oVirt default</div><div># polling_interval 10</div><div>#</div><div> path_selector "round-robin 0"</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 "0"</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>364817197b5dfd0e5538d959702249<wbr>b1c dm-3 EQLOGIC ,100E-00 </div><div>size=1.0T features='0' hwhandler='0' wp=rw</div><div>`-+- policy='round-robin 0' 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" target="_blank">10.10.100.9:3260</a>,1 iqn.2001-05.com.equallogic:4-<wbr>771816-e5d0dfb59-<wbr>1c9b240297958d53-ovsd3910 (non-flash)</div><div>tcp: [2] <a href="http://10.10.100.9:3260" target="_blank">10.10.100.9:3260</a>,1 iqn.2001-05.com.equallogic:4-<wbr>771816-e5d0dfb59-<wbr>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-<wbr>771816-e5d0dfb59-<wbr>1c9b240297958d53-ovsd3910 (non-flash)</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>Current Portal: <a href="http://10.10.100.41:3260" target="_blank">10.10.100.41:3260</a>,1</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>Persistent Portal: <a href="http://10.10.100.9:3260" target="_blank">10.10.100.9:3260</a>,1</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>**********</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Interface:</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>**********</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Iface Name: ip1p1</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Iface Transport: tcp</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Iface Initiatorname: iqn.1994-05.com.redhat:<wbr>f2d7fc1e2fc</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Iface IPaddress: 10.10.100.87</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Iface HWaddress: <empty></div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Iface Netdev: <empty></div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>SID: 1</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>iSCSI Connection State: LOGGED IN</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>iSCSI Session State: LOGGED_IN</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Internal iscsid Session State: NO CHANGE</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>Current Portal: <a href="http://10.10.100.42:3260" target="_blank">10.10.100.42:3260</a>,1</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>Persistent Portal: <a href="http://10.10.100.9:3260" target="_blank">10.10.100.9:3260</a>,1</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>**********</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Interface:</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>**********</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Iface Name: ip1p2</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Iface Transport: tcp</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Iface Initiatorname: iqn.1994-05.com.redhat:<wbr>f2d7fc1e2fc</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Iface IPaddress: 10.10.100.87</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Iface HWaddress: <empty></div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>Iface Netdev: <empty></div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>SID: 2</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>iSCSI Connection State: LOGGED IN</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>iSCSI Session State: LOGGED_IN</div><div><span class="m_-3879659808273994769gmail-Apple-tab-span" style="white-space:pre-wrap">                </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>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>