How to Create VM in OpenNebula ?

  • According to the specification parameters mentioned in the corresponding VM template, a new VM is created.
  • Step 1: Start OpenNebula.

    i) Login as the oneadmin user in Terminal.
    Type the following command.
    <one start>

Screenshot from 2017-10-12 15:12:44

(ii) Start the OpenNebula SunStone.

Type the following command.

<service opennebula-sunstone start>

Screenshot from 2017-10-12 15:12:55
  • Step 2: Login OpenNebula Sunstone:

    Go to https://localhost:9869.
    Login into OpenNebula Sunstone.

Screenshot from 2017-10-12 14:44:51

Username-oneadmin.

Password-xxxxxxxxx and click on “Login” button.

OpenNebula Dashboard screen will be displayed.

Screenshot from 2017-10-12 14:45:04
  • Step 3: VM Creation:
    In OpenNebula Dashboard, click the “VMs” under the “Instances” Tab which is appeared in the Left side menu.
Screenshot from 2017-10-13 16:10:06
Screenshot from 2017-10-13 16:10:33
  • Click the “+” button to add a new VM.
Screenshot from 2017-10-13 16:10:59
  • Select the required VM Templates
  • Click “Create” button.
Screenshot from 2017-10-13 16:11:09
  • Click “Deploy” button and select the Host machine.
Screenshot from 2017-10-13 16:11:16
Screenshot from 2017-10-13 16:11:22
  • VM is in Running State.
  • Open the VNC icon and install the OS.
Screenshot from 2017-10-13 16:11:28
  • Click “Install Ubuntu”.
Screenshot from 2017-10-13 16:11:34
  • Tick all box and click “continue” button.
Screenshot from 2017-10-13 16:11:46
  • Select “Erase disk and install Ubuntu” and click “Install Now” button.
Screenshot from 2017-10-13 16:11:58
  • Click “continue”.
Screenshot from 2017-10-13 16:12:08
  • Select the timezone as kolkata and click “continue” button.
Screenshot from 2017-10-13 16:12:12
  • Select keyboard type as “English(US)” and click “continue” button.
Screenshot from 2017-10-13 16:12:17
  • set the VM username, password and computer name.
Screenshot from 2017-10-13 16:12:25
Screenshot from 2017-10-13 16:12:41
  • Click “Restart Now” button.
Screenshot from 2017-10-13 16:12:48
Screenshot from 2017-10-13 16:12:53
  • Click VM and select VMimage(ISO image).
  • The VM type is changed from CDROM to DATABLOCK.
Screenshot from 2017-10-13 16:12:59
  • Click VM and select VMDiskimage(Empty Disk image).
  • The VM type is changed from DATABLOCK to OS.
Screenshot from 2017-10-13 16:13:03
  • Poweroff the VM (Click->Power Off-hard ).
Screenshot from 2017-10-13 16:13:10
  • Click VM and select VMimage(ISO image) -> click Detach.
Screenshot from 2017-10-13 16:13:15
  • Now Ubuntu OS is installed in VMDiskImage.
Screenshot from 2017-10-13 16:13:19
Screenshot from 2017-10-13 16:13:25
  • Login the username and password.
Screenshot from 2017-10-13 16:13:29