Ask Your Question
0

How do we get all the swift nodes and what services are running on each?

asked 2015-05-07 17:13:25 -0500

Aarti gravatar image

In an openstack environment where there are controller node, compute nodes and swift(object storage) nodes, how do I get all the nodes which are used for object storage and what services are running on each of them. Is there any API/command which i can use?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-15 05:34:22 -0500

sunnyarora gravatar image

updated 2015-05-17 23:12:19 -0500

There are quite a bit of tools shipped with Swift.

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. ref link


You can find more information accordingly - If you are looking at an object on the server and need more info, swift-object-info will display the account, container, replica locations and metadata of the object.

If you are looking at a container on the server and need more info, swift-container-info will display all the information like the account, container, replica locations and metadata of the container. If you are looking at an account on the server and need more info, swift-account-info will display the account, replica locations and metadata of the account. If you want to audit the data for an account, swift-account-audit can be used to crawl the account, checking that all containers and objects can be found. ref link


Services on swift proxy server

memcached 
openstack-swift-proxy

Services on Swift Storage nodes

openstack-swift-account
openstack-swift-container
openstack-swift-object
edit flag offensive delete link more

Comments

Thank you.

Aarti gravatar imageAarti ( 2015-05-15 11:21:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-05-07 17:13:25 -0500

Seen: 979 times

Last updated: May 17 '15