|
|||||||||
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 | |
---|---|
HostMXBean |
addHost(java.util.Map<java.lang.String,java.lang.String> attributes)
Add a new Host to the server pool |
void |
deleteHost(HostMXBean host)
Delete a host from the server pool |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Return the attributes of the server pool |
java.lang.String |
getHypervisor()
Returns the hypervisor common to every host of this pool |
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 |
void |
moveHost(HostMXBean host,
ServerPoolMXBean pool)
move a host to a different 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()
java.util.Map<java.lang.String,java.lang.String> getAttributes()
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()
HostMXBean addHost(java.util.Map<java.lang.String,java.lang.String> attributes) throws VMMException
attributes
- attributes of the new host
VMMException
void deleteHost(HostMXBean host) throws VMMException
host
- host to delete
VMMException
java.lang.String getHypervisor()
void moveHost(HostMXBean host, ServerPoolMXBean pool) throws VMMException
host
- host to deletepool
- destination pool
VMMException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |