<HTML>
<HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<font size="2">Hi </font><font size="2"><font size="2">kasturi,
<br />
<br />thank you. I tested and it seems not to work, even after rebooting the current mount does not show up the mnt_options nor the switch over works.
<br />
<br />[root@host2 ~]# cat /etc/ovirt-hosted-engine/hosted-engine.conf
<br />ca_cert=/etc/pki/vdsm/libvirt-spice/ca-cert.pem
<br />gateway=192.168.2.1
<br />iqn=
<br />conf_image_UUID=7bdc29ad-bee6-4a33-8d58-feae9f45d54f
<br />ca_cert=/etc/pki/vdsm/libvirt-spice/ca-cert.pem
<br />sdUUID=1775d440-649c-4921-ba3b-9b6218c27ef3
<br />connectionUUID=fcf70593-8214-4e8d-b546-63c210a3d5e7
<br />conf_volume_UUID=06dd17e5-a440-417a-94e8-75929b6f9ed5
<br />user=
<br />host_id=2
<br />bridge=ovirtmgmt
<br />metadata_image_UUID=6252c21c-227d-4dbd-bb7b-65cf342154b6
<br />spUUID=00000000-0000-0000-0000-000000000000
<br />mnt_options=backup-volfile-servers=host2
<br />fqdn=ovirt.test.lab
<br />portal=
<br />vm_disk_id=1bb9ea7f-986c-4803-ae82-8d5a47b1c496
<br />metadata_volume_UUID=426ff2cc-58a2-4b83-b22f-3f7dc99890d4
<br />vm_disk_vol_id=b57d40d2-e68b-440a-bab7-0a9631f4baa4
<br />domainType=glusterfs
<br />port=
<br />console=qxl
<br />ca_subject="C=EN, L=Test, O=Test, CN=Test"
<br />password=
<br />vmid=272942f3-99b9-48b9-aca4-19ec852f6874
<br />lockspace_image_UUID=9fbdbfd4-3b31-43ce-80e2-283f0aeead49
<br />lockspace_volume_UUID=b1e4d3ed-ec78-41cd-9a39-4372f488fb92
<br />vdsm_use_ssl=true
<br />storage=host1:/gvol0
<br />conf=/var/run/ovirt-hosted-engine-ha/vm.conf
<br />
<br />
<br />[root@host2 ~]# mount |grep gvol0
<br />host1:/gvol0 on /rhev/data-center/mnt/glusterSD/host1:_gvol0 type fuse.glusterfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072)
<br />
<br />Any suggestion?
<br />
<br />I will try an answerfile-install as well later, but it was helpful to know, where to set this.Â
<br />
<br />Thanks & best regards
<br /></font></font><font size="2"><b>
<br />On Mon, 20 Mar 2017 12:12:25 +0530, knarra wrote</b>
<br />> On 03/20/2017
05:09 AM,
/dev/null
wrote:
<br />>
<blockquote cite="mid:20170319233239.M46044@volker.buschmans.de" type="cite">
<pre wrap="">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
(<a class="moz-txt-link-freetext" href="https://github.com/oVirt/ovirt-hosted-engine-setup/commit/995c6a65ab897d804f794306cc3654214f2c29b6">https://github.com/oVirt/ovirt-hosted-engine-setup/commit/995c6a65ab897d804f794306cc3654214f2c29b6</a>)
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</pre>
</blockquote>
Hi,
<br />>
<br />>
  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].
<br />>
  Â
<br />>
   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.
<br />>
<br />>
1) Move each host to maintenance, edit the
file
'/etc/ovirt-hosted-engine/hosted-engine.conf'.
<br />>
2) set mnt_options
=
backup-volfile-servers=<gluster_ip2>:<gluster_ip3>
<br />>
3) restart the services 'systemctl restart ovirt-ha-agent'
;
'systemctl restart ovirt-ha-broker'
<br />>
4) Activate the node.
<br />>
<br />>
Repeat the above steps for all the nodes in the cluster.
<br />>
<br />>
[1] <a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1426517#c2">https://bugzilla.redhat.com/show_bug.cgi?id=1426517#c2</a>
<br />>
<br />>
Hope this helps !!
<br />>
<br />>
Thanks
<br />>
kasturi
<br />>
<blockquote cite="mid:20170319233239.M46044@volker.buschmans.de" type="cite">
<pre wrap="">
--
Diese Nachricht wurde auf Viren und andere gef�hrliche Inhalte
untersucht
und ist - aktuelle Virenscanner vorausgesetzt -
sauber.
For all your IT requirements visit: <a class="moz-txt-link-freetext" href="http://www.transtec.co.uk/">http://www.transtec.co.uk</a>
</pre>
<br />>
<fieldset class="mimeAttachmentHeader" />
<br />>
<pre wrap="">_______________________________________________
Users mailing
list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br />>
<br />>
--
<br />> Diese E-Mail wurde auf Viren und gefährliche
Anhänge
<br />>
durch
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a> untersucht und ist
wahrscheinlich
virenfrei.
<br />> MailScanner dankt <a href="http://www.transtec.de/">transtec</a> f�r
die freundliche
Unterst�tzung.
<br />
<br />
</font>
<br />--
<br />Diese E-Mail wurde auf Viren und gefährliche Anhänge
<br />durch
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a> untersucht und ist wahrscheinlich virenfrei.
<br />MailScanner dankt <a href="http://www.transtec.de/">transtec</a> für die freundliche Unterstützung.
</BODY>
</HTML>