[ovirt-users] how to handle mount options for hosted engine on glusterfs

knarra knarra at redhat.com
Mon Mar 20 06:42:25 UTC 2017


On 03/20/2017 05:09 AM, /dev/null wrote:
> Hi,
>
> how do i make the hosted_storage aware of gluster server failure? In --deploy i cannot
> provide backup-volfile-servers. In /etc/ovirt-hosted-engine/hosted-engine.conf there is
> an mnt_options line, but i read
> (https://github.com/oVirt/ovirt-hosted-engine-setup/commit/995c6a65ab897d804f794306cc3654214f2c29b6)
> that this settings get lost during deployment on seconday servers.
>
> Is there an official way to deal with that? Should this option be set manualy on all nodes?
>
> Thanks!
>
> /dev/null
Hi,

    I think in the above patch they are just   hiding the the query for 
mount_options but i think all the code is still present and you should 
not loose mount options during additional host deployment. For more info 
you can refer [1].

     You can set this option manually on all nodes by editing 
/etc/ovirt-hosted-engine/hosted-engine.conf. Following steps will help 
you to achieve this.

1) Move each host to maintenance, edit the file 
'/etc/ovirt-hosted-engine/hosted-engine.conf'.
2) set mnt_options = backup-volfile-servers=<gluster_ip2>:<gluster_ip3>
3) restart the services 'systemctl restart ovirt-ha-agent' ; 'systemctl 
restart ovirt-ha-broker'
4) Activate the node.

Repeat the above steps for all the nodes in the cluster.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1426517#c2

Hope this helps !!

Thanks
kasturi
>
>
> --
> Diese Nachricht wurde auf Viren und andere gef�hrliche Inhalte untersucht
> und ist - aktuelle Virenscanner vorausgesetzt - sauber.
> For all your IT requirements visit: http://www.transtec.co.uk
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170320/e8a10e12/attachment-0001.html>


More information about the Users mailing list