<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Nov 16, 2016 at 9:55 AM, knarra <span dir="ltr"><<a href="mailto:knarra@redhat.com" target="_blank">knarra@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"><div><div class="gmail-h5">
<div class="gmail-m_-2697259163005448531moz-cite-prefix">On 11/16/2016 01:28 PM, Gianluca Cecchi
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Wed, Nov 16, 2016 at 7:59 AM,
knarra <span dir="ltr"><<a href="mailto:knarra@redhat.com" target="_blank">knarra@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<div class="gmail-m_-2697259163005448531gmail-m_1985632685814934467moz-cite-prefix">Hi
Gianluca,<br>
<br>
yes, you are right. Now second and third host can
be directly added from UI. Before adding the second
and third host please make sure that the following
steps are done for hyperconverged setup.<br>
<br>
1) On Hosted engine vm run the command 'engine-config
-s AllowClusterWithVirtGlusterEna<wbr>bled=true'<br>
<br>
2) Restart ovirt-engine by running the command
'service ovirt-engine restart'<br>
<br>
3) <em>Edit
Cluster</em><span><span class="gmail-m_-2697259163005448531gmail-m_1985632685814934467Apple-converted-space"> </span>><span class="gmail-m_-2697259163005448531gmail-m_1985632685814934467Apple-converted-space"> </span></span><em>Default</em><span><span class="gmail-m_-2697259163005448531gmail-m_1985632685814934467Apple-converted-space"> </span>><span class="gmail-m_-2697259163005448531gmail-m_1985632685814934467Apple-converted-space"> </span></span><em>Enable
the gluster service</em><span>.</span><br>
<br>
4) Create separate storage domains for each gluster
volume. You can see that hosted_storage gets imported
into the UI automatically when one storage domain is
created in the UI.<br>
<br>
5) Add second and third host from UI.<br>
<br>
Hope this helps <br>
<br>
Thanks<br>
kasturi
<div>
<div class="gmail-m_-2697259163005448531gmail-h5"><br>
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Hello,</div>
<div>thanks for your answer.</div>
<div>Basically I'm following Jason guide here for 4.0:</div>
<div><a href="https://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/" target="_blank">https://www.ovirt.org/blog/<wbr>2016/08/up-and-running-with-<wbr>ovirt-4-0-and-gluster-storage/</a></div>
<div><br>
</div>
<div>I arrived just before the second/third host deploy
actions.</div>
<div>I verified that</div>
<div><br>
</div>
<div>1) actually seems already in place</div>
<div>
<div>[root@ovengine ~]# engine-config -g
AllowClusterWithVirtGlusterEna<wbr>bled</div>
<div>AllowClusterWithVirtGlusterEna<wbr>bled: true version:
general</div>
<div>[root@ovengine ~]#</div>
</div>
<div><br>
</div>
<div>3) Already done</div>
<div><br>
</div>
<div>2) Already done after step 3)</div>
<div><br>
</div>
<div><br>
</div>
<div>I see that in Jason guide steps 4) and 5) are reversed.</div>
<div>Are they interchangeable or is that using the web admin
deploy method requires that storage domains are already
set up before adding second host?</div>
</div>
</div>
</div>
</blockquote></div></div>
Before adding second host, it requires hosted_storage domain to be
imported into the UI. For this to happen we need to atleast add one
domain. With out creating a storage domain you can try adding the
second host and you will be given a message to add the domain first.<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
<div>Gianluca </div>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
</div>
</blockquote></div><br></div><div class="gmail_extra">Thanks for clarifications.</div><div class="gmail_extra">It worked smoothly; all the three hosts are now up; going to test urther functionalities. </div><div class="gmail_extra">Fine!</div><div class="gmail_extra"><br></div><div class="gmail_extra">In the host-deploy logs for the 3 hosts I only see for the third host (and for the first file of the two ones generated for first host) these kinds of warning:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"><br></div><div><div>2016-11-16 11:09:48 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'start', 'tuned.service'), rc=0</div><div>2016-11-16 11:09:48 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'start', 'tuned.service') stdout:</div><div><br></div><div><br></div><div>2016-11-16 11:09:48 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'start', 'tuned.service') stderr:</div><div><br></div><div><br></div><div>2016-11-16 11:09:48 DEBUG otopi.plugins.ovirt_host_deploy.tune.tuned plugin.executeRaw:813 execute: ('/sbin/tuned-adm', 'profile', 'rhs-virtualization'), executable='None', cwd='None', env=None</div><div>2016-11-16 11:09:49 DEBUG otopi.plugins.ovirt_host_deploy.tune.tuned plugin.executeRaw:863 execute-result: ('/sbin/tuned-adm', 'profile', 'rhs-virtualization'), rc=1</div><div>2016-11-16 11:09:49 DEBUG otopi.plugins.ovirt_host_deploy.tune.tuned plugin.execute:921 execute-output: ('/sbin/tuned-adm', 'profile', 'rhs-virtualization') stdout:</div><div><br></div><div><br></div><div>2016-11-16 11:09:49 DEBUG otopi.plugins.ovirt_host_deploy.tune.tuned plugin.execute:926 execute-output: ('/sbin/tuned-adm', 'profile', 'rhs-virtualization') stderr:</div><div>Requested profile 'rhs-virtualization' doesn't exist.</div><div><br></div><div>2016-11-16 11:09:49 WARNING otopi.plugins.ovirt_host_deploy.tune.tuned tuned._misc:105 Cannot set tuned profile</div></div><div><br></div><div>Do I have to worry about them?</div><div><br></div><div>Thanks again</div><div>Gianluca</div></div></div>