Deploy (Unicast): Wrong number of client per node.
- 
 Ubuntu 14.04, FOG r6263 upgraded from 0.32. Starting a deploy (unicast) with 6 clients. I am having one storage group with two nodes where each of them has the limit of 3 clients. 
 So each node should take care of 3 clients. When all clients show the partclone screen the speed differed and i checked connections on the nodes.
 Node 1 had 4 open nfs connections and the node 2 had 2 open nfs connections. Seems there is somthing wrong in the allocation of the clients?
- 
 What? I’m lost, what is wrong? It get’s optimal node based on load, but there is no requirement for it to just split evenly. 
- 
 Doesn’t FOG split the clients correctly to fulfill the max client option? A deploy with 6 clients is split into: - First node serves 4 clients.
- Secound node serves 2 clients.
 Shouldn’t each node serve 3 clients when the option max clients is set to 3? 
- 
 @mp12 I still don’t understand. Both nodes only have a max of three clients? 
- 
 Yes both nodes have a max of three clients! Deploy of six clients is split into four and two on the nodes. 
- 
 @mp12 i don’t know then. 
- 
 @mp12 are you using the location plugin? 
- 
 Am I missunderstanding the storage managment? From FOG Wiki: Each storage node has a setting Max Clients making this the maximum number of hosts that this node can image toIn my config each node should image to thrree clients. 
- 
 @Wayne-Workman plugins are disabled. 
- 
 @mp12 Can you set one node to zero and the other to 1 and see what happens when you deploy two? Then swap the 1 for 0, and then one that was previously set to 0, set that to 1. Then try again with two host imaging tasks and see what happens? Right now - it’s clear there is some sort of issue, but knowing how it behaves in various conditions will help us locate exactly where the issue is. 
- 
 DOes it actually image 4 clients on the system or is one of the clients waiting for a slot to free up? 
- 
 @Tom-Elliott it actually image 4 clients. 
- 
 @Wayne-Workman I tried some scenarios (lots). With different number of max clients and different number of clients which get a deploy. See spreadsheet for details. 
- 
 @mp12 Is this still a problem? I updated the code base for the getUsed/getQueued hosts. I’m not sure it will do anything, but status update would still be nice if at all possible. 
- 
 @Tom-Elliott upgraded to r6285. No effect here. Started task with four clients. 
 Max client on both nodes is set to two.Only node1 processes the four image tasks. 
- 
 @mp12 This seems, to me, to be a timing issue. What happens if you slowly let the clients check in rather than all try to beat the clock? 
- 
 @Tom-Elliott thanks for the tip. Same setup as before. node1 max client 2 
 node2 max client 2
 number of deployed clients 4Started the deploys with a delay of 10 sec. between each client. 
 I tested it via basic tasks/deploy and with the clients boot menu/quick image.The clients got split correctly. This seems to fix the problem?! Tested a delay of 7 sec. and the split got messed up. 
- 
 @mp12 this gives me a starting point on what I can do to try to fix the problem you’re seeing. I don’t know why time matters but apparently it does. I’ll see if I can make things work properly but trying to race between quite literally seconds is not a simple feat. 
- 
 @Tom-Elliott Don’t let the clients start themselves - have the server do it. 
- 
 @Wayne-Workman What? 

