OpenNebula 3 Cloud Computing

This book will teach you to build and maintain a cloud infrastructure using OpenNebula, one of the most advanced, highly scalable toolkits for GNU/Linux. Walks you through from initial planning to advanced management techniques.

OpenNebula 3 Cloud Computing

Starting
Giovanni Toraldo

This book will teach you to build and maintain a cloud infrastructure using OpenNebula, one of the most advanced, highly scalable toolkits for GNU/Linux. Walks you through from initial planning to advanced management techniques.
$35.99
$59.99
RRP $35.99
RRP $59.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
Code Files
+ Collection
Free Sample

Book Details

ISBN 139781849517461
Paperback314 pages

About This Book

  • Take advantage of open source distributed file-systems for storage scalability and high-availability
  • Build-up, manage and maintain your Cloud without previous knowledge of virtualization and cloud computing
  • Install and configure every supported hypervisor: KVM, Xen, VMware
  • Step-by-step, focused on Ubuntu/Debian distributions, but with general how-to working with every GNU/Linux distribution

Who This Book Is For

If you are a GNU/Linux system administrator with no experience with virtualization or cloud computing but eager to learn about it, or you are thwarted by your current virtualized infrastructure, this book is for you. You are expected to have some basic knowledge of GNU/Linux, with knowledge of basic package management tools and system configuration.

Table of Contents

Chapter 1: OpenNebula and Why it Matters?
The core features
Summary
Chapter 2: Building Up Your Cloud
Typical cloud hardware
Book conventions
Basic OS installation and partitioning
OpenNebula installation through pre-built packages
Basic OpenNebula configuration
OpenNebula frontend configuration
Summary
Chapter 3: Hypervisors
Configuring hosts
Managing hosts in OpenNebula
Networking drivers
KVM installation
The Xen installation
Installing VMware ESXi
Installing Libvirt with ESX support
Summary
Chapter 4: Choosing Your Storage Carefully
How a transfer manager works
Non-shared storage through SSH/CP
Shared storage through NFS on the frontend
Shared storage through NFS using NAS/SAN
Shared storage through distributed file systems
Shared storage through GlusterFS
Shared Storage through MooseFS
Summary
Chapter 5: Being Operational—Everything Starts Here!
Launch a test instance—ttylinux
Managing the virtual networks
Managing the disk images
Managing virtual machines
The virtual machine template
Contextualization
The template repository
Summary
Chapter 6: Web Management
Sunstone installation
First log in
Summary
Chapter 7: Health and Monitoring
Checking the status of the available hosts
Host monitoring and failure recovery hooks
VM monitoring and failure recovery hooks
A custom hook: e-mail notification for each failure
Expanding data collected by the IM
What is Ganglia?
Ganglia architecture and deployment on the frontend
Deploying gmond on the remaining hosts
Multiple Ganglia cluster configuration (for VMs)
Ganglia PHP web frontend usage
Ganglia integration with OpenNebula IM
Sending alerts when a metric reaches a user limit
Summary
Chapter 8: Hybrid Cloud Computing: Extending OpenNebula
Why use an external Cloud provider?
What is AWS
AWS signup and first login
Requirements for using EC2 in OpenNebula
OpenNebula configuration
Launching the first VM instance on EC2
A more complex template example
Multi-region (or provider) support
Windows instances
Adding storage to a running instance
Moving data around different AZ
A very simple EBS backup script
Monitoring active instances
Summary
Chapter 9: Public Cloud Computing and High Availability with OpenNebula
Setting up the EC2 Query interface
Using the EC2 Interface
OCCI Interface
Using the OCCI interface
OpenNebula Zones and VDC
Setting up oZones server
Managing the zones
Managing Virtual Data Centers
Using a VDC
Using the oZones GUI
Summary

What You Will Learn

  • Plan your hardware infrastructure and keep resources and hardware under monitoring
  • Install OpenNebula, from sources or binary distribution and configure it on your front-end host
  • Install and configure KVM, Xen and VMware ESXi on your hosts, building from sources when needed
  • Integrate with existing NAS/SAN infrastructure or provide flexible and scalable storage with distributed file-systems
  • Manage your day to day virtual instances via both command-line and web interfaces
  • Monitor your infrastructure continuously using OpenNebula
  • Extend your cloud with resources from remote Cloud providers using standard API interface
  • Provide Cloud resources to external facilities through standardized API interfaces

 

In Detail

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.

OpenNebula 3 Cloud Computing guides you along the building and maintenance of your cloud infrastructure, providing real-world examples, step-by-step configuration and other critical information. The book keeps you a step ahead in dealing with the demanding nature of cloud computing and virtual infrastructure management using one of the most advanced cloud computing toolkits– OpenNebula. The book takes you from a basic knowledge of OpenNebula to expert understanding of the most advanced features.

The book starts with a basic planning of hardware resources and presents the unique benefits of the supported hypervisors; you will go in deep with day-to-day management of virtual instances, infrastructure monitoring and integration with Public Clouds like Amazon EC2.

With this book you will be able to get started with fast and cheap configuration recipes, but also go deeper for a correct integration with your existing infrastructure.

You will deal with well-know virtualization technologies like Xen and VMware, but also with the promising KVM technology integrated in the Linux kernel. After the basic infrastructure set-up, you will learn how to create and manage virtual instance via both command-line and web interfaces, and how to monitor your existing resources.

At the end, the book acquaints you with integrating your local infrastructure with external Cloud resources but also publishing your resources to others via common API interfaces.

Authors

Table of Contents

Chapter 1: OpenNebula and Why it Matters?
The core features
Summary
Chapter 2: Building Up Your Cloud
Typical cloud hardware
Book conventions
Basic OS installation and partitioning
OpenNebula installation through pre-built packages
Basic OpenNebula configuration
OpenNebula frontend configuration
Summary
Chapter 3: Hypervisors
Configuring hosts
Managing hosts in OpenNebula
Networking drivers
KVM installation
The Xen installation
Installing VMware ESXi
Installing Libvirt with ESX support
Summary
Chapter 4: Choosing Your Storage Carefully
How a transfer manager works
Non-shared storage through SSH/CP
Shared storage through NFS on the frontend
Shared storage through NFS using NAS/SAN
Shared storage through distributed file systems
Shared storage through GlusterFS
Shared Storage through MooseFS
Summary
Chapter 5: Being Operational—Everything Starts Here!
Launch a test instance—ttylinux
Managing the virtual networks
Managing the disk images
Managing virtual machines
The virtual machine template
Contextualization
The template repository
Summary
Chapter 6: Web Management
Sunstone installation
First log in
Summary
Chapter 7: Health and Monitoring
Checking the status of the available hosts
Host monitoring and failure recovery hooks
VM monitoring and failure recovery hooks
A custom hook: e-mail notification for each failure
Expanding data collected by the IM
What is Ganglia?
Ganglia architecture and deployment on the frontend
Deploying gmond on the remaining hosts
Multiple Ganglia cluster configuration (for VMs)
Ganglia PHP web frontend usage
Ganglia integration with OpenNebula IM
Sending alerts when a metric reaches a user limit
Summary
Chapter 8: Hybrid Cloud Computing: Extending OpenNebula
Why use an external Cloud provider?
What is AWS
AWS signup and first login
Requirements for using EC2 in OpenNebula
OpenNebula configuration
Launching the first VM instance on EC2
A more complex template example
Multi-region (or provider) support
Windows instances
Adding storage to a running instance
Moving data around different AZ
A very simple EBS backup script
Monitoring active instances
Summary
Chapter 9: Public Cloud Computing and High Availability with OpenNebula
Setting up the EC2 Query interface
Using the EC2 Interface
OCCI Interface
Using the OCCI interface
OpenNebula Zones and VDC
Setting up oZones server
Managing the zones
Managing Virtual Data Centers
Using a VDC
Using the oZones GUI
Summary

Book Details

ISBN 139781849517461
Paperback314 pages
Read More

Recommended for You