OpenNebula 3 Cloud Computing


OpenNebula 3 Cloud Computing
eBook: $35.99
Formats: PDF, PacktLib, ePub and Mobi formats
$30.59
save 15%!
Print + free eBook + free PacktLib access to the book: $95.98    Print cover: $59.99
$59.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • 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

Book Details

Language : English
Paperback : 314 pages [ 235mm x 191mm ]
Release Date : May 2012
ISBN : 1849517460
ISBN 13 : 9781849517461
Author(s) : Giovanni Toraldo
Topics and Technologies : All Books, Virtualization and Cloud, Cloud, Open Source

Table of Contents

Preface
Chapter 1: OpenNebula and Why it Matters?
Chapter 2: Building Up Your Cloud
Chapter 3: Hypervisors
Chapter 4: Choosing Your Storage Carefully
Chapter 5: Being Operational—Everything Starts Here!
Chapter 6: Web Management
Chapter 7: Health and Monitoring
Chapter 8: Hybrid Cloud Computing: Extending OpenNebula
Chapter 9: Public Cloud Computing and High Availability with OpenNebula
Index
    • Chapter 2: Building Up Your Cloud
      • Typical cloud hardware
        • CPU
        • Memory
        • Disk and RAID
        • Network card
      • Book conventions
      • Basic OS installation and partitioning
        • Commonly required configurations
          • Frontend software requirements
          • Host software requirements
          • Image Repository and storage
          • Networking
          • The oneadmin user
        • OpenNebula installation through sources
        • Ruby dependencies
      • OpenNebula installation through pre-built packages
      • Basic OpenNebula configuration
        • SSH public-key authentication
        • One daemon per oneadmin user
        • Self-contained installations
        • First start of oned
      • OpenNebula frontend configuration
        • MySQL backend configuration
        • Virtual network configuration
        • Image Repository configuration
        • Information Manager driver configuration
        • Virtualization Manager driver configuration
        • Transfer Manager driver configuration
        • Image Manager driver configuration
        • Hook system configuration
        • Managing users and groups
        • Local and remote user login
        • Creating custom groups with custom ACLs
        • Quota
      • Summary
      • Chapter 3: Hypervisors
        • Configuring hosts
          • The oneadmin account and passwordless login
            • Verifying the SSH host fingerprints
          • Configuring a simple DNS with dnsmasq
          • Configuring sudo
          • Configuring network bridges
        • Managing hosts in OpenNebula
        • Networking drivers
          • Configuring the fw support
          • Configuring the ebtables support
        • KVM installation
          • Enabling kernel samepage merging
          • Using an updated kernel in Ubuntu Lucid
        • The Xen installation
          • Installing on Debian Squeeze through standard repositories
          • Installing Xen through sources
            • A suitable kernel with dom0 support – Debian Squeeze
            • A suitable Kernel with dom0 support – Oneiric backport
            • Checking if your current kernel has Xen support
            • Building a custom kernel with dom0 and domU support
            • Autoloading necessary modules
            • Onehost create for Xen hosts
        • Installing VMware ESXi
          • Required software on the frontend
        • Installing Libvirt with ESX support
          • Adding a oneadmin user with privileges
        • Summary
        • Chapter 4: Choosing Your Storage Carefully
          • How a transfer manager works
          • Non-shared storage through SSH/CP
            • Non-shared storage scripts
          • Shared storage through NFS on the frontend
          • Shared storage through NFS using NAS/SAN
            • Shared storage scripts
          • Shared storage through distributed file systems
          • Shared storage through GlusterFS
            • GlusterFS hardware requirements
            • GlusterFS server installation
            • Setting up a GlusterFS volume
            • Starting a GlusterFS volume
            • Accessing GlusterFS data
            • Tuning volume options
            • Operations on volume
            • Self-heal on replicated volumes
            • Overview of GlusterFS integration with OpenNebula
          • Shared Storage through MooseFS
            • MooseFS hardware requirements
            • MooseFS server installation through sources
            • MooseFS server installation through PPA
            • MooseFS master configuration
            • MooseFS chunkserver configuration
            • MooseFS metalogger configuration
              • Master takeover with metalogger data
            • MooseFS client mounting
              • NFS fallback mount through unfs3
            • MooseFS web interface
              • Setting goals and fault tolerance
              • Setting trash time and access to the trash bin
              • Making snapshots
            • MooseFS OpenNebula integration
          • Summary
          • Chapter 5: Being Operational—Everything Starts Here!
            • Launch a test instance—ttylinux
            • Managing the virtual networks
              • Template for ranged networks
              • Template for fixed networks
              • Submitting and managing a network template
            • Managing the disk images
              • Template for operating system images
              • Template for datablock images
              • Template for CDROMs
              • Specific image handling for VMware
              • Submitting a new disk image
              • Changing attributes of submitted templates
            • Managing virtual machines
              • Virtual machine life-cycle
              • Managing the instances
            • The virtual machine template
              • The capacity section
              • The OS and boot options section
              • The disks section
              • The network section
              • The I/O devices section
              • The placement section
              • The context section
              • The RAW section
              • Simple examples
                • KVM example
                • Xen HVM example
                • Xen pygrub example
                • VMware example
            • Contextualization
              • The basic contextualization
              • The generic contextualization
            • The template repository
            • Summary
            • Chapter 6: Web Management
              • Sunstone installation
                • Deploying Sunstone on a different machine
                • Configuring an SSL reverse proxy with nginx
                  • Generating a self-signed certificate
                  • Starting the nginx SSL proxy-machine
              • First log in
                • Dashboard
                • Hosts
                • Virtual machines
                • VM Templates
                • Virtual Networks
                • Images
                • Users
                • Group
                • ACLs
              • 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
                  • Temperature attribute
                  • Load average attribute
                • What is Ganglia?
                • Ganglia architecture and deployment on the frontend
                  • Ganglia Monitoring Daemon (gmond)
                    • Multicast configuration
                    • Unicast configuration
                    • Metric modules configuration
                    • How to use a gmetric script
                    • How to use a gmond Python module
                  • Ganglia Meta Daemon (gmetad)
                  • Ganglia PHP web frontend
                • Deploying gmond on the remaining hosts
                • Multiple Ganglia cluster configuration (for VMs)
                • Ganglia PHP web frontend usage
                • Ganglia integration with OpenNebula IM
                  • Pointing to the local gmond
                  • Setting cron for updating VM information
                  • Adding new hosts using im_ganglia
                  • Web interface glitch fix
                • 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
                    • How EC2 works
                    • EC2 Locations (Regions and Availability Zones)
                    • Instance types by purchasing options
                    • Instance types by size
                    • Available Amazon Machine Images (AMI)
                    • BitNami AMIs
                  • AWS signup and first login
                    • Free usage tier
                  • Requirements for using EC2 in OpenNebula
                    • Setting up an SSH Key Pair
                    • Setting up an X.509 Certificate
                    • Downloading and configuring Amazon EC2 API Tools
                  • OpenNebula configuration
                    • IM_EC2 configuration
                    • VMM_EC2 default template attributes configuration
                    • EC2 API Tools configuration
                    • Adding the first EC2 host
                    • Known Limitations
                  • Launching the first VM instance on EC2
                    • EBS Snapshots
                    • Creating a new AMI from a snapshot
                  • A more complex template example
                    • Using Elastic IP addresses
                  • Multi-region (or provider) support
                  • Windows instances
                    • Retrieving password from the command line
                    • Retrieving password from Management Console
                  • Adding storage to a running instance
                    • Mounting an EBS volume on Linux-based instances
                    • Mounting an EBS volume on Windows-based instances
                  • 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
                      • Installing econe-server
                      • Configuring econe-server
                      • Starting and stopping econe-server
                    • Using the EC2 Interface
                      • EC2 example user session
                      • ElasticFox example user session
                    • OCCI Interface
                      • Setting up the OCCI interface
                      • Installing occi-server
                      • Configuring occi-server
                      • Configuring OCCI VM and network templates
                      • Starting and stopping occi-server
                    • Using the OCCI interface
                      • OCCI example user session
                      • Updating the already submitted resources
                    • OpenNebula Zones and VDC
                      • Why Zones?
                      • Why VDC?
                    • Setting up oZones server
                      • Configuring the Apache2 reverse-proxy
                      • Configuring ozones-server
                    • Managing the zones
                      • Adding a new zone
                    • Managing Virtual Data Centers
                      • Adding a new VDC
                      • Sharing hosts between VDCs
                      • Adding or removing hosts in a VDC
                    • Using a VDC
                      • Command line access
                      • Sunstone access
                    • Using the oZones GUI
                    • Summary

                    Giovanni Toraldo

                    Giovanni Toraldo started to mess with Linux and Free Software since the early years at school, developing hobbyist websites with free CMS and maintaining the official Italian support site of PHP-Fusion. After a few unsatisfactory years at the university, he decided to start working as System Administrator and Web Developer at LiberSoft (http://www.libersoft.it), a startup based in a technology park near Pisa (http://www.polotecnologico.it/). He has now developed skills in designing and maintaining Open Source virtualization and clustering solutions, managing tens of host, servicing hundreds of requests, mainly web hosting stacks for Drupal and Symfony webapps. You can contact him at http://gionn.net/about-me

                    Sorry, we don't have any reviews for this title yet.

                    Submit Errata

                    Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                    Sample chapters

                    You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                    Frequently bought together

                    OpenNebula 3 Cloud Computing +    Oracle SOA Suite Developer's Guide =
                    50% Off
                    the second eBook
                    Price for both: $58.80

                    Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                    What you will learn from this book

                    • 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.

                    Approach

                    This is a step-by-step practical guide to get you started easily with openNebula. It guides you to build, maintain, and configure your cloud infrastructure, providing real-world examples in a simple and coherent manner.

                    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.

                    Code Download and Errata
                    Packt Anytime, Anywhere
                    Register Books
                    Print Upgrades
                    eBook Downloads
                    Video Support
                    Contact Us
                    Awards Voting Nominations Previous Winners
                    Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                    Resources
                    Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software