Book Image

OpenNebula 3 Cloud Computing

Book Image

OpenNebula 3 Cloud Computing

Overview of this book

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.
Table of Contents (17 chapters)
OpenNebula 3 Cloud Computing
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
OpenNebula and Why it Matters?
Index

Host monitoring and failure recovery hooks


Host monitoring takes place in every time interval configured in oned.conf, managed by the HOST_MONITORING_INTERVAL and HOST_PER_INTERVAL parameters.

In large environments, it may be necessary to increase the monitoring interval or decrease hosts per interval to reduce overhead on the frontend and the hosts. Increasing the monitoring interval will lead to more outdated information about hosts and delay the failover host hooks too.

Please ensure, when you adjust these values, HOST_MONITORING_INTERVAL is never lower than MANAGER_TIMER, which is the time in seconds that the core uses to evaluate all the periodical functions.

The same logic applies for VM_POLLING_INTERVAL and VM_PER_INTERVAL, which are used to determine how frequently the VM instances are monitored.

A oned.conf configuration for simpler infrastructures is as follows:

  • MANAGER_TIMER = 10

  • HOST_MONITORING_INTERVAL = 10

  • HOST_PER_INTERVAL = 25

  • VM_POLLING_INTERVAL = 10

  • VM_PER_INTERVAL = 100

In larger...