Mass patching from chef server


#1

Suppose I have 1000 nodes and i want to perform oracle patching on these nodes in parallel.
What we do is we go on node and run chef client.
but is there any way that we run this from workstation or chef server so that all the 1000 nodes get patched at one go without our requirement to go on each and every node.

@thommay


#2

The best way to do is configuring Push-Jobs. Then you can run everything from workstation.

https://docs.chef.io/push_jobs.html


#3

How can we check whether chef server is configured to handle chef-push jobs or not?
We use chef-server via chef manage so what is the way to step forward for using chef push jobs


#4

You have to install push-jobs server in chef-server(linux) machine, and download the push-jobs cookbook from supermarket, make the changes and upload it to chef-server then run that cookbook in nodes(this will install push-jobs client in client machines). You can see the status of push-jobs client with knife node status command. From there you can use knife job start ‘cookbookname’ nodename command to run from workstation.


#5

While trying to download cookbooks and then upload it to chef server, it is having some http server connection, which on running chef client connects to internet for downloading some other dependencies…

We cannot have http port open on all our servers… what is the way to download all the cookbooks on the workstation and then upload it to server so that it does not connect to http://github or something else