<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi stackers,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">


I am trying the Pacemaker approach to integrate HA to folsom on ubuntu 12.04.2</div><div class="gmail_default" style="font-family:tahoma,sans-serif">I followed the guide  at <a href="http://docs.openstack.org/trunk/openstack-ha/content/ch-controller.html" target="_blank">http://docs.openstack.org/trunk/openstack-ha/content/ch-controller.html</a></div>


<div><div dir="ltr"><div><span style="font-family:tahoma,sans-serif"><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​This is my first try with Pacemaker so I think I am missing something trivial here:</div>


</span></div><div><span style="font-family:tahoma,sans-serif"><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline"><br></div></span></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif">


<b>​Mysql HA​</b></div></div><div><div class="gmail_default"><span style="font-family:tahoma,sans-serif">​Machine A  have </span><font face="tahoma, sans-serif">mysql:x:105:111:MySQL Server,,,:/nonexistent:/bin/false</font></div>


<div class="gmail_default" style="font-family:tahoma,sans-serif">Machine B  have mysql:x:106:112:MySQL Server,,,:/nonexistent:/bin/false</div><br></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif">


​is uid of the files in drbd0 is ​set to uid 105 the failover will only work on Machine A</div><div class="gmail_default" style="font-family:tahoma,sans-serif">if uid is set to 106, then failover will only work on Machine B<br>


</div><div class="gmail_default" style="font-family:tahoma,sans-serif">​(to trigger failover I stop pacemaker and ​corosync service)</div><br></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif">Should the Machine A and B's mysql user share the same UID?</div>


<div class="gmail_default" style="font-family:tahoma,sans-serif">Should I set pacemaker to change the userid befre starting the service first? Is that possible?</div><div class="gmail_default" style="font-family:tahoma,sans-serif">


I couldn't get corosync fired up with the upstart script and have to fire it on the frontend. Is the service script working for you?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div></div>

<div class="gmail_default" style="font-family:tahoma,sans-serif">cheers</div><div><br></div><font face="tahoma, sans-serif"><b style="color:rgb(51,51,51)">BUSSY Jean-Daniel</b><br><br></font></div></div>
</div>