2024-11-26 14:56:58 +00:00
|
|
|
# Ganeti cluster deployment using Ansible
|
|
|
|
Setup a Ganeti cluster on Debian VMs.
|
|
|
|
|
|
|
|
## How to use
|
|
|
|
- First, edit the inventory file.
|
|
|
|
- Disable secure boot (if using UEFI).
|
|
|
|
- Then:
|
|
|
|
```sh
|
|
|
|
# allow ansible to use the ssh key
|
|
|
|
ssh-agent $SHELL
|
|
|
|
ssh-add ~/.ssh/id_rsa
|
|
|
|
|
|
|
|
# setup nodes
|
|
|
|
ansible-playbook -i inventory -u root node.yml
|
|
|
|
|
|
|
|
# setup master
|
|
|
|
ansible-playbook -i inventory -u root master.yml
|
|
|
|
|
2025-02-23 18:07:24 +00:00
|
|
|
# setup ganeti web manager
|
|
|
|
ansible-playbook -i inventory -u root web-manager.yml
|
2024-11-26 14:56:58 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Features
|
|
|
|
- static IP using systemd-networkd (using the last IP of the server before running the playbook)
|
2025-02-23 18:07:24 +00:00
|
|
|
- ganeti web manager
|