I am wondering why when I expire or when the system expires a vm it takes roughly an hour for the status to show up as expired in the portal. I don't remember this happening this way in older versions. Does anyone know how to make it expire as soon as the request it sent. The main issue is the workflow that gets kicked off when a vm is expired. Our monitoring system starts alerting when a vm is turned off, so i build a workflow that runs a script to silence the alerts only when a vm is expired. So because it takes an hour to kick off the expire workflow the vm keeps alerting that entire time.
Yes, i found this http://pubs.vmware.com/vra-62/topic/com.vmware.vra.system.administration.doc/GUID-5FBB7C73-2AAD-4106... in the admin guide.
Adjust Execution Frequency of Machine Callbacks, the variable in the xml file is "ProcessLeaseWorkflowTimerCallbackIntervalMiliSeconds" Be careful there might be performance implications of setting this value too low. When the expire timer fires, it will check lease expires for the virtual machines and determines which virtual machines have their lease expired. If the timeout is set to 1 sec, for example, a check occurs every second whether any leases are expired.