OpenNebula: Difference between revisions

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


==starting and spopping VMs in OpenNebula==
==starting and stopping VMs in OpenNebula==

Latest revision as of 15:18, 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 stopping VMs in OpenNebula