<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br>I've ensured that both forward and reverse DNS queries work for these two hosts<br>(using <span style="background-color: rgb(255, 255, 204);" name="textmarker_14" id="textmarked_12"></span>dnsmasq together with the /etc/hosts file<span style="background-color: rgb(255, 255, 204);" name="textmarker_13" id="textmarked_11"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_12" id="textmarked_10"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_11" id="textmarked_9"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_10" id="textmarked_8"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_9" id="textmarked_7"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_8" id="textmarked_6"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_7" id="textmarked_5"></span>).<br><br>Best regards,<br><br>Aki<br><span style="background-color: rgb(255, 255, 204);" name="textmarker_5" id="textmarked_4"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_4" id="textmarked_3"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_3" id="textmarked_2"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_2" id="textmarked_1"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_1" id="textmarked_0"></span><br><div><hr id="stopSpelling">Date: Thu, 24 Sep 2015 16:52:52 +0530<br>Subject: Re: [Gluster-users] glusterfs on Microsoft Azure?<br>From: atin.mukherjee83@gmail.com<br>To: ak-su@outlook.com<br>CC: gluster-users@gluster.org<br><br><p dir="ltr">Can you configure your /etc/hosts file to include these hostnames along with their IPs? That should solve your problem I guess.</p>
<p dir="ltr">-Atin<br>
Sent from one plus one</p>
<div class="ecxgmail_quote">On Sep 24, 2015 3:26 PM, "Aki Ketolainen" &lt;<a href="mailto:ak-su@outlook.com">ak-su@outlook.com</a>&gt; wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr">Hi,<br><br>I was trying to setup glusterfs 3.7.4-2<span style="background-color:rgb(255,255,204);"></span> on CentOS 6.7 on Microsoft Azure.<br>We are fortunate to receive service from Microsoft Bizspark program for startups.<br>Unfortunately, we are forced to run the virtual machines on separate Azure accounts.<br>This in turn <span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,153);"></span>causes the VM's not being able to ping each other.<br><br>Reading the gluster <span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span>documentation at <a href="http://gluster.readthedocs.org/en/latest/Install-Guide/Configure/" target="_blank">http://gluster.readthedocs.org/en/latest/Install-Guide/Configure/</a><br>it says "For the Gluster to communicate within a cluster either the firewalls
have to be turned off or enable communication for each server."<br><br>In my case this is impossible because the VM's under different Azure accounts are unable to<br>ping each other. This restriction is a design choice Microsoft has made<span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,153);"></span>.<span style="background-color:rgb(255,204,153);"></span> The needed glusterfs <br>service ports are open between the VM's.<span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,204);"></span><span style="background-color:rgb(255,255,204);"></span><br><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><br><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,204);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,255,204);"></span>What could be a remedy to this problem?<span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,204,204);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,204,204);"></span><br><br>Here's detailed information about my setup:<br><br>(on hostA)<br># gluster peer status<br>Number of Peers: 1<br><br>Hostname: hostB.domain<br>Uuid: 7e468940-97e5-4595-a835-5eeedae07770<br>State: Peer in Cluster (Connected)<br><br>(on hostB)<br># gluster peer status<br>Number of Peers: 1<br><br>Hostname: hostA.domain<br>Uuid: 1a5a62a8-4e08-4f06-9f5d-e159a2f7e5c9<br>State: Peer in Cluster (Connected)<br><br>(on hostA)<br># gluster volume create home replica 2 hostA.domain:/data/home/gv0 hostB.domain:/data/home/gv0<br>volume create: home: failed: Host hostA.domain is not in 'Peer in Cluster' state<br><br>(/var/log/glusterfs/etc-glusterfs-glusterd.vol.log)<br>[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>[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 'Peer in Cluster' state<br>[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 'Peer in Cluster' state<br>[2015-09-22 07:59:08.515908] E [MSGID: 106301] [glusterd-syncop.c:1274:gd_stage_op_phase] 0-management: Staging of operation 'Volume Create' failed on localhost : Host hostA.domain is not in 'Peer in Cluster' state<br><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,204,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,255,204);"></span><br>Best regards,<br><br>Aki<br><br><br><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,204,204);"></span><span style="background-color:rgb(255,204,204);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,204,204);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,204,153);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span><span style="background-color:rgb(255,255,204);"></span>                                               </div></div>
<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" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div></div>                                               </div></body>
</html>