From: Pete Zaitcev <zaitcev@redhat.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: hail-devel@vger.kernel.org
Subject: [hail patch 1/2] Change cfgfile.txt into a real config file
Date: Tue, 5 Oct 2010 17:14:51 -0600 [thread overview]
Message-ID: <20101005171451.2d1d28c5@lembas.zaitcev.lan> (raw)
Not many people read Recipies page at the wiki, so let's change the
in-tree cfgfile.txt so that it can be copied into /etc.
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
---
doc/cfgfile.txt | 57 +++++++++++++++-------------------------------
1 file changed, 19 insertions(+), 38 deletions(-)
diff --git a/doc/cfgfile.txt b/doc/cfgfile.txt
index 6c55c9b..deb1507 100644
--- a/doc/cfgfile.txt
+++ b/doc/cfgfile.txt
@@ -1,8 +1,10 @@
-
+<!--
chunkd's configuration file is "XML-like", but not strictly XML.
+In particular, clause tags are case-sensitive.
+Anyhow, just copy this file into /etc/chunkd.conf and supply it to -C option.
+-->
-listen addresses
-================
+<!--
You may specify multiple port, and/or multiple (address,port) combinations
using <Listen>, <Node>, <Port>, and <Encrypt>:
@@ -28,47 +30,26 @@ using <Listen>, <Node>, <Port>, and <Encrypt>:
<Port>18080</Port>
<Encrypt>true</Encrypt>
</Listen>
+-->
+<Listen> <Port>8082</Port> </Listen>
+<!-- The default is usually acceptable -->
+<!-- <PID>/var/run/chunkd.pid</PID> -->
-<Listen> Record delimiter
-<Node> Node address to which the TCP server will bind
- (exclude <Node> for wildcard address)
-<Port> Numeric port or service, to which TCP server will bind
-<Encrypt> TLS is enabled on this port
-
-
-volume served
-=============
-You specify the volume served by this daemon using <Path>.
-
- Your basic setup, an empty directory:
- <Path>/disk/massive/data</Path>
+<Path>/q/chunk-vega</Path> <!-- any /home directory will do -->
+<!-- Anything unique works: digits of IP address, time_t of creation. -->
+<NID>13</NID>
-<Path> Path to volume
+<!--
+ If you run tabled, "vega" is a <Group> tag where looks for chunks.
+ Otherwise, any path in CLD namespace works.
+ -->
+<InfoPath>/chunk-vega/13</InfoPath>
-
-SSL settings
-============
-You specify server SSL attributes using <SSL>, <PrivateKey>, and <Cert>.
-
- Your basic setup:
+<!-- SSL works, although very few people/programs use it. Tabled doesn't.
<SSL>
<PrivateKey>/etc/pki/chunkd.pem</PrivateKey>
<Cert>/etc/pkt/cert.pem</Cert>
</SSL>
-
-
-<SSL> Record delimiter
-<PrivateKey> Pathname of SSL private key PEM file
-<Cert> Pathname of Certificate public key PEM file
-
-
-miscellaneous settings
-======================
-
-PID file contained the process id of the daemon after forking, normally
-written somewhere in /var/run:
-
- <PID>/var/run/chunkd.pid</PID>
-
+-->
reply other threads:[~2010-10-05 23:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101005171451.2d1d28c5@lembas.zaitcev.lan \
--to=zaitcev@redhat.com \
--cc=hail-devel@vger.kernel.org \
--cc=jeff@garzik.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).