Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
swift-get-nodes(1)		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 location 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:

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

	   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    [Handoff]

	   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
	   curl	   -I	  -XHEAD     http://172.24.24.26:6002/sdv/221082/MyAc-
	   count-12ac01446be2 #	[Handoff]

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

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

SEE ALSO
       swift-account-info(1),  swift-container-info(1),	 swift-object-info(1),
       swift-ring-builder(1)

Linux				   8/26/2011		    swift-get-nodes(1)

NAME | SYNOPSIS | DESCRIPTION | DOCUMENTATION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=swift-get-nodes&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help