OpenNebula is one of the most advanced and highly-scalable open source cloud computing toolkits. If you ever wanted to understand what Cloud Computing is and how to realize it, or if you need a handy way to manage your messy infrastructure in a simple and coherent manner, this is your way.
This book guides you through the building and maintenance of your cloud infrastructure, providing real-world examples, step-by-step configuration, and other critical information.
Chapter 1, OpenNebula, and Why it Matters?, introduces us to the Cloud, OpenNebula, and its underlying technologies.
Chapter 2, Building Up Your Cloud, provides an overview of the most typical hardware and software requirements, and how to start configuring the basic networking and OpenNebula frontend.
Chapter 3, Hypervisors, helps you understand how to install, configure, and optimize all the three hypervisors supported by OpenNebula: KVM, Xen, and VMWare ESXi.
Chapter 4, Choosing Your Storage Carefully, provides an overview of all the common storage solutions for our infrastructure with a focus on using distributed file systems.
Chapter 5, Being Operational—Everything Starts Here!, launches the first VM instance and a full dive into the OpenNebula resource management process.
Chapter 6, Web Management, simplifies OpenNebula management tasks and monitoring using Sunstone, the OpenNebula cloud operations center.
Chapter 7, Health and Monitoring, helps us to understand how to effectively monitor and manage host and VM failures for our infrastructure, build custom hooks, and integrate with Ganglia, a scalable distributed monitoring system.
Chapter 8, Hybrid Cloud Computing: Extending OpenNebula, helps you to understand how to integrate OpenNebula with Amazon EC2 and burst your capacity!
Chapter 9, Public Cloud Computing and High Availability with OpenNebula, exposes the standard EC2 and OCCI interfaces to the public and helps manage large OpenNebula deployments with the oZone component.
OpenNebula does not require any particular hardware or software configuration; you need to have at least a single server (or your laptop), with a recent GNU/Linux distribution installation of your choice. Personally, I prefer using Debian or Ubuntu.
This handy guide to Cloud computing with OpenNebula will be of great help to a GNU/Linux system administrator with no experience in Virtualization or Cloud computing, but eager to learn about it, or for a commercial Cloud administrator thwarted by their currently virtualized infrastructure. The reader should have some basic knowledge of GNU/Linux and system configuration, including the basics of package management tools for their preferred GNU/Linux distribution.
Basic Shell scripting and Ruby are required only if you want to hack the OpenNebula internals.
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "You can check it by viewing the information contained in the /proc/cpuinfo
file of your Linux box."
A block of code is set as follows:
VM_MAD = [ name = "vmm_kvm", executable = "one_vmm_exec", arguments = "-t 15 -r 0 kvm", default = "vmm_exec/vmm_exec_kvm.conf", type = "kvm" ]
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
SRC_PATH=`arg_path $SRC`
DST_PATH=`arg_path $DST`
fix_paths
Any command-line input or output is written as follows:
$ onequota show john -f uid num_vms memory cpu storage 1 0/8 0/0 0/0 0/0
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "clicking the Next button moves you to the next screen".
Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.
To send us general feedback, simply send an e-mail to <[email protected]>
, and mention the book title via the subject of your message.
If there is a book that you need and would like to see us publish, please send us a note in the SUGGEST A TITLE form on www.packtpub.com or e-mail <[email protected]>
.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/support, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.
Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.
Please contact us at <[email protected]>
with a link to the suspected pirated material.
We appreciate your help in protecting our authors, and our ability to bring you valuable content.
You can contact us at <[email protected]>
if you are having a problem with any aspect of the book, and we will do our best to address it.