OpenNebula: Difference between revisions
From Lsdf
Jump to navigationJump to search
m (Created page with "===Instructions on how to use the LSDF OpenNebula cloud=== ==accounts and access==") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
===Instructions on how to use the LSDF OpenNebula cloud=== |
===Instructions on how to use the LSDF OpenNebula cloud=== |
||
'''under construction''' |
|||
==accounts and access== |
==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<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
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>