<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 was trying to setup glusterfs 3.7.4-2<span style="background-color: rgb(255, 255, 204);" name="textmarker_1" id="textmarked_0"></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);" name="textmarker_20" id="textmarked_19"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_19" id="textmarked_18"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_18" id="textmarked_17"></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);" name="textmarker_28" id="textmarked_27"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_27" id="textmarked_26"></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);" name="textmarker_65" id="textmarked_63"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_64" id="textmarked_62"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_63" id="textmarked_61"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_62" id="textmarked_60"></span>.<span style="background-color: rgb(255, 204, 153);" name="textmarker_66" id="textmarked_64"></span> The needed glusterfs <br>service ports are open between the VM's.<span style="background-color: rgb(255, 204, 153);" name="textmarker_72" id="textmarked_70"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_71" id="textmarked_69"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_70" id="textmarked_68"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_69" id="textmarked_67"></span><br><span style="background-color: rgb(255, 255, 204);" name="textmarker_68" id="textmarked_66"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_67" id="textmarked_65"></span><br><span style="background-color: rgb(255, 255, 204);" name="textmarker_61" id="textmarked_59"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_60" id="textmarked_58"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_59" id="textmarked_57"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_58" id="textmarked_56"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_57" id="textmarked_55"></span>What could be a remedy to this problem?<span style="background-color: rgb(255, 204, 153);" name="textmarker_55" id="textmarked_54"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_54" id="textmarked_53"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_53" id="textmarked_52"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_52" id="textmarked_51"></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);" name="textmarker_51" id="textmarked_50"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_50" id="textmarked_49"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_49" id="textmarked_48"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_48" id="textmarked_47"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_47" id="textmarked_46"></span><br>Best regards,<br><br>Aki<br><br><br><span style="background-color: rgb(255, 255, 204);" name="textmarker_46" id="textmarked_45"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_45" id="textmarked_44"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_44" id="textmarked_43"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_43" id="textmarked_42"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_42" id="textmarked_41"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_41" id="textmarked_40"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_40" id="textmarked_39"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_39" id="textmarked_38"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_38" id="textmarked_37"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_37" id="textmarked_36"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_36" id="textmarked_35"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_35" id="textmarked_34"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_34" id="textmarked_33"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_33" id="textmarked_32"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_26" id="textmarked_25"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_25" id="textmarked_24"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_24" id="textmarked_23"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_23" id="textmarked_22"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_22" id="textmarked_21"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_21" id="textmarked_20"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_17" id="textmarked_16"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_16" id="textmarked_15"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_15" id="textmarked_14"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_14" id="textmarked_13"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_13" id="textmarked_12"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_12" id="textmarked_11"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_11" id="textmarked_10"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_10" id="textmarked_9"></span><span style="background-color: rgb(255, 204, 204);" name="textmarker_9" id="textmarked_8"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_8" id="textmarked_7"></span><span style="background-color: rgb(255, 204, 153);" name="textmarker_7" id="textmarked_6"></span><span style="background-color: rgb(255, 255, 204);" name="textmarker_6" id="textmarked_5"></span><span style="background-color: rgb(255, 204, 153);" 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, 255, 204);" name="textmarker_2" id="textmarked_1"></span>                                               </div></body>
</html>