This is a multi-part message in MIME format.
--------------060109090000040208030402
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
On 12/24/2015 11:26 AM, Sahina Bose wrote:
On 12/24/2015 08:24 AM, Will Dennis wrote:
>
> Hi all,
>
> I have a three-node hyper-converged oVirt datacenter running; now I
> need to add my first storage domain. I had prepped for this before
> installing oVirt by creating two distributed Gluster volumes with 3x
> replicas (one for the hosted engine, one for VM storage)
>
> [root@ovirt-node-01 ~]# gluster volume info | grep -e "Name" -e
> "Type" -e "Number"
>
> Volume Name: engine
>
> Type: Distributed-Replicate
>
> Number of Bricks: 2 x 3 = 6
>
> Volume Name: vmdata
>
> Type: Distributed-Replicate
>
> Number of Bricks: 2 x 3 = 6
>
Do you have 2 bricks on each node for the engine volume?
> Now Id like to use the vmdata volume for my storage domain. When
> in webadmin I select New Domain I get a dialog that lets me select
> GlusterFS as the storage type, but then requires a Use host:
> setting, and a path. Is it possible for me to select one of my oVirt
> hosts (they all have the vmdata volume), and then use
> localhost:/vmdata for the path? Or will this not work?
>
Use host -> use any of the hosts.
path -> <host1>:/data
Enter mount options -> backup-volfile-servers=<host2>:<host3>
In 3.6, I think the mount options are automatically appended with
backup-volfile-servers. But providing this info here will also work.
The bakup-volfile-servers help in accessing the gluster volume when
the host1 that was used to mount the volume goes down, and any of the
other hosts needs to remount the gluster volume
> I know this isnt officially supported yet, but if I can get it to
> work somehow, thatd be great :) Its a non-production (PoC) setup,
> so the cost of failure should be low... That said, I dont want to
> trash my rig and have to redo the whole thing all over ;)
>
Which version of glusterfs are you using?
If you're trying this out for a POC, we recommend that you enable
sharding on the gluster volumes (available from glusterfs 3.7.6 -
http://gluster.readthedocs.org/en/release-3.7.0/Features/shard/). This
will ensure that when self-heal happens on the gluster volume, the
process does not hog CPU and completes relatively faster.
> Thanks,
>
> Will
>
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--------------060109090000040208030402
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 12/24/2015 11:26 AM, Sahina Bose
wrote:<br>
</div>
<blockquote cite="mid:567B8923.8080509@redhat.com"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<br>
<br>
<div class="moz-cite-prefix">On 12/24/2015 08:24 AM, Will Dennis
wrote:<br>
</div>
<blockquote
cite="mid:F3282EEAFF180F43BAF1AD0A7C34739D391C0F@nj-mail.nec-labs.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have a three-node hyper-converged oVirt
datacenter running; now I need to add my first storage
domain. I had prepped for this before installing oVirt by
creating two distributed Gluster volumes with 3x replicas
(one for the hosted engine, one for VM storage)
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[root@ovirt-node-01 ~]# gluster volume
info | grep -e "Name" -e "Type" -e
"Number"<o:p></o:p></p>
<p class="MsoNormal">Volume Name:
engine<o:p></o:p></p>
<p class="MsoNormal">Type:
Distributed-Replicate<o:p></o:p></p>
<p class="MsoNormal">Number of Bricks: 2 x 3 =
6<o:p></o:p></p>
<p class="MsoNormal">Volume Name:
vmdata<o:p></o:p></p>
<p class="MsoNormal">Type:
Distributed-Replicate<o:p></o:p></p>
<p class="MsoNormal">Number of Bricks: 2 x 3 = 6</p>
</div>
</blockquote>
<br>
Do you have 2 bricks on each node for the engine volume?<br>
<br>
<br>
<blockquote
cite="mid:F3282EEAFF180F43BAF1AD0A7C34739D391C0F@nj-mail.nec-labs.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Now Id like to use the vmdata volume
for my storage domain. When in webadmin I select New
Domain I get a dialog that lets me select GlusterFS as the
storage type, but then requires a Use host: setting, and a
path. Is it possible for me to select one of my oVirt hosts
(they all have the vmdata volume), and then use
localhost:/vmdata for the path? Or will this not work?</p>
</div>
</blockquote>
Use host -> use any of the hosts.<br>
<meta charset="utf-8">
path -> <host1>:/data<br>
Enter mount options ->
backup-volfile-servers=<host2>:<host3><br>
<br>
<br>
In 3.6, I think the mount options are automatically appended with
backup-volfile-servers. But providing this info here will also
work. The bakup-volfile-servers help in accessing the gluster
volume when the host1 that was used to mount the volume goes down,
and any of the other hosts needs to remount the gluster volume<br>
<br>
<br>
<br>
<blockquote
cite="mid:F3282EEAFF180F43BAF1AD0A7C34739D391C0F@nj-mail.nec-labs.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I know this isnt officially supported
yet, but if I can get it to work somehow, thatd be great
:) Its a non-production (PoC) setup, so the cost of
failure should be low... That said, I dont want to trash my
rig and have to redo the whole thing all over ;)</p>
</div>
</blockquote>
</blockquote>
<br>
<br>
Which version of glusterfs are you using?<br>
<br>
If you're trying this out for a POC, we recommend that you enable
sharding on the gluster volumes (available from glusterfs 3.7.6 -
<a class="moz-txt-link-freetext"
href="http://gluster.readthedocs.org/en/release-3.7.0/Features/shard...>).
This will ensure that when self-heal happens on the gluster volume,
the process does not hog CPU and completes relatively faster.<br>
<br>
<br>
<blockquote cite="mid:567B8923.8080509@redhat.com"
type="cite">
<blockquote
cite="mid:F3282EEAFF180F43BAF1AD0A7C34739D391C0F@nj-mail.nec-labs.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Will<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.ovirt.org/mailman/listinfo/users">http://...
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<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://...
</pre>
</blockquote>
<br>
</body>
</html>
--------------060109090000040208030402--