# Mass patching from chef server

**URL:** <https://discourse.chef.io/t/mass-patching-from-chef-server/12014>\
**Category:** Chef Infra (archive)\
**Created:** [November 23, 2017, 12:31pm UTC](https://discourse.chef.io/t/mass-patching-from-chef-server/12014 "2017-11-23T12:31:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![priyanshu](https://avatars.discourse-cdn.com/v4/letter/p/a9adbd/32.png) [@priyanshu](https://discourse.chef.io/u/priyanshu)\
**Post date:** [November 23, 2017, 12:31pm UTC](https://discourse.chef.io/t/mass-patching-from-chef-server/12014/1 "2017-11-23T12:31:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sunilkumar](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@sunilkumar](https://discourse.chef.io/u/sunilkumar)\
**Post date:** [November 23, 2017, 1:13pm UTC](https://discourse.chef.io/t/mass-patching-from-chef-server/12014/2 "2017-11-23T13:13:22Z")

</div>

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

[https://docs.chef.io/push\_jobs.html](https://docs.chef.io/push_jobs.html)

---

<div class="post-metadata">

**Author:** ![priyanshu](https://avatars.discourse-cdn.com/v4/letter/p/a9adbd/32.png) [@priyanshu](https://discourse.chef.io/u/priyanshu)\
**Post date:** [November 24, 2017, 6:23am UTC](https://discourse.chef.io/t/mass-patching-from-chef-server/12014/3 "2017-11-24T06:23:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sunilkumar](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@sunilkumar](https://discourse.chef.io/u/sunilkumar)\
**Post date:** [November 24, 2017, 7:07am UTC](https://discourse.chef.io/t/mass-patching-from-chef-server/12014/4 "2017-11-24T07:07:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![priyanshu](https://avatars.discourse-cdn.com/v4/letter/p/a9adbd/32.png) [@priyanshu](https://discourse.chef.io/u/priyanshu)\
**Post date:** [December 1, 2017, 7:09am UTC](https://discourse.chef.io/t/mass-patching-from-chef-server/12014/5 "2017-12-01T07:09:54Z")

</div>

> [@sunilkumar](#):
>
> er(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 ru

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](http://github) or something else
