atom feed2 messages in org.apache.incubator.vcl-userRe: Help about reservations
FromSent OnAttachments
António AragãoSep 28, 2017 8:28 am 
Josh ThompsonOct 2, 2017 10:47 am 
Subject:Re: Help about reservations
From:Josh Thompson (josh@ncsu.edu)
Date:Oct 2, 2017 10:47:58 am
List:org.apache.incubator.vcl-user

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Hi António,

There is not a way to delete existing reservations through the GUI other than each user deleting their own reservations. However, if a VM does not have any reservations on it, you can remove the VM from the VM host under Virtual Hosts to have it unloaded from the host. Then, when you add the VM back, it will not be loaded until a reservation is made for the VM or it is reloaded under Edit Computer Profiles.

If you want to delete *ALL* reservations, you can set request.stateid to 1 (1 is the deleted state) for all entries with the following sql statement (USE WITH CAUTION!):

UPDATE request set stateid = 1;

This will function the same as if every user clicked the delete button for all of their reservations, causing vcld to pick them up, end the reservations, and reload the VMs.

Josh

On Thursday, September 28, 2017 11:28:25 AM EDT António Aragão wrote:

Hi,

there is any way of ending al reservations and forcing the management node to deploy new virtual machines on ESXi host?

Thanks.

- -- - ------------------------------- Josh Thompson VCL Developer North Carolina State University

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. -----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQRMIdRtWXideTZDK31X8tBw1209AwUCWdJ7zgAKCRBX8tBw1209 A1EuAJ47y7t6mVOgh0temBMOF3yUZgRHkACff877267eg3Fx1BYhDZpSSqZ3drM= =4YbK -----END PGP SIGNATURE-----