Feature #1404

Power-on Power-off for VMs.

Added by Ruben S. Montero almost 9 years ago. Updated almost 9 years ago.

Status:ClosedStart date:08/07/2012
Priority:NormalDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:-
Target version:Release 3.8
Resolution:fixed Pull request:

Description

Currently there are the following operations for a running VM without freeing the host resources:

  • reboot equivalent to send the reboot ACPI signal
  • reset hard reboot
  • suspend the state of the machine is saved and restored upon a resume operation

This feature is to implement a poweroff, that leaves the VM disks in the host and do not free resources; and poweron to boot a previously powered off.

An initial patch for this is attached and contributed by China Mobile. This patch includes also other modifications to integrated OpenNebula with Onest storage of Bigcloud, and an specific bc-ec scheduler.

opennebula-3.2.1-cmri.patch Magnifier (252 KB) Ruben S. Montero, 08/07/2012 09:54 PM

Associated revisions

Revision de518140
Added by Carlos Martín almost 9 years ago

Feature #1404: Add new onevm poweroff command. New VM states POWEROFF and SHUTDOWN_POWEROFF

Revision 0a30d4c3
Added by Carlos Martín almost 9 years ago

Feature #1404: Add new VM states to .dot diagram files

Revision 1486d045
Added by Hector Sanjuan almost 9 years ago

Feature #1404: Add poweron/poweroff actions to Sunstone and SelfService
(cherry picked from commit c400ee76174fbdd61e0ab6f6fdca5064dce566e5)

Revision b9a37f39
Added by Ruben S. Montero almost 9 years ago

feature #1404: Added state POWEROFF as valid for restarting a VM

Revision 324a01dc
Added by Ruben S. Montero almost 9 years ago

feature #1404: Restart operations are done the same way. STATE and LCM_STATE are changed atomically

Revision 96eb2af7
Added by Ruben S. Montero almost 9 years ago

feature #1404: Removed poweron alias from sunstone

Revision 9c0a10e1
Added by Ruben S. Montero almost 9 years ago

feature #1404: Update JAVA bindings to include "poweroff" action

Revision 1c69d3d4
Added by Ruben S. Montero almost 9 years ago

feature #1404: Updated poweron related strings in Sunstone & Self-service

Revision 69eb361d
Added by Carlos Martín almost 9 years ago

Feature #1404: Add poweroff action to Java OCA

History

#1 Updated by Ruben S. Montero almost 9 years ago

  • Status changed from New to Assigned

#2 Updated by Ruben S. Montero almost 9 years ago

  • Status changed from Assigned to Closed

#3 Updated by Ruben S. Montero almost 9 years ago

  • Resolution set to fixed

Available in master.

Also available in: Atom PDF