|
2 years ago | |
---|---|---|
docs | 2 years ago | |
.gitignore | 3 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
add-vm | 3 years ago | |
kvmstats | 2 years ago | |
vm-migrate | 3 years ago |
This repository contain scripts for managing KVM hypervisors used with DRBD and LVM.
It contains the following scripts.
Copy the scripts to /usr/local/sbin:
install -m 0755 add-vm /usr/local/sbin/add-vm
install -m 0755 kvmstats /usr/local/sbin/kvmstats
Edit configuration in /etc/evolinux/add-vm.cnf:
masterKVMIP=192.168.0.X
slaveKVMIP=192.168.0.Y
Script add-vm assume you have two LVM Volume Group named "ssd" and "hdd".
You can override this by adding a Bash array in /etc/evolinux/add-vm.cnf, eg:
disks=("VG1" "VG2")
You can use the dry-run mode by setting doDryRun var in config file:
doDryRun=true
This is specific to add-vm.
This project is an Evolix project and is licensed under GPLv3, see the LICENSE file for details.