Merge branch 'master' into debian
This commit is contained in:
commit
a2873544d5
10
README.md
10
README.md
|
@ -4,16 +4,16 @@ This repository contain scripts for managing KVM hypervisors used with DRBD and
|
|||
|
||||
It contains the following scripts.
|
||||
|
||||
- add-vm.sh: create DBRD volumes and virtual machines.
|
||||
- kvmstats.sh: gives informations about defined virtual machines.
|
||||
- add-vm: create DBRD volumes and virtual machines.
|
||||
- kvmstats: gives informations about defined virtual machines.
|
||||
|
||||
## Install
|
||||
|
||||
Copy the scripts to /usr/local/sbin:
|
||||
|
||||
~~~
|
||||
install -m 0755 add-vm.sh /usr/local/sbin/add-vm
|
||||
install -m 0755 kvmstats.sh /usr/local/sbin/kvmstats
|
||||
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:
|
||||
|
@ -23,7 +23,7 @@ masterKVMIP=192.168.0.X
|
|||
slaveKVMIP=192.168.0.Y
|
||||
~~~
|
||||
|
||||
Script add-vm.sh assume you have two LVM Volume Group named "ssd" and "hdd".
|
||||
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:
|
||||
|
||||
|
|
0
add-vm.sh → add-vm
Normal file → Executable file
0
add-vm.sh → add-vm
Normal file → Executable file
0
kvmstats.sh → kvmstats
Normal file → Executable file
0
kvmstats.sh → kvmstats
Normal file → Executable file
Loading…
Reference in a new issue