OpenNebula (Part II) – Sunstone GUI

I’m a big fan of the command line, but as an OpenNebula newbie user, I’m going to use the OpenNebula’s GUI called Sunstone. Sunstone is built on ruby and it’ll be listening on localhost:port 9869 by default, so if you need to change that behaviour please edit the Server Configuration section in the /etc/one/sunstone-server.conf file.

Assuming you’ve installed the opennebula-sunstone rpm package, you can start the GUI with:

root@haddock opennebula-3.8.1]# service opennebula-sunstone start
Starting Sunstone Server daemon: sunstone-server started [ OK ]

Now, open your browser and enter your OpenNebula hosts ip address and set the port to 9869. A login screen should welcome you. Unless you created another user, you can enter Sunstone with your oneadmin user. If you wonder what is the password for your oneadmin user, it should be in the /var/lib/one/.one/one_auth file. In my case the password was a  random string generated by OpenNebula rpm installation.

And here we go, Sunstone running and ready. In the following post I’ll create my first virtual machine using an existing image using the Sunstone GUI.

sunstone_running

Advertisements

6 thoughts on “OpenNebula (Part II) – Sunstone GUI

  1. plz says:

    And here we go, Sunstone running and ready. In the following post I’ll create my first virtual machine using an existing image using the Sunstone GUI. <<<< Where?

    Like

  2. preetham says:

    Hi Sir,
    Thank you very much for your information.
    I am trying to build a private cloud with OpenNebula & XEN hypervisor on Fedora13 OS.

    I am using 2 Fedora machines,
    a. 1st machine as Frontend where i have to install OpenNebula in it.
    b. 2nd machine as Cluster Node in which i want to install XEN hypervisor in it where i can use for creating vm’s in it.
    Sir could you please guide me,
    a. In installing OpenNebula as Frontend in my 1st machine(Fedora13).
    b. In installing XEN hypervisor on 2nd machine(Fedora13).
    c. Then to integrate these 2 machines i.e OpenNebula (frontend m/c) with XEN hypervisor (Node m/c) and manage them using Sunstone & creating Vm’s.

    Thanks in Advance

    Like

    • n40lab says:

      First of all, thank you for visiting my blog.

      In answer to your question I’m afraid I have no previous experience with Xen Hypervisor. I’m currently using KVM in my laboratory so I can’t give you any feedback, sorry :-(.

      OpenNebula’s documentation is great and has many examples (including Xen) but if you have time and can get a copy, you may find useful this book from Packt Publishing (http://www.packtpub.com/open-nebula-3-cloud-computing/book) which covers Xen installation and how to compile OpenNebula from source (as you’re using Fedora Core 13 maybe you won’t find rpm packages for that distribution). OpenNebula 4 will be released soon according to OpenNebula’s blog. You’re using two machines so I think you’ll need NFS to share your images between the servers.

      Though my answer is short, I hope I’ve helped you somehow. Let me know if I can give you more information.

      Like

  3. Manoj says:

    hiii..i am building a private cloud kvm and opennebula….after the creation of virtual machine on sunstone server , the status of starting is being stuck on PENDING…..can you help in erdicating the problem ??????

    Like

    • n40lab says:

      Usually you’d need to “deploy” the virtual machine you created on an OpenNebula host, the host is where the virtualization will really occur (in your case with KVM), select your virtual machine and try to Deploy it. Another reason, if you have only one machine where Sunstone and KVM is installed… have you already configured the host? if no host is available no virtual machine can be deployed. If you’re having problems also the log in Sunstone will help you to figure what’s happening.

      Cheers!

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s