Difference between revisions of "How To Manage OpenNebula Virtual Machines"

From CipherSpace Client Wiki
Jump to navigation Jump to search
Line 3: Line 3:
==Look at running Virtual Machines==
==Look at running Virtual Machines==


1.[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
#[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
 
#Go to “Virtual Resources” in the left menu and click on “Virtual Machines” in the drop down menu.
2. Go to “Virtual Resources” in the left menu and click on “Virtual Machines” in the drop down menu.
#:[[File:VM_menu.png|thumb|none|upright=0.5]]
[[File:VM_menu.png|thumb|none|upright=0.5]]
#:<br>
 
#:A list of all instantiated virtual machines will apear. Some basic information is showed.
 
#:[[File:vm_list.png|thumb|none|upright=2.5]]
A list of all instantiated virtual machines will apear. Some basic information is showed.
#:<br>
[[File:vm_list.png|thumb|none|upright=2.5]]
#:Click on a virtual machine to see all its configuration.
 
#:[[File:vm_detail.png|thumb|none|upright=2.5]]
 
Click on a virtual machine to see all its configuration.
[[File:vm_detail.png|thumb|none|upright=2.5]]


==Instantiate a Virtual Machine==
==Instantiate a Virtual Machine==


1. Go to “Virtual Resources” in the left menu and click on “Templates” in the drop down menu.  
#Go to “Virtual Resources” in the left menu and click on “Templates” in the drop down menu.  
[[File:Templates_menu.png|thumb|none|upright=0.5]]
#:[[File:Templates_menu.png|thumb|none|upright=0.5]]
 
#[[OpenNebula_Templates | Create or modify a template]]. This template will then be used to instantiate a virtual machine on which the operative system will be install.
 
#Click on the template just created and press "Instantiate" button to power on the virtual machine.
2. [[OpenNebula_Templates | Create or modify a template]]. This template will then be used to instantiate a virtual machine on which the operative system will be install.
#:[[File:vm_instantiate.png|thumb|none|upright=1.2]]
 
3. Click on the template just created and press "Instantiate" button to power on the virtual machine.
[[File:vm_instantiate.png|thumb|none|upright=1.2]]
 


==Shutdown a Virtual Machine==
==Shutdown a Virtual Machine==
When you shut down a virtual machine, OpenNebula sent ACPI signal to the machine operative system.
When you shut down a virtual machine, OpenNebula sent ACPI signal to the machine operative system.
Once the machine is shut down, its resources (memory, cpu) are available for a new machine.
Once the machine is shut down, its resources (memory, cpu) are available for a new machine.
 
<br>
 
#[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
1.[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
#Go to “Virtual Resources” in the left menu and click on “Virtual Machines” in the drop down menu.
 
#:[[File:VM_menu.png|thumb|none|upright=0.5]]
2. Go to “Virtual Resources” in the left menu and click on “Virtual Machines” in the drop down menu.
#:<br>
[[File:VM_menu.png|thumb|none|upright=0.5]]
#Click on the virtual machine, press the red button with the bin and click "shutdown".
 
#:[[File:vm_shutdown.png|thumb|none|upright=1.5]]
 
#:If more than one virtual machine need to be shut down, select each of them, press the red button with the bin and click "shutdown".
 
#:[[File:vm_multishutdown.png|thumb|none|upright=2.5]]
3. Click on the virtual machine, press the red button with the bin and click "shutdown".
[[File:vm_shutdown.png|thumb|none|upright=1.5]]
 
If more than one virtual machine need to be shut down, select each of them, press the red button with the bin and click "shutdown".
[[File:vm_multishutdown.png|thumb|none|upright=2.5]]


==Suspend a Virtual Machine==
==Suspend a Virtual Machine==
When you suspend a virtual machine, OpenNebula save the machine state and you can resume it later.
When you suspend a virtual machine, OpenNebula save the machine state and you can resume it later.
 
#[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
1.[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
#Go to “Virtual Resources” in the left menu and click “Virtual Machines” in the drop down menu.
 
#:[[File:VM_menu.png|thumb|none|upright=0.5]]
2. Go to “Virtual Resources” in the left menu and click “Virtual Machines” in the drop down menu.
#Click on the virtual machine, press the hold button and click "suspend".
[[File:VM_menu.png|thumb|none|upright=0.5]]
#:[[File:vm_suspend.png|thumb|none|upright=1.5]]
 
#:If more than one virtual machine need to be suspended, select each of them, press the hold button and click "suspend".
 
#:[[File:Vm_multisuspend.png|thumb|none|upright=2.5]]
3. Click on the virtual machine, press the hold button and click "suspend".
[[File:vm_suspend.png|thumb|none|upright=1.5]]
If more than one virtual machine need to be suspended, select each of them, press the hold button and click "suspend".
[[File:Vm_multisuspend.png|thumb|none|upright=2.5]]


==Open VNC console==
==Open VNC console==
 
#[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
1.[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
#Go to “Virtual Resources” in the left menu and click on “Virtual Machines” in the drop down menu.
 
#:[[File:VM_menu.png|thumb|none|upright=0.5]]
2. Go to “Virtual Resources” in the left menu and click on “Virtual Machines” in the drop down menu.
#:<br>
[[File:VM_menu.png|thumb|none|upright=0.5]]
#Select the virtual machine you want to access and click on the "VNC" button.
 
#:[[File:vnc_button.png|thumb|none|upright=1]]
 
#:<br>
3. Select the virtual machine you want to access and click on the "VNC" button.
#:A flyout will appear with the virtual machine console.
[[File:vnc_button.png|thumb|none|upright=1]]
#:[[File:vnc_view.png|thumb|none|900px]]
 
 
A flyout will appear with the virtual machine console.
[[File:vnc_view.png|thumb|none|900px]]

Revision as of 13:15, 22 September 2016

Look at running Virtual Machines

  1. Log into OpenNebula Sunstone.
  2. Go to “Virtual Resources” in the left menu and click on “Virtual Machines” in the drop down menu.
    VM menu.png

    A list of all instantiated virtual machines will apear. Some basic information is showed.
    Vm list.png

    Click on a virtual machine to see all its configuration.
    Vm detail.png

Instantiate a Virtual Machine

  1. Go to “Virtual Resources” in the left menu and click on “Templates” in the drop down menu.
    Templates menu.png
  2. Create or modify a template. This template will then be used to instantiate a virtual machine on which the operative system will be install.
  3. Click on the template just created and press "Instantiate" button to power on the virtual machine.
    Vm instantiate.png

Shutdown a Virtual Machine

When you shut down a virtual machine, OpenNebula sent ACPI signal to the machine operative system. Once the machine is shut down, its resources (memory, cpu) are available for a new machine.

  1. Log into OpenNebula Sunstone.
  2. Go to “Virtual Resources” in the left menu and click on “Virtual Machines” in the drop down menu.
    VM menu.png

  3. Click on the virtual machine, press the red button with the bin and click "shutdown".
    Vm shutdown.png
    If more than one virtual machine need to be shut down, select each of them, press the red button with the bin and click "shutdown".
    Vm multishutdown.png

Suspend a Virtual Machine

When you suspend a virtual machine, OpenNebula save the machine state and you can resume it later.

  1. Log into OpenNebula Sunstone.
  2. Go to “Virtual Resources” in the left menu and click “Virtual Machines” in the drop down menu.
    VM menu.png
  3. Click on the virtual machine, press the hold button and click "suspend".
    Vm suspend.png
    If more than one virtual machine need to be suspended, select each of them, press the hold button and click "suspend".
    Vm multisuspend.png

Open VNC console

  1. Log into OpenNebula Sunstone.
  2. Go to “Virtual Resources” in the left menu and click on “Virtual Machines” in the drop down menu.
    VM menu.png

  3. Select the virtual machine you want to access and click on the "VNC" button.
    Vnc button.png

    A flyout will appear with the virtual machine console.
    Vnc view.png