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

From CipherSpace Client Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:OpenNebula]]
[[Category:How To]]
[[Category:CloudInfrastructure]]


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 “Instances” in the left menu and click on “VMs” 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, a VM cannot be live migrated. In case the host (server on which the VM is running on) needs to be taken out for maintenance your VM will have to be shutdown.'''
 
#:[[File:Attach_cache.png|thumb|none|upright=1.5]]
5. Click "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]].
Open "Advanced Option" menu and select "none" as cache option.
[[File:Attach_cache.png|thumb|none|upright=1.5]]
 
 
6. Click "Attach" button to add the storage to the Virtual Machine.
 
 
7. Add storage to template to have it next time the virtual machine is instantiate.

Latest revision as of 22:14, 20 March 2017


  1. Log into OpenNebula Sunstone.
  2. You can attach and existing disk image or you can create a new one.
  3. Go to “Instances” in the left menu and click on “VMs” 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, a VM cannot be live migrated. In case the host (server on which the VM is running on) needs to be taken out for maintenance your VM 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.