Re: [ovirt-users] Info on testing ovirt 4.0.5 and gluster

2016-11-16 Thread knarra

On 11/16/2016 03:51 PM, Gianluca Cecchi wrote:
On Wed, Nov 16, 2016 at 9:55 AM, knarra > wrote:


On 11/16/2016 01:28 PM, Gianluca Cecchi wrote:

On Wed, Nov 16, 2016 at 7:59 AM, knarra > 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-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.


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


Re: [ovirt-users] Info on testing ovirt 4.0.5 and gluster

2016-11-16 Thread Gianluca Cecchi
On Wed, Nov 16, 2016 at 9:55 AM, knarra  wrote:

> On 11/16/2016 01:28 PM, Gianluca Cecchi wrote:
>
> On Wed, Nov 16, 2016 at 7:59 AM, knarra  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-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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Info on testing ovirt 4.0.5 and gluster

2016-11-16 Thread knarra

On 11/16/2016 01:28 PM, Gianluca Cecchi wrote:
On Wed, Nov 16, 2016 at 7:59 AM, knarra > 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-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



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


Re: [ovirt-users] Info on testing ovirt 4.0.5 and gluster

2016-11-15 Thread Gianluca Cecchi
On Wed, Nov 16, 2016 at 7:59 AM, knarra  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-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?

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


Re: [ovirt-users] Info on testing ovirt 4.0.5 and gluster

2016-11-15 Thread knarra

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

On 11/16/2016 06:43 AM, Gianluca Cecchi wrote:

Hello,
I'm testing hyperconverged setup with gluster and oVirt 4.0.5 and 
three hosts and self hosted engine.
I'm at the point where first host is ok and engine up and I have to 
deploy second and third host.


In the past the command to give on them was

root@host2 # hosted-engine --deploy
and at the end of it
root@host3 # hosted-engine --deploy

But I also seem to remember that perhaps this has been superseded and 
possible to direct deploy now host2 and host3 from web admin gui with 
Hosts --> New


Is this true in general? And in particular in my case?

Thanks in advance,

Gianluca


___
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


[ovirt-users] Info on testing ovirt 4.0.5 and gluster

2016-11-15 Thread Gianluca Cecchi
Hello,
I'm testing hyperconverged setup with gluster and oVirt 4.0.5 and three
hosts and self hosted engine.
I'm at the point where first host is ok and engine up and I have to deploy
second and third host.

In the past the command to give on them was

root@host2 # hosted-engine --deploy
and at the end of it
root@host3 # hosted-engine --deploy

But I also seem to remember that perhaps this has been superseded and
possible to direct deploy now host2 and host3 from web admin gui with Hosts
--> New

Is this true in general? And in particular in my case?

Thanks in advance,

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