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

From CipherSpace Client Wiki
Jump to navigation Jump to search
(Created page with " 1. Open OpenNebula Sunstone and login. 2. Go to “Virtual Resources” in the left menu and click “Virtual Machines” in the dr...")
 
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:OpenNebula]]
[[Category:How To]]
[[Category:CloudInfrastructure]]


1. Open OpenNebula Sunstone and [[OpenNebula_Administrative_Functions | login]].
#[[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.]]
2. Go to “Virtual Resources” in the left menu and click “Virtual Machines” in the drop down menu.
# Go to “Instances” in the left menu and click on “VMs” in the drop down menu.
[File:VM_menu.png|thumb|none|upright=0.5]]
#:[[File:VM_menu.png|thumb|none|upright=0.5]]
 
#: <br>
3. Click on the virtual machine you need to add the storage and go to "Storage" menu.
# Click on the virtual machine you need to add the storage and go to "Storage" menu.
[[File:vm_storage_menu.png|thumb|none|upright=2.5]]
#:[[File:vm_storage_menu.png|thumb|none|upright=2.5]]
 
#: <br>
4. Click "Attach Disk" button. A flyout will appear where you can select the additional storage.  
# 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]]
#:[[File:vm_attach_disk.png|thumb|none|upright=2.5]]
Open Advanced Option menu and select "none" as cache option
#: <br>
[[File:Attach_cache.png|thumb|none|upright=0.5]]
# Click on "Advanced Option" and select "none" as cache option.
5. Click "Attach" button to add the storage.
#:'''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]]
#: <br>
# 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]].

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.