VMware Cloud Community
tylert
Contributor
Contributor
Jump to solution

Configure Task Queue/Simultaneous Tasks in Client?

Right now I can highlight several VMs and perform an operation on them (for example, Migrate Dastores, or Suspend/Power On), but the Tasks all execute simulteneously which really hurts performance (the whole FC SAN LUN thrashes to a halt and users start to complain). In extreme cases the Tasks even start to time out and fail.

Is there a setting in the Client that will force Tasks to happen sequentially (i.e., a queue depth of 1)? Currently I am right-clicking each of 373 VMs one-by-one and waiting for each to finish, which is getting old fast.

0 Kudos
1 Solution

Accepted Solutions
lamw
Community Manager
Community Manager
Jump to solution

Not that I'm aware of using the vSphere Client, there is a maximum for each type of operation which is defined in the vSphere Configuration Maximum for vCenter and/or ESX(i).

Though the only way to create a queue is through a scripted approach where you can either kickoff n-tasks and wait before sending in more or perform a sequential operation.

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Twitter: @lamw

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

View solution in original post

0 Kudos
2 Replies
lamw
Community Manager
Community Manager
Jump to solution

Not that I'm aware of using the vSphere Client, there is a maximum for each type of operation which is defined in the vSphere Configuration Maximum for vCenter and/or ESX(i).

Though the only way to create a queue is through a scripted approach where you can either kickoff n-tasks and wait before sending in more or perform a sequential operation.

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Twitter: @lamw

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos
tylert
Contributor
Contributor
Jump to solution

Aha, that info helped me realize a workaround. Since each Host will only perform two simultaneous Tasks, I just vMotion a big pile of VMs to a single host outside of my DRS Pool. Then I fire off my Task on all of them, and it will only work on two at a time and queue the rest... which is acceptable. I'm sure I could go find the setting to tweak on that host to get it down to one Task, but I think two will work for my purposes.

Thanks for steering me in the right direction!

0 Kudos