Add kvmstats to README

This commit is contained in:
Alexis Ben Miloud--Josselin 2018-06-21 10:27:56 +02:00
parent 383e800ec9
commit d6c0f12e83
1 changed files with 10 additions and 4 deletions

View File

@ -2,17 +2,21 @@
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
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 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
@ -21,8 +25,10 @@ slaveKVMIP=192.168.0.Y
## 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
~~~
> This is specific to add-vm.