Difference between revisions of "OpenNebula Attach Additional Storage To A Virtual Machine"

From CipherSpace Client Wiki
Jump to navigation Jump to search
Line 1: Line 1:
[[Category:OpenNebula]]
[[Category:How To]]


1.[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
#[[OpenNebula_Administrative_Functions | Log into OpenNebula Sunstone]].
 
# You can attach and existing disk image or [[How To Create a New Disk Image in OpenNebula | you can create a new one.]]
 
# Go to “Virtual Resources” in the left menu and click on “Virtual Machines” in the drop down menu.
2. [[How_To_Create_OpenNebula_Datablock | Create an additional datablock storage.]]
#:[[File:VM_menu.png|thumb|none|upright=0.5]]
 
#: <br>
 
# Click on the virtual machine you need to add the storage and go to "Storage" menu.
3. Go to “Virtual Resources” in the left menu and click on “Virtual Machines” in the drop down menu.
#:[[File:vm_storage_menu.png|thumb|none|upright=2.5]]
[[File:VM_menu.png|thumb|none|upright=0.5]]
#: <br>
 
# Click on the "Attach Disk" button. A flyout will appear where you can select the image you want to attach.  
 
#:[[File:vm_attach_disk.png|thumb|none|upright=2.5]]
4. Click on the virtual machine you need to add the storage and go to "Storage" menu.
#: <br>
[[File:vm_storage_menu.png|thumb|none|upright=2.5]]
# Click on "Advanced Option" and select "none" as cache option.
 
#:'''Warning: without that option VM cannot be live migrated. In case the server it is running on needs to be taken out for maintenance your and will have to be shutdown.'''
 
#:[[File:Attach_cache.png|thumb|none|upright=1.5]]
5. Click on the "Attach Disk" button. A flyout will appear where you can select the storage.  
#: <br>
[[File:vm_attach_disk.png|thumb|none|upright=2.5]]
# Click on the "Attach" button to add the storage to the Virtual Machine.
 
#: <br>
 
# If you want to have the storage attached to the virtual machine next time it is instantiated, you must update the machine's template accordingly. See [[OpenNebula_Templates#Configure Template| Configure Template]].
6. Click on "Advanced Option" and select "none" as cache option.
[[File:Attach_cache.png|thumb|none|upright=1.5]]
 
 
7. Click on the "Attach" button to add the storage to the Virtual Machine.
 
 
8. If you want to have the storage attached to the virtual machine next time it is instantiated, you must update the machine's template accordingly. See [[OpenNebula_Templates#Configure Template| Configure Template]].

Revision as of 08:03, 20 September 2016


  1. Log into OpenNebula Sunstone.
  2. You can attach and existing disk image or you can create a new one.
  3. Go to “Virtual Resources” in the left menu and click on “Virtual Machines” in the drop down menu.
    VM menu.png

  4. Click on the virtual machine you need to add the storage and go to "Storage" menu.
    Vm storage menu.png

  5. Click on the "Attach Disk" button. A flyout will appear where you can select the image you want to attach.
    Vm attach disk.png

  6. Click on "Advanced Option" and select "none" as cache option.
    Warning: without that option VM cannot be live migrated. In case the server it is running on needs to be taken out for maintenance your and will have to be shutdown.
    Attach cache.png

  7. Click on the "Attach" button to add the storage to the Virtual Machine.

  8. If you want to have the storage attached to the virtual machine next time it is instantiated, you must update the machine's template accordingly. See Configure Template.