-
Notifications
You must be signed in to change notification settings - Fork 4
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_0
andleo_manager_1
) - Manager Nodes - LeoStorage (
leo_storage
) - Storage Nodes - LeoGateway (
leo_gateway
) - Gateway Nodes - Controller ('controller') - Controller (Configure
leofs-adm
tool)
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.yml
Build LeoFS from Source -
install_leofs.yml
Install LeoFS from Source/Package -
config_leofs.yml
Configure LeoFS -
start_leofs.yml
Start LeoFS Cluster -
stop_leofs.yml
Stop LeoFS Cluster -
purge_leofs.yml
Purge LeoFS Cluster (Force Stop and Delete)