[one-users] Datastore and Gluster + Cluster

Javier Fontan jfontan at opennebula.org
Wed Sep 24 02:00:25 PDT 2014


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


More information about the Users mailing list