Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MooseFS #4

Open
wants to merge 4 commits into
base: mooseFS
Choose a base branch
from
Open

MooseFS #4

wants to merge 4 commits into from

Conversation

Rishabh5903
Copy link

There are two services webA and webB, two chunkservers 1&2, webA writes into a file and webB reads the file from the same location.

Comment on lines 80 to 81
volumes:
mfs_data:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to do this with different volumes. We can't have the same volumes mounted to all the containers. This would mean that all the services are deployed on one common machine, with one filesystem. What we instead want is the following
Machine 1: Master server
Machine 2: Chunkserver 1, Web-A
Machine 3: Chunkserver 2, Web-B.

This means we want 3 separate volumes call them mfsdata_master, mfsdata_chunk1, mfsdata_chunk2. These volumes are mounted to the containers as described above.

Comment on lines 28 to 29
- chunkserver1
- chunkserver2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since web-B and chunkserver-2 are on the same machine, update the dependency to just chunkserver 2. It should not depend on chunkserver 1.

Comment on lines 14 to 15
- chunkserver1
- chunkserver2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update dependency to just chunkserver 1. See my comments below for more details.

Comment on lines 1 to 2
MASTER_HOST = $MOOSEFS_MASTER_SERVICE_HOST
CSSERV_LISTEN_PORT = $MOOSEFS_CHUNKSERVER_SERVICE_PORT
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am still not sure, how these environment variables are populated. Somewhere you will have to specify to the chunkservers how to connect to the master container. Could you please clarify how that is achieved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants