graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #00440
Re: [Question #114206]: Cluster servers - what am i doing wrong?
Question #114206 on Graphite changed:
https://answers.launchpad.net/graphite/+question/114206
Status: Needs information => Open
Steve Keller gave more information on the question:
OK, I understand now.
No, there are no entries in access.log from the graphite-dev server on
the graphite-dev2 server. It seems you suspected that there were
firewall issues between the two hosts, I doubted this as the two servers
are VMs on the same Xen host. (esmnagwest04.ea.com , CNAME entry for
virtual host grapite-dev.ea.com points to the same IP.
esmnagwest03.ea.com, CNAME entry for virtual host graphite-dev2.ea.com
points to same IP.)
In any case, I did a little test.
----------------------------
>From graphite-dev.ea.com:
----------------------------
[root@esmnagwest04 webapp]# wget "http://graphite-dev2.ea.com/metrics/find/?local=1&format=pickle&query=staging.*"
--11:45:51-- http://graphite-dev2.ea.com/metrics/find/?local=1&format=pickle&query=staging.*
Resolving graphite-dev2.ea.com... 10.30.203.18
Connecting to graphite-dev2.ea.com|10.30.203.18|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/pickle]
Saving to: `index.html?local=1&format=pickle&query=staging.*'
[ <=>
] 466 --.-K/s in 0s
11:45:51 (88.9 MB/s) -
`index.html?local=1&format=pickle&query=staging.*' saved [466]
----------------------------
Access log on graphite-dev2.ea.com:
----------------------------
10.30.203.19 - - [14/Jun/2010:13:45:51 -0500] "GET /metrics/find/?local=1&format=pickle&query=staging.* HTTP/1.0" 200 466
So graphite-dev can access graphite-dev2.
Seems like there is some other configuration issue. Maybe it has to do
with Django and Apache? I'm guessing here, I have no experience with
nor knowledge of Django.
Thanks again for your help,
-Steve Keller
-----Original Message-----
From: bounces@xxxxxxxxxxxxx [mailto:bounces@xxxxxxxxxxxxx] On Behalf Of chrismd
Sent: Monday, June 14, 2010 10:59 AM
To: Keller, Steve
Subject: Re: [Question #114206]: Cluster servers - what am i doing wrong?
Your question #114206 on Graphite changed:
https://answers.launchpad.net/graphite/+question/114206
Status: Open => Needs information
chrismd requested for more information:
So there are two types of /metrics/find/ calls, those done by the
browser UI which have format=treejson and do not have local=1. You will
see these in the access logs of the webapp you are doing the browsing
on. We are not interested in these but instead we are interested in the
other type of call which has format=pickle and local=1, those should be
in the access log of the other webapp in the cluster, the one you are
not directly browsing on. These calls are made from webapp to webapp to
merge the results and show you metrics from both systems, so we need to
see if these calls are being made successfully or not.
--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/graphite/+question/114206
You received this question notification because you are a direct
subscriber of the question.
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.