#influxdb

/

      • olivier
        but i've bound all possible instances to a private IP, not loopback interface. there is no separate meta-service bind-address setting, or is there?
      • (see no mention of this in the documentation)
      • Ormod_
        olivier: I've seen something similar at some point in the past, I wonder if you have 127.0.0.1 in your peers.json?
      • olivier
        @Ormod_; i've hardcoded the values to be the private IPs of both boxes (this is just a quick vagrant test on a couple of centos 7 boxes)
      • Ormod_
        olivier, ah ok, no idea then.
      • makaveli0227TL joined the channel
      • olivier
        the documentation mentions that on the second box i should configure a join in /etc/default/influxdb to the first node
      • it mentions a port
      • but not which one
      • so my assumption is it is the one on which the metaservice runs. which is set to the same private interface on port 8088
      • however, influxdb seems to ignore that setting completely and bind to loopback on port 8091?
      • or i might be on crack and seeing unicorns
      • and the one does not exclude the other
      • makaveli0227TL has quit
      • ghounds joined the channel
      • just upgraded to rc2 and now it seems to work magically?
      • sorcer joined the channel
      • ghounds has quit
      • scyth_ joined the channel
      • SkyRocknRoll has quit
      • sorcer has quit
      • SkyRocknRoll_ joined the channel
      • sarlalian joined the channel
      • GiLgAmEzH joined the channel
      • sorcer joined the channel
      • olivier has quit
      • dancleinmark joined the channel
      • productiondba joined the channel
      • dancleinmark has quit
      • djMax joined the channel
      • djMax has quit
      • makaveli0227TL joined the channel
      • ghounds joined the channel
      • olivier joined the channel
      • insomniaSalt joined the channel
      • alfredocambera joined the channel
      • RV06
        olivier, you're not the firs one I see here complaining about clustering issues with 0.10rc1.
      • I assume that 0.10rc1 contains some early work for "updated clustering implementation" as announced for rc2 in https://influxdata.com/blog/influxdb-v0-10-beta...
      • that may have broken clustering.
      • olivier
        thanks RV06, i figured it would be something along those lines, as i'm quite easily able to set-up a cluster pre 0.10rc[1-2]
      • just a good lesson for me to actually properly read the changelogs ;)
      • ghounds joined the channel
      • RV06
        (IMO it was already quite unreliable on previous releases, but I expect it to improve with final 0.10)
      • setting up a cluster was OK, but keeping it alive on the long term was harder.
      • SkyRocknRoll_ has quit
      • olivier
        we've only ran single instances in the past; we're sort of hoping that clustering will deliver on its promise to allow for proper horizontal scalability
      • instead of non-scalable rrd / whisper graphite clusters, eek.
      • pauldix joined the channel
      • thumpba joined the channel
      • thumpba has quit
      • thumpba joined the channel
      • ghounds
        RV06 what exactly did you find tough in maintaining the cluster? I've also been on single instances here, but would look to scale out...
      • olivier
        @ghounds; at this moment i'm not sure whether clustering is even functional in this new release..
      • been tinkering for hours / days to try and get it to work. 0.9.6 seems to work, sort of.
      • 0.10 = NACK
      • RV06
        ghounds, I run 3-nodes clusters, replica 2 with influxdb 0.9.5. It seems they regularly desynchronize, and we can see this on the contents of data dirs.
      • ghounds
        olivier + RV06: damn. ok. very good to know.
      • pauldix
        olivier: what's the problem you're seeing in the current release? We've been doing testing on it and it works. There are still a few key features ready so we're not calling it full release
      • RV06
        _sometimes I have to wipe all data and restart with a clean cluster as I don't manage to make them see each other anymore. But I agree the problem may be my knowledge in Influxdb clustering, and I could manage some magic copying data across the nodes.
      • RenokK has quit
      • RenokK_ joined the channel
      • olivier
        i'm having issues getting it up and running @pauldix
      • and followed the docs 20 times :D
      • RV06
        anyway, if I remember correctly clustering was advertised as «not for production» on influxdb 0.9.x
      • pauldix
        olivier: we haven't updated the docs for the new release (I don't think). Going to try to get to that today
      • RV06: that's right
      • olivier
        even after having reiterated over this 20 times, i am not excluding PEBCAK btw ;)
      • RV06
        pauldix, is it going to change with 0.10?
      • pauldix
        olivier: most likely thing is that you need to set the three different bind-address values with <hostname>:<port>
      • in the config files
      • olivier
        i am currently setting <private_ip>:<bind_port> for every subsection in the config
      • pauldix
        RV06: 0.10.0 clustering is still marked as pre-production, but it's getting closer. We have a few more features we're working on that will guarantee eventual consistency and make failure recovery easier. It's something where you could fix up manually, but would take effort
      • olivier: hmmm, that should be right. this is with RC2?
      • olivier
        yep, and attempting the join with the INFLUXD_OPTS param in /etc/default/influxdb
      • pauldix
        We're going to write up docs for the different things in 0.10.0 today, should get that all out by tomorrow. My guess is there's some config option that is off
      • olivier: you're not using -join=?
      • olivier
        but as the port in the docs for that parameter is not specified, i was assuming it was 8088
      • RV06
        good to know pauldix :) The problem with manual fixing is we never know if it's going to work, if the procedure is reproducible, etc… and when you want your servers up quickly and your history data is not that important, you just wipe it all and restart clean.
      • gabriel_ joined the channel
      • gabriel_ is now known as ghounds
      • olivier
        pauldix: yes i am. setting it as follows: INFLUXD_OPTS="-join 172.28.128.9:8088"
      • pauldix
        olivier: you seeing any errors in the logs?
      • olivier
        yep. the dreaded tcp.mux handler 71 error
      • Freman has quit
      • pauldix
        for the bind-address settings you have set, which ones do you have set?
      • olivier
        which would seem like i am trying to join on the wrong port?
      • pauldix
        olivier: the join port should be the meta.httpd bind address/pport
      • olivier
        but as far as i know 8088 is the meta-service port
      • pauldix
        not the meta.bind-addresss
      • olivier
        i tried other ports
      • ah.
      • pauldix
        previously you would join with the meta bind address. Now it's the meta.httpd-bind-address
      • olivier
        is meta.httpd going to be a new subsection in the config?
      • pauldix
        olivier: yeah. Arg, I thought it was already in the sample, but I'm not seeing it there
      • olivier
        no worries; that's what you have us for :D
      • pauldix
        olivier: this one under meta: http-bind-address
      • default on that is port 8091
      • Freman joined the channel
      • olivier
        ah. perfect. that explains me seeing it bind to localhost on port 8091, but not understanding where this was supposed to be set.
      • so confirms my suspicion that the meta http service is now separate
      • [meta] 2016/02/02 08:34:48 Starting meta service
      • [meta] 2016/02/02 08:34:48 Listening on HTTP: 127.0.0.1:8091
      • ;)
      • pauldix_ joined the channel
      • pauldix has quit
      • pauldix_ has quit
      • hmmm doesn't matter what i do in the config, it is refusing to bind to anything but the loopback interface @pauldix
      • http-bind-address= ":8091"
      • httpd-bind-address= ":8091"
      • (tried both of these as i am not sure with your wording which of the ones to use)
      • tcp 0 0 127.0.0.1:8091 0.0.0.0:* LISTEN 998 293374 28836/influxd
      • also explicitly prepending the priv IP does not make a difference, so i am probably still using the wrong config option
      • i'll dive into the source
      • djMax joined the channel
      • productiondba has quit
      • ghounds has quit
      • djMax has quit
      • djMax joined the channel
      • productiondba joined the channel
      • productiondba has quit
      • dancleinmark joined the channel
      • productiondba joined the channel
      • djMax has quit
      • daze joined the channel
      • B1nny
        does anyone know a way of deleting all measurements in a database? (I want to restart from scratch)
      • olivier
        can't you just drop the database and recreate it?
      • would probably be quicker than dropping all measurements; which sounds like an expensive operation :)
      • UICTamale joined the channel
      • rhys joined the channel
      • alfredocambera has quit
      • ghounds joined the channel
      • makaveli0227TL joined the channel
      • spuder joined the channel
      • productiondba joined the channel
      • ghounds has quit
      • right. i did not notice my absence of a space before the equal sign typo
      • makaveli0227TL has quit
      • thumpba has quit
      • nefilim joined the channel
      • djMax joined the channel
      • alfredocambera joined the channel
      • rhys has quit
      • thumpba joined the channel
      • SirFunk has quit
      • pauldix joined the channel
      • rhys joined the channel
      • ghounds joined the channel
      • SirFunk joined the channel
      • akv_ has quit
      • SkyRocknRoll joined the channel