|
Oracle VM Manager Web Services API Reference Release 2.1.5 E14979-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LifecycleManagement
LifecycleService interface. This interface is to define these functions: create/configure/live migration Virtual Machine.
Method Summary | |
---|---|
VirtualDisk |
addDisk(VirtualMachine virtualMachine, DiskConfig diskConfig) Creates a new disk image on the server pool, and attaches it to the virtual machine. |
VirtualNetworkCard |
addNIC(VirtualMachine virtualMachine, NICConfig nicConfig) Adds a new network interface card to the virtual machine. |
void |
addSharedDisk(VirtualMachine virtualMachine, SharedDiskResource sharedDisk) Deprecated. |
void |
addSharedDisk(VirtualMachine virtualMachine, SharedDiskResource disk, HardDriveType type, java.lang.String frontEndName) Deprecated. |
void |
addSharedDisk(VirtualMachine virtualMachine, SharedDiskResource disk, HardDriveType type, java.lang.String frontEndName, DiskMode mode) Deprecated. |
void |
attachCD(VirtualMachine virtualMachine, CDConfig cdConfig) Deprecated. |
void |
attachCDtoVM(VirtualMachine virtualMachine, CdConfig cdConfig) Attach a CD to the virtual machine. |
void |
attachDisk(VirtualDisk disk) Attaches a disk (previuosly detached) to the virtual machine. |
void |
attachDisk(VirtualDisk disk, HardDriveType type, java.lang.String frontEndName) Attaches a disk to the virtual machine |
void |
attachDisk(VirtualDisk disk, HardDriveType type, java.lang.String frontEndName, DiskMode mode) Attaches a disk to a virutal machine |
void |
attachNIC(VirtualNetworkCard nic) Attach a network interface card to a virtual machine |
void |
attachSharedVirtualDisk(VirtualMachine virtualMachine, SharedVirtualDisk sharedDisk) Attaches a Shared Disk resource available on the server pool. |
void |
attachSharedVirtualDisk(VirtualMachine virtualMachine, SharedVirtualDisk disk, HardDriveType type, java.lang.String frontEndName) Attaches a Shared Disk resource which is available on the server pool. |
void |
attachSharedVirtualDisk(VirtualMachine virtualMachine, SharedVirtualDisk disk, HardDriveType type, java.lang.String frontEndName, DiskMode mode) Attaches a Shared Disk resource to a virutal machine |
void |
changeNetworkType(VirtualMachine vm, NetworkType type) Change the network type inside the virtual machine |
VirtualMachine |
clone(CloneVmConfig cloneVmConfig) Clone a virutal machine, using an available virtual machine on the server pool. |
java.util.Map |
clonePrerequisite(CloneVmConfig conf) |
void |
configNIC(java.lang.Long imgId, VirtualNetworkCard nic) Edit a network interface card in the virtual machine. |
VirtualMachine |
createVM(ISOVMConfig isoVMConfig) Deprecated. |
VirtualMachine |
createVM(PXEVMConfig pxeVMConfig) Deprecated. |
VirtualMachine |
createVM(TemplateVMConfig templateVMConfig) Deprecated. |
VirtualMachine |
createVmBasedOnISO(ISOVmConfig isoVMConfig) Creates a new virtual machine, using an available ISO Images resource on the server pool. |
VirtualMachine |
createVmBasedOnPXE(PXEVMConfig pxeVMConfig) Creates a new virtual machine (configured to use PXE boot mechanism) on the server pool. |
VirtualMachine |
createVmBasedOnTemplate(TemplateVmConfig templateVMConfig) Creates a new virtual machine, using an available Oracle VM Template resource on the server pool. |
java.util.Map |
createVMPrerequisite(ISOVMConfig conf) |
java.util.Map |
createVMPrerequisite(PXEVMConfig pxeVMConfig) |
java.util.Map |
createVMPrerequisite(TemplateVMConfig templateVMConfig) |
VirtualMachine |
deploy(DeployVmConfig deployVmConfig) Deploy a virtual machine |
void |
detachCD(VirtualMachine virtualMachine) Detach a CD from the virtual machine. |
void |
detachDisk(VirtualDisk disk) Detaches a disk from the virtual machine, preserving it physically. |
void |
detachNIC(VirtualNetworkCard nic) Detach a network interface card from a virutal machine. |
void |
detachSharedVirtualDisk(VirtualMachine virtualMachine, SharedVirtualDisk sharedDisk) Detaches a Shared Disk resource from a virtual machine. |
void |
disableHA(VirtualMachine vm) Disable virtual machine high availability |
void |
enableHA(VirtualMachine vm) Enable virtual machine high availability |
java.lang.String |
getConsolePassword(VirtualMachine vm) Get the console password of given virutal machine |
KeyboardLayout[] |
getKeyboardLayoutArray() Get all keyboard layout |
OVMGroup |
getVMGroupByVMId(java.lang.Long vmId) Get virtual machine group by virtual machine id. |
void |
liveMigrate(VirtualMachine virtualMachine) Live Migrates, a virtual machines to another virtual server (on the server pool) |
void |
liveMigrate(VirtualMachine virtualMachine, VirtualServer virtualServer) Live Migrates, a virtual machines to a specified server. |
void |
liveMigrateAll(VirtualServer virtualServer) Live Migrates all virtual machines being hosted on a virtual server, to other virtual servers (on the server pool) |
void |
liveMigrateAll(VirtualServer srcServer, VirtualServer tgtServer) Live Migrate all virtual machines from one server to the other server |
java.util.Map |
liveMigrateAllPrerequisite(VirtualServer sourceServer) Prerequiste of migrating all running VMs from sourceServer to other servers in the server pool. |
java.util.Map |
liveMigratePrerequisite(VirtualMachine vm, VirtualServer targetServer) Prerequiste of migrating a running VM to targetServer |
void |
removeDisk(VirtualDisk disk) Detaches a disk from the virtual machine, and removes it physically from the server pool. |
void |
removeNIC(VirtualNetworkCard nic) Removes an existing network interface card from the virtual machine. |
void |
removeSharedDisk(VirtualMachine virtualMachine, SharedDiskResource sharedDisk) Deprecated. |
VirtualMachine |
resetStatus(VirtualMachine virtualMachine) Reset the status of virtual machine to Error. |
void |
setBootPriority(VirtualMachine virtualMachine, BootDevice val) Sets the boot priority of the virtual machine (takes affect on next boot). |
void |
setConsolePassword(VirtualMachine vm, java.lang.String password) Set the console password of given virtual machine |
void |
setCpuCores(VirtualMachine virtualMachine, java.lang.Integer val) Sets the current number of virtual cpu cores available to the virtual machine. |
void |
setDynamicMemory(VirtualMachine virtualMachine, java.lang.Integer val) Sets the current memory value allocated to the virtual machine. |
void |
setGuestCredential(VirtualMachine vm, java.lang.String username, java.lang.String password) Change the guest credential. |
void |
setMaximumMemory(VirtualMachine virtualMachine, java.lang.Integer val) Sets the maximum memory value, that the virtual machine can be allocated. |
void |
setNetworkInsideGuest(VirtualNetworkCard[] networks) Change the network configuration inside the virtual machine |
void |
setOperatingSystem(VirtualMachine vm, OperatingSystem os) Set operating system |
void |
setPreferredServers(VirtualMachine virtualMachine, VirtualServer[] preferredServers) Set preferred servers |
void |
setVMConfigParam(java.lang.Long vmId, java.lang.String key, java.lang.String value) Set parameter's key and value for vm.cfg |
void |
setVMConfigParam(java.lang.String masterServerIp, java.lang.String vmPath, java.lang.String key, java.lang.String value) Deprecated. |
void |
setVMDescription(VirtualMachine virtualMachine, java.lang.String val) Sets the virtual machine description. |
void |
setVMKeyboardLayout(java.lang.Long vmId, KeyboardLayout keyboardLayout) configuration Virtual Machine keyboard layout |
Method Detail |
---|
java.util.Map createVMPrerequisite(PXEVMConfig pxeVMConfig) throws oracle.ovs.biz.exception.OVSException
oracle.ovs.biz.exception.OVSException
java.util.Map createVMPrerequisite(ISOVMConfig conf) throws oracle.ovs.biz.exception.OVSException
oracle.ovs.biz.exception.OVSException
java.util.Map clonePrerequisite(CloneVmConfig conf) throws oracle.ovs.biz.exception.OVSException
oracle.ovs.biz.exception.OVSException
java.util.Map createVMPrerequisite(TemplateVMConfig templateVMConfig) throws oracle.ovs.biz.exception.OVSException
oracle.ovs.biz.exception.OVSException
java.util.Map liveMigrateAllPrerequisite(VirtualServer sourceServer) throws oracle.ovs.biz.exception.OVSException
sourceServer
-oracle.ovs.biz.exception.OVSException
java.util.Map liveMigratePrerequisite(VirtualMachine vm, VirtualServer targetServer) throws oracle.ovs.biz.exception.OVSException
vm
-targetServer
-oracle.ovs.biz.exception.OVSException
VirtualMachine createVM(PXEVMConfig pxeVMConfig) throws oracle.ovs.biz.exception.OVSException
pxeVMConfig
-oracle.ovs.biz.exception.OVSException
VirtualMachine createVmBasedOnPXE(PXEVMConfig pxeVMConfig) throws oracle.ovs.biz.exception.OVSException
pxeVMConfig
-oracle.ovs.biz.exception.OVSException
VirtualMachine createVM(TemplateVMConfig templateVMConfig) throws oracle.ovs.biz.exception.OVSException
templateVMConfig
-oracle.ovs.biz.exception.OVSException
VirtualMachine createVmBasedOnTemplate(TemplateVmConfig templateVMConfig) throws oracle.ovs.biz.exception.OVSException
templateVMConfig
-oracle.ovs.biz.exception.OVSException
VirtualMachine createVM(ISOVMConfig isoVMConfig) throws oracle.ovs.biz.exception.OVSException
isoVMConfig
-oracle.ovs.biz.exception.OVSException
VirtualMachine createVmBasedOnISO(ISOVmConfig isoVMConfig) throws oracle.ovs.biz.exception.OVSException
isoVMConfig
-oracle.ovs.biz.exception.OVSException
VirtualMachine clone(CloneVmConfig cloneVmConfig) throws oracle.ovs.biz.exception.OVSException
cloneVmConfig
-oracle.ovs.biz.exception.OVSException
VirtualMachine deploy(DeployVmConfig deployVmConfig) throws oracle.ovs.biz.exception.OVSException
deployVmConfig
-oracle.ovs.biz.exception.OVSException
void liveMigrate(VirtualMachine virtualMachine) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-oracle.ovs.biz.exception.OVSException
void liveMigrate(VirtualMachine virtualMachine, VirtualServer virtualServer) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-virtualServer
-oracle.ovs.biz.exception.OVSException
void liveMigrateAll(VirtualServer virtualServer) throws oracle.ovs.biz.exception.OVSException
virtualServer
-oracle.ovs.biz.exception.OVSException
void liveMigrateAll(VirtualServer srcServer, VirtualServer tgtServer) throws oracle.ovs.biz.exception.OVSException
srcServer
-tgtServer
-oracle.ovs.biz.exception.OVSException
void setConsolePassword(VirtualMachine vm, java.lang.String password) throws oracle.ovs.biz.exception.OVSException
vm
-password
-oracle.ovs.biz.exception.OVSException
java.lang.String getConsolePassword(VirtualMachine vm) throws oracle.ovs.biz.exception.OVSException
vm
-oracle.ovs.biz.exception.OVSException
void setVMConfigParam(java.lang.String masterServerIp, java.lang.String vmPath, java.lang.String key, java.lang.String value) throws oracle.ovs.biz.exception.OVSException
masterServerIp
-vmPath
-key
-value
-oracle.ovs.biz.exception.OVSException
void setVMConfigParam(java.lang.Long vmId, java.lang.String key, java.lang.String value) throws oracle.ovs.biz.exception.OVSException
vmId
-key
-value
-oracle.ovs.biz.exception.OVSException
void setVMDescription(VirtualMachine virtualMachine, java.lang.String val) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-val
-oracle.ovs.biz.exception.OVSException
void setBootPriority(VirtualMachine virtualMachine, BootDevice val) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-val
-oracle.ovs.biz.exception.OVSException
void setCpuCores(VirtualMachine virtualMachine, java.lang.Integer val) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-val
-oracle.ovs.biz.exception.OVSException
void setDynamicMemory(VirtualMachine virtualMachine, java.lang.Integer val) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-val
-oracle.ovs.biz.exception.OVSException
void setMaximumMemory(VirtualMachine virtualMachine, java.lang.Integer val) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-val
-oracle.ovs.biz.exception.OVSException
void setGuestCredential(VirtualMachine vm, java.lang.String username, java.lang.String password) throws oracle.ovs.biz.exception.OVSException
vm
-username
-password
-oracle.ovs.biz.exception.OVSException
VirtualMachine resetStatus(VirtualMachine virtualMachine) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-oracle.ovs.biz.exception.OVSException
void attachCD(VirtualMachine virtualMachine, CDConfig cdConfig) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-cdConfig
-oracle.ovs.biz.exception.OVSException
void attachCDtoVM(VirtualMachine virtualMachine, CdConfig cdConfig) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-cdConfig
-oracle.ovs.biz.exception.OVSException
void detachCD(VirtualMachine virtualMachine) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-oracle.ovs.biz.exception.OVSException
void enableHA(VirtualMachine vm) throws oracle.ovs.biz.exception.OVSException
vm
-oracle.ovs.biz.exception.OVSException
void disableHA(VirtualMachine vm) throws oracle.ovs.biz.exception.OVSException
vm
-oracle.ovs.biz.exception.OVSException
VirtualNetworkCard addNIC(VirtualMachine virtualMachine, NICConfig nicConfig) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-nicConfig
-oracle.ovs.biz.exception.OVSException
void configNIC(java.lang.Long imgId, VirtualNetworkCard nic) throws oracle.ovs.biz.exception.OVSException
imgId
-nic
-oracle.ovs.biz.exception.OVSException
void detachNIC(VirtualNetworkCard nic) throws oracle.ovs.biz.exception.OVSException
nic
-oracle.ovs.biz.exception.OVSException
void attachNIC(VirtualNetworkCard nic) throws oracle.ovs.biz.exception.OVSException
nic
-oracle.ovs.biz.exception.OVSException
void removeNIC(VirtualNetworkCard nic) throws oracle.ovs.biz.exception.OVSException
nic
-oracle.ovs.biz.exception.OVSException
void setNetworkInsideGuest(VirtualNetworkCard[] networks) throws oracle.ovs.biz.exception.OVSException
networks
-oracle.ovs.biz.exception.OVSException
void changeNetworkType(VirtualMachine vm, NetworkType type) throws oracle.ovs.biz.exception.OVSException
vm
-type
-oracle.ovs.biz.exception.OVSException
VirtualDisk addDisk(VirtualMachine virtualMachine, DiskConfig diskConfig) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-diskConfig
-oracle.ovs.biz.exception.OVSException
void attachDisk(VirtualDisk disk) throws oracle.ovs.biz.exception.OVSException
disk
-oracle.ovs.biz.exception.OVSException
void attachDisk(VirtualDisk disk, HardDriveType type, java.lang.String frontEndName) throws oracle.ovs.biz.exception.OVSException
disk
-type
-frontEndName
-oracle.ovs.biz.exception.OVSException
void attachDisk(VirtualDisk disk, HardDriveType type, java.lang.String frontEndName, DiskMode mode) throws oracle.ovs.biz.exception.OVSException
disk
-type
-frontEndName
-mode
-oracle.ovs.biz.exception.OVSException
void removeDisk(VirtualDisk disk) throws oracle.ovs.biz.exception.OVSException
disk
-oracle.ovs.biz.exception.OVSException
void detachDisk(VirtualDisk disk) throws oracle.ovs.biz.exception.OVSException
disk
-oracle.ovs.biz.exception.OVSException
void addSharedDisk(VirtualMachine virtualMachine, SharedDiskResource sharedDisk) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-sharedDisk
-oracle.ovs.biz.exception.OVSException
void attachSharedVirtualDisk(VirtualMachine virtualMachine, SharedVirtualDisk sharedDisk) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-sharedDisk
-oracle.ovs.biz.exception.OVSException
void addSharedDisk(VirtualMachine virtualMachine, SharedDiskResource disk, HardDriveType type, java.lang.String frontEndName) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-disk
-type
-frontEndName
-oracle.ovs.biz.exception.OVSException
void attachSharedVirtualDisk(VirtualMachine virtualMachine, SharedVirtualDisk disk, HardDriveType type, java.lang.String frontEndName) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-disk
-type
-frontEndName
-oracle.ovs.biz.exception.OVSException
void addSharedDisk(VirtualMachine virtualMachine, SharedDiskResource disk, HardDriveType type, java.lang.String frontEndName, DiskMode mode) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-disk
-type
-frontEndName
-mode
-oracle.ovs.biz.exception.OVSException
void attachSharedVirtualDisk(VirtualMachine virtualMachine, SharedVirtualDisk disk, HardDriveType type, java.lang.String frontEndName, DiskMode mode) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-disk
-type
-frontEndName
-mode
-oracle.ovs.biz.exception.OVSException
void removeSharedDisk(VirtualMachine virtualMachine, SharedDiskResource sharedDisk) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-sharedDisk
-oracle.ovs.biz.exception.OVSException
void detachSharedVirtualDisk(VirtualMachine virtualMachine, SharedVirtualDisk sharedDisk) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-sharedDisk
-oracle.ovs.biz.exception.OVSException
void setPreferredServers(VirtualMachine virtualMachine, VirtualServer[] preferredServers) throws oracle.ovs.biz.exception.OVSException
virtualMachine
-preferredServers
-oracle.ovs.biz.exception.OVSException
void setOperatingSystem(VirtualMachine vm, OperatingSystem os) throws oracle.ovs.biz.exception.OVSException
vm
-os
-oracle.ovs.biz.exception.OVSException
KeyboardLayout[] getKeyboardLayoutArray() throws oracle.ovs.biz.exception.OVSException
oracle.ovs.biz.exception.OVSException
OVMGroup getVMGroupByVMId(java.lang.Long vmId) throws oracle.ovs.biz.exception.OVSException
vmId
-oracle.ovs.biz.exception.OVSException
void setVMKeyboardLayout(java.lang.Long vmId, KeyboardLayout keyboardLayout) throws oracle.ovs.biz.exception.OVSException
vmId
-keyboardLayout
-oracle.ovs.biz.exception.OVSException
|
Oracle VM Manager Web Services API Reference Release 2.1.5 E14979-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |