[Openstack-operators] Swift server as a storage

Vivek Singh Raghuwanshi vivekraghuwanshi at gmail.com
Tue May 1 15:22:33 UTC 2012


one more question how i can siign quota to users

On Tue, May 1, 2012 at 8:47 PM, Vivek Singh Raghuwanshi <
vivekraghuwanshi at gmail.com> wrote:

> Thanks Frederik,
>
> This is very helpful
>
>
> On Tue, May 1, 2012 at 8:36 PM, Frederik Van Hecke <frederik at cluttr.be>wrote:
>
>> Hi Vivek,
>>
>> In order to increase the number of nodes, you have to rebuild the ring.
>> In most case you'll only be rebuilding the object ring, not the
>> account/container rings.
>>
>> When building the ring you need to manually add all devices in your
>> cluster.
>> When that cluster grows, that list of devices you add will grow along.
>>
>>
>> A little example
>>
>>
>> *# Initial ring, with 3 servers divided into 3 zones *
>>
>> *# (to keep it simple 1 server = 1 disk) *
>>
>> * *
>>
>> *swift-ring-builder object.builder add z1-10.10.1.1:6000/sda2 1000 *
>>
>> *swift-ring-builder object.builder add z2-10.10.2.1:6000/sda2 1000 *
>>
>> *swift-ring-builder object.builder add z3-10.10.3.1:6000/sda2 1000 *
>>
>> *   *
>>
>> * *
>>
>> *# In case you add 3 more servers, you need to do the following *
>>
>> *# (notice difference in IP's, we have 6 different servers now)*
>>
>> *# (you always grow zones equally)*
>>
>> *  *
>>
>> *swift-ring-builder object.builder add z1-10.10.1.1:6000/sda2 1000 *
>>
>> *swift-ring-builder object.builder add z2-10.10.2.1:6000/sda2 1000 *
>>
>> *swift-ring-builder object.builder add z3-10.10.3.1:6000/sda2 1000 *
>>
>> * *
>>
>> *swift-ring-builder object.builder add z1-10.10.1.2:6000/sda2 1000 *
>>
>> *swift-ring-builder object.builder add z2-10.10.2.2:6000/sda2 1000 *
>>
>> *swift-ring-builder object.builder add z3-10.10.3.2:6000/sda2 1000 *
>>
>> *  *
>>
>> * *
>>
>> *# We then rebuild the object ring *
>>
>> * *
>>
>> *swift-ring-builder object.builder *
>>
>> *  *
>>
>> *# Then you redistribute the ring to all swift nodes *
>>
>> *# And finally you restart swift on all nodes *
>>
>>
>>
>> I don't know if there's support in Horizon for Swift.. Maybe someone else
>> can clarify that for you?
>> (we're currently running a basic in-house developed PHP-based dashboard
>> on top of Swift)
>>
>>
>> You can run Swift entirely separated from Nova, and purely use it as
>> object storage through the Swift API, Swift compatible clients (Cyberduck
>> is a good start) or through the S3 bindings.
>>
>> If you do not intend to use Nova and don't need the additional
>> functionality of Keystone, you might consider using the build in auth
>> system. It uses Swift itself to store user records, instead of a separate
>> database (i.e. the mysql you mentioned).
>>
>>
>>
>> Kind regards,
>> Frederik Van Hecke
>>
>> *T:*  +32487733713
>> *E:*  frederik at cluttr.be
>> *W:* www.cluttr.be
>>
>>
>>
>> *This e-mail and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s)named above. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by persons other than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. Thank you for your cooperation.*
>>
>>
>>
>>
>> On Tue, May 1, 2012 at 16:45, Vivek Singh Raghuwanshi <
>> vivekraghuwanshi at gmail.com> wrote:
>>
>>> How i can increase the number of nodes in future and is there is any
>>> dashboard available for Swift.
>>> i am not want to run swift servers with openstack setup, so that we can
>>> also use swift as a storage.
>>>
>>>
>>> On Tue, May 1, 2012 at 8:06 PM, Frederik Van Hecke <frederik at cluttr.be>wrote:
>>>
>>>> Hi Vivek,
>>>>
>>>> There's a great walkthrough online on installing Swift on Ubuntu.
>>>>
>>>> http://swift.openstack.org/howto_installmultinode.html
>>>>
>>>>
>>>> The tutorial however only covers the build-in auth system of swift.
>>>> So for setting up keystone and configuring swift to use keystone
>>>> instead.
>>>>
>>>> http://keystone.openstack.org/configuringservices.html
>>>>
>>>>
>>>>
>>>> Kind regards,
>>>> Frederik Van Hecke
>>>>
>>>> *T:*  +32487733713
>>>> *E:*  frederik at cluttr.be
>>>> *W:* www.cluttr.be
>>>>
>>>>
>>>>
>>>> *This e-mail and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s)named above. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by persons other than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. Thank you for your cooperation.*
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, May 1, 2012 at 16:30, Vivek Singh Raghuwanshi <
>>>> vivekraghuwanshi at gmail.com> wrote:
>>>>
>>>>>
>>>>> Hi All,
>>>>> Can anyone let me know how i can configure a swift storage  and use it
>>>>> as a storage server or S3 like storage.
>>>>>
>>>>> I want to implement 3 servers for storage and one node for
>>>>> management(mysql,keystone, or dashboard for swift if available)
>>>>> and extend the storage servers to x in feature.
>>>>> --
>>>>> ViVek Raghuwanshi
>>>>> Mobile -+91-09595950504
>>>>>
>>>>> Skype - vivek_raghuwanshi
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Openstack-operators mailing list
>>>>> Openstack-operators at lists.openstack.org
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> ViVek Raghuwanshi
>>> Mobile -+91-09595950504
>>>
>>> Skype - vivek_raghuwanshi
>>>
>>>
>>>
>>
>
>
> --
> ViVek Raghuwanshi
> Mobile -+91-09595950504
>
> Skype - vivek_raghuwanshi
>
>
>


-- 
ViVek Raghuwanshi
Mobile -+91-09595950504

Skype - vivek_raghuwanshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120501/5fcbcf77/attachment-0002.html>


More information about the Openstack-operators mailing list