Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.44 KB

README.md

File metadata and controls

60 lines (39 loc) · 1.44 KB

moosefs-playbook

MooseFS on autopilot. Makes setting up, upgrading, maintaining and troubleshooting MooseFS a breeze.

Getting started

Clone this repository somewhere handy

Generate an SSH key if you don't already have one

  • ssh-keygen

Copy your key to all the boxes you want to manage (replace localhost with the machine you want)

  • ssh-copy-id localhost

Edit the inventory file. You will need at least one master and at least one chunkserver for a functional MooseFS installation. Three or more chunkservers are strongly recommended.

You should specify "moosefs_install_method" in your inventory file, but you can override it for each node.

Here's an example:

[all:vars]
moosefs_master_host = mfsmaster-lab
moosefs_install_method = package

[moosefs]
mfs-m01

[moosefs_master]
mfs-m01

[moosefs_metalogger]
mfs-m01

[moosefs_chunkserver]
mfs-m01

Install the required roles and do an Ansible run.

ansible-galaxy install -r roles/requirements.yml && ansible-playbook site.yml

Inventories

Here are a list of included inventories.

  • inventory is for testing purposes.

TODO