HP BL680c XenEnterprise Management API - Page 61
RPC name: hard, reboot, Overview, Signature, Arguments, description, Return Type, Possible Error
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 61 highlights
2.9. CLASS: VM CHAPTER 2. API REFERENCE RPC name: hard reboot Overview: Stop executing the specified VM without attempting a clean shutdown and immediately restart the VM. Signature: void hard_reboot (session_id s, VM ref vm) Arguments: type name description VM ref vm The VM to reboot Return Type: void Possible Error Codes: VM BAD POWER STATE, OTHER OPERATION IN PROGRESS, OPERATION NOT ALLOWED, VM IS TEMPLATE RPC name: suspend Overview: Suspend the specified VM to disk. This can only be called when the specified VM is in the Running state. Signature: void suspend (session_id s, VM ref vm) Arguments: type name description VM ref vm The VM to suspend Return Type: void Possible Error Codes: VM BAD POWER STATE, OTHER OPERATION IN PROGRESS, OPERATION NOT ALLOWED, VM IS TEMPLATE RPC name: resume Overview: Awaken the specified VM and resume it. This can only be called when the specified VM is in the Suspended state. Signature: void resume (session_id s, VM ref vm, bool start_paused, bool force) Arguments: type VM ref bool bool name vm start paused force description The VM to resume 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) 61