Skip to content

Instantly share code, notes, and snippets.

@pingali
Created April 13, 2009 22:05
Show Gist options
  • Save pingali/94763 to your computer and use it in GitHub Desktop.
Save pingali/94763 to your computer and use it in GitHub Desktop.
(2:58:43 PM) mikewadhera_: this master instance -- is this an HAProxy LB into other instances?
(2:58:51 PM) auser: has_package :name => "memcached" == has_package "memcached"
(2:59:15 PM) mikewadhera_: ok good to know
(2:59:31 PM) auser: not any more... that's where the DNS round-robin comes into play
(2:59:54 PM) auser: we're on that this week too
(2:59:56 PM) auser: although
(3:00:00 PM) auser: you can add haproxy in
(3:00:02 PM) auser: and
(3:00:55 PM) auser: if you have has_variable :name => "node_ips", :value => %x[cloud-list].split("\n").map {|a| a[1] }, then you can access that in a chef template with
(3:01:01 PM) auser: @node[:poolparty][:node_ips]
(3:01:14 PM) auser: we're automating that too here soon-ish
(3:01:47 PM) mikewadhera_: ok so haproxy is no longer part of the arch?
(3:01:52 PM) auser: yup
(3:01:53 PM) mikewadhera_: at least not by default
(3:02:15 PM) auser: if you NEED it, we think that can sit as it's own router cloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment