<p dir="ltr">-Atin<br>
Sent from one plus one<br>
On Sep 24, 2015 4:59 PM, &quot;Aki Ketolainen&quot; &lt;<a href="mailto:ak-su@outlook.com">ak-su@outlook.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;ve ensured that both forward and reverse DNS queries work for these two hosts<br>
&gt; (using dnsmasq together with the /etc/hosts file).<br>
That&#39;s the only issue what I could think of<br>
&gt;<br>
&gt; Best regards,<br>
&gt;<br>
&gt; Aki<br>
&gt;<br>
&gt; ________________________________<br>
&gt; Date: Thu, 24 Sep 2015 16:52:52 +0530<br>
&gt; Subject: Re: [Gluster-users] glusterfs on Microsoft Azure?<br>
&gt; From: <a href="mailto:atin.mukherjee83@gmail.com">atin.mukherjee83@gmail.com</a><br>
&gt; To: <a href="mailto:ak-su@outlook.com">ak-su@outlook.com</a><br>
&gt; CC: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
&gt;<br>
&gt;<br>
&gt; Can you configure your /etc/hosts file to include these hostnames along with their IPs? That should solve your problem I guess.<br>
&gt;<br>
&gt; -Atin<br>
&gt; Sent from one plus one<br>
&gt;<br>
&gt; On Sep 24, 2015 3:26 PM, &quot;Aki Ketolainen&quot; &lt;<a href="mailto:ak-su@outlook.com">ak-su@outlook.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I was trying to setup glusterfs 3.7.4-2 on CentOS 6.7 on Microsoft Azure.<br>
&gt;&gt; We are fortunate to receive service from Microsoft Bizspark program for startups.<br>
&gt;&gt; Unfortunately, we are forced to run the virtual machines on separate Azure accounts.<br>
&gt;&gt; This in turn causes the VM&#39;s not being able to ping each other.<br>
&gt;&gt;<br>
&gt;&gt; Reading the gluster documentation at <a href="http://gluster.readthedocs.org/en/latest/Install-Guide/Configure/">http://gluster.readthedocs.org/en/latest/Install-Guide/Configure/</a><br>
&gt;&gt; it says &quot;For the Gluster to communicate within a cluster either the firewalls have to be turned off or enable communication for each server.&quot;<br>
&gt;&gt;<br>
&gt;&gt; In my case this is impossible because the VM&#39;s under different Azure accounts are unable to<br>
&gt;&gt; ping each other. This restriction is a design choice Microsoft has made. The needed glusterfs <br>
&gt;&gt; service ports are open between the VM&#39;s.<br>
&gt;&gt;<br>
&gt;&gt; What could be a remedy to this problem?<br>
&gt;&gt;<br>
&gt;&gt; Here&#39;s detailed information about my setup:<br>
&gt;&gt;<br>
&gt;&gt; (on hostA)<br>
&gt;&gt; # gluster peer status<br>
&gt;&gt; Number of Peers: 1<br>
&gt;&gt;<br>
&gt;&gt; Hostname: hostB.domain<br>
&gt;&gt; Uuid: 7e468940-97e5-4595-a835-5eeedae07770<br>
&gt;&gt; State: Peer in Cluster (Connected)<br>
&gt;&gt;<br>
&gt;&gt; (on hostB)<br>
&gt;&gt; # gluster peer status<br>
&gt;&gt; Number of Peers: 1<br>
&gt;&gt;<br>
&gt;&gt; Hostname: hostA.domain<br>
&gt;&gt; Uuid: 1a5a62a8-4e08-4f06-9f5d-e159a2f7e5c9<br>
&gt;&gt; State: Peer in Cluster (Connected)<br>
&gt;&gt;<br>
&gt;&gt; (on hostA)<br>
&gt;&gt; # gluster volume create home replica 2 hostA.domain:/data/home/gv0 hostB.domain:/data/home/gv0<br>
&gt;&gt; volume create: home: failed: Host hostA.domain is not in &#39;Peer in Cluster&#39; state<br>
&gt;&gt;<br>
&gt;&gt; (/var/log/glusterfs/etc-glusterfs-glusterd.vol.log)<br>
&gt;&gt; [2015-09-22 07:54:36.374674] I [MSGID: 106487] [glusterd-handler.c:1402:__glusterd_handle_cli_list_friends] 0-glusterd: Received cli list req<br>
&gt;&gt; [2015-09-22 07:59:08.515867] E [MSGID: 106452] [glusterd-utils.c:5569:glusterd_new_brick_validate] 0-management: Host hostA.domain is not in &#39;Peer in Cluster&#39; state<br>
&gt;&gt; [2015-09-22 07:59:08.515896] E [MSGID: 106536] [glusterd-volume-ops.c:1273:glusterd_op_stage_create_volume] 0-management: Host hostA.domain is not in &#39;Peer in Cluster&#39; state<br>
&gt;&gt; [2015-09-22 07:59:08.515908] E [MSGID: 106301] [glusterd-syncop.c:1274:gd_stage_op_phase] 0-management: Staging of operation &#39;Volume Create&#39; failed on localhost : Host hostA.domain is not in &#39;Peer in Cluster&#39; state<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt;<br>
&gt;&gt; Aki<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Gluster-users mailing list<br>
&gt;&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt;&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</p>