diff options
author | kshithijiyer <kshithij.ki@gmail.com> | 2019-04-22 16:00:36 +0530 |
---|---|---|
committer | Kshithij Iyer <kiyer@redhat.com> | 2019-04-24 10:52:10 +0000 |
commit | c8cd606e736546a60dd92a6271bb112d1453ce50 (patch) | |
tree | 57f5621d05d2b03ebe2bdc46c2a847719c4d1282 /README.md | |
parent | 5f827f38ea259eb2760bc2570593d9df8dc29976 (diff) |
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 <kshithij.ki@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 26 insertions, 2 deletions
@@ -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`. + |