|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerPoolMXBean
Management interface of a Server Pool. A Server Pool is a management unit acting as a container of physical hosts and virtual machines. A Server Pool is homogeneous with regard to the virtualization technology used by its member hosts. Live or cold migration of virtual machines between hosts is allowed only if the source and target host belong to the same server pool.
The ObjectName for identifying a ServerPoolMXBean follows the following template:
org.ow2.jasmine.vmm.api:type=ServerPool,name=<pathname>
Method Summary | |
---|---|
java.util.List<HostMXBean> |
getManagedHosts()
/** Returns the physical hosts belong to the server pool |
java.lang.String |
getName()
Return the symbolic name of the server pool |
VirtualMachineImageStoreMXBean |
getVMImageStore()
Returns the image stores belonging to this server pool |
VirtualMachineMXBean |
provisionVM(VMConfigSpec vmSpec,
java.util.Map<java.lang.String,java.lang.String> constraints,
boolean sync)
Provisions a new virtual machine. |
void |
setProvisioningPolicy(java.lang.String policyId)
Sets the provisioning policy of this domain |
Methods inherited from interface org.ow2.jasmine.vmm.api.ManagedResourceMXBean |
---|
getObjectName, getPath |
Method Detail |
---|
java.lang.String getName()
VirtualMachineMXBean provisionVM(VMConfigSpec vmSpec, java.util.Map<java.lang.String,java.lang.String> constraints, boolean sync) throws InsufficientResourcesException, InvalidVMConfigException, VMMException
vmSpec
- initial configuration of the virtual machineconstraints
- constraints on the placement of the VMsync
- if true the call will return once the VM has been created
InsufficientResourcesException
- raised if not enough resources are
available to create the VM
InvalidVMConfigException
- raised if the VM configuration is
invalid
VMMException
void setProvisioningPolicy(java.lang.String policyId)
policyId
- java.util.List<HostMXBean> getManagedHosts()
VirtualMachineImageStoreMXBean getVMImageStore()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |