← Back to team overview

graphite-dev team mailing list archive

Re: [Question #188037]: Multiple carbon-cache on same machine behind carbon-relay

 

Question #188037 on Graphite changed:
https://answers.launchpad.net/graphite/+question/188037

Michael Leinartas proposed the following answer:
There's a section in the example carbon.conf that gives how to do this:

# To configure special settings for the 'foo' carbon-cache instance, uncomment this:
#[cache:foo]
#LINE_RECEIVER_PORT = 2103
#PICKLE_RECEIVER_PORT = 2104
#CACHE_QUERY_PORT = 7102
# and any other settings you want to customize, defaults are inherited
# from [carbon] section.


The default instance is instance 'a', so for an additional instance you can add
[cache:b]
and override the ports of the receivers so that they dont conflict.

You can then manage the individual instances like so:
carbon-cache.py --instance=a start
carbon-cache.py --instance=b start

or manage both at once by not specifying an instance.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.