This task will be tricky, challenging, but interesting.
Firstly, I think it's better to read the documents about setting up a cluster. Then, some relating tests may also be helpful.
If some concepts confuse you, check the course MIT 6.824 may be helpful.