Add a README.md file
This commit is contained in:
parent
592f00c047
commit
663d38d808
28
README.md
Normal file
28
README.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# KVM tools
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
Copy add-vm.sh script in /usr/local/sbin/ :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
install -m 0755 add-vm.sh /usr/local/sbin/add-vm
|
||||||
|
~~~
|
||||||
|
|
||||||
|
Edit configuration in /etc/evolinux/add-vm.cnf :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
masterKVMIP=192.168.0.X
|
||||||
|
slaveKVMIP=192.168.0.Y
|
||||||
|
~~~
|
||||||
|
|
||||||
|
## Dry-run mode
|
||||||
|
|
||||||
|
You can use the dry-run mode by setting doDryRun var in config file :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
doDryRun=true
|
||||||
|
~~~
|
Loading…
Reference in a new issue