<html><body bgcolor="#FFFFFF"><div>Swift-get-nodes should be exactly the tool you can try, but As I know, swift-dispersion-report and populate are out of maintenance.<br><br>-ywang</div><div><br>在 2012-5-3,5:44,Richard Raseley <<a href="mailto:Richard@Raseley.com">Richard@Raseley.com</a>> 写道:<br><br></div><div></div><blockquote type="cite"><div>Andrew,<div><br></div><div>Thank you very much for that information - it is very helpful.</div><div><br></div><div>Regards,</div><div><br></div><div>Richard</div><div><br><div class="gmail_quote">On Wed, May 2, 2012 at 2:36 PM, Andrew Hale <span dir="ltr"><<a href="mailto:Andrew.Hale@rackspace.co.uk" target="_blank"><a href="mailto:Andrew.Hale@rackspace.co.uk">Andrew.Hale@rackspace.co.uk</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div style="word-wrap:break-word">
<p>
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.
</p><div><br>
</div>
<div><a href="http://swift.openstack.org/admin_guide.html#cluster-health" target="_blank"><a href="http://swift.openstack.org/admin_guide.html#cluster-health">http://swift.openstack.org/admin_guide.html#cluster-health</a></a></div><div class="im">
<div><br>
</div>
<div>
<div>On 2 May 2012, at 21:48, Duncan McGreggor wrote:</div>
<br>
<blockquote type="cite">
<div>cc'ing openstack list<br>
<br>
On Wed, May 2, 2012 at 4:45 PM, Richard Raseley <<a href="mailto:Richard@raseley.com" target="_blank"><a href="mailto:Richard@raseley.com">Richard@raseley.com</a></a>> wrote:<br>
<blockquote type="cite">I am trying to figure out the best way to see view the distribution of a<br>
</blockquote>
<blockquote type="cite">file or files across my test swift setup. I want to basically upload a file<br>
</blockquote>
<blockquote type="cite">or files to containers and then be able to run a command or script that will<br>
</blockquote>
<blockquote type="cite">tell me "See, these files *are* actually distributed over these particular<br>
</blockquote>
<blockquote type="cite">zones / nodes."<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Is there anything built into Swift like this? Thank you in advance for your<br>
</blockquote>
<blockquote type="cite">answers.<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"></blockquote></div></blockquote></div></div><p></p>
<p> </p>
<p>
</p><table border="0" cellpadding="0" width="504">
  <tbody>
  <tr>
    <td style="WIDTH:270px"><span style="font-family:Calibri">Andrew Hale</span><br><span style="font-family:Calibri">Linux Systems Engineer</span></td>
    <td style="WIDTH:281px"><img alt="experience Fanatical Support" align="right" width="159" height="17"></td></tr>
  <tr>
    <td colspan="2"><img alt="LINE" width="504" height="4"></td></tr>
  <tr>
    <td><span style="font-family:Calibri"><table><tbody><tr><td>Tel: </td><td><a href="tel:%2B442087342500" value="+442087342500" target="_blank">+442087342500</a></td></tr><tr><td>Mob: </td><td><a href="tel:%2B447720948819" value="+447720948819" target="_blank">+447720948819</a></td>
</tr><tr><td>Web:</td><td><a href="http://www.rackspace.co.uk" title="" target="_blank"><a href="http://www.rackspace.co.uk">www.rackspace.co.uk</a></a></td></tr></tbody></table></span></td>
    <td><img alt="Rackspace" width="280" height="74"></td></tr>
  <tr>
    <td colspan="2"><img width="504" height="3"></td></tr></tbody></table><p></p><div class="im">
<p> </p>
<p></p><div><blockquote type="cite"><div><blockquote type="cite">_______________________________________________<br>
</blockquote>
<blockquote type="cite">Openstack-operators mailing list<br>
</blockquote>
<blockquote type="cite"><a href="mailto:Openstack-operators@lists.openstack.org" target="_blank"><a href="mailto:Openstack-operators@lists.openstack.org">Openstack-operators@lists.openstack.org</a></a><br>
</blockquote>
<blockquote type="cite"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a></a><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
_______________________________________________<br>
Openstack-operators mailing list<br>
<a href="mailto:Openstack-operators@lists.openstack.org" target="_blank"><a href="mailto:Openstack-operators@lists.openstack.org">Openstack-operators@lists.openstack.org</a></a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a></a><br>
</div>
</blockquote>
</div>
<br>
<p></p></div></div>


<br>_______________________________________________<br>
Openstack-operators mailing list<br>
<a href="mailto:Openstack-operators@lists.openstack.org"><a href="mailto:Openstack-operators@lists.openstack.org">Openstack-operators@lists.openstack.org</a></a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a></a><br>
<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Openstack-operators mailing list</span><br><span><a href="mailto:Openstack-operators@lists.openstack.org">Openstack-operators@lists.openstack.org</a></span><br><span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a></span><br></div></blockquote></body></html>