Add kvmstats to README
This commit is contained in:
parent
383e800ec9
commit
d6c0f12e83
14
README.md
14
README.md
|
@ -2,17 +2,21 @@
|
||||||
|
|
||||||
This repository contain scripts for managing KVM hypervisors used with DRBD and LVM.
|
This repository contain scripts for managing KVM hypervisors used with DRBD and LVM.
|
||||||
|
|
||||||
Currently it only contain the add-vm.sh script for create DBRD volumes and virtuals machines.
|
It contains the following scripts.
|
||||||
|
|
||||||
|
- add-vm.sh: create DBRD volumes and virtual machines.
|
||||||
|
- kvmstats.sh: gives informations about defined virtual machines.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
Copy add-vm.sh script in /usr/local/sbin/ :
|
Copy the scripts to /usr/local/sbin:
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
install -m 0755 add-vm.sh /usr/local/sbin/add-vm
|
install -m 0755 add-vm.sh /usr/local/sbin/add-vm
|
||||||
|
install -m 0755 kvmstats.sh /usr/local/sbin/kvmstats
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Edit configuration in /etc/evolinux/add-vm.cnf :
|
Edit configuration in /etc/evolinux/add-vm.cnf:
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
masterKVMIP=192.168.0.X
|
masterKVMIP=192.168.0.X
|
||||||
|
@ -21,8 +25,10 @@ slaveKVMIP=192.168.0.Y
|
||||||
|
|
||||||
## Dry-run mode
|
## Dry-run mode
|
||||||
|
|
||||||
You can use the dry-run mode by setting doDryRun var in config file :
|
You can use the dry-run mode by setting doDryRun var in config file:
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
doDryRun=true
|
doDryRun=true
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
> This is specific to add-vm.
|
||||||
|
|
Loading…
Reference in a new issue