[one-users] Datastore and Gluster + Cluster

Javier Fontan jfontan at opennebula.org
Fri Oct 10 02:58:57 PDT 2014


Sorry for the late reply.

As system a images datastore in gluster are tied together you should
have one images datastore per cluster.

On Fri, Sep 26, 2014 at 3:36 PM, Amier Anis <mymabma at gmail.com> wrote:
> dear Javier,
>
> based on you explanation previously can i use an image from single images
> datastore to the clusters?
> So i just create new system datastore to each cluster node. and share 1
> image datastore to every cluster node.
>
> Thanks you.
>
> Regards & Best Wishes,
>
>
> .: Amier Anis :.
> Mobile: +6012-260-0819
>
> ________________________________
> IMPORTANT:
> This e-mail (including any attachment hereto) is intended solely for the
> addressee and is confidential and privileged. If this should have been sent
> to you in error, you are not to reproduce, distribute or take any action in
> reliance on it. Kindly notify us and delete the e-mail and all attachments
> immediately.
>
> As e-mail and/or attachments may contain viruses and other interfering or
> damaging elements, the receipt and/or downloading of e-mail and/or
> attachments will be at your own risk and we accept no liability for any
> damage sustained as a result of any such viruses; you should carry out your
> own virus checks before opening any attachment.
>
> On Thu, Sep 25, 2014 at 3:59 PM, Amier Anis <mymabma at gmail.com> wrote:
>>
>> thanks javier. you save my world .. really appreciate it.
>>
>>
>> On Wed, Sep 24, 2014 at 5:00 PM, Javier Fontan <jfontan at opennebula.org>
>> wrote:
>>>
>>> The cluster endpoint is only needed in the datastore template.
>>> Sunstone does not need to know anything about it
>>>
>>> On Tue, Sep 23, 2014 at 9:44 PM, Amier Anis <mymabma at gmail.com> wrote:
>>> > thanks javier. i'm really appreciate it. i did almost same
>>> > configuration
>>> > without using this guide. where by
>>> > i just do normal mount via fstab and create empty system and images in
>>> > the
>>> > sunstone.
>>> >
>>> > it works.
>>> >
>>> > by the way is that correct way or i still need to ensure the details of
>>> > gluster must be in the sunstone setting?
>>> > my first attempt did not work that time.
>>> >
>>> >
>>> > On Tue, Sep 23, 2014 at 11:55 PM, Javier Fontan
>>> > <jfontan at opennebula.org>
>>> > wrote:
>>> >>
>>> >> GlusterFS is a bit different to the other shared storage as it needs
>>> >> to see the same files in both the system and images datastores. It
>>> >> needs both.
>>> >>
>>> >> Cluster 0
>>> >> Mount gluster_vol_0 in /storage
>>> >> Link /storage -> /var/lib/one/datastores/100 (system)
>>> >> Link /storage -> /var/lib/one/datastores/101 (images)
>>> >>
>>> >> Cluster 1
>>> >> Mount gluster_vol_1 in /storage
>>> >> Link /storage -> /var/lib/one/datastores/102 (system)
>>> >> Link /storage -> /var/lib/one/datastores/103 (images)
>>> >>
>>> >> Cluster 2
>>> >> Mount gluster_vol_2 in /storage
>>> >> Link /storage -> /var/lib/one/datastores/104 (system)
>>> >> Link /storage -> /var/lib/one/datastores/105 (images)
>>> >>
>>> >> Frontend
>>> >> Mount gluster_vol_0 in /storage/0
>>> >> Mount gluster_vol_0 in /storage/1
>>> >> Mount gluster_vol_0 in /storage/2
>>> >> Link /storage/0 -> /var/lib/one/datastores/100 (system)
>>> >> Link /storage/0 -> /var/lib/one/datastores/101 (images)
>>> >> Link /storage/1 -> /var/lib/one/datastores/102 (system)
>>> >> Link /storage/1 -> /var/lib/one/datastores/103 (images)
>>> >> Link /storage/2 -> /var/lib/one/datastores/104 (system)
>>> >> Link /storage/2-> /var/lib/one/datastores/105 (images)
>>> >>
>>> >> On Sat, Sep 20, 2014 at 7:28 PM, Amier Anis <mymabma at gmail.com> wrote:
>>> >> > Dear Team,
>>> >> >
>>> >> > I would like to know little bit more about system datastore +
>>> >> > gluster
>>> >> > and
>>> >> > cluster.
>>> >> >
>>> >> > node 0 - FrontEnd
>>> >> > node 1 - Hypervisor 1
>>> >> > node 2 - Hypervisor 2
>>> >> >
>>> >> > Cluster 1
>>> >> > node 3 Hypervisor 3
>>> >> > node 4 Hypervisor 4
>>> >> >
>>> >> > Cluster 2
>>> >> > node 5 Hypervisor 5
>>> >> > node 6 Hypervisor 6
>>> >> >
>>> >> > GlusterFS Storage 1 - mount to frontend to datastore 0
>>> >> > GlusterFS Storage 2 - mount to frontend to datastore 100 - for
>>> >> > Cluster 1
>>> >> > GlusterFS Storage 3 - mount to frontend to datastore 101 - for
>>> >> > Cluster 2
>>> >> >
>>> >> > I believe that all glusterfs storage need to mount to Frontend and
>>> >> > hypervisor node.
>>> >> >
>>> >> > my question is
>>> >> >
>>> >> > Should I mount datastore 0 to all hypervisor node even it is
>>> >> > clusters?
>>> >> > or
>>> >> > Do i only mount for each datastore to each clusters. let say
>>> >> > GlusterFS
>>> >> > Storage 1 for non-cluster node, glusterfs 2 for cluster 2 and etc.
>>> >> > In cluster 1, I only mount glusterfs 2 and set it as system
>>> >> > datastore
>>> >> > and
>>> >> > image datastore. no datastore 0,1,2 in cluster 2.
>>> >> >
>>> >> > Which is the proper one?
>>> >> > How do I set glusterfs as system and image datastore in opennebula.
>>> >> > I
>>> >> > only
>>> >> > can set images datastore.
>>> >> >
>>> >> > Thanks in advance your kind help.
>>> >> >
>>> >> > Thanks you.
>>> >> >
>>> >> > Regards & Best Wishes,
>>> >> >
>>> >> >
>>> >> > .: Amier Anis :.
>>> >> > Mobile: +6012-260-0819
>>> >> >
>>> >> > ________________________________
>>> >> > IMPORTANT:
>>> >> > This e-mail (including any attachment hereto) is intended solely for
>>> >> > the
>>> >> > addressee and is confidential and privileged. If this should have
>>> >> > been
>>> >> > sent
>>> >> > to you in error, you are not to reproduce, distribute or take any
>>> >> > action
>>> >> > in
>>> >> > reliance on it. Kindly notify us and delete the e-mail and all
>>> >> > attachments
>>> >> > immediately.
>>> >> >
>>> >> > As e-mail and/or attachments may contain viruses and other
>>> >> > interfering
>>> >> > or
>>> >> > damaging elements, the receipt and/or downloading of e-mail and/or
>>> >> > attachments will be at your own risk and we accept no liability for
>>> >> > any
>>> >> > damage sustained as a result of any such viruses; you should carry
>>> >> > out
>>> >> > your
>>> >> > own virus checks before opening any attachment.
>>> >> >
>>> >> > _______________________________________________
>>> >> > Users mailing list
>>> >> > Users at lists.opennebula.org
>>> >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Javier Fontán Muiños
>>> >> Developer
>>> >> OpenNebula - Flexible Enterprise Cloud Made Simple
>>> >> www.OpenNebula.org | @OpenNebula | github.com/jfontan
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Javier Fontán Muiños
>>> Developer
>>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>> www.OpenNebula.org | @OpenNebula | github.com/jfontan
>>
>>
>



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan


More information about the Users mailing list