<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Markeringsbobletekst Tegn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.MarkeringsbobletekstTegn
        {mso-style-name:"Markeringsbobletekst Tegn";
        mso-style-priority:99;
        mso-style-link:Markeringsbobletekst;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">So it’s fx a small virtual server with no storage added with ‘peer probe’ but not at part of any volume ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">/Peter<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Fra:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Atin Mukherjee [mailto:atin.mukherjee83@gmail.com]
<br>
<b>Sendt:</b> 30. oktober 2015 14:06<br>
<b>Til:</b> Peter Michael Calum<br>
<b>Cc:</b> gluster-users@gluster.org<br>
<b>Emne:</b> Re: [Gluster-users] How-to start gluster when only one node is up ?<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p>gluster peer probe &lt;node ip&gt;<o:p></o:p></p>
<p>-Atin<br>
Sent from one plus one<o:p></o:p></p>
<div>
<p class="MsoNormal">On Oct 30, 2015 6:34 PM, &quot;Peter Michael Calum&quot; &lt;<a href="mailto:pemca@tdc.dk">pemca@tdc.dk</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">How do i &nbsp;add a ’dummy’ node ?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">thanks,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Peter</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Fra:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:gluster-users-bounces@gluster.org" target="_blank">gluster-users-bounces@gluster.org</a> [mailto:<a href="mailto:gluster-users-bounces@gluster.org" target="_blank">gluster-users-bounces@gluster.org</a>]
<b>På vegne af </b>Atin Mukherjee<br>
<b>Sendt:</b> 30. oktober 2015 13:14<br>
<b>Til:</b> Mauro Mozzarelli<br>
<b>Cc:</b> <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
<b>Emne:</b> Re: [Gluster-users] How-to start gluster when only one node is up ?</span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p>-Atin<br>
Sent from one plus one<br>
On Oct 30, 2015 5:28 PM, &quot;Mauro Mozzarelli&quot; &lt;<a href="mailto:mauro@ezplanet.net" target="_blank">mauro@ezplanet.net</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Atin keeps giving the same answer: &quot;it is by design&quot;<br>
&gt;<br>
&gt; I keep saying &quot;the design is wrong and it should be changed to cater for<br>
&gt; standby servers&quot;<br>
Every design has got its own set of limitations and i would say this is a limitation instead of mentioning the overall design itself wrong. I would again stand with my points as correctness is always a priority in a distributed system. This behavioural change
 was introduced in 3.5 and if this was not included as part of release note I apologize on behalf of the release management.
<br>
As communicated earlier, we will definitely resolve this issue in GlusterD2.<br>
&gt;<br>
&gt; In the meantime this is the workaround I am using:<br>
&gt; When the single node starts I stop and start the volume, and then it<br>
&gt; becomes mountable. On CentOS 6 and CentOS 7 it works with release up to<br>
&gt; 3.7.4. Release 3.7.5 is broken so I reverted back to 3.7.4.<br>
This is where I am not convinced. An explicit volume start should start the bricks, can you raise a BZ with all the relevant details?<br>
&gt;<br>
&gt; In my experience glusterfs releases are a bit of a hit and miss. Often<br>
&gt; something stops working with newer releases, then after a few more<br>
&gt; releases it works again or there is a workaround ... Not quite the<br>
&gt; stability one would want for commercial use, and thus at the moment I can<br>
&gt; risk using it only for my home servers, hence the cluster with a node<br>
&gt; always ON and the second as STANDBY.<br>
&gt;<br>
&gt; MOUNT=/home<br>
&gt; LABEL=&quot;GlusterFS:&quot;<br>
&gt; if grep -qs $MOUNT /proc/mounts; then<br>
&gt; &nbsp; &nbsp; echo &quot;$LABEL $MOUNT is mounted&quot;;<br>
&gt; &nbsp; &nbsp; gluster volume start gv_home 2&gt;/dev/null<br>
&gt; else<br>
&gt; &nbsp; &nbsp; echo &quot;$LABEL $MOUNT is NOT mounted&quot;;<br>
&gt; &nbsp; &nbsp; echo &quot;$LABEL Restarting gluster volume ...&quot;<br>
&gt; &nbsp; &nbsp; yes|gluster volume stop gv_home &gt; /dev/null<br>
&gt; &nbsp; &nbsp; gluster volume start gv_home<br>
&gt; &nbsp; &nbsp; mount -t glusterfs sirius-ib:/gv_home $MOUNT;<br>
&gt; &nbsp; &nbsp; if grep -qs $MOUNT /proc/mounts; then<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;$LABEL $MOUNT is mounted&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; gluster volume start gv_home 2&gt;/dev/null<br>
&gt; &nbsp; &nbsp; else<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;$LABEL failure to mount $MOUNT&quot;;<br>
&gt; &nbsp; &nbsp; fi<br>
&gt; fi<br>
&gt;<br>
&gt; I hope this helps.<br>
&gt; Mauro<br>
&gt;<br>
&gt; On Fri, October 30, 2015 11:48, Atin Mukherjee wrote:<br>
&gt; &gt; -Atin<br>
&gt; &gt; Sent from one plus one<br>
&gt; &gt; On Oct 30, 2015 4:35 PM, &quot;Remi Serrano&quot; &lt;<a href="mailto:rserrano@pros.com" target="_blank">rserrano@pros.com</a>&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Hello,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I setup a gluster file cluster with 2 nodes. It works fine.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; But, when I shut down the 2 nodes, and startup only one node, I cannot<br>
&gt; &gt; mount the share :<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; [root@xxx ~]#&nbsp; mount -t glusterfs 10.32.0.11:/gv0 /glusterLocalShare<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Mount failed. Please check the log file for more details.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Log says :<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; [2015-10-30 10:33:26.147003] I [MSGID: 100030] [glusterfsd.c:2318:main]<br>
&gt; &gt; 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.7.5<br>
&gt; &gt; (args: /usr/sbin/glusterfs -127.0.0.1 --volfile-id=/gv0<br>
&gt; &gt; /glusterLocalShare)<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; [2015-10-30 10:33:26.171964] I [MSGID: 101190]<br>
&gt; &gt; [event-epoll.c:632:event_dispatch_epoll_worker] 0-epoll: Started thread<br>
&gt; &gt; with index 1<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; [2015-10-30 10:33:26.185685] I [MSGID: 101190]<br>
&gt; &gt; [event-epoll.c:632:event_dispatch_epoll_worker] 0-epoll: Started thread<br>
&gt; &gt; with index 2<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; [2015-10-30 10:33:26.186972] I [MSGID: 114020] [client.c:2118:notify]<br>
&gt; &gt; 0-gv0-client-0: parent translators are ready, attempting connect on<br>
&gt; &gt; transport<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; [2015-10-30 10:33:26.191823] I [MSGID: 114020] [client.c:2118:notify]<br>
&gt; &gt; 0-gv0-client-1: parent translators are ready, attempting connect on<br>
&gt; &gt; transport<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; [2015-10-30 10:33:26.192209] E [MSGID: 114058]<br>
&gt; &gt; [client-handshake.c:1524:client_query_portmap_cbk] 0-gv0-client-0: failed<br>
&gt; &gt; to get the port number for remote subvolume. Please ume status' on server<br>
&gt; &gt; to see if brick process is running.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; [2015-10-30 10:33:26.192339] I [MSGID: 114018]<br>
&gt; &gt; [client.c:2042:client_rpc_notify] 0-gv0-client-0: disconnected from<br>
&gt; &gt; gv0-client-0. Client process will keep trying to connect t brick's port is<br>
&gt; &gt; available<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; And when I check the volumes I get:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; [root@xxx ~]# gluster volume status<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Status of volume: gv0<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Gluster process&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TCP Port&nbsp; RDMA Port&nbsp; Online<br>
&gt; &gt; Pid<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt; ------------------------------------------------------------------------------<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Brick 10.32.0.11:/glusterBrick1/gv0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N/A&nbsp; &nbsp; &nbsp; &nbsp;N/A&nbsp; &nbsp; &nbsp; &nbsp; N<br>
&gt; &gt; N/A<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; NFS Server on localhost&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N/A&nbsp; &nbsp; &nbsp; &nbsp;N/A&nbsp; &nbsp; &nbsp; &nbsp; N<br>
&gt; &gt; N/A<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; NFS Server on localhost&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N/A&nbsp; &nbsp; &nbsp; &nbsp;N/A&nbsp; &nbsp; &nbsp; &nbsp; N<br>
&gt; &gt; N/A<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Task Status of Volume gv0<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt; ------------------------------------------------------------------------------<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; There are no active volume tasks<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; If I start th second node, all is OK.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Is this normal ?<br>
&gt; &gt; This behaviour is by design. In a multi node cluster when GlusterD comes<br>
&gt; &gt; up<br>
&gt; &gt; it doesn't start the bricks until it receives the configuration from its<br>
&gt; &gt; one of the friends to ensure that stale information is not been referred.<br>
&gt; &gt; In your case since the other node is down bricks are not started and hence<br>
&gt; &gt; mount fails.<br>
&gt; &gt; As a workaround, we recommend to add a dummy node to the cluster to avoid<br>
&gt; &gt; this issue.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Regards,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Rémi<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; Gluster-users mailing list<br>
&gt; &gt;&gt; <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
&gt; &gt;&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">
http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Gluster-users mailing list<br>
&gt; &gt; <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
&gt; &gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">
http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Mauro Mozzarelli<br>
&gt; Phone: &#43;44 7941 727378<br>
&gt; eMail: <a href="mailto:mauro@ezplanet.net" target="_blank">mauro@ezplanet.net</a><br>
&gt;<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><o:p></o:p></p>
</div>
</div>
</body>
</html>