Ask Your Question
0

Location of Container

asked 2012-12-04 12:22:12 -0500

pushkarajs10 gravatar image

I have used swift-get-nodes command to find the location of container in filesystem. I got following output.I got to know that 1st line indicates exact location of container.So i want to ask,what is the meaning of other 3 lines??

OUTPUT: ssh 127.0.0.1 "ls -lah /srv/node/sda4/containers/255108/bda/f9210072be11fd83b7e086f855758bda/" ssh 127.0.0.1 "ls -lah /srv/node/sda1/containers/255108/bda/f9210072be11fd83b7e086f855758bda/" ssh 127.0.0.1 "ls -lah /srv/node/sda2/containers/255108/bda/f9210072be11fd83b7e086f855758bda/" ssh 127.0.0.1 "ls -lah /srv/node/sda3/containers/255108/bda/f9210072be11fd83b7e086f855758bda/" # [Handoff]

Thank you

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2012-12-05 05:22:40 -0500

fifieldt gravatar image

The other three lines are also locations, or potential locations for the container.

As you probably know, by default, swift stores 3 replicas of each object.

The first three lines are the location of each replica. In this case, you appear to be running a swift-all-in-one setup, so your locations are all within 127.0.0.1, but you will notice that each is on a different disk partition.

The fourth line follows the same principle - but it is a "handoff" location. Essentially, if there is a problem with one of the first three locations, the fourth location will be used.

Hope that helps!

edit flag offensive delete link more
0

answered 2012-12-06 09:06:19 -0500

pushkarajs10 gravatar image

thank you very much :)

On 5 December 2012 10:55, Tom Fifield question215946@answers.launchpad.netwrote:

Your question #215946 on Ceilometer changed: https://answers.launchpad.net/ceilometer/+question/215946 (https://answers.launchpad.net/ceilome...)

Status: Open => Answered

Tom Fifield proposed the following answer: The other three lines are also locations, or potential locations for the container.

As you probably know, by default, swift stores 3 replicas of each object.

The first three lines are the location of each replica. In this case, you appear to be running a swift-all-in-one setup, so your locations are all within 127.0.0.1, but you will notice that each is on a different disk partition.

The fourth line follows the same principle - but it is a "handoff" location. Essentially, if there is a problem with one of the first three locations, the fourth location will be used.

Hope that helps!


If this answers your question, please go to the following page to let us know that it is solved:

https://answers.launchpad.net/ceilometer/+question/215946/+confirm?answer_id=0 (https://answers.launchpad.net/ceilome...)

If you still need help, you can reply to this email or go to the following page to enter your feedback: https://answers.launchpad.net/ceilometer/+question/215946 (https://answers.launchpad.net/ceilome...)

You received this question notification because you asked the question.

edit flag offensive delete link more
0

answered 2012-12-06 13:55:39 -0500

pushkarajs10 gravatar image

Thanks Tom Fifield, that solved my question.

edit flag offensive delete link more

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: 2012-12-04 12:22:12 -0500

Seen: 15 times

Last updated: Oct 10 '13