The wrench::VirtualizedClusterComputeService
derives the wrench::CloudComputeService
class. One interacts with it in almost the same way as one interacts with a cloud servicde. The one difference between a virtualized cluster service and a cloud service is that the former exposes underlying physical resources, while the latter does not. More simply put, with a virtualized cluster service one can create VM instances on specific hosts, and migrate VM instances between hosts.
Here is an example interaction with a virtualized cluster service, in which VM instances are created and (live) migrated:
In the code above the VM instances are not used for anything. See the interacting with a cloud service page for an example in which jobs are submitted to the VM instances.
See the WMS implementation in examples/basic-examples/virtualized-cluster-bag-of-tasks/TwoTasksAtATimeVirtualizedClusterWMS.cpp
for a more complete example.