diff options
author | Jason Kincl <kincljc@ornl.gov> | 2012-11-19 10:37:34 -0500 |
---|---|---|
committer | Jason Kincl <kincljc@ornl.gov> | 2012-11-19 10:37:34 -0500 |
commit | 894299b01b6138c54a99fd41f166554d175d6106 (patch) | |
tree | 88e11cb8c49d3f933cf5f622a93dfa123922960f /doc/reports/dynamic.txt | |
parent | de0ae51b6dc635a3acd2491d4ca3fd021aa55873 (diff) | |
parent | f4da37aa0a360add3f5c40f37cd3cc010ef8788f (diff) | |
download | bcfg2-894299b01b6138c54a99fd41f166554d175d6106.tar.gz bcfg2-894299b01b6138c54a99fd41f166554d175d6106.tar.bz2 bcfg2-894299b01b6138c54a99fd41f166554d175d6106.zip |
Merge remote branch 'upstream/master' into jasons-hacking
Diffstat (limited to 'doc/reports/dynamic.txt')
-rw-r--r-- | doc/reports/dynamic.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/reports/dynamic.txt b/doc/reports/dynamic.txt index 57e80ba25..19c947a71 100644 --- a/doc/reports/dynamic.txt +++ b/doc/reports/dynamic.txt @@ -266,6 +266,7 @@ are available: * LocalFilesystem: Statistics are written to the local file system and collected on the local machine. +* RedisTransport: Statistics are sent through a list in redis. * DirectStore: DBStats style threaded imports in the main server process. Future transports will allow multiple servers to pass data to a single or multiple @@ -277,6 +278,30 @@ release. If DirectStore is used, the bcfg2-report-collector process will refuse to run since this method is not compatible with an external process. +RedisTransport +^^^^^^^^^^^^^^ + +This transport uses a single redis instance for communication between bcfg2-server and +bcfg2-report-collector. Multiple servers can write to a single redis instance and multiple +report collectors may be run as well. + +An example configuration with the default values:: + + [reporting] + transport = RedisTransport + redis_host = 127.0.0.1 + redis_port = 6379 + redis_db = 0 + +bcfg2-admin commands operate slightly differently in this mode. Instead of querying the +database directly, rpc commands are issued to the report collectors. This only affects +the minestruct and pull commands. + +.. warning:: + + At the time of this writing the version of python-redis in EPEL is too old to use with + this transport. Current versions of the python-redis package require python >= 2.5. + Usage ===== |