<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Jean-Daniel,<div>the script works fine for me - I never bothered about the UIDs, which OS are you running?</div><div>Regards,<br><div apple-content-edited="true">
<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; border-collapse: separate; font-family: 'Lucida Grande'; border-spacing: 0px; -webkit-text-decorations-in-effect: none; "><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Razique Mahroua</b></span><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; color: rgb(19, 112, 138); "><b> - </b></span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Nuage & Co</b></span><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="font-weight: normal; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; "><font class="Apple-style-span" color="#13708a"><a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; "><font class="Apple-style-span" color="#13708a">Tel : +33 9 72 37 94 15</font></div></span></span></span></span></span><br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span><img height="125" width="125" id="462a97fd-5c95-46d7-9ae9-b49fa0667017" apple-width="yes" apple-height="yes" src="cid:0A2450C8-6A0D-42D0-8035-743CAD564432@fabrique.lan"></span>
</div>
<br><div><div>Le 15 avr. 2013 à 18:30, Jean-Daniel BUSSY <<a href="mailto:silversurfer972@gmail.com">silversurfer972@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><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"><br></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>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>