Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Operators

Question Regarding Swift Distribution Statistics

 

 

OpenStack operators RSS feed   Index | Next | Previous | View Threaded


Richard at Raseley

May 2, 2012, 1:45 PM

Post #1 of 4 (203 views)
Permalink
Question Regarding Swift Distribution Statistics

I am trying to figure out the best way to see view the distribution of a
file or files across my test swift setup. I want to basically upload a file
or files to containers and then be able to run a command or script that
will tell me "See, these files *are* actually distributed over these
particular zones / nodes."

Is there anything built into Swift like this? Thank you in advance for your
answers.


duncan at dreamhost

May 2, 2012, 1:48 PM

Post #2 of 4 (189 views)
Permalink
Re: Question Regarding Swift Distribution Statistics [In reply to]

cc'ing openstack list

On Wed, May 2, 2012 at 4:45 PM, Richard Raseley <Richard [at] raseley> wrote:
> I am trying to figure out the best way to see view the distribution of a
> file or files across my test swift setup. I want to basically upload a file
> or files to containers and then be able to run a command or script that will
> tell me "See, these files *are* actually distributed over these particular
> zones / nodes."
>
> Is there anything built into Swift like this? Thank you in advance for your
> answers.
>
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators [at] lists
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
_______________________________________________
Openstack-operators mailing list
Openstack-operators [at] lists
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Richard at Raseley

May 2, 2012, 2:44 PM

Post #3 of 4 (183 views)
Permalink
Re: Question Regarding Swift Distribution Statistics [In reply to]

Andrew,

Thank you very much for that information - it is very helpful.

Regards,

Richard

On Wed, May 2, 2012 at 2:36 PM, Andrew Hale <Andrew.Hale [at] rackspace>wrote:

> You can use swift-get-nodes to see how a swift ring would distribute
> specific objects, this gives you the curl to query the appropriate service
> on each node directly to confirm whether they're actually there. A more
> useful tool might be the swift-dispersion-report and -populate tools which
> is designed to place objects across the cluster and report on the replica
> availability and cluster health from a cron or something.
>
> http://swift.openstack.org/admin_guide.html#cluster-health
>
> On 2 May 2012, at 21:48, Duncan McGreggor wrote:
>
> cc'ing openstack list
>
> On Wed, May 2, 2012 at 4:45 PM, Richard Raseley <Richard [at] raseley>
> wrote:
>
> I am trying to figure out the best way to see view the distribution of a
>
> file or files across my test swift setup. I want to basically upload a file
>
> or files to containers and then be able to run a command or script that
> will
>
> tell me "See, these files *are* actually distributed over these particular
>
> zones / nodes."
>
>
> Is there anything built into Swift like this? Thank you in advance for
> your
>
> answers.
>
>
>
>
> Andrew Hale
> Linux Systems Engineer [image: experience Fanatical Support] [image: LINE] Tel:
> +442087342500Mob: +447720948819Web:www.rackspace.co.uk [image: Rackspace]
>
>
>
> _______________________________________________
>
> Openstack-operators mailing list
>
> Openstack-operators [at] lists
>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators [at] lists
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
>
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators [at] lists
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>


ywang225 at 126

May 4, 2012, 2:23 AM

Post #4 of 4 (197 views)
Permalink
Re: Question Regarding Swift Distribution Statistics [In reply to]

Swift-get-nodes should be exactly the tool you can try, but As I know, swift-dispersion-report and populate are out of maintenance.

-ywang

ÔÚ 2012-5-3£¬5:44£¬Richard Raseley <Richard [at] Raseley> дµÀ£º

> Andrew,
>
> Thank you very much for that information - it is very helpful.
>
> Regards,
>
> Richard
>
> On Wed, May 2, 2012 at 2:36 PM, Andrew Hale <Andrew.Hale [at] rackspace> wrote:
> You can use swift-get-nodes to see how a swift ring would distribute specific objects, this gives you the curl to query the appropriate service on each node directly to confirm whether they're actually there. A more useful tool might be the swift-dispersion-report and -populate tools which is designed to place objects across the cluster and report on the replica availability and cluster health from a cron or something.
>
>
> http://swift.openstack.org/admin_guide.html#cluster-health
>
> On 2 May 2012, at 21:48, Duncan McGreggor wrote:
>
>> cc'ing openstack list
>>
>> On Wed, May 2, 2012 at 4:45 PM, Richard Raseley <Richard [at] raseley> wrote:
>>> I am trying to figure out the best way to see view the distribution of a
>>
>>> file or files across my test swift setup. I want to basically upload a file
>>
>>> or files to containers and then be able to run a command or script that will
>>
>>> tell me "See, these files *are* actually distributed over these particular
>>
>>> zones / nodes."
>>
>>>
>>
>>> Is there anything built into Swift like this? Thank you in advance for your
>>
>>> answers.
>>
>>>
>>
>>>
>
>
>
> Andrew Hale
> Linux Systems Engineer
>
> Tel: +442087342500
> Mob: +447720948819
> Web: www.rackspace.co.uk
>
>
>
>
>>> _______________________________________________
>>
>>> Openstack-operators mailing list
>>
>>> Openstack-operators [at] lists
>>
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>
>>>
>> _______________________________________________
>> Openstack-operators mailing list
>> Openstack-operators [at] lists
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators [at] lists
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators [at] lists
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

OpenStack operators RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.