
------=_Part_39271_993079077.1425311733786 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, I have setup up 2 hosts, host1 with hosted engine, and on host 2, since I have a spare disk, I want to setup a glusterfs domain storage. I'm using Centos7 and ovirt 3.5.1. The 2 hosts and hosted engine are up and running. How can I configure the glusterfs storage? I installed glusterfs server on host2: glusterfs-api-3.6.2-1.el7.x86_64 glusterfs-fuse-3.6.2-1.el7.x86_64 glusterfs-libs-3.6.2-1.el7.x86_64 glusterfs-3.6.2-1.el7.x86_64 glusterfs-rdma-3.6.2-1.el7.x86_64 glusterfs-server-3.6.2-1.el7.x86_64 glusterfs-cli-3.6.2-1.el7.x86_64 Do I need first configure a Volume with a brick? I tried that but no success. Also tried to ad a Data domains of type glusterfs but no success. What am I missing? Thanks -- Jose Ferradeira http://www.logicworks.pt ------=_Part_39271_993079077.1425311733786 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: Times New Roman; font-size: 10pt; co= lor: #000000"><div>Hi,<br></div><div><br></div><div>I have setup up 2= hosts, host1 with hosted engine, and on host 2, since I have a spare disk,= I want to setup a glusterfs domain storage.<br></div><div>I'm using Centos= 7 and ovirt 3.5.1.<br></div><div>The 2 hosts and hosted engine are up and r= unning.<br></div><div>How can I configure the glusterfs storage?<br></div><= div>I installed glusterfs server on host2:<br></div><div>glusterfs-api-3.6.= 2-1.el7.x86_64<br>glusterfs-fuse-3.6.2-1.el7.x86_64<br>glusterfs-libs-3.6.2= -1.el7.x86_64<br>glusterfs-3.6.2-1.el7.x86_64<br>glusterfs-rdma-3.6.2-1.el7= .x86_64<br>glusterfs-server-3.6.2-1.el7.x86_64<br>glusterfs-cli-3.6.2-1.el7= .x86_64<br><br></div><div><br></div><div>Do I need first configure a Volume= with a brick? I tried that but no success. Also tried to ad a Data domains= of type glusterfs but no success.<br></div><div>What am I missing?<br></di= v><div><br></div><div><br></div><div>Thanks<br></div><div><br></div><div>--= <br></div><div><span name=3D"x"></span><hr style=3D"width: 100%; height: 2= px;" data-mce-style=3D"width: 100%; height: 2px;">Jose Ferradeira<br>http:/= /www.logicworks.pt<br><span name=3D"x"></span><br></div></div></body></html=
------=_Part_39271_993079077.1425311733786--

------=_Part_30339493_1478440201.1425312040196 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi First, You need to create gluster volume. Do not forget to start the volume. then the "chown 36:36 <volume directory name>" now you need to create new glusterfs domain, and to point to the <gluster server name:/volume name> Regards, __________________________________________________ Aharon Canan int phone - 8272036 ext phone - +97297692036 email - acanan@redhat.com ----- Original Message -----
From: suporte@logicworks.pt To: Users@ovirt.org Sent: Monday, March 2, 2015 5:55:33 PM Subject: [ovirt-users] Glusterfs storage
Hi,
I have setup up 2 hosts, host1 with hosted engine, and on host 2, since I have a spare disk, I want to setup a glusterfs domain storage. I'm using Centos7 and ovirt 3.5.1. The 2 hosts and hosted engine are up and running. How can I configure the glusterfs storage? I installed glusterfs server on host2: glusterfs-api-3.6.2-1.el7.x86_64 glusterfs-fuse-3.6.2-1.el7.x86_64 glusterfs-libs-3.6.2-1.el7.x86_64 glusterfs-3.6.2-1.el7.x86_64 glusterfs-rdma-3.6.2-1.el7.x86_64 glusterfs-server-3.6.2-1.el7.x86_64 glusterfs-cli-3.6.2-1.el7.x86_64
Do I need first configure a Volume with a brick? I tried that but no success. Also tried to ad a Data domains of type glusterfs but no success. What am I missing?
Thanks
--
Jose Ferradeira http://www.logicworks.pt
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
</div><div>then the "chown 36:36 <volume directory name>"<br></div><=
------=_Part_30339493_1478440201.1425312040196 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: comic sans ms,comic sans,sans-serif;= font-size: 10pt; color: #000000"><div>Hi<br></div><div><br></div><div>Firs= t, You need to create gluster volume. Do not forget to start the volume.<br= div><br></div><div>now you need to create new glusterfs domain, and to poin= t to the <gluster server name:/volume name><br></div><div><br></div><= div><br></div><div><span name=3D"x"></span><div><br></div><div><br></div><d= iv>Regards, <br>__________________________________________________<br><stro= ng><span data-mce-style=3D"color: #3366ff;" style=3D"color: rgb(51, 102, 25= 5);">Aharon Canan</span></strong><br><span style=3D"color: rgb(51, 102, 255= ); font-size: small;">int phone - 8272036</span><br><span style=3D"color: r= gb(51, 102, 255); font-size: small;">ext phone - +97297692036</span><br><sp= an style=3D"color: rgb(51, 102, 255); font-size: small;">email - acanan@red= hat.com</span><br></div><span name=3D"x"></span><br></div><hr id=3D"zwchr">= <blockquote style=3D"border-left:2px solid #1010FF;margin-left:5px;padding-= left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:no= ne;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>sup= orte@logicworks.pt<br><b>To: </b>Users@ovirt.org<br><b>Sent: </b>Monday, Ma= rch 2, 2015 5:55:33 PM<br><b>Subject: </b>[ovirt-users] Glusterfs storage<b= r><div><br></div><div style=3D"font-family: Times New Roman; font-size: 10p= t; color: #000000"><div>Hi,<br></div><div><br></div><div>I have setup up&nb= sp; 2 hosts, host1 with hosted engine, and on host 2, since I have a spare = disk, I want to setup a glusterfs domain storage.<br></div><div>I'm using C= entos7 and ovirt 3.5.1.<br></div><div>The 2 hosts and hosted engine are up = and running.<br></div><div>How can I configure the glusterfs storage?<br></= div><div>I installed glusterfs server on host2:<br></div><div>glusterfs-api= -3.6.2-1.el7.x86_64<br>glusterfs-fuse-3.6.2-1.el7.x86_64<br>glusterfs-libs-= 3.6.2-1.el7.x86_64<br>glusterfs-3.6.2-1.el7.x86_64<br>glusterfs-rdma-3.6.2-= 1.el7.x86_64<br>glusterfs-server-3.6.2-1.el7.x86_64<br>glusterfs-cli-3.6.2-= 1.el7.x86_64<br><div><br></div></div><div><br></div><div>Do I need first co= nfigure a Volume with a brick? I tried that but no success. Also tried to a= d a Data domains of type glusterfs but no success.<br></div><div>What am I = missing?<br></div><div><br></div><div><br></div><div>Thanks<br></div><div><= br></div><div>-- <br></div><div><span></span><hr style=3D"width: 100%; heig= ht: 2px;">Jose Ferradeira<br>http://www.logicworks.pt<br><span></span><br><= /div></div><br>_______________________________________________<br>Users mai= ling list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/use= rs<br></blockquote><div><br></div></div></body></html> ------=_Part_30339493_1478440201.1425312040196--

------=_Part_30343392_575132551.1425312316500 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit forget to mention, You need the glusterfs pkg on all hosts that should access the glusterfs domain, Also, you can check below link. http://www.ovirt.org/Features/GlusterFS_Storage_Domain Regards, __________________________________________________ Aharon Canan int phone - 8272036 ext phone - +97297692036 email - acanan@redhat.com ----- Original Message -----
From: "Aharon Canan" <acanan@redhat.com> To: suporte@logicworks.pt Cc: Users@ovirt.org Sent: Monday, March 2, 2015 6:00:40 PM Subject: Re: [ovirt-users] Glusterfs storage
Hi
First, You need to create gluster volume. Do not forget to start the volume. then the "chown 36:36 <volume directory name>"
now you need to create new glusterfs domain, and to point to the <gluster server name:/volume name>
Regards, __________________________________________________ Aharon Canan int phone - 8272036 ext phone - +97297692036 email - acanan@redhat.com
----- Original Message -----
From: suporte@logicworks.pt
To: Users@ovirt.org
Sent: Monday, March 2, 2015 5:55:33 PM
Subject: [ovirt-users] Glusterfs storage
Hi,
I have setup up 2 hosts, host1 with hosted engine, and on host 2, since I have a spare disk, I want to setup a glusterfs domain storage.
I'm using Centos7 and ovirt 3.5.1.
The 2 hosts and hosted engine are up and running.
How can I configure the glusterfs storage?
I installed glusterfs server on host2:
glusterfs-api-3.6.2-1.el7.x86_64
glusterfs-fuse-3.6.2-1.el7.x86_64
glusterfs-libs-3.6.2-1.el7.x86_64
glusterfs-3.6.2-1.el7.x86_64
glusterfs-rdma-3.6.2-1.el7.x86_64
glusterfs-server-3.6.2-1.el7.x86_64
glusterfs-cli-3.6.2-1.el7.x86_64
Do I need first configure a Volume with a brick? I tried that but no success. Also tried to ad a Data domains of type glusterfs but no success.
What am I missing?
Thanks
--
Jose Ferradeira
_______________________________________________
Users mailing list
Users@ovirt.org
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
<div><br></div><div><br></div><div><span name=3D"x"></span><div><br></div>= <div><br></div><div>Regards, <br>__________________________________________= ________<br><strong><span data-mce-style=3D"color: #3366ff;" style=3D"color= : rgb(51, 102, 255);">Aharon Canan</span></strong><br><span style=3D"color:= rgb(51, 102, 255); font-size: small;">int phone - 8272036</span><br><span =
<b>From: </b>"Aharon Canan" <acanan@redhat.com><br><b>To: </b>suport= e@logicworks.pt<br><b>Cc: </b>Users@ovirt.org<br><b>Sent: </b>Monday, March= 2, 2015 6:00:40 PM<br><b>Subject: </b>Re: [ovirt-users] Glusterfs storage<= br><div><br></div><div style=3D"font-family: comic sans ms,comic sans,sans-= serif; font-size: 10pt; color: #000000"><div>Hi<br></div><div><br></div><di= v>First, You need to create gluster volume. Do not forget to start the volu= me.<br></div><div>then the "chown 36:36 <volume directory name>"<br><= /div><div><br></div><div>now you need to create new glusterfs domain, and t= o point to the <gluster server name:/volume name><br></div><div><br><= /div><div><br></div><div><span></span><div><br></div><div><br></div><div>Re= gards, <br>__________________________________________________<br><strong><s=
</div><hr id=3D"zwchr"><blockquote style=3D"border-left:2px solid #1010FF;= margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:n= ormal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size= :12pt;"><b>From: </b>suporte@logicworks.pt<br><b>To: </b>Users@ovirt.org<br= <b>Sent: </b>Monday, March 2, 2015 5:55:33 PM<br><b>Subject: </b>[ovirt-us= ers] Glusterfs storage<br><div><br></div><div style=3D"font-family: Times N= ew Roman; font-size: 10pt; color: #000000"><div>Hi,<br></div><div><br></div= <div>I have setup up 2 hosts, host1 with hosted engine, and on host = 2, since I have a spare disk, I want to setup a glusterfs domain storage.<b= r></div><div>I'm using Centos7 and ovirt 3.5.1.<br></div><div>The 2 hosts a= nd hosted engine are up and running.<br></div><div>How can I configure the = glusterfs storage?<br></div><div>I installed glusterfs server on host2:<br>= </div><div>glusterfs-api-3.6.2-1.el7.x86_64<br>glusterfs-fuse-3.6.2-1.el7.x= 86_64<br>glusterfs-libs-3.6.2-1.el7.x86_64<br>glusterfs-3.6.2-1.el7.x86_64<= br>glusterfs-rdma-3.6.2-1.el7.x86_64<br>glusterfs-server-3.6.2-1.el7.x86_64= <br>glusterfs-cli-3.6.2-1.el7.x86_64<br><div><br></div></div><div><br></div= <div>Do I need first configure a Volume with a brick? I tried that but no = success. Also tried to ad a Data domains of type glusterfs but no success.<= br></div><div>What am I missing?<br></div><div><br></div><div><br></div><di= v>Thanks<br></div><div><br></div><div>-- <br></div><div><span></span><hr st= yle=3D"width: 100%; height: 2px;">Jose Ferradeira<br>http://www.logicworks.=
------=_Part_30343392_575132551.1425312316500 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: comic sans ms,comic sans,sans-serif;= font-size: 10pt; color: #000000"><div>forget to mention, <br></div><div><b= r></div><div>You need the glusterfs pkg on all hosts that should access the= glusterfs domain, <br></div><div><br></div><div>Also, you can check below = link.<br></div><div><a href=3D"http://www.ovirt.org/Features/GlusterFS_Stor= age_Domain">http://www.ovirt.org/Features/GlusterFS_Storage_Domain</a></div= style=3D"color: rgb(51, 102, 255); font-size: small;">ext phone - +97297692= 036</span><br><span style=3D"color: rgb(51, 102, 255); font-size: small;">e= mail - acanan@redhat.com</span><br></div><span name=3D"x"></span><br></div>= <hr id=3D"zwchr"><blockquote style=3D"border-left:2px solid #1010FF;margin-= left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;t= ext-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"= pan style=3D"color: rgb(51, 102, 255);">Aharon Canan</span></strong><br><sp= an style=3D"color: rgb(51, 102, 255); font-size: small;">int phone - 827203= 6</span><br><span style=3D"color: rgb(51, 102, 255); font-size: small;">ext= phone - +97297692036</span><br><span style=3D"color: rgb(51, 102, 255); fo= nt-size: small;">email - acanan@redhat.com</span><br></div><span></span><br= pt<br><span></span><br></div></div><br>____________________________________= ___________<br>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.= org/mailman/listinfo/users<br></blockquote><div><br></div></div><br>_______= ________________________________________<br>Users mailing list<br>Users@ovi= rt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquote><di= v><br></div></div></body></html> ------=_Part_30343392_575132551.1425312316500--

<span style=3D"color: rgb(51, 102, 255); font-size: small;">email - acanan= @redhat.com</span><br></div><span></span><br></div><hr id=3D"zwchr"><blockq= uote style=3D"border-left:2px solid #1010FF;margin-left:5px;padding-left:5p= x;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font= -family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>suporte@lo= gicworks.pt<br><b>To: </b>Users@ovirt.org<br><b>Sent: </b>Monday, March 2, = 2015 5:55:33 PM<br><b>Subject: </b>[ovirt-users] Glusterfs storage<br><div>= <br></div><div style=3D"font-family: Times New Roman; font-size: 10pt; colo= r: #000000"><div>Hi,<br></div><div><br></div><div>I have setup up 2 h= osts, host1 with hosted engine, and on host 2, since I have a spare disk, I= want to setup a glusterfs domain storage.<br></div><div>I'm using Centos7 = and ovirt 3.5.1.<br></div><div>The 2 hosts and hosted engine are up and run= ning.<br></div><div>How can I configure the glusterfs storage?<br></div><di= v>I installed glusterfs server on host2:<br></div><div>glusterfs-api-3.6.2-= 1.el7.x86_64<br>glusterfs-fuse-3.6.2-1.el7.x86_64<br>glusterfs-libs-3.6.2-1= .el7.x86_64<br>glusterfs-3.6.2-1.el7.x86_64<br>glusterfs-rdma-3.6.2-1.el7.x= 86_64<br>glusterfs-server-3.6.2-1.el7.x86_64<br>glusterfs-cli-3.6.2-1.el7.x= 86_64<br><div><br></div></div><div><br></div><div>Do I need first configure= a Volume with a brick? I tried that but no success. Also tried to ad a Dat= a domains of type glusterfs but no success.<br></div><div>What am I missing= ?<br></div><div><br></div><div><br></div><div>Thanks<br></div><div><br></di= v><div>-- <br></div><div><span></span><hr style=3D"width: 100%; height: 2px= ;">Jose Ferradeira<br>http://www.logicworks.pt<br><span></span><br></div></=
------=_Part_40245_1273345964.1425313513538 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks Aharon,=20 After a couple of hours, the chown 36:36 did the trick, now I have the doma= in up.=20 Thanks a lot=20 Jose=20 ----- Mensagem original ----- De: "Aharon Canan" <acanan@redhat.com>=20 Para: suporte@logicworks.pt=20 Cc: Users@ovirt.org=20 Enviadas: Segunda-feira, 2 De Mar=C3=A7o de 2015 16:00:40=20 Assunto: Re: [ovirt-users] Glusterfs storage=20 Hi=20 First, You need to create gluster volume. Do not forget to start the volume= .=20 then the "chown 36:36 <volume directory name>"=20 now you need to create new glusterfs domain, and to point to the <gluster s= erver name:/volume name>=20 Regards,=20 __________________________________________________=20 Aharon Canan=20 int phone - 8272036=20 ext phone - +97297692036=20 email - acanan@redhat.com=20 ----- Mensagem original ----- From: suporte@logicworks.pt=20 To: Users@ovirt.org=20 Sent: Monday, March 2, 2015 5:55:33 PM=20 Subject: [ovirt-users] Glusterfs storage=20 Hi,=20 I have setup up 2 hosts, host1 with hosted engine, and on host 2, since I h= ave a spare disk, I want to setup a glusterfs domain storage.=20 I'm using Centos7 and ovirt 3.5.1.=20 The 2 hosts and hosted engine are up and running.=20 How can I configure the glusterfs storage?=20 I installed glusterfs server on host2:=20 glusterfs-api-3.6.2-1.el7.x86_64=20 glusterfs-fuse-3.6.2-1.el7.x86_64=20 glusterfs-libs-3.6.2-1.el7.x86_64=20 glusterfs-3.6.2-1.el7.x86_64=20 glusterfs-rdma-3.6.2-1.el7.x86_64=20 glusterfs-server-3.6.2-1.el7.x86_64=20 glusterfs-cli-3.6.2-1.el7.x86_64=20 Do I need first configure a Volume with a brick? I tried that but no succes= s. Also tried to ad a Data domains of type glusterfs but no success.=20 What am I missing?=20 Thanks=20 --=20 Jose Ferradeira=20 http://www.logicworks.pt=20 _______________________________________________=20 Users mailing list=20 Users@ovirt.org=20 http://lists.ovirt.org/mailman/listinfo/users=20 ------=_Part_40245_1273345964.1425313513538 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: Times New Roman; font-size: 10pt; co= lor: #000000"><div>Thanks Aharon,<br></div><div><br></div><div>After a coup= le of hours, the chown 36:36 did the trick, now I have the domain up.<br></= div><div>Thanks a lot<br></div><div><br></div><div>Jose<br></div><div><br><= /div><div><br></div><hr id=3D"zwchr"><div style=3D"color:#000;font-weight:n= ormal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sa= ns-serif;font-size:12pt;"><b>De: </b>"Aharon Canan" <acanan@redhat.com&g= t;<br><b>Para: </b>suporte@logicworks.pt<br><b>Cc: </b>Users@ovirt.org<br><= b>Enviadas: </b>Segunda-feira, 2 De Mar=C3=A7o de 2015 16:00:40<br><b>Assun= to: </b>Re: [ovirt-users] Glusterfs storage<br><div><br></div><div style=3D= "font-family: comic sans ms,comic sans,sans-serif; font-size: 10pt; color: = #000000"><div>Hi<br></div><div><br></div><div>First, You need to create glu= ster volume. Do not forget to start the volume.<br></div><div>then the "cho= wn 36:36 <volume directory name>"<br></div><div><br></div><div>now yo= u need to create new glusterfs domain, and to point to the <gluster serv= er name:/volume name><br></div><div><br></div><div><br></div><div><span>= </span><div><br></div><div><br></div><div>Regards, <br>____________________= ______________________________<br><strong><span style=3D"color: rgb(51, 102= , 255);">Aharon Canan</span></strong><br><span style=3D"color: rgb(51, 102,= 255); font-size: small;">int phone - 8272036</span><br><span style=3D"colo= r: rgb(51, 102, 255); font-size: small;">ext phone - +97297692036</span><br= div><br>_______________________________________________<br>Users mailing li= st<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br><= /blockquote><div><br></div></div></div><div><br></div></div></body></html> ------=_Part_40245_1273345964.1425313513538--

----- Original Message -----
From: suporte@logicworks.pt To: "Aharon Canan" <acanan@redhat.com> Cc: Users@ovirt.org Sent: Monday, March 2, 2015 8:25:13 AM Subject: Re: [ovirt-users] Glusterfs storage
Thanks Aharon,
After a couple of hours, the chown 36:36 did the trick, now I have the domain up.
This is a good way to set those perms and make them stick: gluster volume set $yourvol storage.owner-uid 36 gluster volume set $yourvol storage.owner-gid 36 Jason
Thanks a lot
Jose
----- Mensagem original -----
De: "Aharon Canan" <acanan@redhat.com> Para: suporte@logicworks.pt Cc: Users@ovirt.org Enviadas: Segunda-feira, 2 De Março de 2015 16:00:40 Assunto: Re: [ovirt-users] Glusterfs storage
Hi
First, You need to create gluster volume. Do not forget to start the volume. then the "chown 36:36 <volume directory name>"
now you need to create new glusterfs domain, and to point to the <gluster server name:/volume name>
Regards, __________________________________________________ Aharon Canan int phone - 8272036 ext phone - +97297692036 email - acanan@redhat.com
----- Mensagem original -----
From: suporte@logicworks.pt To: Users@ovirt.org Sent: Monday, March 2, 2015 5:55:33 PM Subject: [ovirt-users] Glusterfs storage
Hi,
I have setup up 2 hosts, host1 with hosted engine, and on host 2, since I have a spare disk, I want to setup a glusterfs domain storage. I'm using Centos7 and ovirt 3.5.1. The 2 hosts and hosted engine are up and running. How can I configure the glusterfs storage? I installed glusterfs server on host2: glusterfs-api-3.6.2-1.el7.x86_64 glusterfs-fuse-3.6.2-1.el7.x86_64 glusterfs-libs-3.6.2-1.el7.x86_64 glusterfs-3.6.2-1.el7.x86_64 glusterfs-rdma-3.6.2-1.el7.x86_64 glusterfs-server-3.6.2-1.el7.x86_64 glusterfs-cli-3.6.2-1.el7.x86_64
Do I need first configure a Volume with a brick? I tried that but no success. Also tried to ad a Data domains of type glusterfs but no success. What am I missing?
Thanks
--
Jose Ferradeira http://www.logicworks.pt
_______________________________________________ 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

If you are managing the gluster volume through ovirt, you could just select the volume in the ui and click "Optimize for virt store". It does the job of setting the required parameters for the volume. Thanks, Kanagaraj On 03/02/2015 10:44 PM, Jason Brooks wrote:
----- Original Message -----
From: suporte@logicworks.pt To: "Aharon Canan" <acanan@redhat.com> Cc: Users@ovirt.org Sent: Monday, March 2, 2015 8:25:13 AM Subject: Re: [ovirt-users] Glusterfs storage
Thanks Aharon,
After a couple of hours, the chown 36:36 did the trick, now I have the domain up. This is a good way to set those perms and make them stick:
gluster volume set $yourvol storage.owner-uid 36 gluster volume set $yourvol storage.owner-gid 36
Jason
Thanks a lot
Jose
----- Mensagem original -----
De: "Aharon Canan" <acanan@redhat.com> Para: suporte@logicworks.pt Cc: Users@ovirt.org Enviadas: Segunda-feira, 2 De Março de 2015 16:00:40 Assunto: Re: [ovirt-users] Glusterfs storage
Hi
First, You need to create gluster volume. Do not forget to start the volume. then the "chown 36:36 <volume directory name>"
now you need to create new glusterfs domain, and to point to the <gluster server name:/volume name>
Regards, __________________________________________________ Aharon Canan int phone - 8272036 ext phone - +97297692036 email - acanan@redhat.com
----- Mensagem original -----
From: suporte@logicworks.pt To: Users@ovirt.org Sent: Monday, March 2, 2015 5:55:33 PM Subject: [ovirt-users] Glusterfs storage
Hi,
I have setup up 2 hosts, host1 with hosted engine, and on host 2, since I have a spare disk, I want to setup a glusterfs domain storage. I'm using Centos7 and ovirt 3.5.1. The 2 hosts and hosted engine are up and running. How can I configure the glusterfs storage? I installed glusterfs server on host2: glusterfs-api-3.6.2-1.el7.x86_64 glusterfs-fuse-3.6.2-1.el7.x86_64 glusterfs-libs-3.6.2-1.el7.x86_64 glusterfs-3.6.2-1.el7.x86_64 glusterfs-rdma-3.6.2-1.el7.x86_64 glusterfs-server-3.6.2-1.el7.x86_64 glusterfs-cli-3.6.2-1.el7.x86_64
Do I need first configure a Volume with a brick? I tried that but no success. Also tried to ad a Data domains of type glusterfs but no success. What am I missing?
Thanks
--
Jose Ferradeira http://www.logicworks.pt
_______________________________________________ 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
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

------=_Part_45079_1887778401.1425376349929 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I have 2 hosts with hosted engine in the firts host. The second host also h= as the Domain Storage for the 2 hosts (Glusterfs).=20 The Storage Domain is in active status.=20 In the firts host I can see : /usr/sbin/glusterfs --volfile-server=3Dhost2.= domain.tld --volfile-id=3D/gv0 /rhev/data-center/mnt/glusterSD/host2.domain= .tld:_gv0=20 What I did for Gluster in the second host:=20 # yum -y install glusterfs-server=20 # systemctl start glusterd=20 # systemctl enable glusterd=20 # gluster volume create gv0 transport tcp host2.domain.tld:/home2/brick1=20 # gluster volume start gv0=20 # gluster volume info=20 Volume Name: gv0=20 Type: Distribute=20 Volume ID: 6ccd1831-6c4c-41c3-a695-8c7b57cf1261=20 Status: Started=20 Number of Bricks: 1=20 Transport-type: tcp=20 Bricks:=20 Brick1: host2.domain.tld:/home2/brick1=20 # chown 36:36 /home2/brick1=20 Now I cannot attach the ISO Domain=20 The error in the engine.log:=20 2015-03-03 09:48:37,376 ERROR [org.ovirt.engine.core.dal.dbbroker.auditlogh= andling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-31) [4ee81984] Co= rrelation ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed = to connect Host host2 to the Storage Domains ISO_DOMAIN.=20 2015-03-03 09:48:37,378 ERROR [org.ovirt.engine.core.dal.dbbroker.auditlogh= andling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-26) [67e35194] Co= rrelation ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed = to connect Host host11 to the Storage Domains ISO_DOMAIN.=20 2015-03-03 09:48:37,776 ERROR [org.ovirt.engine.core.dal.dbbroker.auditlogh= andling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-32) [7b817504] Co= rrelation ID: 7b817504, Job ID: 1da178db-c072-42f8-92bc-551722c2c656, Call = Stack: null, Custom Event ID: -1, Message: Failed to attach Storage Domain = ISO_DOMAIN to Data Center Default. (User: admin@internal)=20 The iso domain is in the hosted engine:=20 # cat /etc/exports=20 /home/iso 0.0.0.0/0.0.0.0(rw)=20 # ls -l /home/iso=20 total 0=20 drwxr-xr-x 4 vdsm kvm 32 Feb 26 15:11 240929ec-62e3-47ff-88b0-39cecc53ab8f= =20 Any idea?=20 Thanks=20 Jose=20 ----- Mensagem original ----- De: "Kanagaraj" <kmayilsa@redhat.com>=20 Para: "Jason Brooks" <jbrooks@redhat.com>, suporte@logicworks.pt=20 Cc: Users@ovirt.org=20 Enviadas: Ter=C3=A7a-feira, 3 De Mar=C3=A7o de 2015 4:43:50=20 Assunto: Re: [ovirt-users] Glusterfs storage=20 If you are managing the gluster volume through ovirt, you could just=20 select the volume in the ui and click "Optimize for virt store". It does=20 the job of setting the required parameters for the volume.=20 Thanks,=20 Kanagaraj=20 On 03/02/2015 10:44 PM, Jason Brooks wrote:=20
=20 ----- Original Message -----=20
From: suporte@logicworks.pt=20 To: "Aharon Canan" <acanan@redhat.com>=20 Cc: Users@ovirt.org=20 Sent: Monday, March 2, 2015 8:25:13 AM=20 Subject: Re: [ovirt-users] Glusterfs storage=20 =20 Thanks Aharon,=20 =20 After a couple of hours, the chown 36:36 did the trick, now I have the d= omain=20 up.=20 This is a good way to set those perms and make them stick:=20 =20 gluster volume set $yourvol storage.owner-uid 36=20 gluster volume set $yourvol storage.owner-gid 36=20 =20 =20 Jason=20 =20 =20 Thanks a lot=20 =20 Jose=20 =20 =20 ----- Mensagem original -----=20 =20 De: "Aharon Canan" <acanan@redhat.com>=20 Para: suporte@logicworks.pt=20 Cc: Users@ovirt.org=20 Enviadas: Segunda-feira, 2 De Mar=C3=A7o de 2015 16:00:40=20 Assunto: Re: [ovirt-users] Glusterfs storage=20 =20 Hi=20 =20 First, You need to create gluster volume. Do not forget to start the vol= ume.=20 then the "chown 36:36 <volume directory name>"=20 =20 now you need to create new glusterfs domain, and to point to the <gluste= r=20 server name:/volume name>=20 =20 =20 =20 =20 Regards,=20 __________________________________________________=20 Aharon Canan=20 int phone - 8272036=20 ext phone - +97297692036=20 email - acanan@redhat.com=20 =20 ----- Mensagem original -----=20 =20 =20 From: suporte@logicworks.pt=20 To: Users@ovirt.org=20 Sent: Monday, March 2, 2015 5:55:33 PM=20 Subject: [ovirt-users] Glusterfs storage=20 =20 Hi,=20 =20 I have setup up 2 hosts, host1 with hosted engine, and on host 2, since = I=20 have a spare disk, I want to setup a glusterfs domain storage.=20 I'm using Centos7 and ovirt 3.5.1.=20 The 2 hosts and hosted engine are up and running.=20 How can I configure the glusterfs storage?=20 I installed glusterfs server on host2:=20 glusterfs-api-3.6.2-1.el7.x86_64=20 glusterfs-fuse-3.6.2-1.el7.x86_64=20 glusterfs-libs-3.6.2-1.el7.x86_64=20 glusterfs-3.6.2-1.el7.x86_64=20 glusterfs-rdma-3.6.2-1.el7.x86_64=20 glusterfs-server-3.6.2-1.el7.x86_64=20 glusterfs-cli-3.6.2-1.el7.x86_64=20 =20 =20 Do I need first configure a Volume with a brick? I tried that but no suc= cess.=20 Also tried to ad a Data domains of type glusterfs but no success.=20 What am I missing?=20 =20 =20 Thanks=20 =20 --=20 =20 Jose Ferradeira=20 http://www.logicworks.pt=20 =20 =20 _______________________________________________=20 Users mailing list=20 Users@ovirt.org=20 http://lists.ovirt.org/mailman/listinfo/users=20 =20 =20 =20 =20 =20 =20 _______________________________________________=20 Users mailing list=20 Users@ovirt.org=20 http://lists.ovirt.org/mailman/listinfo/users=20 =20 _______________________________________________=20 Users mailing list=20 Users@ovirt.org=20 http://lists.ovirt.org/mailman/listinfo/users=20
</span></span></a><span style=3D"color: #000000;" color=3D"#000000" data-m= ce-style=3D"color: #000000;"><span style=3D"font-size: medium;" size=3D"3" = data-mce-style=3D"font-size: medium;"><span style=3D"font-weight: normal;" = data-mce-style=3D"font-weight: normal;"> -y install glusterfs-server </span= </span></span></div><div><p style=3D"font-weight: normal; margin: 0px;" da= ta-mce-style=3D"font-weight: normal; margin: 0px;"><span style=3D"color: #0= 00000;" color=3D"#000000" data-mce-style=3D"color: #000000;"><span style=3D= "font-size: medium;" size=3D"3" data-mce-style=3D"font-size: medium;"># sys= temctl start glusterd</span></span></p><p style=3D"font-weight: normal; mar= gin: 0px;" data-mce-style=3D"font-weight: normal; margin: 0px;"><span style= =3D"color: #000000;" color=3D"#000000" data-mce-style=3D"color: #000000;"><= span style=3D"font-size: medium;" size=3D"3" data-mce-style=3D"font-size: m= edium;"># systemctl enable glusterd </span></span></p><p style=3D"margin: 0=
------=_Part_45079_1887778401.1425376349929 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: Times New Roman; font-size: 10pt; co= lor: #000000"><div>I have 2 hosts with hosted engine in the firts host. The= second host also has the Domain Storage for the 2 hosts (Glusterfs).<br></= div><div><br></div><div>The Storage Domain is in active status.<br></div><d= iv>In the firts host I can see : /usr/sbin/glusterfs --volfile-server= =3Dhost2.domain.tld --volfile-id=3D/gv0 /rhev/data-center/mnt/glusterSD/hos= t2.domain.tld:_gv0<br>What I did for Gluster in the second host:</div><div>= <span style=3D"color: #000000;" color=3D"#000000" data-mce-style=3D"color: = #000000;"><span style=3D"font-size: medium;" size=3D"3" data-mce-style=3D"f= ont-size: medium;"><span style=3D"font-weight: normal;" data-mce-style=3D"f= ont-weight: normal;"># </span></span></span><a href=3D"http://www.server-wo= rld.info/en/command/html/yum.html" data-mce-href=3D"http://www.server-world= .info/en/command/html/yum.html"><span style=3D"color: #000000;" color=3D"#0= 00000" data-mce-style=3D"color: #000000;"><span style=3D"font-size: medium;= " size=3D"3" data-mce-style=3D"font-size: medium;"><span style=3D"text-deco= ration: none;" data-mce-style=3D"text-decoration: none;"><span style=3D"fon= t-weight: normal;" data-mce-style=3D"font-weight: normal;">yum</span></span= px;" data-mce-style=3D"margin: 0px;"># gluster volume create gv0 transport = tcp host2.domain.tld:/home2/brick1</p><p style=3D"margin: 0px;" data-mce-st= yle=3D"margin: 0px;"># gluster volume start gv0</p><p style=3D"margin: 0px;= " data-mce-style=3D"margin: 0px;"># gluster volume info</p></div><div>Volum= e Name: gv0<br>Type: Distribute<br>Volume ID: 6ccd1831-6c4c-41c3-a695-8c7b5= 7cf1261<br>Status: Started<br>Number of Bricks: 1<br>Transport-type: tcp<br=
Bricks:<br>Brick1: host2.domain.tld:/home2/brick1<br><br></div><div><p sty= le=3D"margin: 0px;" data-mce-style=3D"margin: 0px;"># chown 36:36 /home2/br= ick1<br></p></div><div><br></div><div>Now I cannot attach the ISO Domain<br= </div><div><br></div><div>The error in the engine.log:<br></div><div><br><= /div><div>2015-03-03 09:48:37,376 ERROR [org.ovirt.engine.core.dal.dbbroker= .auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-31) [4e= e81984] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Messag= e: Failed to connect Host host2 to the Storage Domains ISO_DOMAIN.<br>2015-= 03-03 09:48:37,378 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandli= ng.AuditLogDirector] (org.ovirt.thread.pool-8-thread-26) [67e35194] Correla= tion ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to co= nnect Host host11 to the Storage Domains ISO_DOMAIN.<br>2015-03-03 09:48:37= ,776 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDir= ector] (org.ovirt.thread.pool-8-thread-32) [7b817504] Correlation ID: 7b817= 504, Job ID: 1da178db-c072-42f8-92bc-551722c2c656, Call Stack: null, Custom= Event ID: -1, Message: Failed to attach Storage Domain ISO_DOMAIN to Data = Center Default. (User: admin@internal)<br><br></div><div>The iso domain is = in the hosted engine:<br></div><div># cat /etc/exports<br>/home/iso &n= bsp; 0.0.0.0/0.0.0.0(rw)<br># ls -l /home/iso<br>to= tal 0<br>drwxr-xr-x 4 vdsm kvm 32 Feb 26 15:11 240929ec-62e3-47ff-88b0-39ce= cc53ab8f<br><br>Any idea?<br></div><div><br></div><div>Thanks<br></div><div= <br></div><div>Jose<br></div><div><br></div><hr id=3D"zwchr"><div style=3D= "color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-= family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style=3D"color:= #000; font-weight: normal; font-style: normal; text-decoration: none; font= -family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>De: </b>"Kanagara= j" <kmayilsa@redhat.com><br><b>Para: </b>"Jason Brooks" <jbrooks@r= edhat.com>, suporte@logicworks.pt<br><b>Cc: </b>Users@ovirt.org<br><b>En= viadas: </b>Ter=C3=A7a-feira, 3 De Mar=C3=A7o de 2015 4:43:50<br><b>Assunto= : </b>Re: [ovirt-users] Glusterfs storage<br><div><br></div>If you are mana= ging the gluster volume through ovirt, you could just <br>select the volume= in the ui and click "Optimize for virt store". It does <br>the job of sett= ing the required parameters for the volume.<br><div><br></div>Thanks,<br>Ka= nagaraj<br><div><br></div>On 03/02/2015 10:44 PM, Jason Brooks wrote:<br>&g= t;<br>> ----- Original Message -----<br>>> From: suporte@logicwork= s.pt<br>>> To: "Aharon Canan" <acanan@redhat.com><br>>> C= c: Users@ovirt.org<br>>> Sent: Monday, March 2, 2015 8:25:13 AM<br>&g= t;> Subject: Re: [ovirt-users] Glusterfs storage<br>>><br>>>= Thanks Aharon,<br>>><br>>> After a couple of hours, the chown = 36:36 did the trick, now I have the domain<br>>> up.<br>> This is = a good way to set those perms and make them stick:<br>><br>> gluster = volume set $yourvol storage.owner-uid 36<br>> gluster volume set $yourvo= l storage.owner-gid 36<br>><br>><br>> Jason<br>><br>><br>>= ;> Thanks a lot<br>>><br>>> Jose<br>>><br>>><br>= >> ----- Mensagem original -----<br>>><br>>> De: "Aharon = Canan" <acanan@redhat.com><br>>> Para: suporte@logicworks.pt<br= >> Cc: Users@ovirt.org<br>>> Enviadas: Segunda-feira, 2 De Mar= =C3=A7o de 2015 16:00:40<br>>> Assunto: Re: [ovirt-users] Glusterfs s= torage<br>>><br>>> Hi<br>>><br>>> First, You need t= o create gluster volume. Do not forget to start the volume.<br>>> the= n the "chown 36:36 <volume directory name>"<br>>><br>>> n= ow you need to create new glusterfs domain, and to point to the <gluster= <br>>> server name:/volume name><br>>><br>>><br>>&g= t;<br>>><br>>> Regards,<br>>> ___________________________= _______________________<br>>> Aharon Canan<br>>> int phone - 82= 72036<br>>> ext phone - +97297692036<br>>> email - acanan@redha= t.com<br>>><br>>> ----- Mensagem original -----<br>>><br>= >><br>>> From: suporte@logicworks.pt<br>>> To: Users@ovir= t.org<br>>> Sent: Monday, March 2, 2015 5:55:33 PM<br>>> Subjec= t: [ovirt-users] Glusterfs storage<br>>><br>>> Hi,<br>>><= br>>> I have setup up 2 hosts, host1 with hosted engine, and on host = 2, since I<br>>> have a spare disk, I want to setup a glusterfs domai= n storage.<br>>> I'm using Centos7 and ovirt 3.5.1.<br>>> The 2= hosts and hosted engine are up and running.<br>>> How can I configur= e the glusterfs storage?<br>>> I installed glusterfs server on host2:= <br>>> glusterfs-api-3.6.2-1.el7.x86_64<br>>> glusterfs-fuse-3.= 6.2-1.el7.x86_64<br>>> glusterfs-libs-3.6.2-1.el7.x86_64<br>>> = glusterfs-3.6.2-1.el7.x86_64<br>>> glusterfs-rdma-3.6.2-1.el7.x86_64<= br>>> glusterfs-server-3.6.2-1.el7.x86_64<br>>> glusterfs-cli-3= .6.2-1.el7.x86_64<br>>><br>>><br>>> Do I need first confi= gure a Volume with a brick? I tried that but no success.<br>>> Also t= ried to ad a Data domains of type glusterfs but no success.<br>>> Wha= t am I missing?<br>>><br>>><br>>> Thanks<br>>><br>&= gt;> --<br>>><br>>> Jose Ferradeira<br>>> http://www.l= ogicworks.pt<br>>><br>>><br>>> __________________________= _____________________<br>>> Users mailing list<br>>> Users@ovir= t.org<br>>> http://lists.ovirt.org/mailman/listinfo/users<br>>>= <br>>><br>>><br>>><br>>><br>>><br>>> __= _____________________________________________<br>>> Users mailing lis= t<br>>> Users@ovirt.org<br>>> http://lists.ovirt.org/mailman/li= stinfo/users<br>>><br>> __________________________________________= _____<br>> Users mailing list<br>> Users@ovirt.org<br>> http://lis= ts.ovirt.org/mailman/listinfo/users<br><div><br></div></div><div><br></div>= </div></body></html> ------=_Part_45079_1887778401.1425376349929--
participants (4)
-
Aharon Canan
-
Jason Brooks
-
Kanagaraj
-
suporte@logicworks.pt