<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 30, 2015 at 12:04 AM, Duckworth, Douglas C <span dir="ltr"><<a href="mailto:duckd@tulane.edu" target="_blank">duckd@tulane.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Doug</blockquote></div><br><br></div><div class="gmail_extra">Hi Doug,<br></div><div class="gmail_extra">You haven't sated your vdsm/oVirt version so I my answers might be somewhat generic.<br></div><div class="gmail_extra">1) once a network configuration (net-conf) is given by the engine, and is configured by vdsm,<br></div><div class="gmail_extra"> vdsm stores it under /var/run/vdsm/netconf/{nets,bonds}. This is used as an intermediate<br></div><div class="gmail_extra"> place fro this configuration, and allows the user to verify that his requested net-conf <br></div><div class="gmail_extra"> indeed serves his goals.<br></div><div class="gmail_extra"> If the worst has happen, and all communication is now broken, and since this path does<br> not survive a reboot, it leaves the user with the emergency ultimate option of rebooting<br></div><div class="gmail_extra"> the host and let it restooe the last knownworking net-conf (see2).<br></div><div class="gmail_extra">2) once engine calls setSafeNetworkConfig API verb, this info is copied into /var/lib/vdsm/persistence/netconf/<br></div><div class="gmail_extra"> in an atomic operation. Since this path survives a host reboot, the host will restore<br></div><div class="gmail_extra"> all networks from that place.<br></div><div class="gmail_extra"> If I am not mistaking, the engine defaults to call this API immediately after each netwrok<br></div><div class="gmail_extra"> setup (it can be toggled in a checkbox in the UI).<br><br></div><div class="gmail_extra">In general, the ultimate knoledge about the required networks sits in the administrator mind,<br>and hopefully, in the engine database. So the best options you guys have is adding the required netwroks<br></div><div class="gmail_extra">one by one from the engine, and call setSafeNetworkConfig after each verified successful state.<br></div><div class="gmail_extra">This will ensure a proper state+backup on your host.<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Thanks,<br></div>Ido Barkan<br></div></div>
</div></div>