How to Mix hypervisor configuration and its realization principle in OpenStack

Source: Internet
Author: User
Keywords Openstack hypervisor realization principle

Through this article, you will be able to understand how to do mixed Hypervisor configuration and the basic analysis of its implementation principle in OpenStack. In this paper, the author analyzes the principle of mixed Hypervisor scene in OpenStack with the actual development experience in Nova, and describes how to configure it in the actual application scenario.

Typically, deployment in a OpenStack hybrid Hypervisor scenario has three key steps:

configures the Platform/hypervisor property of the Compute node identity image for different Hypervisor types, that is, the Platform/hypervisor type based image that the specified image applies To Create a new VM

In the actual deployment environment, the hybrid Hypervisor deployment architecture is usually as follows (here we will take the PowerVM and KVM hybrid scenario for example) Figure 1:

Figure 1. Hybrid Hypervisor Deployment Architecture (PowerVM + KVM)







What is OpenStack

OpenStack is both a community and an Open-source software project that provides an operational platform for deploying the cloud, OpenStack is an open source project designed to provide software for building and managing public and private clouds. OpenStack as http://www.aliyun.com/zixun/aggregation/13674.html "> Infrastructure as Service (IaaS) resources, OpenStack The first task of the project is to simplify and bring good scalability to the cloud deployment process.

OpenStack is an Open-source software project that, in order to facilitate the development of various parts of the project, OpenStack is broken down into core projects, incubation projects, and support projects and related projects. The most mature and important projects are the core projects, they are:

OpenStack Compute (Nova), OpenStack Image Service (glance), OpenStack Identity Service (Keystone), and so on. OpenStack Compute (Nova), the controller of Cloud computing, provides a tool to deploy the cloud, including deployment instances, management networks, and so on.

OpenStack Image Service (glance) is a storage, query, and retrieval system for virtual machine mirroring, which includes restful that allow users to query VM image metadata through HTTP requests and retrieve actual mirrors.

OpenStack Identity Service (Keystone) is the identity services that provide identity creation, authentication, and management.

Get OpenStack Source code

We can query and download Opensstack source code in the OpenStack source repository.

The usual way to download is to use Git, for example:

git clone http://github.com/openstack/nova.git

Installing and configuring OpenStack

This paper mainly describes the principle analysis and best practice of mixed Hypervisor scene in OpenStack, the main components involved include OpenStack Compute (Nova), OpenStack Image Service (glance) and OpenStack Identity (Keystone). For basic installation and configuration of OpenStack, refer to the Devstack Web site to learn how to quickly install and configure the OpenStack environment using Devstack scripts (Devstack is recommended for quick installation and configuration OpenStack).

Refer to OpenStack installation, configuration, and validation to learn how to install, configure, and verify OpenStack.

Please refer to the OpenStack platform installation introduction to understand the OpenStack best practices on each platform.

How to Operate OpenStack

How to operate OpenStack: OpenStack Dashboard, OpenStack command-line clients, OpenStack APIs.

OpenStack Dashboard, as a subproject of OpenStack, provides a web-based GUI operating interface.

Refer to the OpenStack dashboard operation for a detailed introduction to OpenStack dashboard operations.

The core subprojects of OpenStack command-line clients:openstack have corresponding command-line client, such as OpenStack client corresponding to glance command-line sub project: Glance (python-glanceclient), OpenStack Keystone Sub Project command-line Client:keystone (Python-keystoneclient), OpenStack Nova Sub Project corresponding command-line Client:nova (python-novaclient), etc., please refer to OpenStack command-line clients for detailed OpenStack Command-Line clients introduction.

OpenStack provides a large number of APIs. Please refer to OpenStack APIs for a detailed introduction to OpenStack APIs.

(This article uses command-line clients method to complete OpenStack mixed Hypervisor practice. )

OpenStack supported Hypervisors

OpenStack support the current almost all mainstream HYPERVISORS:POWERVM, KVM, Hyperv, Xen, Vmware, etc., please refer to the hypervisors introduction, to understand the detailed OpenStack hypervisors instructions. OpenStack provides compute driver for Hypervisor under the subdirectory nova/virt/of the Nova component, for example NOVA/VIRT/POWERVM PowerVM compute virt/libvirt/provides KVM compute driver and so on.

It is noteworthy that in the Nova configuration file nova.conf PowerVM's computer driver configuration is COMPUTE_DRIVER=NOVA.VIRT.POWERVM.POWERVMDRIVER,KVM The configuration of computer driver is compute_driver=nova.virt.libvirt.libvirtdriver, not COMPUTE_DRIVER=NOVA/VIRT/POWERVM, Compute_ Driver=nova/virt/libvirt.

Currently, the type of PowerVM supported by OpenStack is only IVM,HMC not supported. Please refer to the OpenStack POWERVM configuration for more information about OpenStack POWERVM configuration and IBM POWERVM virtualization Introduction and revisit.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.