Hello Artem,

        May i know how did you deploy the Hosted Engine and glusterfs volumes?  There is an easy way to do this using cockpit UI. You could log into cockpit UI, click on Hosted Engine tab and there are two radio buttons one for gluster deployment and another or HostedEngine deployment.

1) You could follow the gluster deployment screens which will create all the volumes required for HC setup and opens all the ports
2) Then you can continue over to HE deployment and make sure you  provide the answer as 'yes'  when the question 'Do you want to configure this host and its cluster for gluster?' and answer no for iptables. 
3) Once done with HE , you could go over to the UI, add the first master domain (data) which imports hosted_storage and HE vm into the UI automatically.
4) Then you can add the addtional hosts  & that is it, you are done.

Hope this helps !!!

Thanks
kasturi

On Thu, Nov 9, 2017 at 8:16 PM, Artem Tambovskiy <artem.tambovskiy@gmail.com> wrote:
One more thing is  - firewall rules. 

For 3 gluster bricks I have configured following: 
firewall-cmd --zone=public --add-port=24007-24009/tcp --add-port=49152-49664/tcp --permanent

and this seems not enough. have to stop the firewall in order to make the cluster working. 

I have noticed 490xx being used by gluster, any ideas on that documented range?

 lsof -i | grep gluster | grep "490" 
glusterfs 32301            root   10u  IPv4 148985      0t0  TCP ovirt1:49159->ovirt1:49099 (ESTABLISHED)
glusterfs 32301            root   17u  IPv4 153084      0t0  TCP ovirt1:49159->ovirt2:49096 (ESTABLISHED)
glusterfs 46346            root   17u  IPv4 156437      0t0  TCP ovirt1:49161->ovirt1:49093 (ESTABLISHED)
glusterfs 46346            root   18u  IPv4 149985      0t0  TCP ovirt1:49161->ovirt2:49090 (ESTABLISHED)
glusterfs 46380            root    8u  IPv4 151389      0t0  TCP ovirt1:49090->ovirt3:49161 (ESTABLISHED)
glusterfs 46380            root   11u  IPv4 148986      0t0  TCP ovirt1:49091->ovirt2:49161 (ESTABLISHED)
glusterfs 46380            root   21u  IPv4 153074      0t0  TCP ovirt1:49099->ovirt1:49159 (ESTABLISHED)
glusterfs 46380            root   25u  IPv4 153075      0t0  TCP ovirt1:49097->ovirt2:49160 (ESTABLISHED)
glusterfs 46380            root   26u  IPv4 153076      0t0  TCP ovirt1:49095->ovirt3:49159 (ESTABLISHED)
glusterfs 46380            root   27u  IPv4 153077      0t0  TCP ovirt1:49093->ovirt1:49161 (ESTABLISHED)

Regards,
Artem

On Thu, Nov 9, 2017 at 3:56 PM, Artem Tambovskiy <artem.tambovskiy@gmail.com> wrote:
Hi,

Just realized that I probably went in the wrong way. Reinstalled everything from the scratch added 4 volumes (hosted_engine, data, export, iso). All looks good so far. 
But if go to the Cluster properties and tick the checkbox "Enable Cluster Service" - the host will be marked as Non-Operational. Am I messing up the things? 
Or I'm just fine as long as I already have a Data (Master) Storage Domain over GlusterFS?

Regards,
Artem

On Thu, Nov 9, 2017 at 2:46 PM, Fred Rolland <frolland@redhat.com> wrote:
Hi,

The steps for this kind of setup are described in [1].
However it seems you have already succeeded in installing, so maybe you need some additional steps [2]
Did you add a storage domain that will act as Master Domain? It is needed, then the initial Storage Domain should be imported automatically.


On Thu, Nov 9, 2017 at 10:50 AM, Artem Tambovskiy <artem.tambovskiy@gmail.com> wrote:
Another yet attempt to get a help on hosted-engine deployment with glusterfs cluster. 
I already spend a day trying to get bring such a setup to work with no luck. 

The hosted engine being successfully deployed but I can't activate the host, the storage domain for the host is missing and I can't even add it. So either something went wrong during deployment or my glusterfs cluster doesn't configured properly. 

That are the prerequisites for this? 

- glusterfs cluster of 3 nodes with replica 3 volume 
- Any specific volume configs?
- how many volumes should I prepare for hosted engine deployment? 

Any other thoughts?

Regards,
Artem

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users





_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users