On Thursday, October 18, 2012 8:39:59 AM Aaron Peeler wrote:
> > First off, the "VM Limit" under "Virtual Hosts" -> "Configure Host"
> > seems to have no effect.  I have it set to "5" currently for my ESXi
> > machines, in an attempt to force a single block allocation to spread
> > across three virtual hosts, but a 15-VM batch is bringing up 14
> > machines on one host, and one on another.  I also notice that, at least
> > some of the time, the web UI doesn't actually store the number I enter
> > in the VM limit box.  Sometimes it works, other times it appears to
> > work, but if I come back to that virtual host and click the "Configure
> > Host" button again, the old value comes back.  I wonder if these factors
> > are related.
> 
> There is a difference in the 2.2.1 and 2.3 code that addresses the vm
> limit not getting set issue.  In 2.2.1 code, if you set the limit and
> then click on white space on that page, it should then be set.
> Something ajax related.
> 
> I'm not sure about the balancing of vm's on vmhosts. Josh might be
> able to answer that one.

The VM Limit field doesn't really do much and could possibly be done away 
with.  Its initial intent was to be part of a design that never got 
implemented where VCL would automatically assign VMs to VM Hosts as needed.  
The VM Limit field then allowed VCL to know how may VMs it could assign to a 
host.  So, since that was never implemented, all the field does is to keep you 
from exceeding the VM Limit when manually assigning VMs to a host.  For 
example, if you have it set to 5 and already have 5 VMs on the host, you will 
get an error message if you try to assign a 6th computer to the host.

You have highlighted the fact that, after assigning some number of VMs to the 
host, you do not receive an error when decreasing VM Limit below the number of 
currently assigned VMs.  I created a JIRA issue to correct this.

> > My other question involves access to block reserved machines.  Currently
> > I have a couple of block reservations in effect, and I've received the
> > e-mail notice from VCL telling the reserving user that the allocation
> > was successful, but I don't see any way for a user to know how to connect
> > to a machine in one of those blocks.  Could it be that a second
> > notification mail is getting dropped somewhere?  Or maybe I don't know
> > where to look in the UI?
> 
> The end-user who is a member of the block allocation will still need
> to make the reservation.
> 
> The main purpose of block allocations is to provided dedicated
> pre-loaded environments for a class. By making machines only available
> to members of the defined user group and ready to go with less than 1
> min wait times.
> 
> The end-user has to make a reservation for a couple of reasons, the
> biggest one is related to the firewall setting. They have to make the
> reservation and hit the connect button for the firewall to be setup
> correctly. Secondly in our experiences, your not sure who is coming to
> the class or if the instructor will use the block allocation that day.
>  So the thought is there was no real need to make reservations on
> behalf of the end-user.
 
Just to clarify a little more, the only way the end user is made aware of 
being part of a block allocation is that they can see the status of it under 
Block Allocations during an active time slot of the Block Allocation.  The 
scheduler takes care of assigning the user a computer out of a Block 
Allocation if one is available.

Josh
-- 
-------------------------------
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

[email protected]
919-515-5323

my GPG/PGP key can be found at pgp.mit.edu

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to