pvc icon indicating copy to clipboard operation
pvc copied to clipboard

Documentation

Open ghost opened this issue 9 years ago • 5 comments

Hey,

Not really an issue, but I was wondering if you have any additional documentation on PVC?

ghost avatar Sep 29 '15 16:09 ghost

Not quite - definitely an area which requires some attention. I also need to get the updated sources from internal repos over to here.

johnj avatar Sep 30 '15 02:09 johnj

That would be great, do you have a basic process of how I would use this? Does it need to connect to Foreman?

ghost avatar Sep 30 '15 02:09 ghost

There's integration with foreman's puppetrun API if you want to use that...otherwise foreman integration is not necessary.

On a puppet managed host you would deploy the pvc::agent - there's a PVC URL which is running a server which tells the pvc agent when to run puppet.

The PVC server - you can use https://github.com/johnj/pvc-server or write your own. Responses are shell variables that are handled by the pvc.sh (daemonized) process.

The goal here was to keep dependencies low and leverage "what the system already has" ... it's not as interesting as yaml, json, etc. but that wasn't a goal.

Feel free to reach out to me on skype for further help: john.juju

johnj avatar Sep 30 '15 02:09 johnj

Hey,

Do you happen to have hangouts? I try to stay away from Skype :).

If a manifest is updated how does the agent know to run? Does the PVC server watch the puppet master?

ghost avatar Sep 30 '15 02:09 ghost

There is a cron entry created which runs every minute as part of the pvc::ppm manifest, it collects load + passenger statistics and sends them to the PVC server. These bits are not necessary unless your puppetmasters are under severe load.

Hangouts; [email protected]

johnj avatar Sep 30 '15 04:09 johnj