summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-06-06 18:23:02 +0530
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-06-06 18:23:02 +0530
commit6fbe6ea2233f947a40257749fe85a18ffa0eed6c (patch)
treea810a9c8a6d1d4cb216d657b2413f6c1c8ba5e59
parent4c68b2f81441a28292602957abc4eaaa7c11b518 (diff)
docs: update ReadMe with gluster-blockd options
Change-Id: I7c78ab124705d77c8dc5edbf7ca7829dbf0f07b2 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
-rw-r--r--README.md31
1 files changed, 29 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9ced6c6..ad0b6ae 100644
--- a/README.md
+++ b/README.md
@@ -62,11 +62,38 @@ managing the command ring buffers
------
**Prerequisites:** *this guide assume we already have*
- [x] *A gluster volume with name 'block-test'*
-- [x] *In all nodes gluster-blockd.service is running*
- [x] *Open 24007(for glusterd) 24006(gluster-blockd) 3260(iscsi targets) 111(rpcbind) ports and glusterfs service in your firewall*
+<b>Daemon</b>: run gluster-blockd on all the nodes
```script
-# gluster-block (0.2)
+# gluster-blockd --help
+gluster-blockd (0.2)
+usage:
+ gluster-blockd [--glfs-lru-count <COUNT>] [--log-level <LOGLEVEL>]
+
+commands:
+ --glfs-lru-count <COUNT>
+ glfs objects cache capacity [max: 512] [default: 5]
+ --log-level <LOGLEVEL>
+ Logging severity. Valid options are,
+ TRACE, DEBUG, INFO, WARNING, ERROR and NONE [default: INFO]
+ --help
+ show this message and exit.
+ --version
+ show version info and exit.
+```
+
+You can run gluster-blockd as systemd service, note '/etc/sysconfig/gluster-blockd' is the configuration file where you can choose to edit various options, while systemd will take care of parsing them all and supply to daemon.
+<pre>
+# cat /etc/sysconfig/gluster-blockd
+# systemctl daemon-reload
+# systemctl restart gluster-blockd
+</pre>
+
+<b>CLI</b>: you can choose to run gluster-block(cli) from any node which has gluster-blockd running
+```script
+# gluster-block --help
+gluster-block (0.2)
usage:
gluster-block <command> <volname[/blockname]> [<args>] [--json*]