CN109324830A - A kind of virtual machine initial method and device - Google Patents

A kind of virtual machine initial method and device Download PDF

Info

Publication number
CN109324830A
CN109324830A CN201810981456.9A CN201810981456A CN109324830A CN 109324830 A CN109324830 A CN 109324830A CN 201810981456 A CN201810981456 A CN 201810981456A CN 109324830 A CN109324830 A CN 109324830A
Authority
CN
China
Prior art keywords
virtual machine
configuration parameter
sds node
node
sds
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
CN201810981456.9A
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 CN201810981456.9A priority Critical patent/CN109324830A/en
Publication of CN109324830A publication Critical patent/CN109324830A/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/4401Bootstrapping
    • 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/45575Starting, stopping, suspending or resuming virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of virtual machine initial method and devices.It is related to virtual machine field, solves the problems, such as that manual operation deployment SDS node efficiency is low and failure rate is high.This method comprises: obtaining configuration parameter;The virtual machine template for importing software definition storage SDS node, creates SDS node;According to the configuration parameter, the initialization to the SDS node is completed.Technical solution provided by the invention is suitable for the deployment of SDS node, realizes automatical and efficient SDS node deployment.

Description

A kind of virtual machine initial method and device
Technical field
The present invention relates to virtual machine technique, espespecially a kind of virtual machine initial method and device.
Background technique
With the development of cloud computing, infrastructure services (Infrastructure as a Service, IaaS) gradually It is able to widespread deployment, more and more research institutions and enterprise start self-built cloud computing platform.Software definition stores (Software Defined Storage, SDS) it is a kind of novel storage innovation framework, a solution by hardware abstraction, it makes you Can consumer easily be supplied to by all resource pools and by friendly a user interface (UI) or API.One The solution of the storage of software definition allows you to carry out Longitudinal Extension in the case where not increasing any workload (Scale-Up) or it is (Scale-Out) extending transversely.However deployment SDS node is that one very heavy and difficult task, Deployment process is related to the installation of a large amount of softwares, the processing of inter-module dependence and the setting of numerous configuration parameters, collects in addition The features such as isomerism of group's server hardware, operating system and network, deployment need to take a significant amount of time, and process is due to excessive Manual operation and repetitive operation cause deployment fail probability it is very high.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of virtual machine initial method and devices.Match in acquisition After setting parameter, virtual machine template is imported, the initialization of SDS node is automatically performed, solves manual operation deployment SDS node efficiency Low and high failure rate problem, realizes automatical and efficient SDS node deployment.
In order to reach the object of the invention, the present invention provides a kind of virtual machine initial methods, comprising:
Obtain configuration parameter;
The virtual machine template for importing software definition storage SDS node, creates SDS node;
According to the configuration parameter, the initialization to the SDS node is completed.
Preferably, the configuration parameter includes at least any one of following information or any multinomial:
Gateway, subnet mask, management net, management net IP address, storage net, storage net IP address, service network, system disk and Data disks storage location.
Preferably, before the step of obtaining configuration parameter, further includes:
SDS node is packaged into virtual machine template.
Preferably, the step of acquisition configuration parameter specifically:
The configuration parameter is obtained by configuration interface.
The present invention also provides a kind of virtual machine apparatus for initializing, comprising:
Parameter acquisition module, for obtaining configuration parameter;
Node creation module creates SDS node for importing the virtual machine template of software definition storage SDS node;
Execution module is initialized, for completing the initialization to the SDS node according to the configuration parameter.
Preferably, the device further include:
Template generation module, for SDS node to be packaged into virtual machine template.
Preferably, the parameter acquisition module, specifically for obtaining the configuration parameter by configuration interface.
The present invention provides a kind of virtual machine initial method and devices, first acquisition configuration parameter, import software definition The virtual machine template of SDS node is stored, SDS node is created, further according to the configuration parameter, is completed to the first of the SDS node Beginningization.It solves the problems, such as that manual operation deployment SDS node efficiency is low and failure rate is high, realizes automatical and efficient SDS section Point deployment.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is a kind of flow diagram for virtual machine initial method that one embodiment of the invention provides;
Fig. 2 is the exemplary diagram for carrying out network configuration in the embodiment of the present invention by configuration interface;
Fig. 3 is the exemplary diagram for carrying out storage configuration in the embodiment of the present invention by configuration interface;
Fig. 4 is a kind of structural schematic diagram for virtual machine apparatus for initializing that one embodiment of the invention provides.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
Deployment SDS node is that one very heavy and difficult task, deployment process be related to a large amount of softwares installation, The processing of inter-module dependence and the setting of numerous configuration parameters, in addition cluster server hardware, operating system and network The features such as isomerism, deployment need to take a significant amount of time, and process leads to portion due to excessive manual operation and repetitive operation The probability for affixing one's name to failure is very high, therefore it is necessary to realizes a kind of deployment mechanisms of automation.
To solve the above-mentioned problems, the embodiment provides a kind of virtual machine initial method and devices.Below In conjunction with attached drawing, the embodiment of the present invention is described in detail.
One embodiment of the invention provides a kind of virtual machine initial method, and it is initial to complete SDS node using this method The process of change is as shown in Figure 1, comprising:
SDS node is packaged into virtual machine template by step 101.
Step 102 obtains configuration parameter.
In this step, interface configuration parameter obtains the configuration parameter by configuration interface.Realize CPU, memory, magnetic Disk and network interface card read Template Information automatically, and can parameter needed for interface configurations SDS node initializing.
The configuration parameter includes at least any one of following information or any multinomial:
Gateway, subnet mask, management net, management net IP address, storage net, storage net IP address, service network, system disk and Data disks storage location.
In this step, Configuration network, batch configuration gateway, mask;Selection management net and configuration of IP;Selection storage net is simultaneously matched Set IP;Select service network;Configuration storage, configures system disk and data disks storage location;Check interface configuration parameter.
Fig. 2 is the example that network configuration is carried out by configuration interface, and Fig. 3 is to carry out showing for storage configuration by configuration interface Example.
By interface configurations, to reduce since excessive manual operation and repetitive operation lead to the general of deployment failure Rate.
Step 103, the virtual machine template for importing SDS node create SDS node.
Step 104, according to the configuration parameter, complete the initialization to the SDS node.
In this step, user initiates to automate by modes such as the initialization buttons at click interface, and system automation is initial Change SDS node environment, issues configuration and be switched on.
Initialization SDS node is automated according to institute's configuration information and is switched on, key service is started, and automation initialization is completed SDS node deployment.
One embodiment of the invention additionally provides a kind of virtual machine apparatus for initializing, and the structure of the device is as shown in figure 4, packet It includes:
Parameter acquisition module 401, for obtaining configuration parameter;
Node creation module 402 creates SDS node for importing the virtual machine template of software definition storage SDS node;
Execution module 403 is initialized, for completing the initialization to the SDS node according to the configuration parameter.
Preferably, the device further include:
Template generation module 404, for SDS node to be packaged into virtual machine template.
Preferably, the parameter acquisition module 401, specifically for obtaining the configuration parameter by configuration interface.
The embodiment provides a kind of virtual machine initial method and devices, first acquisition configuration parameter, import Software definition stores the virtual machine template of SDS node, creates SDS node, further according to the configuration parameter, completes to the SDS The initialization of node.It solves the problems, such as that manual operation deployment SDS node efficiency is low and failure rate is high, realizes automatical and efficient SDS node deployment.
Entire deployment process only needs interface configurations, without carrying out independently installed and configuration to practical SDS node, largely On improve deployment efficiency, reduce the probability for causing deployment to fail due to excessive manual operation and repetitive operation.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non- Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information Delivery media.

Claims (7)

1. a kind of virtual machine initial method characterized by comprising
Obtain configuration parameter;
The virtual machine template for importing software definition storage SDS node, creates SDS node;
According to the configuration parameter, the initialization to the SDS node is completed.
2. virtual machine initial method according to claim 1, which is characterized in that the configuration parameter includes at least following Any one of information is any multinomial:
Gateway, subnet mask, management net, management net IP address, storage net, storage net IP address, service network, system disk and data Disk storage position.
3. virtual machine initial method according to claim 1, which is characterized in that before the step of obtaining configuration parameter, Further include:
SDS node is packaged into virtual machine template.
4. virtual machine initial method according to claim 1, which is characterized in that the step of acquisition configuration parameter has Body are as follows:
The configuration parameter is obtained by configuration interface.
5. a kind of virtual machine apparatus for initializing characterized by comprising
Parameter acquisition module, for obtaining configuration parameter;
Node creation module creates SDS node for importing the virtual machine template of software definition storage SDS node;
Execution module is initialized, for completing the initialization to the SDS node according to the configuration parameter.
6. virtual machine apparatus for initializing according to claim 5, which is characterized in that the device further include:
Template generation module, for SDS node to be packaged into virtual machine template.
7. virtual machine initial method according to claim 1, which is characterized in that
The parameter acquisition module, specifically for obtaining the configuration parameter by configuration interface.
CN201810981456.9A 2018-08-27 2018-08-27 A kind of virtual machine initial method and device Pending CN109324830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810981456.9A CN109324830A (en) 2018-08-27 2018-08-27 A kind of virtual machine initial method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810981456.9A CN109324830A (en) 2018-08-27 2018-08-27 A kind of virtual machine initial method and device

Publications (1)

Publication Number Publication Date
CN109324830A true CN109324830A (en) 2019-02-12

Family

ID=65264667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810981456.9A Pending CN109324830A (en) 2018-08-27 2018-08-27 A kind of virtual machine initial method and device

Country Status (1)

Country Link
CN (1) CN109324830A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605570A (en) * 2013-11-18 2014-02-26 浪潮(北京)电子信息产业有限公司 Automatic application deployment method and system based on virtual machine template
CN107038062A (en) * 2017-04-17 2017-08-11 广东浪潮大数据研究有限公司 A kind of virtual machine initial method and device based on cloud platform
CN108932152A (en) * 2018-07-04 2018-12-04 郑州云海信息技术有限公司 A kind of network node initial method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605570A (en) * 2013-11-18 2014-02-26 浪潮(北京)电子信息产业有限公司 Automatic application deployment method and system based on virtual machine template
CN107038062A (en) * 2017-04-17 2017-08-11 广东浪潮大数据研究有限公司 A kind of virtual machine initial method and device based on cloud platform
CN108932152A (en) * 2018-07-04 2018-12-04 郑州云海信息技术有限公司 A kind of network node initial method and device

Similar Documents

Publication Publication Date Title
US11237812B2 (en) Deploying an application in a cloud computing environment
US11301287B2 (en) Pattern-based orchestration of cloud provisioning tasks at runtime
US10496503B2 (en) Healing cloud services during upgrades
US9582319B2 (en) Migrating virtual machines across network separated data centers
CN104754032A (en) Method and device for deploying OpenStack
US9959157B1 (en) Computing instance migration
US20170048331A1 (en) Platform runtime abstraction
CN106911500B (en) Physical machine configuration method and device and physical machine
CN111124286A (en) Libcloud-based multi-cloud management implementation method
US20200241909A1 (en) Host computing systems determination to deploy virtual machines based on disk specifications
CN106873970B (en) Installation method and device of operating system
CN105847231A (en) Service publishing method, device and system
US11586447B2 (en) Configuration after cluster migration
CN106126303A (en) The installation method of (SuSE) Linux OS, Apparatus and system
CN114489954A (en) Tenant creation method based on virtualization platform, tenant access method and equipment
US20230251871A1 (en) Techniques for migrating services from a virtual bootstrap environment
US9772833B2 (en) Application instance staging
CN109324830A (en) A kind of virtual machine initial method and device
CN109660575A (en) The implementation method and device of NFV service deployment
CN110971665A (en) Management method, system, equipment and storage medium for interfacing multi-type storage
US9866451B2 (en) Deployment of enterprise applications
CN108932152A (en) A kind of network node initial method and device
WO2023193609A1 (en) Selective privileged container augmentation
CN109101253A (en) The management method and device of host in cloud computing system
CN116089020B (en) Virtual machine operation method, capacity expansion method and capacity expansion system

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: 20190212