6.11. StormCellar Configuration

StormCellar is configured very similarly to a Tornado Back End server. Below are some example configuration files.

stormcellar.conf

# In this example, the default subscription is "*".  Via Tornado Back End,
# we're only sending binaries to this host.  Stormcellar utilizes
# the drives as raw devices.  Contact Highwinds Support for more information
# on raw devices.
<Spool>
 SpoolNumber          3
 Path                 /dev/sdb1
 AccessMode           raw
</Spool>
...
<Spool>
 SpoolNumber          14
 Path                 /dev/sdm1
 AccessMode           raw
</Spool>
# As articles are indexed for transmission to the front ends, if
# the spool AccessModes are set to Direct, this will results in
# non-scaling overhead as the overview lines are read, this
# cache allieviates that condition. Parameter is in Kilobytes of
# RAM that will be set aside (max 100,000), a value of 0 will disable the cache.OverviewPreCache 500
# Adaptive subscription policy determines how articles are stored in spools
# based on readership:
# none : no adaptive policy
# bool : if the group has been read, honor subscription/filtersubscription normally,
#        otherwise drop the article
# weighted : articles are spread based on readership weight
AdaptiveSubscriptionPolicy none


# a dummy feed will be set up that is used to bring new front ends up
# to speed when they are first detected. the default size is 200megs, but
# a smaller one can be used for a fast binary server, or much larger for
# a deep-retention text server (up to 2G)
DummyFrontendQueuePath ../etc
DummyFrontendQueueSize 200000

# Defaults for Feed objects
#
DefaultMaxCrosspost 25
DefaultMaxIncomingNumberOfStreams 0
DefaultRefuseSpamCancels False
DefaultShowPostFilterRejection True
DefaultProcessSupercedes True
DefaultValidateSupercedes False
DefaultProcessCancels True
DefaultValidateCancels False
DefaultSecureReverseDNS True
DefaultTimeout 900
DefaultHostConnectionLimit 0
DefaultIncomingGroupFilter !*

DefaultSubscription *
DefaultFilterSubscription !*
DefaultWelcomeMessage Stormcellar -- http://www.highwinds-software.com/
DenyMessage Permission Stormcellar -- http://www.highwinds-software.com/
DefaultForceOrganization False
# DefaultGroupAllowFile
# DefaultGroupDenyFile
# DefaultOrganization Your Company Name

DefaultDistribution    *
DefaultMaxDepth        100
DefaultNumberOfStreams 1

DefaultRewriteDate False
DefaultRewritePath False
# DefaultXComplaintsTo news@company.com

DefaultMaxConnectTime 0

# For localization
DefaultLocale english
LocaleDirectory ../locales

feeds.conf

<Feed>
 IncomingFeedName   primary_feeds
 IncomingHostNames  10.0.0.100
 AllowFeeding       True
 AllowReading       False
 AllowPosting       False
</Feed>

########### Frontends

#include ../frontends.conf

frontends.conf

<Feed>
 IncomingFeedName       fe01
 IncomingHostNames      10.0.0.101
 AllowTornado           True
 TornadoQueuePath       ../queue
 TornadoQueueSize       200000
</Feed>
<Feed>
 IncomingFeedName       fe02
 IncomingHostNames      10.0.0.102
 AllowTornado           True
 TornadoQueuePath       ../queue
 TornadoQueueSize       200000
</Feed>