I didn't explain this very well before because it was literally right before I went home.
My config.ini looks like the following:
[zone]
name = "east-sl"
amqp_uri = "amqp://guest:gu...@172.17.1.139:5672"
[bigcouch]
compact_automatically = true
ip = "172.17.1.232"
port = 5984
admin_port = 5986
zone = "east-sl"
cookie = VxvM7akBsq3FgBbqvvZ6Aw9T92tbD7sYztdqBqoYrFXXGbVpCFHvdMLNfegrrD2Gpg9Wv4onga2QzR96RTyajm2neurnyHXUxKuC
;username = "admin"
;password = "secret"
[whistle_apps]
zone = "east-sl"
cookie = VxvM7akBsq3FgBbqvvZ6Aw9T92tbD7sYztdqBqoYrFXXGbVpCFHvdMLNfegrrD2Gpg9Wv4onga2QzR96RTyajm2neurnyHXUxKuC
[ecallmgr]
zone = "east-sl"
cookie = VxvM7akBsq3FgBbqvvZ6Aw9T92tbD7sYztdqBqoYrFXXGbVpCFHvdMLNfegrrD2Gpg9Wv4onga2QzR96RTyajm2neurnyHXUxKuC
[log]
console = info
file = error
The load balancer for bigcouch is 172.17.1.232. This ip address is used exclusively for bigcouch's load balancer, all the bigcouch servers have their own ip address. Our setup has
172.17.1.0/24 reserved exclusively for load balancing services.
In the logs for the whapps host, when bringing up a new cluster, I see the following repeat on a regular basis:
20:14:39.637 [info] connected successfully to 172.17.1.232:5984
20:15:41.199 [info] getting connection information for 172-17-20-61.default.pod.cluster.local, 5984 and 5986
20:15:41.227 [info] connected successfully to 172-17-20-61.default.pod.cluster.local:5984
It looks as if the whistle_apps erlang node is first connecting to the load balancer, asking for its ip address directly, and from then on using it's direct ip address to connect. I could be wrong, but that's what it looks like it's doing according to the logs.
Load Balancer:
ip: 172.17.1.232
host: bigcouch.default.svc.cluster.local
BigcouchNode01:
ip: 172.17.20.61
host: 172-17-20-61.default.pod.cluster.local
So this makes me curious, if it is true that kazoo is keeping track of each bigcouch servers direct hostname/ip address:
* Where do I find this information?
* If I remove a node from the cluster, how do I go about telling kazoo that that server is now gone?
* If I add a bigcouch node to the cluster, how do I go about telling kazoo that there is a new node?
Currently it seems when I remove a node, I get a bunch of lines in the log at a regular interval that complain about a missing heartbeat (I don't have the logs handy right now for that since I just recently reset the cluster, but that was the gist of it)
Thanks for your help as always, it is truly appreciated :)