CN112463299A - Interface display service deployment method, device, equipment and medium - Google Patents

Interface display service deployment method, device, equipment and medium Download PDF

Info

Publication number
CN112463299A
CN112463299A CN202011357447.6A CN202011357447A CN112463299A CN 112463299 A CN112463299 A CN 112463299A CN 202011357447 A CN202011357447 A CN 202011357447A CN 112463299 A CN112463299 A CN 112463299A
Authority
CN
China
Prior art keywords
interface display
display service
vitrage
kolla
mirror image
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
CN202011357447.6A
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 CN202011357447.6A priority Critical patent/CN112463299A/en
Publication of CN112463299A publication Critical patent/CN112463299A/en
Pending legal-status Critical Current

Links

Images

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/451Execution arrangements for user interfaces
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a method, a device, equipment and a medium for deploying interface display service, wherein the method comprises the following steps: constructing a container mirror image of the vitrage interface display service matched with kolla-ansable; pushing the container mirror image to a mirror image warehouse corresponding to an OpenStack environment, and modifying the kolla-angular configuration so that the kolla-angular support the deployment of the vitrage interface display service; and starting the container mirror image in the mirror image warehouse so as to start the vitrage interface display service. Therefore, the vitrage of the OpenStack can own the independent interface display service, and when the cluster failure causes the failure of the interface display service shared in the OpenStack, the independent interface display service owned by the vitrage can also be normally used.

Description

Interface display service deployment method, device, equipment and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for deploying an interface display service.
Background
OpenStack is a free software and open source project developed by NASA (national aerospace agency) and Rackspace collaboratively, licensed with Apache license. The OpenStack is an open-source cloud computing management platform project, and is formed by combining several main components 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 has a unified standard.
And the kolla-infrastructure is responsible for deploying containerized OpenStack services and infrastructure components, and the kolla-infrastructure is utilized for configuring the OpenStack services and arranging the deployment of OpenStack service containers. By utilizing the isolation of the containers, the upgrading and returning of each service container of the OpenStack are achieved, the influence range of the upgrading and returning is controlled, and the complexity of the operation and maintenance of the OpenStack cluster is reduced.
The method is characterized in that the method comprises the steps of obtaining a platform problem positioning Analysis service, wherein the method is an OpenStack RCA (Root Cause Analysis) service, is used for organizing, analyzing and expanding alarms and events of OpenStack, and finds a Root Cause after a real problem occurs.
Problems with the current vitrage service using OpenStack: the display of the vitrage service interface of the OpenStack is displayed through horizon, that is, the vitrage service interface is a service interface commonly used by all services in the OpenStack at present, so that when a cluster fails, the horizon cannot be accessed, the service interface is wrong and cannot be used, the vitrage service just needs to work at the moment, the reason why the error occurs is obtained through analysis, and the interface service cannot be used at the moment.
Disclosure of Invention
In view of this, an object of the present application is to provide an interface display service deployment method, apparatus, device, and medium, which enable a vitrage of an OpenStack to have an individual interface display service, and when a cluster failure causes a failure of an interface display service shared in the OpenStack, the individual interface display service owned by the vitrage can also be used normally. The specific scheme is as follows:
in a first aspect, the present application discloses a method for deploying interface display services, comprising:
constructing a container mirror image of a vitrage interface display service matched with kolla-otherwise, wherein the vitrage interface display service is used for displaying a result obtained by vitrage analysis;
pushing the container mirror image to a mirror image warehouse corresponding to an OpenStack environment, and modifying the kolla-angular configuration so that the kolla-angular support the deployment of the vitrage interface display service;
and starting the container mirror image in the mirror image warehouse so as to start the vitrage interface display service.
Optionally, the constructing a container mirror image of the kolla-ansable adapted view interface display service includes:
selecting a basic mirror image;
building a basic environment and installing a basic compiling package;
node js and nginx were installed.
Optionally, the starting the container mirror in the mirror repository includes:
mapping a key system port to access a kolla-allowed configuration file for information authentication;
when the information authentication is passed, a vitrage port is mapped to access the kolla-encrypted configuration file, so that the vitrage port can obtain a result obtained by vitrage analysis;
modifying the configuration address of the nginx and compiling the node js;
and starting the vitrage interface display service.
Optionally, the modifying the kolla-allowed configuration includes:
adding a deployment field of the vitrage interface display service in the kolla-anchor target file so that the kolla-anchor supports the deployment of the vitrage interface display service;
adding a starting configuration of a container mirror image of the vitrage interface display service under the kolla-infrastructure role directory.
Optionally, the adding a deployment field of the vitrage interface display service in the kolla-anchor target file includes:
and adding corresponding deployment information of the visual interface display service in the global control file, the host file list and the file module entry file of the kolla-infrastructure so that the kolla-infrastructure supports the deployment of the visual interface display service.
Optionally, the starting the container mirror in the mirror repository includes:
when the OpenStack cloud platform deployment is started, judging whether the vitrage interface display service is deployed or not according to the kolla-arbitrary global control file;
if the vitrtage interface display service is not deployed, directly deploying other services in the OpenStack cloud platform;
and if the vitrage interface display service is deployed, acquiring the container mirror image from the mirror image warehouse and starting the container mirror image.
In a third aspect, the present application discloses an interface display service deployment apparatus, comprising:
the system comprises a mirror image construction module, a container mirror image construction module and a container mirror image construction module, wherein the container mirror image construction module is used for constructing a container mirror image of a vitrage interface display service matched with kolla-ansable, and the vitrage interface display service is used for displaying a result obtained by vitrage analysis;
the mirror image pushing module is used for pushing the container mirror image to a mirror image warehouse corresponding to the OpenStack environment;
the configuration modification module is used for modifying the kolla-infrastructure configuration so that the kolla-infrastructure supports the deployment of the vitrage interface display service;
and the service starting module is used for starting the container mirror image in the mirror image warehouse so as to start the vitrage interface display service.
Optionally, the configuration modification module is configured to:
adding a deployment field of the vitrage interface display service in the kolla-anchor target file so that the kolla-anchor supports the deployment of the vitrage interface display service;
adding a starting configuration of a container mirror image of the vitrage interface display service under the kolla-infrastructure role directory.
In a third aspect, the present application discloses an electronic device, comprising:
a memory and a processor;
wherein the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the interface display service deployment method disclosed above.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the interface display service deployment method disclosed above.
It can be seen that, in the present application, a container mirror image of a vitrage interface display service adapted to kolla-infrastructure is first constructed, where the vitrage interface display service is used to display a result obtained by vitrage analysis, then the container mirror image is pushed to a mirror image warehouse corresponding to an OpenStack environment, and the configuration of kolla-infrastructure is modified, so that the kolla-infrastructure supports deployment of the vitrage interface display service, and then the container mirror image in the mirror image warehouse may be started to start the vitrage interface display service. Therefore, in the application, a container mirror image of a vitrage interface display service adapted to kolla-infrastructure is constructed, the vitrage interface display service is used for displaying a result obtained by vitrage analysis, so that the vitrage interface display service can be deployed through kolla-infrastructure, then the container mirror image needs to be pushed into a mirror image warehouse corresponding to an OpenStack environment, and the configuration of kolla-infrastructure is modified, so that the kolla-infrastructure configuration supports the deployment of the vitrage interface display service, the container mirror image can be started, and the vitrage interface display service is started, so that the vitrage of the OpenStack has an individual interface display service, when a cluster fault causes the fault of the interface display service shared in the OpenStack, the individual vitrage interface display service owned by vitrage can also be normally used, and the result obtained by vitrage analysis can be displayed, so that the operation and maintenance personnel can carry out operation and maintenance according to the displayed result.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of an interface display service method disclosed herein;
FIG. 2 is a partial flow diagram of a particular interface display service method disclosed herein;
FIG. 3 is a partial flow diagram of a particular interface display service method disclosed herein;
FIG. 4 is a partial flow diagram of a particular interface display service method disclosed herein;
FIG. 5 is a schematic structural diagram of an interface display service deployment apparatus disclosed in the present application;
fig. 6 is a schematic structural diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, an embodiment of the present application discloses an interface display service deployment method, including:
step S11: and constructing a container mirror image of a vitrage interface display service matched with the kolla-otherwise, wherein the vitrage interface display service is used for displaying the result obtained by vitrage analysis.
In a specific implementation process, a separate vitrage interface display service needs to be deployed for vitrages in the OpenStack to display results obtained by vitrage analysis, so that the problem that the shared interface display service is unavailable due to faults of some services in the OpenStack when the vitrage service uses the interface display service shared by all services in the OpenStack is solved. The deployment of a separate interface display service for the vitrage in the OpenStack requires that a container mirror image of the vitrage interface display service adapted to kolla-otherwise be constructed first, so that the vitrage interface display service can be deployed through kolla-otherwise.
Specifically, the constructing a container mirror image of a kolla-ansable adapted virtual interface display service includes: selecting a basic mirror image; building a basic environment and installing a basic compiling package; node js and nginx were installed.
Namely, constructing a container mirror image of the vitrage interface display service adapted to the kolla-infrastructure requires selecting a basic mirror image, constructing a basic environment, installing a basic compiling package, and installing node js and nginx to support WEB interface display of the vitrage interface display service.
Step S12: and pushing the container mirror image to a mirror image warehouse corresponding to an OpenStack environment, and modifying the configuration of the kolla-angular, so that the kolla-angular supports the deployment of the vitrage interface display service.
After the container mirror image is constructed, the container mirror image needs to be pushed to a mirror image warehouse corresponding to an OpenStack environment, and the configuration of the kolla-infrastructure needs to be modified, so that the kolla-infrastructure can support deployment of the visual interface display service.
Specifically, modifying the kolla-allowed configuration includes: adding a deployment field of the vitrage interface display service in the kolla-anchor target file so that the kolla-anchor supports the deployment of the vitrage interface display service; adding a starting configuration of a container mirror image of the vitrage interface display service under the kolla-infrastructure role directory.
Wherein, the adding of the deployment field of the vitrage interface display service in the kolla-ansable target file includes: and adding corresponding deployment information of the visual interface display service in the global control file, the host file list and the file module entry file of the kolla-infrastructure so that the kolla-infrastructure supports the deployment of the visual interface display service.
That is, deployment information of the vitrage interface display service needs to be added to the global control file (globals.yml) of the kolla-infrastructure, and the specifically added deployment information may be: enable _ luna: "yes", wherein luna is the name of the vitrage interface display service. Wherein the global control file (globals.yml) can control whether the gateway interface display service is deployed in a cluster.
The deployment information of the vitrage interface display service is added to the kolla-allowed host file list (multinode and all-in-one), specifically, a luna group is added under the host file list (multinode and all-in-one), wherein luna is the name of the vitrage interface display service. And adding a luna packet under the host file list (multinode and all-in-one), realizing the support in single-node and multi-node environments, and designating nodes for luna service deployment.
The deployment information of the vitrage interface display service is added to the kolla-encrypted file module entry file (site.yml), and specifically, a luna related field may be added to the file module entry file (site.yml), so that the luna service is included in the encrypted project.
The starting configuration of the container mirror image of the vitrage interface display service also needs to be added under the role directory (role) of the kolla-infrastructure, wherein the specific starting configuration needing to be added can be determined according to actual conditions.
Referring to FIG. 2, a partial flow diagram of service deployment is shown for an interface. Firstly, selecting a basic mirror image, then building a basic environment, installing a basic compiling package, then installing node js and installing nginx.
Referring to FIG. 3, a partial flow diagram of service deployment is shown for an interface. Yml, increase enable _ luna in global control file globals of kolla-angular: "yes", adding luna groups under multinode and all-in-one, adding luna related fields in kolla-allowed file module entry file site, yml, and adding the settings for luna in kolla-allowed configuration file of luna service in kolla-allowed role directory (role).
Step S13: and starting the container mirror image in the mirror image warehouse so as to start the vitrage interface display service.
Then, the container mirror in the mirror repository needs to be started to start the vitrage interface display service.
Specifically, the starting the container mirror image in the mirror image warehouse includes: a mapping keystone port accesses the kolla-allowed configuration file to perform information authentication; when the information authentication is passed, a vitrage port is mapped to access the kolla-encrypted configuration file, so that the vitrage port can obtain a result obtained by vitrage analysis; modifying the configuration address of the nginx and compiling the node js; and starting the vitrage interface display service.
That is, it is necessary to map the keystone port to access the kolla-encrypted configuration file for information authentication, and after the information authentication is successful, the vitrage interface display service can be started, and when the information authentication is passed, the vitrage port is mapped to access the kolla-encrypted configuration file, so that the vitrage port can obtain a result obtained by vitrage analysis, and thus the vitrage interface display service can display the result obtained by vitrage analysis. The configuration address of nginx needs to be modified so as to lead the data stream obtained by analyzing the vitrage to the front end, the node js is compiled, and then the vitrage interface display service can be started.
When the vitrage interface display service in the container mirror image is deployed along with other services in an OpenStack, judging whether the vitrage interface display service is deployed according to the kolla-angular global control file when the OpenStack cloud platform is started to be deployed; if the vitrtage interface display service is not deployed, directly deploying other services in the OpenStack cloud platform; and if the vitrage interface display service is deployed, acquiring the container mirror image from the mirror image warehouse and starting the container mirror image.
Referring to FIG. 4, a partial flow diagram of a method for displaying services for an interface is shown. Starting OpenStack cloud platform deployment, judging whether to deploy luna services, if not, directly deploying other services in the OpenStack cloud platform, if so, mapping a keystone port to access a kolla-ansable configuration file, then mapping a vitrage port to access the kolla-ansable configuration file, modifying the configuration address of nginx, compiling node js, and then starting the luna services, wherein luna is the name of the vitrage interface display service.
It can be seen that, in the present application, a container mirror image of a vitrage interface display service adapted to kolla-infrastructure is first constructed, where the vitrage interface display service is used to display a result obtained by vitrage analysis, then the container mirror image is pushed to a mirror image warehouse corresponding to an OpenStack environment, and the configuration of kolla-infrastructure is modified, so that the kolla-infrastructure supports deployment of the vitrage interface display service, and then the container mirror image in the mirror image warehouse may be started to start the vitrage interface display service. It can be seen that, in the present application, a container mirror image of the kolla-ansable adapted view interface display service is first constructed, the vitrage interface display service is used for displaying the result obtained by vitrage analysis, so that the vitrage interface display service can be deployed through kolla-ansable, then the container image needs to be pushed to an image warehouse corresponding to the OpenStack environment, and modifying the kolla-infrastructure configuration so that the kolla-infrastructure configuration supports deployment of the vitrage interface display service, the container mirror, i.e. the vitrage interface display service, may then be started, this can make the vitrtage of OpenStack have a separate interface display service, when cluster failure causes the failure of the interface service shared in OpenStack, the individual vitrage interface display service owned by vitrage can be used normally, and displaying the result obtained by the vitrage analysis so that operation and maintenance personnel can perform operation and maintenance according to the displayed result.
Referring to fig. 5, an embodiment of the present application discloses an interface display service deployment device, including:
the mirror image construction module 11 is configured to construct a container mirror image of a vitrage interface display service adapted to kolla-available, where the vitrage interface display service is configured to display a result obtained by vitrage analysis;
the mirror image pushing module 12 is configured to push the container mirror image to a mirror image warehouse corresponding to the OpenStack environment;
a configuration modification module 13, configured to modify the kolla-anchor configuration, so that the kolla-anchor supports deployment of the vitrage interface display service;
a service starting module 14, configured to start the container mirror image in the mirror image warehouse, so as to start the vitrage interface display service.
It can be seen that, in the present application, a container mirror image of a vitrage interface display service adapted to kolla-infrastructure is first constructed, where the vitrage interface display service is used to display a result obtained by vitrage analysis, then the container mirror image is pushed to a mirror image warehouse corresponding to an OpenStack environment, and the configuration of kolla-infrastructure is modified, so that the kolla-infrastructure supports deployment of the vitrage interface display service, and then the container mirror image in the mirror image warehouse may be started to start the vitrage interface display service. It can be seen that, in the present application, a container mirror image of the kolla-ansable adapted view interface display service is first constructed, the vitrage interface display service is used for displaying the result obtained by vitrage analysis, so that the vitrage interface display service can be deployed through kolla-ansable, then the container image needs to be pushed to an image warehouse corresponding to the OpenStack environment, and modifying the kolla-infrastructure configuration so that the kolla-infrastructure configuration supports deployment of the vitrage interface display service, the container mirror, i.e. the vitrage interface display service, may then be started, this can make the vitrtage of OpenStack have a separate interface display service, when cluster failure causes the failure of the interface display service shared in OpenStack, the individual interface display service owned by the vitrage can be used normally, and displaying the result obtained by the vitrage analysis so that operation and maintenance personnel can perform operation and maintenance according to the displayed result.
In some specific implementations, the mirror building module 11 is configured to:
selecting a basic mirror image;
building a basic environment and installing a basic compiling package;
node js and nginx were installed.
In some specific implementations, the service initiation module 14 is configured to:
a mapping keystone port accesses the kolla-allowed configuration file to perform information authentication;
when the information authentication is passed, a vitrage port is mapped to access the kolla-encrypted configuration file, so that the vitrage port can obtain a result obtained by vitrage analysis;
modifying the configuration address of the nginx and compiling the node js;
and starting the vitrage interface display service.
In some specific implementations, the configuration modification module 13 is configured to:
adding a deployment field of the vitrage interface display service in the kolla-anchor target file so that the kolla-anchor supports the deployment of the vitrage interface display service;
adding a starting configuration of a container mirror image of the vitrage interface display service under the kolla-infrastructure role directory.
In some specific implementations, the configuration modification module 13 is configured to:
and adding corresponding deployment information of the visual interface display service in the global control file, the host file list and the file module entry file of the kolla-infrastructure so that the kolla-infrastructure supports the deployment of the visual interface display service.
In some specific implementations, the service initiation module 14 is configured to:
when the OpenStack cloud platform deployment is started, judging whether the vitrage interface display service is deployed or not according to the kolla-arbitrary global control file;
if the vitrtage interface display service is not deployed, directly deploying other services in the OpenStack cloud platform;
and if the vitrage interface display service is deployed, acquiring the container mirror image from the mirror image warehouse and starting the container mirror image.
Referring to fig. 6, a schematic structural diagram of an electronic device 20 provided in the embodiment of the present application is shown, where the electronic device 20 may implement the steps of the interface display service deployment method disclosed in the foregoing embodiment.
In general, the electronic device 20 in the present embodiment includes: a processor 21 and a memory 22.
The processor 21 may include one or more processing cores, such as a four-core processor, an eight-core processor, and so on. The processor 21 may be implemented by at least one hardware of a DSP (digital signal processing), an FPGA (field-programmable gate array), and a PLA (programmable logic array). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (graphics processing unit) which is responsible for rendering and drawing images to be displayed on the display screen. In some embodiments, the processor 21 may include an AI (artificial intelligence) processor for processing computing operations related to machine learning.
Memory 22 may include one or more computer-readable storage media, which may be non-transitory. Memory 22 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 22 is at least used for storing the following computer program 221, wherein after being loaded and executed by the processor 21, the steps of the interface display service deployment method disclosed in any of the foregoing embodiments can be implemented.
In some embodiments, the electronic device 20 may further include a display 23, an input/output interface 24, a communication interface 25, a sensor 26, a power supply 27, and a communication bus 28.
Those skilled in the art will appreciate that the configuration shown in FIG. 6 is not limiting of electronic device 20 and may include more or fewer components than those shown.
Further, an embodiment of the present application also discloses a computer readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the following steps:
constructing a container mirror image of a vitrage interface display service matched with kolla-otherwise, wherein the vitrage interface display service is used for displaying a result obtained by vitrage analysis; pushing the container mirror image to a mirror image warehouse corresponding to an OpenStack environment, and modifying the kolla-angular configuration so that the kolla-angular support the deployment of the vitrage interface display service; and starting the container mirror image in the mirror image warehouse so as to start the vitrage interface display service.
It can be seen that, in the present application, a container mirror image of a vitrage interface display service adapted to kolla-infrastructure is first constructed, where the vitrage interface display service is used to display a result obtained by vitrage analysis, then the container mirror image is pushed to a mirror image warehouse corresponding to an OpenStack environment, and the configuration of kolla-infrastructure is modified, so that the kolla-infrastructure supports deployment of the vitrage interface display service, and then the container mirror image in the mirror image warehouse may be started to start the vitrage interface display service. It can be seen that, in the present application, a container mirror image of the kolla-ansable adapted view interface display service is first constructed, the vitrage interface display service is used for displaying the result obtained by vitrage analysis, so that the vitrage interface display service can be deployed through kolla-ansable, then the container image needs to be pushed to an image warehouse corresponding to the OpenStack environment, and modifying the kolla-infrastructure configuration so that the kolla-infrastructure configuration supports deployment of the vitrage interface display service, the container mirror, i.e. the vitrage interface display service, may then be started, this can make the vitrtage of OpenStack have a separate interface display service, when cluster failure causes the failure of the interface service shared in OpenStack, the individual vitrage interface display service owned by vitrage can be used normally, and displaying the result obtained by the vitrage analysis so that operation and maintenance personnel can perform operation and maintenance according to the displayed result.
In this embodiment, when the computer subprogram stored in the computer-readable storage medium is executed by the processor, the following steps may be specifically implemented: selecting a basic mirror image; building a basic environment and installing a basic compiling package; node js and nginx were installed.
In this embodiment, when the computer subprogram stored in the computer-readable storage medium is executed by the processor, the following steps may be specifically implemented: a mapping keystone port accesses the kolla-allowed configuration file to perform information authentication; when the information authentication is passed, a vitrage port is mapped to access the kolla-encrypted configuration file, so that the vitrage port can obtain a result obtained by vitrage analysis; modifying the configuration address of the nginx and compiling the node js; and starting the vitrage interface display service.
In this embodiment, when the computer subprogram stored in the computer-readable storage medium is executed by the processor, the following steps may be specifically implemented: adding a deployment field of the vitrage interface display service in the kolla-anchor target file so that the kolla-anchor supports the deployment of the vitrage interface display service; adding a starting configuration of a container mirror image of the vitrage interface display service under the kolla-infrastructure role directory.
In this embodiment, when the computer subprogram stored in the computer-readable storage medium is executed by the processor, the following steps may be specifically implemented: and adding corresponding deployment information of the visual interface display service in the global control file, the host file list and the file module entry file of the kolla-infrastructure so that the kolla-infrastructure supports the deployment of the visual interface display service.
In this embodiment, when the computer subprogram stored in the computer-readable storage medium is executed by the processor, the following steps may be specifically implemented: when the OpenStack cloud platform deployment is started, judging whether the vitrage interface display service is deployed or not according to the kolla-arbitrary global control file; if the vitrtage interface display service is not deployed, directly deploying other services in the OpenStack cloud platform; and if the vitrage interface display service is deployed, acquiring the container mirror image from the mirror image warehouse and starting the container mirror image.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or 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.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that, herein, relational terms such as first and second, and the like may be 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 other 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.
The method, the device, the equipment and the medium for deploying the interface display service provided by the application are introduced in detail, a specific example is applied in the description to explain the principle and the implementation mode of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An interface display service deployment method is characterized by comprising the following steps:
constructing a container mirror image of a vitrage interface display service matched with kolla-otherwise, wherein the vitrage interface display service is used for displaying a result obtained by vitrage analysis;
pushing the container mirror image to a mirror image warehouse corresponding to an OpenStack environment, and modifying the kolla-angular configuration so that the kolla-angular support the deployment of the vitrage interface display service;
and starting the container mirror image in the mirror image warehouse so as to start the vitrage interface display service.
2. The method for deploying the interface display service according to claim 1, wherein the constructing the container mirror image of the kolla-encrypted-adapted visual interface display service comprises:
selecting a basic mirror image;
building a basic environment and installing a basic compiling package;
node js and nginx were installed.
3. The interface display service deployment method of claim 2, wherein the initiating the container mirror in the mirror repository comprises:
a mapping keystone port accesses the kolla-allowed configuration file to perform information authentication;
when the information authentication is passed, a vitrage port is mapped to access the kolla-encrypted configuration file, so that the vitrage port can obtain a result obtained by vitrage analysis;
modifying the configuration address of the nginx and compiling the node js;
and starting the vitrage interface display service.
4. The interface display service deployment method according to any one of claims 1 to 3, wherein the modifying the kolla-allowed configuration comprises:
adding a deployment field of the vitrage interface display service in the kolla-anchor target file so that the kolla-anchor supports the deployment of the vitrage interface display service;
adding a starting configuration of a container mirror image of the vitrage interface display service under the kolla-infrastructure role directory.
5. The method for deploying interface display service according to claim 4, wherein the adding a deployment field of the vitrage interface display service in the kolla-encrypted target file comprises:
and adding corresponding deployment information of the visual interface display service in the global control file, the host file list and the file module entry file of the kolla-infrastructure so that the kolla-infrastructure supports the deployment of the visual interface display service.
6. The interface display service deployment method of claim 5, wherein the initiating the container mirror in the mirror repository comprises:
when the OpenStack cloud platform deployment is started, judging whether the vitrage interface display service is deployed or not according to the kolla-arbitrary global control file;
if the vitrtage interface display service is not deployed, directly deploying other services in the OpenStack cloud platform;
and if the vitrage interface display service is deployed, acquiring the container mirror image from the mirror image warehouse and starting the container mirror image.
7. An interface display service deployment apparatus, comprising:
the system comprises a mirror image construction module, a container mirror image construction module and a container mirror image construction module, wherein the container mirror image construction module is used for constructing a container mirror image of a vitrage interface display service matched with kolla-ansable, and the vitrage interface display service is used for displaying a result obtained by vitrage analysis;
the mirror image pushing module is used for pushing the container mirror image to a mirror image warehouse corresponding to the OpenStack environment;
the configuration modification module is used for modifying the kolla-infrastructure configuration so that the kolla-infrastructure supports the deployment of the vitrage interface display service;
and the service starting module is used for starting the container mirror image in the mirror image warehouse so as to start the vitrage interface display service.
8. The interface display service deployment method of claim 7, wherein the configuration modification module is configured to:
adding a deployment field of the vitrage interface display service in the kolla-anchor target file so that the kolla-anchor supports the deployment of the vitrage interface display service;
adding a starting configuration of a container mirror image of the vitrage interface display service under the kolla-infrastructure role directory.
9. An electronic device, comprising:
a memory and a processor;
wherein the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the interface display service deployment method according to any one of claims 1 to 6.
10. A computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the interface display service deployment method of any one of claims 1 to 6.
CN202011357447.6A 2020-11-27 2020-11-27 Interface display service deployment method, device, equipment and medium Pending CN112463299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011357447.6A CN112463299A (en) 2020-11-27 2020-11-27 Interface display service deployment method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011357447.6A CN112463299A (en) 2020-11-27 2020-11-27 Interface display service deployment method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN112463299A true CN112463299A (en) 2021-03-09

Family

ID=74809079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011357447.6A Pending CN112463299A (en) 2020-11-27 2020-11-27 Interface display service deployment method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112463299A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065616A (en) * 2022-06-28 2022-09-16 平安银行股份有限公司 Server monitoring method, server monitoring device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065616A (en) * 2022-06-28 2022-09-16 平安银行股份有限公司 Server monitoring method, server monitoring device and storage medium

Similar Documents

Publication Publication Date Title
US11853816B2 (en) Extending the Kubernetes API in-process
CN112242920B (en) Cloud platform deployment method, device and node
WO2015057188A1 (en) Package dependency maps for distributed computing
US20230060053A1 (en) Method and apparatus of deploying a cluster, and storage medium
US20230128866A1 (en) Source code conversion from application program interface to policy document
CN114116078A (en) Application data processing method, device, equipment and medium based on micro front end
CN111831567B (en) Application test environment configuration method, device, system and medium
US20230086377A1 (en) Dynamic automation of prerequisite component deployment in disconnected environments
CN115480801A (en) Multi-project development, deployment and operation method and system based on Vue framework
CN114281352A (en) Service deployment method and related equipment
CN112463299A (en) Interface display service deployment method, device, equipment and medium
CN110780918A (en) Middleware container processing method and device, electronic equipment and storage medium
CN112835568A (en) Project construction method and device
CN114461223A (en) Code generation method and device and terminal equipment
CN116450301B (en) Container-based monitoring method, system, equipment and medium
CN117573338A (en) Resource allocation method and device and electronic equipment
CN109117351B (en) Front-end display implementation method for Docker container cloud host and Dashboard
WO2013131190A1 (en) Dynamic user interface aggregation through smart eventing with non-instantiated content
CN113312148B (en) Big data service deployment method, device, equipment and medium
US20230008839A1 (en) Smart environment assessment of prerequisites to private cloud provisioning
CN115248680A (en) Software construction method, system, device, medium, and program product
CN110471767B (en) Equipment scheduling method
CN114020285A (en) Industrial APP operation method and device
CN111858234A (en) Task execution method, device, equipment and medium
US11947939B1 (en) Software application dependency insights

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