Skip to main content
Version: 5.0.0

Setting up network on localhost (Optional)

While master/chunkserver will work with each other if running on the same IP address, it's best to assign master it's own dedicated IP.

First, add an identifier for sfsmaster in the /etc/hosts file:

10.33.33.33 sfsmaster

It can be any IP address, but preferably it should be something private and unused.

Next, add the new IP address to your loopback device

sudo ip a a 10.33.33.33 dev lo

Note that a loopback will significantly impact performance. However, you shouldn’t use localhost for production anyway. This will apply temporarily until the next boot.