summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md28
-rw-r--r--examples/gdeploy_sample_config.conf10
2 files changed, 36 insertions, 2 deletions
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`.
+
diff --git a/examples/gdeploy_sample_config.conf b/examples/gdeploy_sample_config.conf
new file mode 100644
index 000000000..f771d5e26
--- /dev/null
+++ b/examples/gdeploy_sample_config.conf
@@ -0,0 +1,10 @@
+#IP addresses.
+[hosts]
+
+#Creating and mounting bricks.
+[backend-setup]
+devices=/dev/vdb,/dev/vdc,/dev/vdd,/dev/vde
+vgs=vg1,vg2,vg3,vg4
+pools=pool1,pool2,pool3,pool4
+lvs=lv1,lv2,lv3,lv4
+mountpoints=/bricks/brick1,/bricks/brick2,/bricks/brick3,/bricks/brick4