CN110928554A - Deployment method, device, equipment and storage medium - Google Patents

Deployment method, device, equipment and storage medium Download PDF

Info

Publication number
CN110928554A
CN110928554A CN201911055194.4A CN201911055194A CN110928554A CN 110928554 A CN110928554 A CN 110928554A CN 201911055194 A CN201911055194 A CN 201911055194A CN 110928554 A CN110928554 A CN 110928554A
Authority
CN
China
Prior art keywords
virtual machine
openstack service
target virtual
file
configuration
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.)
Withdrawn
Application number
CN201911055194.4A
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.)
Beijing Inspur Data Technology Co Ltd
Original Assignee
Beijing Inspur Data 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 Beijing Inspur Data Technology Co Ltd filed Critical Beijing Inspur Data Technology Co Ltd
Priority to CN201911055194.4A priority Critical patent/CN110928554A/en
Publication of CN110928554A publication Critical patent/CN110928554A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • 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/45595Network integration; Enabling network access in virtual machine instances

Landscapes

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

Abstract

The invention discloses a deployment method, a device, equipment and a storage medium, wherein the method comprises the following steps: acquiring a virtual machine mirror image, wherein the virtual machine mirror image is provided with OpenStack service; establishing a target virtual machine in virtualization software of a cloud computing platform by using a virtual machine mirror image; and configuring network communication parameters for the OpenStack service in the target virtual machine. After a target virtual machine with OpenStack service is built in virtualization software in a cloud computing platform, network functions of more than two layers of networks can be provided for the virtualization software of the target virtual machine through the OpenStack service of the target virtual machine, richness of the network functions which can be realized by the virtualization software in the cloud computing platform is relatively improved, and usability of the cloud computing platform is further ensured. In addition, the invention also provides a deployment device, equipment and a storage medium, and the beneficial effects are the same as those described above.

Description

Deployment method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computers, and more particularly, to a method, an apparatus, a device, and a storage medium for deploying a program.
Background
The cloud computing platform is software commonly used for integrating server resources at present, and has the function of managing servers in a machine room, virtualizing resources of the servers, such as computing, network and storage, and providing the resources to users.
The cloud computing platform is often integrated with various virtualization software and provides a uniform interface for a user to selectively call the needed virtualization software, but the virtualization software is often only provided with a two-layer network function, so that only a network function for realizing addressing communication based on an MAC address can be provided for the virtualization software, and the virtualization software is limited from realizing the functions of higher-layer networks such as a DHCP, a router and a firewall.
Therefore, it is a problem to be solved by those skilled in the art to provide a deployment method to relatively improve richness of network functions that can be implemented by virtualization software in a cloud computing platform, and further ensure availability of the cloud computing platform.
Disclosure of Invention
The invention aims to provide a deployment method, a deployment device, deployment equipment and a storage medium, so as to relatively improve richness of network functions which can be realized by virtualization software in a cloud computing platform and further ensure usability of the cloud computing platform.
To solve the above technical problem, the present invention provides a deployment method, including:
acquiring a virtual machine mirror image, wherein the virtual machine mirror image is provided with OpenStack service;
establishing a target virtual machine in virtualization software of a cloud computing platform by using a virtual machine mirror image;
and configuring network communication parameters for the OpenStack service in the target virtual machine.
Preferably, the obtaining of the virtual machine image includes:
acquiring operating system files and installation files of OpenStack service;
creating a virtual machine template based on the operating system file, and installing an installation file of the OpenStack service in the virtual machine template;
exporting the virtual machine template provided with the installation file of the OpenStack service as a virtual machine mirror image.
Preferably, before configuring the network communication parameters for the OpenStack service in the target virtual machine, the method further includes:
acquiring a configuration file, and transmitting the configuration file into a target virtual machine;
configuring network communication parameters for OpenStack service in a target virtual machine, comprising the following steps:
and configuring network communication parameters for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file.
Preferably, the obtaining of the configuration file includes:
a configuration file filled in by a front-end user of the cloud computing platform is obtained.
Preferably, before configuring the network communication parameters for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file, the method further includes:
acquiring a configuration script;
configuring network communication parameters for OpenStack services in a target virtual machine based on configuration parameters in a configuration file, wherein the configuration parameters comprise:
and configuring network communication parameters for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file by executing the configuration script.
Preferably, before configuring the network communication parameters for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file by executing the configuration script, the method further includes:
and storing the configuration script in a self-starting script directory of the target virtual machine.
In addition, the present invention also provides a deployment apparatus comprising:
the system comprises a mirror image acquisition module, a virtual machine mirror image acquisition module and a virtual machine management module, wherein the mirror image acquisition module is used for acquiring the virtual machine mirror image which is provided with an OpenStack service;
the virtual machine establishing module is used for establishing a target virtual machine in virtualization software of the cloud computing platform by using the virtual machine mirror image;
and the virtual machine configuration module is used for configuring network communication parameters for the OpenStack service in the target virtual machine.
Preferably, the image acquisition module includes:
the file acquisition module is used for acquiring operating system files and installation files of OpenStack service;
the file installation module is used for creating a virtual machine template based on the operating system file and installing an installation file of the OpenStack service in the virtual machine template;
and the template export module is used for exporting the virtual machine template provided with the installation file of the OpenStack service into a virtual machine mirror image.
In addition, the present invention also provides a deployment apparatus comprising:
a memory for storing a computer program;
a processor for implementing the steps of the deployment method as described above when executing the computer program.
Furthermore, the present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, realizes the steps of the method of deployment as described above.
According to the deployment method provided by the invention, the virtual machine image provided with the OpenStack service is firstly obtained, the virtual machine image is further utilized to establish the target virtual machine in the virtualization software of the cloud computing platform, and the network communication parameters of the OpenStack service in the target virtual machine are configured. Because the OpenStack service can provide network functions of more than two layers of networks such as a DHCP, a router, a firewall and the like, after a target virtual machine with the OpenStack service is constructed in virtualization software in a cloud computing platform based on a virtual machine image provided with the OpenStack service, the network functions of more than two layers of networks can be provided for the virtualization software of the target virtual machine through the OpenStack service of the target virtual machine, the richness of the network functions which can be realized by the virtualization software in the cloud computing platform is relatively improved, and the usability of the cloud computing platform is further ensured. In addition, the invention also provides a deployment device, equipment and a storage medium, and the beneficial effects are the same as those described above.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a flow chart of a method of deployment disclosed in an embodiment of the invention;
FIG. 2 is a flowchart of a specific deployment method disclosed in an embodiment of the present invention;
FIG. 3 is a flowchart of a specific deployment method disclosed in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a deployment apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
The cloud computing platform is often integrated with various virtualization software and provides a uniform interface for a user to selectively call the needed virtualization software, but the virtualization software is often only provided with a two-layer network function, so that only a network function for realizing addressing communication based on an MAC address can be provided for the virtualization software, and the virtualization software is limited from realizing the functions of higher-layer networks such as a DHCP, a router and a firewall.
Therefore, the core of the invention is to provide a deployment method to relatively improve richness of network functions which can be realized by virtualization software in the cloud computing platform, thereby ensuring availability of the cloud computing platform.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1, an embodiment of the present invention discloses a deployment method, including:
step S10: and acquiring a virtual machine mirror image, wherein the virtual machine mirror image is provided with OpenStack service.
It should be noted that Mirroring (Mirroring) is a type of redundancy, and data on one disk has an identical copy on another disk, that is, Mirroring. The mirror image is a file storage form, a plurality of files can be made into a mirror image file, the mirror image file and programs such as GHOST are placed in a disk, and the mirror image file is restored into a plurality of files after being opened by software such as GHOST, and RAID 1 and RAID 10 use the mirror image. Common image file formats are ISO, BIN, IMG, TAO, DAO, CIF, FCD. The virtual machine image obtained in this step is an image corresponding to a virtual machine at least provided with an OpenStack service, and the virtual machine image contains all data contents of the corresponding virtual machine, so that a virtual machine with independent operation capability can be constructed according to the virtual machine image.
Step S11: and establishing a target virtual machine in virtualization software of the cloud computing platform by using the virtual machine image.
The cloud computing platform in this step is also referred to as a cloud platform, and refers to a service based on hardware resources and software resources, and provides computing, network, and storage capabilities. Cloud computing platforms can be divided into 3 classes: the cloud computing platform comprises a storage type cloud platform taking data storage as a main part, a computing type cloud platform taking data processing as a main part and a comprehensive cloud computing platform taking computing and data storage processing into consideration. The cloud computing platform logically integrates hardware resources and software resources and carries out cloud computing processing on the basis of the hardware resources and the software resources, implementation details are hidden for a user, the user does not know where the data are processed by which machines and how the data are processed, and when the user needs certain application, the user sends an instruction to the cloud computing platform, and corresponding computing results can be obtained in the cloud computing platform.
Virtualization software is often provided in a cloud computing platform to virtualize resources such as computing, network, storage, etc. of a physical server. The cloud computing platform integrates various different virtualization software, such as VMWare, inloud Sphere, and the like, so that a virtual machine is operated through the virtualization software to integrate resources of physical equipment, and uniform service and interfaces are provided for users.
After the virtual machine image is obtained, a target virtual machine is established in virtualization software of the cloud computing platform by using the virtual machine image, and the target virtual machine is provided with the OpenStack service. It should be noted that OpenStack is an open-source cloud computing management platform project, and several main components are combined to complete specific work. OpenStack supports almost all types of cloud environments, and the project aims to provide a cloud computing management platform which is simple to implement, can be expanded in a large scale, is rich and unified in standard, and has relatively rich functions of a three-layer network.
Step S12: and configuring network communication parameters for the OpenStack service in the target virtual machine.
In order to ensure that the OpenStack service in the target virtual machine can normally execute a network function, in this step, after the target virtual machine is established in virtualization software of the cloud computing platform by using a virtual machine image, network communication parameters are further configured for the OpenStack service in the target virtual machine. Network communication parameters include, but are not limited to, IP addresses, gateway addresses, and the like.
According to the deployment method provided by the invention, the virtual machine image provided with the OpenStack service is firstly obtained, the virtual machine image is further utilized to establish the target virtual machine in the virtualization software of the cloud computing platform, and the network communication parameters of the OpenStack service in the target virtual machine are configured. Because the OpenStack service can provide network functions of more than two layers of networks such as a DHCP, a router, a firewall and the like, after a target virtual machine with the OpenStack service is constructed in virtualization software in a cloud computing platform based on a virtual machine image provided with the OpenStack service, the network functions of more than two layers of networks can be provided for the virtualization software of the target virtual machine through the OpenStack service of the target virtual machine, the richness of the network functions which can be realized by the virtualization software in the cloud computing platform is relatively improved, and the usability of the cloud computing platform is further ensured.
Referring to fig. 2, an embodiment of the present invention discloses a deployment method, including:
step S20: and obtaining an operating system file and an installation file of the OpenStack service.
Step S21: and creating a virtual machine template based on the operating system file, and installing an installation file of the OpenStack service in the virtual machine template.
Step S22: exporting the virtual machine template provided with the installation file of the OpenStack service as a virtual machine mirror image, wherein the OpenStack service is installed in the virtual machine mirror image.
Step S23: and establishing a target virtual machine in virtualization software of the cloud computing platform by using the virtual machine image.
Step S24: and configuring network communication parameters for the OpenStack service in the target virtual machine.
In this embodiment, the manner of first obtaining the virtual machine template is to obtain an operating system file and an installation file of the OpenStack service, where the operating system file is a bottom system supporting the virtual machine to work, and the installation file of the OpenStack service is installation data required when the OpenStack service is installed in the virtual machine. After the operating system file and the installation file of the OpenStack service are obtained, a virtual machine template is further created based on the operating system file, the installation file of the OpenStack service is installed in the virtual machine template, and then the target virtual machines can be built in batch in virtualization software of the cloud computing platform through the virtual machine template with the OpenStack service. In the embodiment, the reusable virtual machine template is constructed based on the operating system file and the installation file of the OpenStack service, so that the virtual machine template is exported and the virtual machine image is obtained, and then the target virtual machine is established in the virtualization software of the cloud computing platform by using the virtual machine image, so that the universality of the virtual machine image is relatively ensured.
Referring to fig. 3, an embodiment of the present invention discloses a deployment method, including:
step S30: and obtaining an operating system file and an installation file of the OpenStack service.
Step S31: and creating a virtual machine template based on the operating system file, and installing an installation file of the OpenStack service in the virtual machine template.
Step S32: exporting the virtual machine template provided with the installation file of the OpenStack service as a virtual machine mirror image, wherein the OpenStack service is installed in the virtual machine mirror image.
Step S33: and establishing a target virtual machine in virtualization software of the cloud computing platform by using the virtual machine image.
Step S34: and acquiring the configuration file, and transmitting the configuration file into the target virtual machine.
Step S35: and configuring network communication parameters for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file.
It should be noted that the important point of this embodiment is that before configuring the network communication parameters for the OpenStack service in the target virtual machine, a configuration file is obtained, and the configuration file is transmitted into the target virtual machine, so as to obtain specific configuration parameters based on the configuration file in the path of the target virtual machine, and configure the network communication parameters for the OpenStack service in the target virtual machine through the configuration parameters. Since the configuration file can record the specific content of the configuration parameter relatively accurately and reliably, the network communication parameter is configured for the OpenStack service in the target virtual machine based on the configuration parameter in the configuration file, and the reliability of the content configured for the OpenStack service can be relatively ensured.
On the basis of the foregoing embodiment, as a preferred implementation manner, acquiring a configuration file includes:
a configuration file filled in by a front-end user of the cloud computing platform is obtained.
It should be noted that the key point of the present embodiment is that the configuration file is provided by a front-end user of the cloud computing platform, that is, the user fills in the parameter content for configuring the OpenStack service in the interface of the cloud computing platform, and further integrates the configuration parameters filled in the interface of the cloud computing platform by the user into the configuration file. Because a user at the front end of the cloud computing platform can flexibly fill in the configuration file according to actual requirements, the overall flexibility of configuring network communication parameters for the OpenStack service is relatively ensured.
On the basis of the foregoing embodiment, as a preferred implementation manner, before configuring network communication parameters for an OpenStack service in a target virtual machine based on configuration parameters in a configuration file, the method further includes:
acquiring a configuration script;
configuring network communication parameters for OpenStack services in a target virtual machine based on configuration parameters in a configuration file, wherein the configuration parameters comprise:
and configuring network communication parameters for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file by executing the configuration script.
In this embodiment, before configuring the network communication parameters for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file, a configuration script is further obtained, where the configuration script includes an execution logic code for configuring the OpenStack service in the target virtual machine, and is used to automatically execute reading of the configuration parameters in the configuration file and related operations for configuring the OpenStack service in the target virtual machine.
Further, as a preferred embodiment, before configuring the network communication parameters for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file by executing the configuration script, the method further includes:
and storing the configuration script in a self-starting script directory of the target virtual machine.
In the embodiment, before the network communication parameters are configured for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file by executing the configuration script, the configuration script is stored in the self-starting script directory of the target virtual machine in advance, so that the configuration script can be automatically executed when the target virtual machine is started, and the overall efficiency of OpenStack service configuration can be relatively improved.
In order to deepen understanding of the scheme of the above embodiment of the present invention, a scene embodiment in a specific scene is provided below for explanation.
A method for automatically deploying an SDN controller, namely OpenStack service, by a cloud platform comprises the following specific implementation processes:
1. and manufacturing an ISO mirror image, wherein the mirror image comprises an operating system, OpenStack basic software and a mirror image library.
The installation of the OpenStack needs some basic software and code image libraries, the basic software and the code image libraries are pre-installed on the centros 7 system according to the steps provided by the OpenStack official documents, and finally the operating system and the basic software are packaged into an ISO-format image. The ISO is subsequently used to create a virtual machine.
2. A virtual machine is created on VMWare.
And opening the VMWare client, creating a virtual machine, selecting the ISO by the optical drive, setting two network cards by the network, selecting a trunk port group, and directly creating. The created virtual machine is started from the optical disc after being started, an operating system is automatically installed, and basic software required by OpenStack is installed.
3. And compiling a shell script and exporting a virtual machine template.
The script function has two main points: and automatically configuring an IP (Internet protocol) for the virtual machine and installing an OpenStack service.
After the writing is finished, the script file is copied to the self-starting script directory of the virtual machine (so that the script can be automatically executed when the virtual machine is started), and the virtual machine template is exported.
4. And compiling deployment codes in a cloud computing platform, and automatically deploying the SDN controller by using the template and the script.
The code processing flow is as follows:
1. the user uploads the template to a mirror image storage area of a cloud computing platform;
2. a user fills in an IP address and a gateway of the SDN controller on an interface to create a host; sending a request to a background after clicking is determined;
3. the background processes the request, and firstly, a template is used for creating a virtual machine on the VMWare; creating an iso configuration file which contains the IP and gateway information filled by the user and inserting the iso configuration file into the virtual machine; starting up a virtual machine; the virtual machine automatically executes the shell script, the script reads the IP and the gateway in the iso configuration file, the IP is matched for the script, and then the command is executed to deploy the OpenStack service.
In another aspect, the invention also provides a deployment device. Referring to fig. 4, a schematic block diagram of one embodiment of a deployment apparatus is shown, the apparatus comprising:
the image acquisition module 10 is configured to acquire a virtual machine image, where the virtual machine image is provided with an OpenStack service;
the virtual machine establishing module 11 is configured to establish a target virtual machine in virtualization software of the cloud computing platform by using a virtual machine image;
and a virtual machine configuration module 12, configured to configure network communication parameters for the OpenStack service in the target virtual machine.
On the basis of the above device, as a preferred embodiment, the image acquisition module 10 includes:
the file acquisition module is used for acquiring operating system files and installation files of OpenStack service;
the file installation module is used for creating a virtual machine template based on the operating system file and installing an installation file of the OpenStack service in the virtual machine template;
and the template export module is used for exporting the virtual machine template provided with the installation file of the OpenStack service into a virtual machine mirror image.
The deployment device provided by the invention firstly obtains the virtual machine image provided with the OpenStack service, further establishes the target virtual machine in the virtualization software of the cloud computing platform by using the virtual machine image, and configures the network communication parameters of the OpenStack service in the target virtual machine. Because the OpenStack service can provide network functions of more than two layers of networks such as a DHCP, a router, a firewall and the like, after a target virtual machine with the OpenStack service is constructed in virtualization software in a cloud computing platform based on a virtual machine image provided with the OpenStack service, the network functions of more than two layers of networks can be provided for the virtualization software of the target virtual machine through the OpenStack service of the target virtual machine, the richness of the network functions which can be realized by the virtualization software in the cloud computing platform is relatively improved, and the usability of the cloud computing platform is further ensured.
In another aspect, the present invention further provides a deployment device, including:
a memory for storing a computer program;
a processor for implementing the steps of the deployment method as described above when executing the computer program.
The deployment device provided by the invention firstly obtains the virtual machine image provided with the OpenStack service, further establishes the target virtual machine in the virtualization software of the cloud computing platform by using the virtual machine image, and configures the network communication parameters of the OpenStack service in the target virtual machine. Because the OpenStack service can provide network functions of more than two layers of networks such as a DHCP, a router, a firewall and the like, after a target virtual machine with the OpenStack service is constructed in virtualization software in a cloud computing platform based on a virtual machine image provided with the OpenStack service, the network functions of more than two layers of networks can be provided for the virtualization software of the target virtual machine through the OpenStack service of the target virtual machine, the richness of the network functions which can be realized by the virtualization software in the cloud computing platform is relatively improved, and the usability of the cloud computing platform is further ensured.
In another aspect, the present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of deployment as described above.
The computer readable storage medium provided by the invention firstly acquires the virtual machine image provided with the OpenStack service, then establishes the target virtual machine in the virtualization software of the cloud computing platform by using the virtual machine image, and configures the network communication parameters of the OpenStack service in the target virtual machine. Because the OpenStack service can provide network functions of more than two layers of networks such as a DHCP, a router, a firewall and the like, after a target virtual machine with the OpenStack service is constructed in virtualization software in a cloud computing platform based on a virtual machine image provided with the OpenStack service, the network functions of more than two layers of networks can be provided for the virtualization software of the target virtual machine through the OpenStack service of the target virtual machine, the richness of the network functions which can be realized by the virtualization software in the cloud computing platform is relatively improved, and the usability of the cloud computing platform is further ensured.
A method, apparatus, device and storage medium for deployment provided by the present invention have been described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method of deployment, comprising:
acquiring a virtual machine mirror image, wherein the virtual machine mirror image is provided with an OpenStack service;
establishing a target virtual machine in virtualization software of a cloud computing platform by using the virtual machine mirror image;
and configuring network communication parameters for the OpenStack service in the target virtual machine.
2. The deployment method of claim 1, wherein the obtaining the virtual machine image comprises:
acquiring operating system files and installation files of the OpenStack service;
creating a virtual machine template based on the operating system file, and installing an installation file of the OpenStack service in the virtual machine template;
exporting the virtual machine template provided with the installation file of the OpenStack service as the virtual machine mirror image.
3. The deployment method according to claim 1 or 2, wherein before the configuring network communication parameters for the OpenStack service in the target virtual machine, the method further comprises:
acquiring a configuration file, and transmitting the configuration file into the target virtual machine;
the configuring network communication parameters for the OpenStack service in the target virtual machine includes:
and configuring network communication parameters for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file.
4. The deployment method of claim 3, wherein the obtaining the configuration file comprises:
and acquiring a configuration file filled in by a front-end user of the cloud computing platform.
5. The deployment method of claim 3, wherein before configuring network communication parameters for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file, the method further comprises:
acquiring a configuration script;
configuring network communication parameters for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file, including:
configuring network communication parameters for the OpenStack service in the target virtual machine based on configuration parameters in the configuration file by executing the configuration script.
6. The deployment method of claim 5, wherein before the configuring network communication parameters for the OpenStack service in the target virtual machine based on the configuration parameters in the configuration file by executing the configuration script, the method further comprises:
and storing the configuration script in a self-starting script directory of the target virtual machine.
7. A deployment device, comprising:
the system comprises a mirror image acquisition module, a mirror image acquisition module and a virtual machine management module, wherein the mirror image acquisition module is used for acquiring a virtual machine mirror image which is provided with an OpenStack service;
the virtual machine establishing module is used for establishing a target virtual machine in virtualization software of the cloud computing platform by using the virtual machine mirror image;
and the virtual machine configuration module is used for configuring network communication parameters for the OpenStack service in the target virtual machine.
8. The deployment device of claim 7, wherein the image acquisition module comprises:
the file acquisition module is used for acquiring operating system files and installation files of the OpenStack service;
the file installation module is used for creating a virtual machine template based on the operating system file and installing an installation file of the OpenStack service in the virtual machine template;
and the template exporting module is used for exporting the virtual machine template provided with the installation file of the OpenStack service into the virtual machine mirror image.
9. A deployment device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the deployment method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the deployment method according to any one of claims 1 to 6.
CN201911055194.4A 2019-10-31 2019-10-31 Deployment method, device, equipment and storage medium Withdrawn CN110928554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911055194.4A CN110928554A (en) 2019-10-31 2019-10-31 Deployment method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911055194.4A CN110928554A (en) 2019-10-31 2019-10-31 Deployment method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110928554A true CN110928554A (en) 2020-03-27

Family

ID=69850114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911055194.4A Withdrawn CN110928554A (en) 2019-10-31 2019-10-31 Deployment method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110928554A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464567A (en) * 2020-06-16 2020-07-28 鹏城实验室 Configuration method and device of attack and defense shooting range system and storage medium
CN111586101A (en) * 2020-04-02 2020-08-25 西安远望谷物联网科技有限公司 OpenStack cloud platform-based automatic installation method and system
CN112748985A (en) * 2020-12-31 2021-05-04 网络通信与安全紫金山实验室 Network isolation method and device for mimicry application, computer equipment and storage medium
CN113268252A (en) * 2021-04-06 2021-08-17 国网河北省电力有限公司 Mirror image manufacturing method and system based on virtual chemical industry control equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885576A (en) * 2017-10-16 2018-04-06 北京易讯通信息技术股份有限公司 A kind of virtual machine HA method in private clound based on OpenStack
CN108984272A (en) * 2018-07-23 2018-12-11 郑州云海信息技术有限公司 The control method and device of OpenStack cloud computing management platform
WO2019001480A1 (en) * 2017-06-27 2019-01-03 新华三云计算技术有限公司 Virtual machine management
CN109634625A (en) * 2018-12-17 2019-04-16 武汉烽火信息集成技术有限公司 A kind of OpenStack dispositions method and system based on Clonezilla
CN109889377A (en) * 2019-01-29 2019-06-14 京信通信***(中国)有限公司 The method and apparatus of VNF are disposed in NFV system based on Openstack

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019001480A1 (en) * 2017-06-27 2019-01-03 新华三云计算技术有限公司 Virtual machine management
CN107885576A (en) * 2017-10-16 2018-04-06 北京易讯通信息技术股份有限公司 A kind of virtual machine HA method in private clound based on OpenStack
CN108984272A (en) * 2018-07-23 2018-12-11 郑州云海信息技术有限公司 The control method and device of OpenStack cloud computing management platform
CN109634625A (en) * 2018-12-17 2019-04-16 武汉烽火信息集成技术有限公司 A kind of OpenStack dispositions method and system based on Clonezilla
CN109889377A (en) * 2019-01-29 2019-06-14 京信通信***(中国)有限公司 The method and apparatus of VNF are disposed in NFV system based on Openstack

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586101A (en) * 2020-04-02 2020-08-25 西安远望谷物联网科技有限公司 OpenStack cloud platform-based automatic installation method and system
CN111464567A (en) * 2020-06-16 2020-07-28 鹏城实验室 Configuration method and device of attack and defense shooting range system and storage medium
CN111464567B (en) * 2020-06-16 2020-11-03 鹏城实验室 Configuration method and device of attack and defense shooting range system and storage medium
CN112748985A (en) * 2020-12-31 2021-05-04 网络通信与安全紫金山实验室 Network isolation method and device for mimicry application, computer equipment and storage medium
CN112748985B (en) * 2020-12-31 2023-09-26 网络通信与安全紫金山实验室 Network isolation method, device, computer equipment and storage medium for mimicry application
CN113268252A (en) * 2021-04-06 2021-08-17 国网河北省电力有限公司 Mirror image manufacturing method and system based on virtual chemical industry control equipment and storage medium

Similar Documents

Publication Publication Date Title
US20220078092A1 (en) Provisioning a service
KR101130370B1 (en) Method and system for providing a common operating system
CN110413288B (en) Application deployment method, device, server and storage medium
CN110928554A (en) Deployment method, device, equipment and storage medium
CN102932408B (en) A kind of management method of server cluster and platform
EP2823393B1 (en) Offline provisioning of virtual machines
EP2344953B1 (en) Provisioning virtual resources using name resolution
US8627310B2 (en) Capturing multi-disk virtual machine images automatically
CN109067877B (en) Control method for cloud computing platform deployment, server and storage medium
CN111782232A (en) Cluster deployment method and device, terminal equipment and storage medium
CN103795759B (en) The dispatching method and system of a kind of virtual machine image file
US20150186129A1 (en) Method and system for deploying a program module
CN109558212B (en) Virtualization management method and system of physical equipment, physical equipment and medium
CN113645071B (en) Cluster deployment method, system, medium and electronic terminal
CN111367534B (en) Service arrangement method and system based on application environment
CN110138577B (en) Cluster creation method, first server and readable storage medium
US11144292B2 (en) Packaging support system and packaging support method
EP3883183A1 (en) Virtualization management method and device
CN113626133B (en) Virtual machine control method, device, equipment and computer readable storage medium
CN109460268B (en) Application parameter configuration method, device and system
US7735095B2 (en) Network device drivers using a communication transport
CN113419813B (en) Method and device for deploying bare engine management service based on container platform
CN113595832A (en) Network data acquisition system and method
WO2021139261A1 (en) Application deployment method and device, and medium
CN109495298B (en) Method and device for managing nodes in OpenStack 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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200327

WW01 Invention patent application withdrawn after publication