WorkingInT2BCloud
Golden rules
- Before starting, please read the doc
- Never, ever, change the status of a VM using virt-manager ! Do everything using Sunstone only, and nothing else !
- Admin tasks on OpenNebula : most of them requires that you become oneadmin ("su - oneadmin").
Admin tasks
How to stop OpenNebula ?
Connect as root to the front-end machine, and type the following commands :
su - oneadmin sunstone-server stop oneflow-server stop econe-server stop one stop
How to start OpenNebula ?
Connect as root to the front-end machine, and type the following commands :
su - oneadmin one start sunstone-server start
Using Sunstone front-end
Connecting to the Sunstone front-end
The Sunstone front-end is installed on dom02. Open a "socks" port to qnat or ccq (or configure your FoxyProxy) to connect to the the following URL :
http://192.168.10.35:9869/
You will be asked a login and a password.
Creation of VMs
To create a VM, you have to follow the following steps :
- creation of a disk
- creation of a template using the disk created previously
- instantiation of the template to create the VM
In the following explanations, we will suppose that you want to create a new VM that you want to deploy with Quattor.
Creation of the disk
Since the disk must be empty, you must choose a datablock. Choosing persistence is also important since you want to keep the content of the drive even if the VM is deleted. File:Example.jpg