
This is a multi-part message in MIME format. --------------E747DC51AEA375E745539FD9 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 11/16/2016 03:51 PM, Gianluca Cecchi wrote:
On Wed, Nov 16, 2016 at 9:55 AM, knarra <knarra@redhat.com <mailto:knarra@redhat.com>> wrote:
On 11/16/2016 01:28 PM, Gianluca Cecchi wrote:
On Wed, Nov 16, 2016 at 7:59 AM, knarra <knarra@redhat.com <mailto:knarra@redhat.com>> wrote:
Hi Gianluca,
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.
1) On Hosted engine vm run the command 'engine-config -s AllowClusterWithVirtGlusterEnabled=true'
2) Restart ovirt-engine by running the command 'service ovirt-engine restart'
3) /Edit Cluster/>/Default/>/Enable the gluster service/.
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.
5) Add second and third host from UI.
Hope this helps
Thanks kasturi
Hello, thanks for your answer. Basically I'm following Jason guide here for 4.0: https://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster... <https://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/>
I arrived just before the second/third host deploy actions. I verified that
1) actually seems already in place [root@ovengine ~]# engine-config -g AllowClusterWithVirtGlusterEnabled AllowClusterWithVirtGlusterEnabled: true version: general [root@ovengine ~]#
3) Already done
2) Already done after step 3)
I see that in Jason guide steps 4) and 5) are reversed. Are they interchangeable or is that using the web admin deploy method requires that storage domains are already set up before adding second host?
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.
Gianluca
Thanks for clarifications. It worked smoothly; all the three hosts are now up; going to test urther functionalities. Fine!
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:
2016-11-16 11:09:48 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'start', 'tuned.service'), rc=0 2016-11-16 11:09:48 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'start', 'tuned.service') stdout:
2016-11-16 11:09:48 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'start', 'tuned.service') stderr:
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 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 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:
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: Requested profile 'rhs-virtualization' doesn't exist.
2016-11-16 11:09:49 WARNING otopi.plugins.ovirt_host_deploy.tune.tuned tuned._misc:105 Cannot set tuned profile
Do I have to worry about them?
Thanks again Gianluca
you could safely ignore these messages. There are some tuned profiles which engine tries to set on the node. If those profiles does not exist on the node engine throws these kind of messages. --------------E747DC51AEA375E745539FD9 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 11/16/2016 03:51 PM, Gianluca Cecchi wrote:<br> </div> <blockquote cite="mid:CAG2kNCyLr00H9B-_x8obMT93NimOYK-uBc6XtcjX8WDm4HPqug@mail.gmail.com" type="cite"> <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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" href="https://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster..." 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> </blockquote> <p>you could safely ignore these messages. There are some tuned profiles which engine tries to set on the node. If those profiles does not exist on the node engine throws these kind of messages. <br> </p> </body> </html> --------------E747DC51AEA375E745539FD9--