Ask Your Question
1

PuppetDB architecture questions

asked 2013-01-10 13:13:43 -0600

glarizza gravatar image

I have had a couple of people ask me this question, so I thought I'd capture it here for everyone's benefit. If you're going to setup PuppetDB with the PostgreSQL backend, what is the best way to lay out your architecture?

The three main components are:

  1. The Puppet master (or multiple masters)
  2. The PuppetDB service
  3. PostgreSQL database server(s)

Is it better to group components together (i.e. the Puppet master AND the PuppetDB service separate from the Postgres db servers)? What are the benefits and downsides of each scenario?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-01-10 13:25:00 -0600

llowder gravatar image

It depends on your scale.

If you have only a handful of nodes that you manage, then there isn't much of a reason not to put it all on one system.

If you have 30-50 nodes, or use a lot of exported resources, you will probably want to at a minimum move the PostgreSQL server to it's own VM (or bare metal).

If you have more than 75 - 100 nodes that will be reporting to the master, or make heavy use of exported resources, you will probably want to have the Puppet master(s), PuppetDB(s) and PostgreSQL ... (more)

edit flag offensive delete link more
0

answered 2013-01-10 13:37:42 -0600

cprice404 gravatar image

updated 2013-01-10 13:50:20 -0600

It's probably a bit tricky to give a very general-purpose answer for this, but it basically comes down to a tradeoff between hardware resources and increased network bandwidth.

If you have an absolute beast of a machine and you can deploy all three of those on the same host, then you'll minimize network I/O and latency, so you'll probably get the best performance. However, the definition of "beast" will vary depending on the size of your puppet node population.

The most likely bottleneck out of the three components is probably going to be the puppet master ... (more)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-01-10 13:13:43 -0600

Seen: 710 times

Last updated: Jan 10 '13