← Back to team overview

graphite-dev team mailing list archive

Re: [Question #236769]: Replication Factor = 2

 

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

Irfan Patel gave more information on the question:
Would the confitguration need to differ if I were to replicate across to
another relay on a different host?

My Current configuration on host1 (1.1.1.1):

[relay]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2003
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2004
#RELAY_METHOD = rules
RELAY_METHOD = consistent-hashing
REPLICATION_FACTOR = 2
DESTINATIONS = 127.0.0.1:2014:middle-a, 127.0.0.1:2024:middle-b, 127.0.0.1:2034:middle-c, 127.0.0.1:2044:middle-d, 2.2.2.2:2004

My Current configuration on host1 (2.2.2.2):

[relay]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2003
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2004
#RELAY_METHOD = rules
RELAY_METHOD = consistent-hashing
REPLICATION_FACTOR = 2
DESTINATIONS = 127.0.0.1:2014:middle-a, 127.0.0.1:2024:middle-b, 127.0.0.1:2034:middle-c, 127.0.0.1:2044:middle-d, 1.1.1.1:2004

This configuration seems to be working, but I cannot workout why the
relaying does not start looping, does graphite protect against this?

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