<html><head></head><body><div>Database only needed for control operations. </div><div>During upgrade we disable API (mark down on LB or take them down). This will prevent users from making any database changes. </div><div><br></div><div>After that flow is "simple"</div><div>- backup db </div><div>- do a migration</div><div>- perform your validation tests</div><div><br></div><div>If all good, bring up your api, if not, restore db backup to rollback </div><div><br></div><div>I'm over simplifying it here but this is basic concepts. You will find more details in the video <br><br><div class="acompli_signature"></div><br></div><br><br><br>
<div class="gmail_quote">On Wed, Mar 9, 2016 at 10:38 PM -0800, "Xav Paice" <span dir="ltr"><<a href="mailto:xavpaice@gmail.com" target="_blank">xavpaice@gmail.com</a>></span> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="3D"ltr"">
<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 10 March 2016 at 19:26, Yuriy Brodskiy <span dir="ltr"><<a href="mailto:ybrodskiy@gmail.com" target="_blank">ybrodskiy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-family:'trebuchet ms',sans-serif">building a new cloud is not practical for real production environments. even if you can afford it, how do you migrate data?</div><div style="font-family:'trebuchet ms',sans-serif"><br></div><div style="font-family:'trebuchet ms',sans-serif">We have been doing upgrades for a while now, and came up with few basic principles:</div><div style="font-family:'trebuchet ms',sans-serif">1) you don't have to upgrade all at the same time. do it component at the time</div><div style="font-family:'trebuchet ms',sans-serif">2) stand up a new version along side of an existing one, test it and then flip DNS</div><div style="font-family:'trebuchet ms',sans-serif"><br></div><div style="font-family:'trebuchet ms',sans-serif">Take a look at presentation team did during Vancouver summit </div><div style="font-family:'trebuchet ms',sans-serif"><a href="https://www.openstack.org/summit/vancouver-2015/summit-videos/presentation/10-minutes-openstack-upgrades-done" target="_blank">https://www.openstack.org/summit/vancouver-2015/summit-videos/presentation/10-minutes-openstack-upgrades-done</a></div></div><div class="gmail_extra"><br></div></blockquote><div><br></div><div>(replying to the list this time, and regretting using gmail)</div><div><br></div><div><span style="font-size:12.8px">I readily admit to not having watched that video (but will!) - one question. How do you deal with the db migration if you have two versions running at the same time?</span><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br></blockquote></div></div></div>
</div>
</blockquote>
</div>
</body></html>