HP BL680c XenEnterprise Management API - Page 62
Return Type, Possible Error Codes, RPC name: resume, Overview, Signature, Arguments, description,
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 62 highlights
2.9. CLASS: VM CHAPTER 2. API REFERENCE Return Type: void Possible Error Codes: VM BAD POWER STATE, OPERATION NOT ALLOWED, VM IS TEMPLATE RPC name: resume on Overview: Awaken the specified VM and resume it on a particular Host. This can only be called when the specified VM is in the Suspended state. Signature: void resume_on (session_id s, VM ref vm, host ref host, bool start_paused, bool force) Arguments: type VM ref host ref bool bool name vm host start paused force description The VM to resume The Host on which to resume the VM Resume VM in paused state if set to true. Attempt to force the VM to resume. If this flag is false then the VM may fail pre-resume safety checks (e.g. if the CPU the VM was running on looks substantially different to the current one) Return Type: void Possible Error Codes: VM BAD POWER STATE, OPERATION NOT ALLOWED, VM IS TEMPLATE RPC name: pool migrate Overview: Migrate a VM to another Host. This can only be called when the specified VM is in the Running state. Signature: void pool_migrate (session_id s, VM ref vm, host ref host, (string -> string) Map options) Arguments: type VM ref host ref (string → string) Map name vm host options description The VM to migrate The target host Extra configuration operations Return Type: void Possible Error Codes: VM BAD POWER STATE, OTHER OPERATION IN PROGRESS, VM IS TEMPLATE, OPERATION NOT ALLOWED, VM MIGRATE FAILED, VM MISSING PV DRIVERS RPC name: set VCPUs number live Overview: Set this VM's VCPUs/at startup value, and set the same value on the VM, if running. Signature: 62