Repository navigation
Home
Windkit Li edited this page Jul 22, 2016
·
5 revisions
This is a repository containing Ansible Playbooks (*.yml) and Roles (roles/*) to simplify LeoFS Cluster Managerment.
- Users can easily deploy LeoFS cluster with several commands (
ansible-playbook) - Administrators can easily write theris own playbooks with the roles Advanced users can write their own playbooks with the supplied role definitions
Role definitions for LeoFS components are provided to simplify installation and configuration.
- Builder (
builder) - Build LeoFS Package from Source - Common (
common) - Common Operations such as preparing directories - LeoManager (
leo_manager_0andleo_manager_1) - Manager Nodes - LeoStorage (
leo_storage) - Storage Nodes - LeoGateway (
leo_gateway) - Gateway Nodes - Controller ('controller') - Controller (Configure
leofs-admtool)
LeoManager (Primary) leo_manager_0 as an example
├── leo_manager_0
│ ├── defaults
│ │ ├── main.yml (Default Settings for Primary LeoManager)
│ ├── meta
│ │ └── main.yml (Dependency of Role, i.e. common)
│ ├── tasks
│ │ ├── control.yml (Tasks Definition for Start/Stop/Purge Node)
│ │ ├── main.yml (Main Task File)
│ └── templates
│ ├── leo_manager_0.conf.j2 (LeoManager Configuration Template)Configurable parameters could be found in {role}/defaults/main.yml, for explanation of each parameter, tooltips could be found under in {role}/templates/{component}.conf.j2
-
build_leofs.ymlBuild LeoFS from Source -
install_leofs.ymlInstall LeoFS from Source/Package -
config_leofs.ymlConfigure LeoFS -
start_leofs.ymlStart LeoFS Cluster -
stop_leofs.ymlStop LeoFS Cluster -
purge_leofs.ymlPurge LeoFS Cluster (Force Stop and Delete)