<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>they have the default UID that were given to them when they were created on the system - so it' s not the same on both. As for the user, the mysql dir belongs to the mysql user and the rabbitmq to the rabbitmq user</div><div>MySQL : 700 (/var/lib/mysql)</div><div>RabbitMQ : 755 (/var/lib/rabbitmq)</div><div><br></div><div>Regards,<br><div><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="0de42233-3a16-42a4-836e-a70cbe5761e8" apple-width="yes" apple-height="yes" src="cid:0A2450C8-6A0D-42D0-8035-743CAD564432@fabrique.lan"></span>
</div>
<br><div><div>Le 16 avr. 2013 à 06:38, 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">A<div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​re your mysql users have same id?​ What are the permissions of in your drbd fs when mounted on the master node?</div><div class="gmail_extra">


<br clear="all"><div><div dir="ltr"><div><br></div><font face="tahoma, sans-serif"><b style="color:rgb(51,51,51)">BUSSY Jean-Daniel</b><br><br></font>
</div></div>
<br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 10:39 AM, Jean-Daniel BUSSY <span dir="ltr"><<a href="mailto:silversurfer972@gmail.com" target="_blank">silversurfer972@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr">H<div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​i Razique,</div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">




I am using ubuntu 12.04.2. ​</div></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">My corosync configuration file is </div><a href="http://paste2.org/IBY38WwM" target="_blank">http://paste2.org/IBY38WwM</a></div>




<div><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​I am using the interface of the address ​</div>172.16.1.13<div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">



​ and f</div><span style="font-family:tahoma,sans-serif">Foreground corosync is launching fine and using the ​default configuration file fine.</span></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif">



It's quite confusing</div><span><font color="#888888"><br></font></span></div></div><div class="gmail_extra"><span><font color="#888888"><br clear="all"><div><div dir="ltr"><div><br></div>
<font face="tahoma, sans-serif"><b style="color:rgb(51,51,51)">BUSSY Jean-Daniel</b><br>Cloud Engineer | GREE<br>
</font><span style="font-family:tahoma,sans-serif"><font color="#333333">Mobile:</font> <a href="tel:%2B81%20090-3317-1337" value="+819033171337" target="_blank">+81 090-3317-1337</a></span><br><font face="tahoma, sans-serif"><font color="#333333">Email:</font></font> <a href="mailto:silversurfer972@gmail.com" target="_blank">silversurfer972@gmail.com</a> <br>



<div><font face="tahoma, sans-serif"><font color="#333333">Mobile mail:</font></font> <a href="mailto:jakku972@docomo.ne.jp" target="_blank">jakku972@docomo.ne.jp</a></div></div></div></font></span><div>
<br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 2:37 AM, Razique Mahroua <span dir="ltr"><<a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">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>
<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:'Lucida Grande';word-spacing:0px"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Razique Mahroua</b></span><span style="font-weight:normal;font-family:Helvetica;color:rgb(19,112,138)"><b> - </b></span><span style="font-family:Helvetica"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Nuage & Co</b></span><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal">



<font color="#13708a"><a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a></font></div><div style="font-style:normal;font-size:medium;font-family:Helvetica"><font color="#13708a">Tel : <a href="tel:%2B33%209%2072%2037%2094%2015" value="+33972379415" target="_blank">+33 9 72 37 94 15</a></font></div>



</span></span></span></span></span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Arial;word-spacing:0px">



<span><NUAGECO-LOGO-Fblan_petit.jpg></span>
</div>
<br><div><div>Le 15 avr. 2013 à 18:30, Jean-Daniel BUSSY <<a href="mailto:silversurfer972@gmail.com" target="_blank">silversurfer972@gmail.com</a>> a écrit :</div><br><blockquote type="cite"><div><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></div>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>



Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>



</blockquote></div><br></div></div></blockquote></div><br></div></div>
</blockquote></div><br></div></div>
</blockquote></div><br></div></div></body></html>