OpenNebula: Difference between revisions

From Lsdf
Jump to navigationJump to search
mNo edit summary
Line 24: Line 24:
Enable image:
Enable image:
oneimage enable <Image-ID>
oneimage enable <Image-ID>

==starting and spopping VMs in OpenNebula==

Revision as of 15:17, 7 June 2013

Instructions on how to use the LSDF OpenNebula cloud

under construction

accounts and access

  • See Access_to_Resources for instructions on how to request an OpenNebula account.
  • Login to the OpenNebula front-end server:
ssh one.lsdf.kit.edu
  • Point the environment variables ONE_AUTH to your one_auth file. Default (/etc/profile.d/local-opennebula.sh):
export ONE_AUTH=$HOME/ONE/one_auth

creating a kvm image

  • creating a new kvm image using virt-manager
  • contextualizing image
  • registration of image in OpenNebula

Copy image file to: one.lsdf.kit.edu:/var/lib/one/images/users
Create text file: myimage_template

NAME          = "myimage"
PATH          = /var/lib/one/images/users/myimage.img
PUBLIC        = YES
DESCRIPTION   = "CentOS 6"

Register image:

oneimage register myimage_template

Get image id:

oneimage list

Enable image:

oneimage enable <Image-ID>

starting and spopping VMs in OpenNebula