Low-memory chef servers


#1

Something I saw in the past was that a suggestion for low memory servers
was to break apart the services so different pieces run on different boxes.
Is that still viable under Chef 11, and if so, is there a guide to how to
do so? Ideally, I want to shift some of the memory usage over to server_b
but leave the CPU crunching on server_a.

Thanks!


~~ StormeRider ~~

“Every world needs its heroes […] They inspire us to be better than we
are. And they protect from the darkness that’s just around the corner.”

(from Smallville Season 6x1: “Zod”)

On why I hate the phrase “that’s so lame”… http://bit.ly/Ps3uSS


#2

On Tuesday, July 30, 2013 at 2:11 PM, Morgan Blackthorne wrote:

Something I saw in the past was that a suggestion for low memory servers was to break apart the services so different pieces run on different boxes. Is that still viable under Chef 11, and if so, is there a guide to how to do so? Ideally, I want to shift some of the memory usage over to server_b but leave the CPU crunching on server_a.

Thanks!


~~ StormeRider ~~

Should be possible, but you’re gonna have to roll up your sleeves a bit. The basic idea is to set the component[‘enable’] setting for each component as necessary, and use the component[‘vip’] settings to configure all the services to talk to each other.

http://docs.opscode.com/config_rb_chef_server.html


Daniel DeLeo


#3

So I tried setting this up, and ran into a snag…
https://gist.github.com/stormerider/5656de72d29385249fcd

Basically, host_B should only run chef-solr, but chef-server-ctl
reconfigure is unhappy about trying to notify erchef service when it hasn’t
been defined?


~~ StormeRider ~~

“Every world needs its heroes […] They inspire us to be better than we
are. And they protect from the darkness that’s just around the corner.”

(from Smallville Season 6x1: “Zod”)

On why I hate the phrase “that’s so lame”… http://bit.ly/Ps3uSS

On Fri, Aug 2, 2013 at 1:39 PM, Daniel DeLeo dan@kallistec.com wrote:

On Tuesday, July 30, 2013 at 2:11 PM, Morgan Blackthorne wrote:

Something I saw in the past was that a suggestion for low memory servers
was to break apart the services so different pieces run on different boxes.
Is that still viable under Chef 11, and if so, is there a guide to how to
do so? Ideally, I want to shift some of the memory usage over to server_b
but leave the CPU crunching on server_a.

Thanks!


~~ StormeRider ~~

Should be possible, but you’re gonna have to roll up your sleeves a bit.
The basic idea is to set the component[‘enable’] setting for each component
as necessary, and use the component[‘vip’] settings to configure all the
services to talk to each other.

http://docs.opscode.com/config_rb_chef_server.html


Daniel DeLeo


#4

I seem to have gotten past this by letting it run with a blank config once,
then putting in my config and doing a reconfigure.

Question about the VIP settings… are they publicly advertised to clients,
or is it safe to point them over an internal control network?


~~ StormeRider ~~

“Every world needs its heroes […] They inspire us to be better than we
are. And they protect from the darkness that’s just around the corner.”

(from Smallville Season 6x1: “Zod”)

On why I hate the phrase “that’s so lame”… http://bit.ly/Ps3uSS

On Sun, Aug 4, 2013 at 7:17 PM, Morgan Blackthorne stormerider@gmail.comwrote:

So I tried setting this up, and ran into a snag…
https://gist.github.com/stormerider/5656de72d29385249fcd

Basically, host_B should only run chef-solr, but chef-server-ctl
reconfigure is unhappy about trying to notify erchef service when it hasn’t
been defined?


~~ StormeRider ~~

“Every world needs its heroes […] They inspire us to be better than we
are. And they protect from the darkness that’s just around the corner.”

(from Smallville Season 6x1: “Zod”)

On why I hate the phrase “that’s so lame”… http://bit.ly/Ps3uSS

On Fri, Aug 2, 2013 at 1:39 PM, Daniel DeLeo dan@kallistec.com wrote:

On Tuesday, July 30, 2013 at 2:11 PM, Morgan Blackthorne wrote:

Something I saw in the past was that a suggestion for low memory servers
was to break apart the services so different pieces run on different boxes.
Is that still viable under Chef 11, and if so, is there a guide to how to
do so? Ideally, I want to shift some of the memory usage over to server_b
but leave the CPU crunching on server_a.

Thanks!


~~ StormeRider ~~

Should be possible, but you’re gonna have to roll up your sleeves a bit.
The basic idea is to set the component[‘enable’] setting for each component
as necessary, and use the component[‘vip’] settings to configure all the
services to talk to each other.

http://docs.opscode.com/config_rb_chef_server.html


Daniel DeLeo


#5

stormerider@gmail.com writes:

I seem to have gotten past this by letting it run with a blank config once,
then putting in my config and doing a reconfigure.

Question about the VIP settings… are they publicly advertised to clients,
or is it safe to point them over an internal control network?

The bookshelf VIP will be sent to clients so that they can PUT/GET
cookbook content. The others (db, solr, rabbit) are internal only.

  • seth


Seth Falcon | Development Lead | Opscode | @sfalcon