Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

At the VDC level, the platform can allow limit concurrent operations that affect different virtual datacentersthe same virtual datacenter, while allowing ones to different VDCs, e.g. vCloud_VDC_1 and vCloud_VDC_2, but not the same VDC. Through the VDC context, the platform can control concurrency for the many kinds of entities associated with a VM (its firewalls, load balancers, NAT IPs, and backups).

You can choose to allow concurrent operations that change the state of a VM, e.g. powering it on, while limiting VM configure operations.

...

  • VM state changes (powerOn, powerOff, etc)
  • Configure/Deconfigure/Reconfigure VM
  • Register/Unregister/Update VM with Firewall Policy / Load Balancer / Nat RuleRule (question)
  • Perform Backup / Schedule Backup / Restore From Backup of a VMVM (question)


Control concurrency at the platform level

...

Code Block
java
java
abiquo.virtualfactory.{pluginTypeInLowerCase}.openSession

abiquo.virtualfactory.{backupManagerLowerCase}.backup.openSession

abiquo.virtualfactory.{deviceLowerCase}.device.openSession



Control concurrency at the virtual datacenter level

...

To prevent concurrent operations at the virtual datacenter level, use the "byvdc" property. This property can apply to VDCs, devices, and backup managers.

The default value allows values allow concurrent operations to the same VDC. device, and backup manager. 

Code Block
java
java
abiquo.virtualfactory.openSession.byvdc=false

abiquo.virtualfactory.device.openSession.byvdc=false

abiquo.virtualfactory.backup.openSession.byvdc=false


For example, to To prevent concurrency in the same virtual datacenter, which means all the operations to the same VDC will be executed one after another, set the following properties.
For the same PCR endpoint (connection data), it will be possible to execute multiple concurrent operations but only if they affect different virtual datacenters.


Code Block
java
java
abiquo.virtualfactory.openSession.byvdc=true
abiquo.virtualfactory.openSession=1

You can also control concurrency for device and backup managers at the virtual datacenter level.


Note that when using ''openSession.byvdc'', ' the platform does not limit the maximum number of concurrent connections to the same ConnectionData (provider endpoint or hypervisor IP) is not limited. (question)

Allow fast VM state changes

...