<p dir="ltr">-Atin<br>
Sent from one plus one<br>
On Sep 24, 2015 4:59 PM, "Aki Ketolainen" <<a href="mailto:ak-su@outlook.com">ak-su@outlook.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I've ensured that both forward and reverse DNS queries work for these two hosts<br>
> (using dnsmasq together with the /etc/hosts file).<br>
That's the only issue what I could think of<br>
><br>
> Best regards,<br>
><br>
> Aki<br>
><br>
> ________________________________<br>
> Date: Thu, 24 Sep 2015 16:52:52 +0530<br>
> Subject: Re: [Gluster-users] glusterfs on Microsoft Azure?<br>
> From: <a href="mailto:atin.mukherjee83@gmail.com">atin.mukherjee83@gmail.com</a><br>
> To: <a href="mailto:ak-su@outlook.com">ak-su@outlook.com</a><br>
> CC: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
><br>
><br>
> Can you configure your /etc/hosts file to include these hostnames along with their IPs? That should solve your problem I guess.<br>
><br>
> -Atin<br>
> Sent from one plus one<br>
><br>
> On Sep 24, 2015 3:26 PM, "Aki Ketolainen" <<a href="mailto:ak-su@outlook.com">ak-su@outlook.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I was trying to setup glusterfs 3.7.4-2 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 causes the VM's not being able to ping each other.<br>
>><br>
>> 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>
>> 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. The needed glusterfs <br>
>> service ports are open between the VM's.<br>
>><br>
>> What could be a remedy to this problem?<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>
>><br>
>> Best regards,<br>
>><br>
>> Aki<br>
>><br>
>><br>
>><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">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</p>