# Knife ssh executes serially?

**URL:** <https://discourse.chef.io/t/knife-ssh-executes-serially/6523>\
**Category:** Chef Infra (archive)\
**Created:** [April 25, 2015, 11:50pm UTC](https://discourse.chef.io/t/knife-ssh-executes-serially/6523 "2015-04-25T23:50:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_F](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@Chris\_F](https://discourse.chef.io/u/Chris_F)\
**Post date:** [April 25, 2015, 11:50pm UTC](https://discourse.chef.io/t/knife-ssh-executes-serially/6523/1 "2015-04-25T23:50:58Z")

</div>

I added cookbooks to my nodes’ run lists, and am doing a ‘knife ssh -m “node1 node2 node3” “chef-client” -x user -P pw’ and am noticing that chef-client runs on one node, then the next, then the next, rather than chef-client running in ALL nodes in parallel. Is this expected?

Chris

---

<div class="post-metadata">

**Author:** ![jdunn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/jdunn/32/1800_2.png) [@jdunn](https://discourse.chef.io/u/jdunn)\
**Post date:** [April 26, 2015, 2:30am UTC](https://discourse.chef.io/t/knife-ssh-executes-serially/6523/2 "2015-04-26T02:30:02Z")

</div>

Have you tried setting concurrency with -C ?

- Julian

On Sat, Apr 25, 2015 at 7:50 PM, Fouts, Chris [Chris.Fouts@sensus.com](mailto:Chris.Fouts@sensus.com) wrote:

> I added cookbooks to my nodes’ run lists, and am doing a ‘knife ssh -m  
> “node1 node2 node3” “chef-client” –x user –P pw’ and am noticing that  
> chef-client runs on one node, then the next, then the next, rather than  
> chef-client running in ALL nodes in parallel. Is this expected?
> 
> Chris

--  
[Julian C. Dunn [jdunn@aquezada.com](mailto:jdunn@aquezada.com) \* Sorry, I'm ]  
[WWW: [Julian Dunn's Blog - Commentary on media, technology, and everything in between.](http://www.aquezada.com/staff/julian) \* only Web 1.0 ]  
[gopher://sdf.org/1/users/keymaker/ \* compliant!]  
[PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9]

---

<div class="post-metadata">

**Author:** ![Chris\_F](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@Chris\_F](https://discourse.chef.io/u/Chris_F)\
**Post date:** [April 27, 2015, 6:58pm UTC](https://discourse.chef.io/t/knife-ssh-executes-serially/6523/3 "2015-04-27T18:58:48Z")

</div>

No, but I'll try that. Thanks!

Chris

-----Original Message-----  
From: Julian C. Dunn [[mailto:jdunn@aquezada.com](mailto:jdunn@aquezada.com)]  
Sent: Saturday, April 25, 2015 10:30 PM  
To: [chef@lists.opscode.com](mailto:chef@lists.opscode.com)  
Subject: [chef] Re: knife ssh executes serially?

Have you tried setting concurrency with -C ?

- Julian

On Sat, Apr 25, 2015 at 7:50 PM, Fouts, Chris [Chris.Fouts@sensus.com](mailto:Chris.Fouts@sensus.com) wrote:

> I added cookbooks to my nodes’ run lists, and am doing a ‘knife ssh -m  
> “node1 node2 node3” “chef-client” –x user –P pw’ and am noticing that  
> chef-client runs on one node, then the next, then the next, rather  
> than chef-client running in ALL nodes in parallel. Is this expected?
> 
> Chris

--  
[Julian C. Dunn [jdunn@aquezada.com](mailto:jdunn@aquezada.com) \* Sorry, I'm ]  
[WWW: [Julian Dunn's Blog - Commentary on media, technology, and everything in between.](http://www.aquezada.com/staff/julian) \* only Web 1.0 ]  
[gopher://sdf.org/1/users/keymaker/ \* compliant!]  
[PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9]
