public inbox for
help / color / mirror / Atom feed
* cluster: STABLE3 - config validate: add man page
@ 2009-09-11 11:30 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-09-11 11:30 UTC (permalink / raw)
  To: cluster-cvs-relay

Commit:        3f88e836e582c63938d2fd3862080a8e920a6f52
Parent:        b25166629f95f0e3a4e0cd527fb17f25e8ca1699
Author:        Fabio M. Di Nitto <>
AuthorDate:    Fri Sep 11 13:29:25 2009 +0200
Committer:     Fabio M. Di Nitto <>
CommitterDate: Fri Sep 11 13:29:25 2009 +0200

config validate: add man page

Signed-off-by: Fabio M. Di Nitto <>
 config/tools/man/Makefile              |    1 +
 config/tools/man/ccs_config_validate.8 |   52 ++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+), 0 deletions(-)

diff --git a/config/tools/man/Makefile b/config/tools/man/Makefile
index 7cb76ab..e29dbf0 100644
--- a/config/tools/man/Makefile
+++ b/config/tools/man/Makefile
@@ -1,4 +1,5 @@
 TARGET=	ccs_config_dump.8 \
+	ccs_config_validate.8 \
 	ccs_tool.8 \
diff --git a/config/tools/man/ccs_config_validate.8 b/config/tools/man/ccs_config_validate.8
new file mode 100644
index 0000000..8884952
--- /dev/null
+++ b/config/tools/man/ccs_config_validate.8
@@ -0,0 +1,52 @@
+.TH CCS_CONFIG_VALIDATE "8" "September 2009"
+ccs_config_validate [options]
+Print this help, then exit
+Print program version information, then exit
+Produce verbose output
+.SS "Validating XML configuraton files:"
+\fB\-f\fR configfile
+Validate an alternate config file without preloading it with default values.
+\fB\-l\fR configfile
+Validate an alternate config file with preloading of default values (recommended option).
+.SS "Advanced options:"
+Force validation of runtime config
+\fB\-C\fR config_loader
+Override config plugin loader
+\fB\-t\fR tempfile
+Force temporay file to tempfile
+Do not remove temporary file
+Overwrite temporary file (dangerous)
+Default operation for ccs_config_validate is to load the currently configured environment
+and verify the outcoming configuration.
+Example 1: current environment uses a configuration file (/etc/cluster/cluster.conf).
+The user modifies cluser.conf and executes ccs_config_validate without options.
+The tool will validate the modified cluster.conf after including default values.
+Example 2: current environment is set to load the configuration from LDAP. Users
+modifies LDAP databse and before pushing the change to the nodes, she/he can issue
+ccs_config_validate to verify the contents o the LDAP database automatically
+(as long as the correct LDAP environment is set in the cman/cluster sysconfig/defaults files).

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-11 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-11 11:30 cluster: STABLE3 - config validate: add man page Fabio M. Di Nitto

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).