From c8cd606e736546a60dd92a6271bb112d1453ce50 Mon Sep 17 00:00:00 2001 From: kshithijiyer Date: Mon, 22 Apr 2019 16:00:36 +0530 Subject: Adding sample gdeploy config file in examples and editing Readme.md It would be better if we provide a sample configuration file for gdeploy in glusto tests and also adding a few points in the Readme.md file on how to run gdeploy. Change-Id: I481a1c871aa8b2749d7118adcc0898af6ac2c197 Signed-off-by: kshithijiyer --- README.md | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d9e453709..9c0b1dfad 100644 --- a/README.md +++ b/README.md @@ -72,8 +72,31 @@ Pre-requisites to run glusto-tests: - Setup passwordless ssh from the glusto-tests management node to all. - Install glusto-tests dependencies on servers and clients. - Setup bricks on all servers: - - To create bricks refer to [doc](https://gluster.readthedocs.io/en/latest/Administrator%20Guide/formatting-and-mounting-bricks/) - + - To create bricks refer to [doc](https://gluster.readthedocs.io/en/latest/Administrator%20Guide/formatting-and-mounting-bricks/) **OR** Run gdeploy as shown below. + 1. Edit the `gdeploy_sample_config.conf` present in `examples` as shown below and also configure passwordless ssh to all servers: + ``` + [hosts] + server-vm1 + server-vm2 + server-vm3 + server-vm4 + server-vm5 + server-vm6 + + [backend-setup] + devices + vgs + pools + lvs + mountpoints + ``` + **Note:** + For more details you can view a sample config file avaliable at ``/usr/share/doc/gdeploy/examples/gluster.conf.sample`` which will be installed with gdeploy. + + 2. Run gdeploy using the below command: + ``` + gdeploy -c gdeploy_sample_config.conf + ``` Note: - To run cifs protocol: @@ -180,3 +203,4 @@ Default log location is: `/tmp/glustomain.log` Note: When using `glusto` via the Python Interactive Interpreter, the default log location is `/tmp/glusto.log`. + -- cgit