Difference between revisions of "OpenNebula"
From Lsdf
m |
m (→starting and spopping VMs in OpenNebula) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
* creating a new kvm image using [[virt-manager]] |
* creating a new kvm image using [[virt-manager]] |
||
* contextualizing image |
* contextualizing image |
||
− | * registration of image in OpenNebula |
+ | * registration of image in OpenNebula<br> |
+ | Copy image file to: one.lsdf.kit.edu:/var/lib/one/images/users<br> |
||
+ | 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== |
Latest revision as of 15:18, 7 June 2013
Contents
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>