CN106775943A - Based on Ubuntu system creations KVM virtual machine methods on OpenPower frameworks - Google Patents

Based on Ubuntu system creations KVM virtual machine methods on OpenPower frameworks Download PDF

Info

Publication number
CN106775943A
CN106775943A CN201611128607.3A CN201611128607A CN106775943A CN 106775943 A CN106775943 A CN 106775943A CN 201611128607 A CN201611128607 A CN 201611128607A CN 106775943 A CN106775943 A CN 106775943A
Authority
CN
China
Prior art keywords
kvm
virtual machines
virtual machine
kvm virtual
virtualization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611128607.3A
Other languages
Chinese (zh)
Inventor
齐煜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201611128607.3A priority Critical patent/CN106775943A/en
Publication of CN106775943A publication Critical patent/CN106775943A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45591Monitoring or debugging support

Abstract

The present invention provides one kind based on Ubuntu system creation KVM virtual machine methods on OpenPower frameworks, belongs to technical field of virtualization, and the present invention includes:1), the ppc64le of installation operation system Ubuntu 15.04;2), install KVM needed for library file, virtualization software bag;3), configuration bridge, it is ensured that KVM virtual machines and native operating sys-tern can communicate;4), create KVM virtual machines;5), start KVM virtual machines;6), confirm KVM virtual machines basic configuration;7), virtualization applications are carried out in KVM virtual machines.Compensate for the current technology vacancy in this particular architectures.

Description

Based on Ubuntu system creations KVM virtual machine methods on OpenPower frameworks
Technical field
The present invention relates to technical field of virtualization, more particularly to one kind is based on Ubuntu systems wound on OpenPower frameworks Build KVM virtual machine methods.
Background technology
In the current information explosion epoch, it is necessary to mass data arrangement, analysis, excavation etc., this facilitate a new ideas Generation:Cloud computing(Cloud Computing).Cloud computing is the increase of the related service based on internet, uses and pay Pattern, is usually directed to by internet to provide dynamic easily extension and the often resource of virtualization.It can even allow your body Test the operational capability of 10 TFlops per second, possess so powerful computing capability can with simulated-nuclear explosion, Prediction of Climate Change and Market trend.User accesses data center by modes such as computer, notebook, mobile phones, and computing is carried out by the demand of oneself. And another concept:OpenStack is one by NASA(US National Aeronautics and Space Administration)With Rackspace R & D Cooperations simultaneously Initiate, with the free software and open source code project of Apache licensing mandates, i.e., it is a cloud computing pipe increased income Platform.It is exactly to realize Intel Virtualization Technology to have in OpenStack normal works are ensured critically important, realizes Intel Virtualization Technology One of mode be exactly KVM(Kernel-based Virtual Machine).
OpenPower is that IBM Corporation is based on Power8, a new architecture of Intel X86 is different from, with open height Performance CPU technologies, and exclusive CAPI technologies, and with domestic safety guarantee.OpenPOWER supports Linux, The main flow open source technology such as Hadoop, KVM, OpenStack, NoSQL;On the other hand, then it is by the performance and reliability of POWER frameworks Sexual clorminance, is combined with open source technology, is proposed a series of clouds for allowing people to find everything fresh and new and big data solution.
OpenPower frameworks are all largely different in CPU models, system architecture, this several broad aspect of OS Type In X86-based known to us.The current main flow linux system for supporting OpenPower has RHEL and Ubuntu, and only props up Hold text interface.In this particular architectures and special operational environment, as the weight that server development system is tested Point --- --- virtualizes validation test, and a kind of verification method is exactly to create KVM virtual machines.Compared to the operating system of X86-based, figure Shape interface and different patterns, are a kind of different method on OpenPower.
The content of the invention
The present invention proposes a kind of based on Ubuntu system creation KVM virtual machine methods, the method on OpenPower frameworks In the research and development test of OpenPower IA frame serverPCs, it is capable of the support of effective verifying virtual machines function.
The technical scheme is that
Based on Ubuntu system creations KVM virtual machine methods on OpenPower frameworks, comprise the following steps:
1st, the ppc64le of installation operation system Ubuntu 15.04.The system is not propped up just for Power and OpenPower frameworks Hold X86-based.Install after operating system, operating system is connected to Intel, it is ensured that outer net can be accessed.
2nd, the library file needed for installing KVM, virtualization software bag.A large amount of dependence is needed to wrap in installation process.
3rd, after Everything is ready, bridge is configured first.Ensure that KVM virtual machines and native operating sys-tern can communicate.Modification net Network configure, after the completion of reboot operation system.
4th, KVM virtual machines are created.Period will set many virtual machine parameters, determine the main configuration of virtual machine.
5th, KVM virtual machines are started
6th, the basic configuration of KVM virtual machines is confirmed
7th, virtualization applications are carried out in KVM virtual machines.
Steps above, can effectively verify OpenOpower frameworks and the operating systems of Ubuntu 15.04 support empty Planization function, and KVM virtual machines can be created, applied environment can be built in virtual machine.
Wherein, step 2 includes herein below
2.1 install required virtualization software bag
2.2 create the user's name in virtual machine
2.3 multithreadings for closing CPU
2.4 loading KVM drive
2.5 install library file and virtualization management tool.
, it is necessary to carry out some validation of information after into KVM:
1)Virtual machine CPU quantity, check figure
2)Virtual memory capacity
3)Virtual hard disk capacity
It is correct with native operating sys-tern network service information above, illustrate that KVM has been created successfully, related answering can be run With.
The creation method of KVM virtual machines is described complete display of the present invention, be compensate for current in this particular architectures Technology vacancy, research and develop test phase in server, the virtualization to authentication server is significant.
For OpenPower IA frame serverPCs, in the systems of Ubuntu 15.04, being capable of effective authentication server system pair The support of virtual machine function.
Suitable for all OpenPower IA frame serverPCs products.Create KVM virtual machines and carry out basic test and application, Effective support of the authentication server system to virtual machine function, is that product is based oneself upon in virtualization market and lays solid foundation.
Brief description of the drawings
Fig. 1 is test flow chart of the invention.
Specific embodiment
More detailed elaboration is carried out to present disclosure below:
1st, environmental preparation before testing
1.1 install the ppc64le operating systems of Ubuntu 15.04
Operating system is connected to Intel by 1.2, it is ensured that can access outer net
1.3 do not support graphical interfaces due to the operating systems of Ubuntu 15.04 supported on current OpenPower, therefore following all Operation is carried out in command mode
The 2nd, software kit and library file are installed
2.1 install required virtualization software bag
#apt-get install qemu-user qemu-utils cloud-image-utils qemu-system-ppc qemu-slof libvirt-bin numactl
2.2 create the user's name in virtual machine
#usermod -a -G kvm <user>
2.3 multithreadings for closing CPU(SMT)
# ppc64_cpu --smt=off
2.4 loading KVM drive.After the completion of this step operation, can increase in/etc/modules " kvm_hv ", in order to Restarting system every time can all load automatically
#modprobe kvm_hv
2.5 install library file and virtualization management tool Python-virtinst, python-libxml2, virt-manager. The installation of these three is required for some to rely on bag, installs in the lump
3rd, bridge is configured
3.1 modification network configurations
#vi /etc/network/interface
Using DHCP patterns, to adding following content in document:
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 5
bridge_maxwait 5
After the completion of reboot operation system.Note, to build need after bridge and plug netting twine in the network interface for taking bridge and could start shooting.
4th, KVM is created
4.1 create KVM virtual machines
#virt-install --name vm01 --ram 8192 --vcpus=1 --disk path=/kvm/images/ vm01.img --size=150 --network bridge=br0 --os-variant=Generic --cdrom= -- nographics
The implication of these parameters is:
--name:Designated virtual machine name
--ram:Designated virtual machine memory size [MB]
--vcpus:Designated virtual machine cpu numbers
--disk path:Designated virtual machine Disk Locality, and define disk space
--size:Virtual hard disk size [GB]
--network bridge:Specify network type
-- os-variant assigned operation system versions
--cdrom:Appointing system mirror path [* .iso]
4.2 are created that the virtual machine for coming can generate configuration file in/etc/libvirt/qemu/ virtual machine name xml
4.3 install the log of virtual machine in var/log/libvirt/qemu/vm.log
If 4.4 have " could not access kvm kernel module when installing:Permission denied " are pointed out, Need execute instruction:
#ls -l /dev/kvm
#chmod 777 /dev/kvm
5th, KVM is started
#virsh start name --console(Addition -- console can be with output information)
#virsh list --all
#virsh quit
6th, the test under KVM
, it is necessary to carry out some validation of information after into KVM:
6.1 virtual machine CPU quantity, check figure
6.2 virtual memory capacity
6.3 virtual hard disk capacity
6.4 with native operating sys-tern network service
Information above is correct, illustrates that KVM has been created successfully, can run related application.
This method is suitable for use with the server of OpenPoewr frameworks, in Ubuntu15.04 ppc64le operating systems Create KVM virtual machines.The creation method and application method of KVM virtual machines are described complete display, be compensate for current this Technology vacancy in particular architectures.Test phase is researched and developed in server, the virtualization to authentication server is significant, Also solid foundation is laid for product is based oneself upon in virtualization market.

Claims (5)

1. based on Ubuntu system creation KVM virtual machine methods on OpenPower frameworks, it is characterised in that comprise the following steps:
1), the ppc64le of installation operation system Ubuntu 15.04;
2), install KVM needed for library file, virtualization software bag;
3), configuration bridge, it is ensured that KVM virtual machines and native operating sys-tern can communicate;
4), create KVM virtual machines;
5), start KVM virtual machines;
6), confirm KVM virtual machines basic configuration;
7), virtualization applications are carried out in KVM virtual machines.
2. method according to claim 1, it is characterised in that
Install after operating system, operating system is connected to Intel, it is ensured that outer net can be accessed.
3. method according to claim 1, it is characterised in that
Wherein, step 2)Including herein below
2.1 install required virtualization software bag
2.2 create the user's name in virtual machine
2.3 multithreadings for closing CPU
2.4 loading KVM drive
2.5 install library file and virtualization management tool.
4. method according to claim 1, it is characterised in that
In step 3)In, change network configuration, after the completion of reboot operation system.
5. method according to claim 1, it is characterised in that
, it is necessary to carry out some validation of information after into KVM:
1)Virtual machine CPU quantity, check figure
2)Virtual memory capacity
3)Virtual hard disk capacity
It is correct with native operating sys-tern network service information above, illustrate that KVM has been created successfully, related answering can be run With.
CN201611128607.3A 2016-12-09 2016-12-09 Based on Ubuntu system creations KVM virtual machine methods on OpenPower frameworks Pending CN106775943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611128607.3A CN106775943A (en) 2016-12-09 2016-12-09 Based on Ubuntu system creations KVM virtual machine methods on OpenPower frameworks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611128607.3A CN106775943A (en) 2016-12-09 2016-12-09 Based on Ubuntu system creations KVM virtual machine methods on OpenPower frameworks

Publications (1)

Publication Number Publication Date
CN106775943A true CN106775943A (en) 2017-05-31

Family

ID=58874891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611128607.3A Pending CN106775943A (en) 2016-12-09 2016-12-09 Based on Ubuntu system creations KVM virtual machine methods on OpenPower frameworks

Country Status (1)

Country Link
CN (1) CN106775943A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360249A (en) * 2021-07-02 2021-09-07 深圳市瑞驰信息技术有限公司 Qemu virtual machine operation method based on ARM64

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970908A (en) * 2014-05-28 2014-08-06 浪潮电子信息产业股份有限公司 Virtual machine template IVF storage method
US20150324236A1 (en) * 2014-05-12 2015-11-12 The Research Foundation For The State University Of New York Gang migration of virtual machines using cluster-wide deduplication
CN105677412A (en) * 2016-01-06 2016-06-15 无锡中太服务器有限公司 Method for providing PCIE card configuration capacity in OpenPower CPU architecture server BOOT

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150324236A1 (en) * 2014-05-12 2015-11-12 The Research Foundation For The State University Of New York Gang migration of virtual machines using cluster-wide deduplication
CN103970908A (en) * 2014-05-28 2014-08-06 浪潮电子信息产业股份有限公司 Virtual machine template IVF storage method
CN105677412A (en) * 2016-01-06 2016-06-15 无锡中太服务器有限公司 Method for providing PCIE card configuration capacity in OpenPower CPU architecture server BOOT

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘振宇,等,编著;: "《CloudStack技术指南 2015年12月第1版》", 31 December 2015, 哈尔滨工程大学出版社 *
张晓鹏;: "IBM eServer OpenPower 710", 《每周电脑报》 *
杨泽平,等;: "基于OpenStack的创新实验云平台的研究", 《实验技术与管理》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360249A (en) * 2021-07-02 2021-09-07 深圳市瑞驰信息技术有限公司 Qemu virtual machine operation method based on ARM64

Similar Documents

Publication Publication Date Title
JP6319609B2 (en) Reliable kernel booting method and apparatus
US9069637B2 (en) Dynamic feature enhancement in client server applications and high volume server deployment with dynamic app store integration
Zaddach et al. Embedded devices security and firmware reverse engineering
US9411601B2 (en) Flexible bootstrap code architecture
CN103812948B (en) Operation system of smart phone high in the clouds interacts custom-built system and method
US10162645B2 (en) Selecting a virtual basic input output system based on information about a software stack
CN103530162A (en) Automatic online virtual machine software installing method and system
CN103345406A (en) System and method for achieving cloud virtual mobile terminal of intelligent mobile terminal
CN101425021A (en) Mobile application mode of personal computer based on virtual machine technique
KR101249735B1 (en) Device and method for executing Android applications on general purpose operating systems, and computer readable recording medium for the same
JP2023020861A (en) Firmware updating
CN104750492A (en) Startup control method and device for mobile device on basis of embedded operating system
CN112667361A (en) Management method and device based on system virtual machine, electronic equipment and storage medium
Chang et al. Access security on cloud computing implemented in hadoop system
CN104346572B (en) A kind of general external intelligent terminal secure operating environment construction method
CN111625317A (en) Container cloud construction method and related device of business system
Liu et al. Aerogel: Lightweight access control framework for webassembly-based bare-metal iot devices
CN105556461A (en) Techniques for pre-OS image rewriting to provide cross-architecture support, security introspection, and performance optimization
CN106775943A (en) Based on Ubuntu system creations KVM virtual machine methods on OpenPower frameworks
US9471344B1 (en) Hardware support for processing virtual machine instructions
CN102968319A (en) VxWorks image loading method
JP6859463B2 (en) Methods, devices, devices and media for launching virtual machines
Ming Analysis and a case study of transparent computing implementation with UEFI
CN104714821A (en) Operating system instance establishing method and device
US20180341496A1 (en) Dynamic Microsystem Reconfiguration With Collaborative Verification

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531