~ubuntu-branches/ubuntu/trusty/swift/trusty

« back to all changes in this revision

Viewing changes to doc/source/admin_guide.rst

  • Committer: Package Import Robot
  • Author(s): Chuck Short, James Page, Chuck Short
  • Date: 2013-08-13 10:37:13 UTC
  • mfrom: (1.2.21)
  • Revision ID: package-import@ubuntu.com-20130813103713-1ctbx4zifyljs2aq
Tags: 1.9.1-0ubuntu1
[ James Page ]
* d/control: Update VCS fields for new branch locations.

[ Chuck Short ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
 
157
157
[drive-audit]
158
158
 
159
 
==================  ==========  ===========================================
160
 
Option              Default     Description
161
 
------------------  ----------  -------------------------------------------
162
 
log_facility        LOG_LOCAL0  Syslog log facility
163
 
log_level           INFO        Log level
164
 
device_dir          /srv/node   Directory devices are mounted under
165
 
minutes             60          Number of minutes to look back in
166
 
                                `/var/log/kern.log`
167
 
error_limit         1           Number of errors to find before a device
168
 
                                is unmounted
169
 
==================  ==========  ===========================================
170
 
 
171
 
This script has only been tested on Ubuntu 10.04, so if you are using a
172
 
different distro or OS, some care should be taken before using in production.
 
159
==================  ==============  ===========================================
 
160
Option              Default         Description
 
161
------------------  --------------  -------------------------------------------
 
162
log_facility        LOG_LOCAL0      Syslog log facility
 
163
log_level           INFO            Log level
 
164
device_dir          /srv/node       Directory devices are mounted under
 
165
minutes             60              Number of minutes to look back in
 
166
                                    `/var/log/kern.log`
 
167
error_limit         1               Number of errors to find before a device
 
168
                                    is unmounted
 
169
log_file_pattern    /var/log/kern*  Location of the log file with globbing
 
170
                                    pattern to check against device errors
 
171
regex_pattern_X     (see below)     Regular expression patterns to be used to
 
172
                                    locate device blocks with errors in the
 
173
                                    log file  
 
174
==================  ==============  ===========================================
 
175
 
 
176
The default regex pattern used to locate device blocks with errors are
 
177
`\berror\b.*\b(sd[a-z]{1,2}\d?)\b` and `\b(sd[a-z]{1,2}\d?)\b.*\berror\b`.
 
178
One is able to overwrite the default above by providing new expressions
 
179
using the format `regex_pattern_X = regex_expression`, where `X` is a number.
 
180
 
 
181
This script has been tested on Ubuntu 10.04 and Ubuntu 12.04, so if you are
 
182
using a different distro or OS, some care should be taken before using in production.
173
183
 
174
184
--------------
175
185
Cluster Health