From d6c0f12e836d4c0ef3caa8aac317c2babcad5bb5 Mon Sep 17 00:00:00 2001 From: Alexis Ben Miloud--Josselin Date: Thu, 21 Jun 2018 10:27:56 +0200 Subject: [PATCH] Add kvmstats to README --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6f8a3fd..e4b7d89 100644 --- a/README.md +++ b/README.md @@ -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.