man pages section 1: User Commands

Exit Print View

Updated: July 2014
 
 

swift-get-nodes (1)

Name

swift-get-nodes - nodes tool

Synopsis

swift-get-nodes      <ring.gz>    <account>    [<container>]
[<object>]

Description




OpenStack Swift                                swift-get-nodes(1)



NAME
     swift-get-nodes - OpenStack Swift get-nodes tool


SYNOPSIS
     swift-get-nodes      <ring.gz>    <account>    [<container>]
     [<object>]


DESCRIPTION
     The swift-get-nodes tool can be used to find out  the  loca-
     tion where a particular account, container or object item is
     located within the swift cluster nodes. For example, if  you
     have  the  account hash and a container name that belongs to
     that account, you can use swift-get-nodes  to  lookup  where
     the container resides by using the container ring.


     Example:

        count-12ac01446be2
         $     swift-get-nodes     /etc/swift/account.ring.gz
              MyAc-

         Account     MyAccount-12ac01446be2
         Container   None
         Object      None

         Partition 221082
         Hash d7e6ba68cfdce0f0e4ca7890e46cacce

         Server:Port Device      172.24.24.29:6002 sdd
         Server:Port Device      172.24.24.27:6002 sdr
         Server:Port Device      172.24.24.32:6002 sde
         Server:Port Device      172.24.24.26:6002 sdv    [Hand-
              off]


        count-12ac01446be2
         curl  -I   -XHEAD
              http://172.24.24.29:6002/sdd/221082/MyAc-
        count-12ac01446be2
         curl  -I   -XHEAD
              http://172.24.24.27:6002/sdr/221082/MyAc-
        count-12ac01446be2
         curl  -I   -XHEAD
              http://172.24.24.32:6002/sde/221082/MyAc-
        count-12ac01446be2 # [Handoff]
         curl  -I   -XHEAD
              http://172.24.24.26:6002/sdv/221082/MyAc-

        /srv/node/sdd/accounts/221082/cce/d7e6ba68cfdce0f0e4ca7890e46cacce/



OpenStack             Last change: 8/26/2011                    1






OpenStack Swift                                swift-get-nodes(1)



         ssh             172.24.24.29             ls
              -lah
        /srv/node/sdr/accounts/221082/cce/d7e6ba68cfdce0f0e4ca7890e46cacce/
         ssh             172.24.24.27             ls
              -lah
        /srv/node/sde/accounts/221082/cce/d7e6ba68cfdce0f0e4ca7890e46cacce/
         ssh             172.24.24.32             ls
              -lah
        /srv/node/sdv/accounts/221082/cce/d7e6ba68cfdce0f0e4ca7890e46cacce/
        # [Handoff]
         ssh             172.24.24.26             ls
              -lah



DOCUMENTATION
     More documentation about OpenStack Swift  can  be  found  at
     http://swift.openstack.org/index.html





ATTRIBUTES
     See   attributes(5)   for   descriptions  of  the  following
     attributes:

     +---------------+-----------------------+
     |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
     +---------------+-----------------------+
     |Availability   | cloud/openstack/swift |
     +---------------+-----------------------+
     |Stability      | Uncommitted           |
     +---------------+-----------------------+
SEE ALSO
     swift-object-info(1), swift-ring-builder(1)



NOTES
     This  software  was   built   from   source   available   at
     https://java.net/projects/solaris-userland.    The  original
     community  source  was   downloaded   from    http://launch-
     pad.net/swift/havana/1.10.0/+download/swift-1.10.0.tar.gz

     Further  information about this software can be found on the
     open source community website at  http://www.openstack.org/.








OpenStack             Last change: 8/26/2011                    2