gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Need Help : How to create cinder volume on glusterfs


From: Shrinivas Kulkarni
Subject: Re: [Gluster-devel] Need Help : How to create cinder volume on glusterfs mount point
Date: Fri, 11 Oct 2013 16:57:34 +0530

[ sorry for spam sending same mail from my gluser-devel subscription mail ]


Hi,

Thanks for reply !

Here is the your require info :

Before running stack.sh,
I have updated "localrc" config file and added below things

CINDER_DRIVER=glusterfs
CINDER_GLUSTERFS_SHARES="10.0.2.15:/vol1"


so after completing script stack.sh execution,
 /etc/cinder/cinder.conf files shows this as default :

[DEFAULT]
glusterfs_shares_config = /etc/cinder/glusterfs_shares
volume_driver = cinder.volume.drivers.glusterfs.GlusterfsDriver
.
.


and /etc/cinder/gluster_shares have this content

10.0.2.15:/vol1


only things which is not get enabled in cinder.conf  is gluster mount point,
it remain as commented

Even though I mentioned below variable in localrc

GLUSTERFS_SHARES_CONFIG="/etc/cinder/glusterfs_shares"
GLUSTERFS_MOUNT_POINT_BASE=/mnt2


/etc/cinder/cinder.conf -

# Base dir containing mount points for gluster shares (string
# value)
#glusterfs_mount_point_base=$state_path/mnt  <---------




so, now I added glusterfs for cinder_driver
How  'cinder create' volume command aware that I want to use glusterfs to create/store volume on it
by default cinder goes for lvm/scsi right ?



Also, I'm trying to use below  config parameter
but not succeeded
in cinder.conf
# Support for multi lvm backend configuration (default is no support)
CINDER_MULTI_LVM_BACKEND=$(trueorfalse False $CINDER_MULTI_LVM_BACKEND)


On Fri, Oct 11, 2013 at 2:11 PM, Shrinivas Kulkarni <address@hidden> wrote:
Hi,

Thanks for reply !

Here is the your require info :

Before running stack.sh,
I have updated "localrc" config file and added below things

CINDER_DRIVER=glusterfs
CINDER_GLUSTERFS_SHARES="10.0.2.15:/vol1"


so after completing script stack.sh execution,
 /etc/cinder/cinder.conf files shows this as default :

[DEFAULT]
glusterfs_shares_config = /etc/cinder/glusterfs_shares
volume_driver = cinder.volume.drivers.glusterfs.GlusterfsDriver
.
.


and /etc/cinder/gluster_shares have this content

10.0.2.15:/vol1


only things which is not get enabled in cinder.conf  is gluster mount point,
it remain as commented

Even though I mentioned below variable in localrc

GLUSTERFS_SHARES_CONFIG="/etc/cinder/glusterfs_shares"
GLUSTERFS_MOUNT_POINT_BASE=/mnt2


/etc/cinder/cinder.conf -

# Base dir containing mount points for gluster shares (string
# value)
#glusterfs_mount_point_base=$state_path/mnt  <---------




so, now I added glusterfs for cinder_driver
How  'cinder create' volume command aware that I want to use glusterfs
to create/store volume on it
by default cinder goes for lvm/scsi right ?



Also, I'm trying to use below  config parameter
but not succeeded
in cinder.conf
# Support for multi lvm backend configuration (default is no support)
CINDER_MULTI_LVM_BACKEND=$(trueorfalse False $CINDER_MULTI_LVM_BACKEND)



Thanks !
~ Shrinivas


On 10/10/13, Shrinivas Kulkarni <address@hidden> wrote:
> Hi,
>
> Thanks for reply !
>
> Here is the your require info :
>
> Before running stack.sh,
> I have updated "localrc" config file and added below things
>
> CINDER_DRIVER=glusterfs
> CINDER_GLUSTERFS_SHARES="10.0.2.15:/vol1"
>
>
> so after completing script stack.sh execution,
>  /etc/cinder/cinder.conf files shows this as default :
>
> [DEFAULT]
> glusterfs_shares_config = /etc/cinder/glusterfs_shares
> volume_driver = cinder.volume.drivers.glusterfs.GlusterfsDriver
> .
> .
>
>
> and /etc/cinder/gluster_shares have this content
>
> 10.0.2.15:/vol1
>
>
> only things which is not get enabled in cinder.conf  is gluster mount
> point,
> it remain as commented
>
> Even though I mentioned below variable in localrc
>
> GLUSTERFS_SHARES_CONFIG="/etc/cinder/glusterfs_shares"
> GLUSTERFS_MOUNT_POINT_BASE=/mnt2
>
>
> /etc/cinder/cinder.conf -
>
> # Base dir containing mount points for gluster shares (string
> # value)
> #glusterfs_mount_point_base=$state_path/mnt  <---------
>
>
>
>
> so, now I added glusterfs for cinder_driver
> How  'cinder create' volume command aware that I want to use glusterfs to
> create/store volume on it
> by default cinder goes for lvm/scsi right ?
>
>
>
> Also, I'm trying to use below  config parameter
> but not succeeded
> in cinder.conf
> # Support for multi lvm backend configuration (default is no support)
> CINDER_MULTI_LVM_BACKEND=$(trueorfalse False $CINDER_MULTI_LVM_BACKEND)
>
>
>
>
>
> On Thu, Oct 10, 2013 at 6:41 PM, Anush Shetty <address@hidden> wrote:
>
>>
>>
>>
>>
>> ----- Original Message -----
>> > From: "Shrinivas Kulkarni" <address@hidden>
>> > To: address@hidden, address@hidden
>> > Cc: "Shrinivas Kulkarni" <address@hidden>
>> > Sent: Thursday, October 10, 2013 4:18:30 PM
>> > Subject: [Gluster-devel] Need Help : How to create cinder volume on
>> glusterfs mount point
>> >
>> > Hi All,
>> >
>> > I'm trying create cinder volume on glusterfs mount point
>> >
>> > Anyone know how to use gluster+cinder ?
>> >
>> >
>> > Here is about my setup :
>> > 1. Insall Devstack (stack.sh) on Fedora-19
>> > 2. In my setup glusterfs driver is default driver for cinder_driver,
>> this is
>> > enable in etc/cinder/cinder.conf during install only
>> >
>> > I could not found how 'cinder create' will use glusterfs mount point
>> > for
>> > creating volume on it
>> >
>> > I want to use glustefs as backend for cinder volume
>> >
>> > Can anyone help me for this ?
>> > Any direction or if I need to edit config files ..
>> >
>> Did you update your  /etc/cinder/shares.conf with the gluster volume and
>> restart cinder services.
>>
>> http://www.gluster.org/community/documentation/index.php/GlusterFS_Cinder
>>
>> -
>> Anush
>> >
>> >
>> > Thanks in Advance !
>> > ~ Shrinivas
>> >
>> > _______________________________________________
>> > Gluster-devel mailing list
>> > address@hidden
>> > https://lists.nongnu.org/mailman/listinfo/gluster-devel
>> >
>>
>
>
>
> --
>
> ~ Shrinivas
> -------------------------
>

_______________________________________________
Gluster-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/gluster-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]