CN112363806A - Cluster management method and device, electronic equipment and storage medium - Google Patents

Cluster management method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112363806A
CN112363806A CN202011321084.0A CN202011321084A CN112363806A CN 112363806 A CN112363806 A CN 112363806A CN 202011321084 A CN202011321084 A CN 202011321084A CN 112363806 A CN112363806 A CN 112363806A
Authority
CN
China
Prior art keywords
name
service
mirror image
image
management
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.)
Granted
Application number
CN202011321084.0A
Other languages
Chinese (zh)
Other versions
CN112363806B (en
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 Infosec Technologies Co Ltd
Original Assignee
Beijing Infosec Technologies 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 Infosec Technologies Co Ltd filed Critical Beijing Infosec Technologies Co Ltd
Priority to CN202011321084.0A priority Critical patent/CN112363806B/en
Publication of CN112363806A publication Critical patent/CN112363806A/en
Application granted granted Critical
Publication of CN112363806B publication Critical patent/CN112363806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Facsimiles In General (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a cluster management method, a cluster management device, electronic equipment and a storage medium, wherein the method comprises the following steps: when a configuration management instruction is received, acquiring each first mirror image warehouse address name in a cluster, acquiring a first service name of a deployment application corresponding to the first mirror image warehouse address name aiming at each first mirror image warehouse address name, and establishing a corresponding relation between each first mirror image warehouse address name and each first service name; receiving a service management instruction, wherein the service management instruction carries a second mirror image warehouse address name, and determining a second service name corresponding to the second mirror image warehouse address name according to the corresponding relationship between the second mirror image warehouse address name and each first service name; and performing service management according to the second mirror image warehouse address name and the second service name. The problem of complicated and long operation commands is solved, and the learning cost of operation and maintenance personnel is reduced.

Description

Cluster management method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of cluster management technologies, and in particular, to a cluster management method and apparatus, an electronic device, and a storage medium.
Background
In the technical field of cluster management, a Docker serves as a cluster server, a Google company is used for launching Go language for development and implementation, processes are packaged and isolated based on technologies such as cgroup, namespace and Union FS of an overlayFS class, and the technology belongs to a virtualization technology of an operating system level. Docker Swarm is a cluster management and orchestration tool built-in (native) to the Docker engine using the SwarmKit. The built-in kv storage function provides a number of new features, such as: decentralized design with fault tolerance, built-in service discovery, load balancing, routing grids, dynamic scaling, rolling update, secure transmission and the like. After the Docker Swarm deploys the application service, when the application service needs to be managed, for example, the application service is updated, the existing update operation command carries the mirror image warehouse address name in the cluster and the service name of the deployment application, which makes the operation command complicated and tedious and makes the learning cost of operation and maintenance personnel large.
Disclosure of Invention
The embodiment of the invention provides a cluster management method and device, electronic equipment and a storage medium, which are used for solving the problems of complicated and tedious operation commands and higher learning cost of operation and maintenance personnel in the conventional application service management.
The embodiment of the invention provides a cluster management method, which comprises the following steps:
when a configuration management instruction is received, acquiring each first mirror image warehouse address name in a cluster, acquiring a first service name of a deployment application corresponding to the first mirror image warehouse address name aiming at each first mirror image warehouse address name, and establishing a corresponding relation between each first mirror image warehouse address name and each first service name;
receiving a service management instruction, wherein the service management instruction carries a second mirror image warehouse address name, and determining a second service name corresponding to the second mirror image warehouse address name according to the corresponding relationship between the second mirror image warehouse address name and each first service name;
and performing service management according to the second mirror image warehouse address name and the second service name.
Further, the obtaining of the first service name of the deployment application corresponding to the first mirror repository address name includes:
when each application corresponding to the identified first mirror image warehouse address name is deployed, acquiring a third service name of each application; determining a common longest substring of the third service name of each application according to the third service name of each application; and taking the public longest substring as the first service name and storing the first service name.
Further, when each identified application corresponding to the first mirror repository address name is deployed, before acquiring the third service name of each application, the method further includes:
and judging whether a first service name of the deployment application corresponding to the address name of the first mirror image warehouse is stored locally, if so, acquiring the first service name from the local, and if not, performing the subsequent steps.
Further, the performing service management according to the second mirror repository address name and the second service name includes:
and splicing the address name of the second mirror image warehouse and the second service name according to a preset format of cluster management, determining a service management command line, and performing service management according to the service management command line.
Further, the method further comprises:
when an image pulling instruction is received, acquiring each first image file name carried in the image pulling instruction and corresponding each pulling destination equipment identification information;
establishing a parallel mirror image pulling process according to the number of the first mirror image file names; and pulling the image file of each first image file name to the corresponding target equipment based on the parallel image pulling process and the identification information of each pulling target equipment.
Further, the method further comprises:
when an image deleting instruction is received, acquiring each second image file name carried in the image deleting instruction, and deleting the local image file of each second image file name;
and judging whether each second image file name carries preset deleting information, if so, forwarding the image deleting instruction to an image storage server, and enabling the image storage server to delete the image file of each second image file name.
In another aspect, an embodiment of the present invention provides a cluster management apparatus, where the apparatus includes:
the acquisition module is used for acquiring each first mirror image warehouse address name in the cluster when a configuration management instruction is received, acquiring a first service name of the deployment application corresponding to the first mirror image warehouse address name aiming at each first mirror image warehouse address name, and establishing a corresponding relation between each first mirror image warehouse address name and each first service name;
the determining module is used for receiving a service management instruction, wherein the service management instruction carries a second mirror image warehouse address name, and a second service name corresponding to the second mirror image warehouse address name is determined according to the corresponding relationship between the second mirror image warehouse address name and each first service name;
and the management module is used for performing service management according to the second mirror image warehouse address name and the second service name.
Further, the obtaining module is specifically configured to obtain, when each application corresponding to the identified first mirror repository address name is deployed, a third service name of each application; determining a common longest substring of the third service name of each application according to the third service name of each application; and taking the public longest substring as the first service name and storing the first service name.
Further, the apparatus further comprises:
and the judging module is used for judging whether a first service name of the deployment application corresponding to the address name of the first mirror image warehouse is stored locally, if so, acquiring the first service name from the local, and if not, triggering the acquiring module.
Further, the management module is specifically configured to splice the address name of the second mirror image warehouse and the second service name according to a preset format for cluster management, determine a service management command line, and perform service management according to the service management command line.
Further, the management module is further configured to, when an image pull instruction is received, obtain each first image file name carried in the image pull instruction and corresponding each pull destination device identification information; establishing a parallel mirror image pulling process according to the number of the first mirror image file names; and pulling the image file of each first image file name to the corresponding target equipment based on the parallel image pulling process and the identification information of each pulling target equipment.
Further, the management module is further configured to, when an image deletion instruction is received, acquire each second image file name carried in the image deletion instruction, and delete a local image file of each second image file name; and judging whether each second image file name carries preset deleting information, if so, forwarding the image deleting instruction to an image storage server, and enabling the image storage server to delete the image file of each second image file name.
On the other hand, the embodiment of the invention provides electronic equipment, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing any of the above method steps when executing a program stored in the memory.
In another aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of any one of the above.
The embodiment of the invention provides a cluster management method, a cluster management device, electronic equipment and a storage medium, wherein the method comprises the following steps: when a configuration management instruction is received, acquiring each first mirror image warehouse address name in a cluster, acquiring a first service name of a deployment application corresponding to the first mirror image warehouse address name aiming at each first mirror image warehouse address name, and establishing a corresponding relation between each first mirror image warehouse address name and each first service name; receiving a service management instruction, wherein the service management instruction carries a second mirror image warehouse address name, and determining a second service name corresponding to the second mirror image warehouse address name according to the corresponding relationship between the second mirror image warehouse address name and each first service name; and performing service management according to the second mirror image warehouse address name and the second service name.
The technical scheme has the following advantages or beneficial effects:
in the embodiment of the present invention, after receiving the configuration management instruction, the electronic device obtains, for each first mirror image repository address name in the cluster, a first service name of the deployment application corresponding to the first mirror image repository address name, and establishes a correspondence between each first mirror image repository address name and each first service name. And then when sending a service management instruction to the electronic equipment, the electronic equipment determines a corresponding second service name according to the second mirror image warehouse address name only by carrying the second mirror image warehouse address name, and then service management is completed. Because the specific service name does not need to be carried in the service management instruction, the electronic equipment determines the corresponding service name according to the mirror image warehouse address name, the problem of complicated and long operation commands is solved, and the learning cost of operation and maintenance personnel is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a cluster management process according to an embodiment of the present invention;
fig. 2 is a diagram of a cluster configuration installation structure provided in the embodiment of the present invention;
fig. 3 is a schematic process diagram for acquiring a service name of a deployment application corresponding to an address name of a mirror repository according to an embodiment of the present invention;
FIG. 4 is a flow chart of mirror asynchronous pull provided by an embodiment of the present invention;
FIG. 5 is a flowchart of mirror deletion according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a cluster management device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the attached drawings, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
Example 1:
fig. 1 is a schematic diagram of a cluster management process provided in an embodiment of the present invention, where the process includes the following steps:
s101: when a configuration management instruction is received, each first mirror image warehouse address name in a cluster is obtained, a first service name of a deployment application corresponding to the first mirror image warehouse address name is obtained aiming at each first mirror image warehouse address name, and a corresponding relation between each first mirror image warehouse address name and each first service name is established.
S102: receiving a service management instruction, wherein the service management instruction carries a second mirror image warehouse address name, and determining a second service name corresponding to the second mirror image warehouse address name according to the corresponding relationship between the second mirror image warehouse address name and each first service name.
S103: and performing service management according to the second mirror image warehouse address name and the second service name.
The cluster management method provided by the embodiment of the invention is applied to electronic equipment, and the electronic equipment can be equipment such as a PC (personal computer), a tablet personal computer and the like, and can also be a server.
After receiving the configuration management instruction, the electronic device acquires each first mirror image warehouse address name in the cluster, then acquires a first service name of the deployment application corresponding to each first mirror image warehouse address name, and establishes a corresponding relationship between each first mirror image warehouse address name and each first service name. This process is performed during the configuration management phase.
When service management is performed, the electronic device receives a service management instruction carrying an address name of a mirror image warehouse, wherein the address name of the mirror image warehouse carried in the service management instruction is called as a second mirror image warehouse address name in the embodiment of the invention. The electronic device can determine a second service name corresponding to the second mirror image warehouse address name according to the corresponding relation between each first mirror image warehouse address name and each first service name established in the configuration management stage and the received second mirror image warehouse address name. And the electronic equipment performs service management according to the second mirror image warehouse address name and the second service name.
In the embodiment of the present invention, after receiving the configuration management instruction, the electronic device obtains, for each first mirror image repository address name in the cluster, a first service name of the deployment application corresponding to the first mirror image repository address name, and establishes a correspondence between each first mirror image repository address name and each first service name. And then when sending a service management instruction to the electronic equipment, the electronic equipment determines a corresponding second service name according to the second mirror image warehouse address name only by carrying the second mirror image warehouse address name, and then service management is completed. Because the specific service name does not need to be carried in the service management instruction, the electronic equipment determines the corresponding service name according to the mirror image warehouse address name, the problem of complicated and long operation commands is solved, and the learning cost of operation and maintenance personnel is reduced.
Example 2:
in order to accurately determine the first service name of the deployment application corresponding to the first mirror repository address name, on the basis of the foregoing embodiment, in an embodiment of the present invention, the acquiring the first service name of the deployment application corresponding to the first mirror repository address name includes:
when each application corresponding to the identified first mirror image warehouse address name is deployed, acquiring a third service name of each application; determining a common longest substring of the third service name of each application according to the third service name of each application; and taking the public longest substring as the first service name and storing the first service name.
In the embodiment of the invention, for each first mirror image warehouse address name, when the electronic device identifies that each application corresponding to the first mirror image warehouse address name is deployed, the third service name of each application is obtained. And then determining a common longest substring of the third service name of each application, wherein the common longest substring of the third service name of each application can be determined through a binary search algorithm, and then the common longest substring is used as the first service name and is stored, so that the first service name corresponding to the first mirror image warehouse address name is accurately determined.
Example 3:
in order to improve efficiency of obtaining a first service name of a deployment application corresponding to a first mirror repository address name, on the basis of the foregoing embodiments, in an embodiment of the present invention, when each identified application corresponding to the first mirror repository address name is deployed, before obtaining a third service name of each identified application, the method further includes:
and judging whether a first service name of the deployment application corresponding to the address name of the first mirror image warehouse is stored locally, if so, acquiring the first service name from the local, and if not, performing the subsequent steps.
For each first mirror image warehouse address name, when the electronic equipment acquires a first service name of a deployment application corresponding to the first mirror image warehouse address name for the first time, and when each application corresponding to the first mirror image warehouse address name is already deployed, acquiring a third service name of each application; determining a common longest substring of the third service name of each application according to the third service name of each application; and taking the common longest substring as a first service name and storing the common longest substring locally. And when the first service name of the deployment application corresponding to the address name of the first mirror image warehouse is obtained subsequently, the first service name can be directly obtained from the local place without obtaining the first service name in a mode of obtaining the public longest substring.
Therefore, in the embodiment of the present invention, before acquiring, for each first mirror image warehouse address name, a first service name of a deployment application corresponding to the first mirror image warehouse address name, the electronic device first determines whether the first service name of the deployment application corresponding to the first mirror image warehouse address name is locally stored, if so, acquires the first service name from the local, and if not, acquires the first service name by acquiring a longest common substring. In the embodiment of the invention, the first service name is acquired only for the first time in a mode of acquiring the public longest substring and is stored locally, and then the first service name can be directly acquired locally, so that the efficiency of acquiring the first service name of the deployment application corresponding to the address name of the first mirror image warehouse is improved.
Example 4:
to implement service management, on the basis of the foregoing embodiments, in an embodiment of the present invention, the performing service management according to the second mirror repository address name and the second service name includes:
and splicing the address name of the second mirror image warehouse and the second service name according to a preset format of cluster management, determining a service management command line, and performing service management according to the service management command line.
In the embodiment of the invention, after the electronic device determines the second mirror image warehouse address name and the second service name, the second mirror image warehouse address name and the second service name need to be spliced according to a preset format of cluster management, the service management command line is determined, and after the command line in the preset format is obtained, the electronic device performs service management according to the service management command line.
Example 5:
in order to implement batch pulling of images, on the basis of the foregoing embodiments, in an embodiment of the present invention, the method further includes:
when an image pulling instruction is received, acquiring each first image file name carried in the image pulling instruction and corresponding each pulling destination equipment identification information;
establishing a parallel mirror image pulling process according to the number of the first mirror image file names; and pulling the image file of each first image file name to the corresponding target equipment based on the parallel image pulling process and the identification information of each pulling target equipment.
The electronic equipment receives the mirror image pulling instruction, wherein the mirror image pulling instruction can carry one mirror image file name to be pulled or a plurality of mirror image file names to be pulled, and the number is not limited in the embodiment of the invention. In addition, the mirror image pulling instruction carries identification information of each pulling destination device corresponding to each mirror image file name. The electronic device can obtain each first image file name carried in the image pulling instruction and corresponding equipment identification information of each pulling destination.
The electronic equipment establishes parallel mirror image pulling processes according to the number of the first mirror image file names, namely the number of the mirror image pulling processes is the same as that of the first mirror image file names, and one first mirror image file is pulled through one process. The electronic equipment pulls the image file of each first image file name to the corresponding target equipment based on the parallel image pulling process and the identification information of each pulling target equipment, so that batch pulling of the image files is realized.
Example 6:
in order to simplify the process of deleting the mirror image, on the basis of the foregoing embodiments, in an embodiment of the present invention, the method further includes:
when an image deleting instruction is received, acquiring each second image file name carried in the image deleting instruction, and deleting the local image file of each second image file name;
and judging whether each second image file name carries preset deleting information, if so, forwarding the image deleting instruction to an image storage server, and enabling the image storage server to delete the image file of each second image file name.
In the embodiment of the invention, after receiving the mirror image deleting instruction, the electronic device acquires each second mirror image file name carried in the mirror image deleting instruction, and deletes the mirror image file of each second mirror image file name locally. And judging whether each second image file name carries preset deleting information, if so, forwarding the image deleting instruction to an image storage server, so that the image storage server deletes the image file of each second image file name. By adopting the method provided by the embodiment of the invention, if the image files in the local storage server and the image storage server are required to be deleted at the same time, only the preset deleting information is carried in the image deleting instruction, and the deleting instruction is not required to be sent to the image storage server independently, so that the image deleting process is simplified.
The cluster management process provided by the embodiment of the invention is explained in detail below.
First, the cluster management related terms are explained as follows:
the cluster management scheme provided by the embodiment of the invention is realized based on a cluster management tool clusterictl of a Docker Swarm. The Cluster relies on a Docker command line tool and a Swarm cluster management tool, and is a simple and easy-to-use Docker cluster management tool.
Docker: docker uses Go language that Google company promoted to develop and realize, because technology such as cgroup, namespace of Linux kernel, Union FS of the overlayFS class, etc., encapsulate and isolate the process, belong to the virtualization technology of the operating system level. An isolated process is also referred to as a container because it is independent of the host and other isolated processes. The initial implementation was based on LXC, removing LXC from version 0.7 onwards, and instead using self-developed libcontaner, starting from 1.11, further evolving to use runC and contianerd.
Swarm: docker Swarm is a cluster management and orchestration tool built-in (native) to the Docker engine using the SwarmKit. The built-in kv storage function provides a number of new features, such as: decentralized design with fault tolerance, built-in service discovery, load balancing, routing grids, dynamic scaling, rolling update, secure transmission and the like.
Registration: after the image is built, the image can be easily operated on the current host, but if the image needs to be used on other servers, a centralized service for storing and distributing the image is needed, and the Docker Registry is the service.
A Docker Registry may contain multiple warehouses (repositories); each warehouse may contain a plurality of tags (tags); one mirror image for each label. Typically, a repository will contain images of different versions of the same software, and tags are used to correspond to the various versions of the software. We can specify which version of this software is the mirror image specifically by the format of < repository name > < tag >. If no tag is given, latest will be the default tag.
Taking the Ubuntu image as an example, Ubuntu is the name of the warehouse, which contains various version tags, such as 16.04, 18.04, etc. We can specify which version of the mirror is required by either ubuntu:16.04 or ubuntu: 18.04.
Warehouse names often appear as two-part paths, such as jwilder/nginx-proxy, the former often meaning the user name in a Docker Registry multi-user environment, and the latter often the corresponding software name. But this is not absolute and depends on the software or service of the particular Docker Registry used.
The technical problems mainly solved by the embodiment of the invention comprise: docker's own command line is comparatively complicated, and the study degree of difficulty is big, and the fortune dimension personnel are on hand slow. What is more, a Docker Swarm cluster is introduced, and the general operation command is more and longer. The command line tool of the Docker is a program of a single thread model, and communicates with the Docker daemon through a local Socket by using an HTTP API. However, because of the limitation of the command line, we can only pull one mirror at a time, i.e. execute the docker pull command once, and if multiple mirrors are pulled, the commands need to be executed separately. When the mirror image is deleted, the mirror image files on the local storage server and the mirror image storage server cannot be synchronously deleted, and the deletion is generally realized by respectively sending deletion requests.
In the embodiment of the invention, after the Docker cluster environment is installed and the Swarm cluster is initialized. First, the clusterctl command line tool has an initialization for the first use, that is, the required data is automatically collected and stored as a configuration file for use by other commands. The cluster configuration installation structure diagram is shown in fig. 2 and includes a management node Master and a plurality of worker nodes worker connected to the management node. When the cluster is installed, the registry is installed on the Master node, and all worker nodes including the Master node can operate the registry. Meanwhile, the mirror names in the embodiment of the invention are all in a domain name form in order to indicate the mirror names belong to. The shape is as follows: netauth:5000, IP not directly used: port. The electronic device in the embodiment of the present invention may be a management node or a work node.
The specific functions of Clusterctl include: configuration self-adaptive initialization, asynchronous batch mirror image pulling, mirror image updating and uploading to Registry and local/Registry mirror image synchronous deletion.
Because of the command line tool, the following is expressed separately according to different commands:
1. configuration management-config.
Command (i.e. configuration management instruction): clusterctl config init.
The electronic device will automatically generate the following configuration into '/etc/clusterictl/config.json':
Figure BDA0002792926890000121
json states:
Figure BDA0002792926890000122
Figure BDA0002792926890000131
because the cluster is started, configuration initialization can be performed on the Master node according to the information of the cluster and the Docker, and a specific IP is mapped in a system hosts on the cluster equipment like a Registry address, and all requests of info sec. Of course, this value can also be configured via the "- -gisty" tag of the command line, which is shaped as: balaubala: 5000.
SwarmInfo states:
Figure BDA0002792926890000132
the information stored in SwarmInfo is used later to condense the command. At initialization, the business application may not have been deployed. So the 'StackName' and 'CommonPrefix' may not exist, and this part of information can be automatically captured and stored by the related command.
The initialization of the configuration is to collect some common and useful information from the docker and store the information in the configuration file. Therefore, the operation and maintenance personnel do not need to remember the configurations and can directly inquire. While also serving subsequent commands.
2. Service management-service.
The command is simplified by adding a command integration function to the adaptive configuration.
Service management command of the prior art: netauth:5000/test:2netauth-stack _ netauth-test.
The service management command of the embodiment of the invention comprises the following steps: clusterctl service update info sec. netauth:5000/test: 2.
netauth-stack _ netauth-test is the service name of a specific service.
First, when executing the command, it is determined whether there is any required SwarmInfo in local config. The commonpiffix is obtained by means of the longest substring and stored in config. Fig. 3 is a schematic diagram of a process of obtaining a service name of a deployment application corresponding to a mirror repository address name, and first of all, it is determined whether commonpiffix and StackName exist in SwarmInfo in a docker.json, if so, the service name is directly obtained from the local, if not, a Docker stack ls-format { { json. } is obtained from Docker information, then the json is analyzed to obtain the StackName, all running service names need to be compared when obtaining the commonpiffix, and then a common longest substring is extracted as the service name corresponding to the mirror repository address name.
For example, executing the following command, the following service name will be obtained, which is the specific one that is served last.
Figure BDA0002792926890000141
Figure BDA0002792926890000151
And acquiring the longest common substring through binary search from the result, and storing the StackName and CommonPrefix in config. For the next use.
After all the parameters are acquired, the command lines need to be spliced according to a preset format of cluster management. For example:
Figure BDA0002792926890000152
in the table, img is a mirror name, config, swarminfo, commonpiffix is a common substring read from configuration, and imgName is a resolved mirror name. And the mirror image name is info sec. netauth: 5000/audio: 2.0, the part of the audio and the public substring are obtained and spliced to obtain a service management command line, and service management is carried out according to the service management command line.
3. Mirror image batch pull.
Command:
clusterctl image pull-b/tmp/images.conf
-b/- -batch filepath followed by a file containing the mirror name, the file content and format being as follows:
Figure BDA0002792926890000153
one mirror name per row and the mirror names are all, i.e. to contain the 'Registry' configuration in the config. So that the mirror can be pulled from the specified registry. After resolving the mirror name in images.conf, the Clusterctl main program asynchronously submits a command to execute according to 'docker pull < mirror name'. Because the command is executed directly, without waiting for the result of the response, there is a 2-fold increase in speed. Fig. 4 is a flow chart of asynchronous mirror image pull, and when a mirror image pull instruction is received, each first mirror image file name carried in the mirror image pull instruction and each corresponding pull destination device identification information are obtained. Establishing a parallel mirror image pulling process according to the number of the first mirror image file names; and pulling the image file of each first image file name to the corresponding target equipment based on the parallel image pulling process and the identification information of each pulling target equipment.
Go language, when executing a command line, may return without waiting for a result. The text is described as follows:
Figure BDA0002792926890000161
4. and deleting the mirror image synchronization.
Command: clusterctl rmi infosec. netauth: 5000/conference-management-server: 1.0.0- -with-registry.
Synchronous deletion refers to deleting the homonymous mirror of the local storage, and then deleting the mirror on the mirror storage server registry. First, the delete operation docker of the registry in the prior art does not provide a command line, and can only operate through the HTTP API. After the operation is encapsulated through the command, the operation and maintenance personnel do not need to deeply know the internal operation mode.
Fig. 5 is a flowchart of an image deletion process provided in the embodiment of the present invention, where when an image deletion instruction is received, each second image file name carried in the image deletion instruction is obtained, and a local image file of each second image file name is deleted. And judging whether each second image file name carries preset deleting information (with-registry), and if so, forwarding the image deleting instruction to an image storage server. And the mirror image storage server deletes the mirror image file of each second mirror image file name and restarts the mirror image file, and after the restart, the deletion of the mirror image file of each second mirror image file name is completed.
The cluster management method provided by the embodiment of the invention accelerates the initialization operation, mainly is batch mirror image pulling operation, and can be accelerated by 2 times. Most parameters are self-researched by clusterctl, and long parameters do not need to be manually input by operation and maintenance personnel. And command lines are integrated, and command lines with high utilization rate are integrated to realize one-key operation. For example: and loading and uploading the mirror images, and deleting the local mirror images and the remote mirror images. And packaging the HTTP API, and opening a command line for operation and maintenance personnel. For example: and deleting the operation of the remote mirror.
The commands used in the embodiments of the present invention may be, for example:
Clusterctl usage:
Figure BDA0002792926890000171
configuration management-config:
Figure BDA0002792926890000172
Figure BDA0002792926890000181
image management-image:
Figure BDA0002792926890000182
service management-service:
Figure BDA0002792926890000183
example 7:
fig. 6 is a schematic structural diagram of a cluster management device according to an embodiment of the present invention, where the device includes:
an obtaining module 61, configured to obtain, when a configuration management instruction is received, each first mirror image warehouse address name in the cluster, obtain, for each first mirror image warehouse address name, a first service name of the deployment application corresponding to the first mirror image warehouse address name, and establish a correspondence between each first mirror image warehouse address name and each first service name;
a determining module 62, configured to receive a service management instruction, where the service management instruction carries a second mirror image warehouse address name, and determine, according to a correspondence between the second mirror image warehouse address name and each first service name, a second service name corresponding to the second mirror image warehouse address name;
and the management module 63 is configured to perform service management according to the second mirror repository address name and the second service name.
The obtaining module 61 is specifically configured to obtain, when each application corresponding to the identified first mirror repository address name is deployed, a third service name of each application; determining a common longest substring of the third service name of each application according to the third service name of each application; and taking the public longest substring as the first service name and storing the first service name.
The device further comprises:
the determining module 64 is configured to determine whether a first service name of the deployment application corresponding to the first mirror repository address name is stored locally, if so, obtain the first service name locally, and if not, trigger the obtaining module 61.
The management module 63 is specifically configured to splice the address name of the second mirror image warehouse and the second service name according to a preset format for cluster management, determine a service management command line, and perform service management according to the service management command line.
The management module 63 is further configured to, when an image pull instruction is received, obtain each first image file name and each corresponding pull destination device identification information carried in the image pull instruction; establishing a parallel mirror image pulling process according to the number of the first mirror image file names; and pulling the image file of each first image file name to the corresponding target equipment based on the parallel image pulling process and the identification information of each pulling target equipment.
The management module 63 is further configured to, when an image deletion instruction is received, acquire each second image file name carried in the image deletion instruction, and delete a local image file of each second image file name; and judging whether each second image file name carries preset deleting information, if so, forwarding the image deleting instruction to an image storage server, and enabling the image storage server to delete the image file of each second image file name.
Example 7:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides an electronic device, as shown in fig. 7, including: the system comprises a processor 301, a communication interface 302, a memory 303 and a communication bus 304, wherein the processor 301, the communication interface 302 and the memory 303 complete mutual communication through the communication bus 304;
the memory 303 has stored therein a computer program which, when executed by the processor 301, causes the processor 301 to perform the steps of:
when a configuration management instruction is received, acquiring each first mirror image warehouse address name in a cluster, acquiring a first service name of a deployment application corresponding to the first mirror image warehouse address name aiming at each first mirror image warehouse address name, and establishing a corresponding relation between each first mirror image warehouse address name and each first service name;
receiving a service management instruction, wherein the service management instruction carries a second mirror image warehouse address name, and determining a second service name corresponding to the second mirror image warehouse address name according to the corresponding relationship between the second mirror image warehouse address name and each first service name;
and performing service management according to the second mirror image warehouse address name and the second service name.
Based on the same inventive concept, the embodiment of the present invention further provides an electronic device, and as the principle of solving the problem of the electronic device is similar to that of the cluster management method, the implementation of the electronic device may refer to the implementation of the method, and repeated details are not repeated.
The electronic device provided by the embodiment of the invention can be a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), a network side device and the like.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 302 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
When the processor executes a program stored in the memory in the embodiment of the invention, when a configuration management instruction is received, each first mirror image warehouse address name in a cluster is obtained, and for each first mirror image warehouse address name, a first service name of a deployment application corresponding to the first mirror image warehouse address name is obtained, and a corresponding relation between each first mirror image warehouse address name and each first service name is established; receiving a service management instruction, wherein the service management instruction carries a second mirror image warehouse address name, and determining a second service name corresponding to the second mirror image warehouse address name according to the corresponding relationship between the second mirror image warehouse address name and each first service name; and performing service management according to the second mirror image warehouse address name and the second service name. In the embodiment of the present invention, after receiving the configuration management instruction, the electronic device obtains, for each first mirror image repository address name in the cluster, a first service name of the deployment application corresponding to the first mirror image repository address name, and establishes a correspondence between each first mirror image repository address name and each first service name. And then when sending a service management instruction to the electronic equipment, the electronic equipment determines a corresponding second service name according to the second mirror image warehouse address name only by carrying the second mirror image warehouse address name, and then service management is completed. Because the specific service name does not need to be carried in the service management instruction, the electronic equipment determines the corresponding service name according to the mirror image warehouse address name, the problem of complicated and long operation commands is solved, and the learning cost of operation and maintenance personnel is reduced.
Example 8:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer storage readable storage medium, in which a computer program executable by an electronic device is stored, and when the program is run on the electronic device, the electronic device is caused to execute the following steps:
when a configuration management instruction is received, acquiring each first mirror image warehouse address name in a cluster, acquiring a first service name of a deployment application corresponding to the first mirror image warehouse address name aiming at each first mirror image warehouse address name, and establishing a corresponding relation between each first mirror image warehouse address name and each first service name;
receiving a service management instruction, wherein the service management instruction carries a second mirror image warehouse address name, and determining a second service name corresponding to the second mirror image warehouse address name according to the corresponding relationship between the second mirror image warehouse address name and each first service name;
and performing service management according to the second mirror image warehouse address name and the second service name.
Based on the same inventive concept, embodiments of the present invention further provide a computer-readable storage medium, and since a principle of solving a problem when a processor executes a computer program stored on the computer-readable storage medium is similar to that of a cluster management method, implementation of the computer program stored on the computer-readable storage medium by the processor may refer to implementation of the method, and repeated details are not repeated.
The computer readable storage medium may be any available medium or data storage device that can be accessed by a processor in an electronic device, including but not limited to magnetic memory such as floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc., optical memory such as CDs, DVDs, BDs, HVDs, etc., and semiconductor memory such as ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs), etc.
A computer program is stored in a computer-readable storage medium provided in an embodiment of the present invention, and when the computer program is executed by a processor, the computer program implements that, when a configuration management instruction is received, each first mirror image warehouse address name in a cluster is obtained, for each first mirror image warehouse address name, a first service name of a deployment application corresponding to the first mirror image warehouse address name is obtained, and a correspondence between each first mirror image warehouse address name and each first service name is established; receiving a service management instruction, wherein the service management instruction carries a second mirror image warehouse address name, and determining a second service name corresponding to the second mirror image warehouse address name according to the corresponding relationship between the second mirror image warehouse address name and each first service name; and performing service management according to the second mirror image warehouse address name and the second service name. In the embodiment of the present invention, after receiving the configuration management instruction, the electronic device obtains, for each first mirror image repository address name in the cluster, a first service name of the deployment application corresponding to the first mirror image repository address name, and establishes a correspondence between each first mirror image repository address name and each first service name. And then when sending a service management instruction to the electronic equipment, the electronic equipment determines a corresponding second service name according to the second mirror image warehouse address name only by carrying the second mirror image warehouse address name, and then service management is completed. Because the specific service name does not need to be carried in the service management instruction, the electronic equipment determines the corresponding service name according to the mirror image warehouse address name, the problem of complicated and long operation commands is solved, and the learning cost of operation and maintenance personnel is reduced.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (14)

1. A method for cluster management, the method comprising:
when a configuration management instruction is received, acquiring each first mirror image warehouse address name in a cluster, acquiring a first service name of a deployment application corresponding to the first mirror image warehouse address name aiming at each first mirror image warehouse address name, and establishing a corresponding relation between each first mirror image warehouse address name and each first service name;
receiving a service management instruction, wherein the service management instruction carries a second mirror image warehouse address name, and determining a second service name corresponding to the second mirror image warehouse address name according to the corresponding relationship between the second mirror image warehouse address name and each first service name;
and performing service management according to the second mirror image warehouse address name and the second service name.
2. The method of claim 1, wherein obtaining the first service name of the deployment application corresponding to the first mirror repository address name comprises:
when each application corresponding to the identified first mirror image warehouse address name is deployed, acquiring a third service name of each application; determining a common longest substring of the third service name of each application according to the third service name of each application; and taking the public longest substring as the first service name and storing the first service name.
3. The method of claim 2, wherein before obtaining the third service name of each application when the application corresponding to the identified first mirror repository address name is deployed, the method further comprises:
and judging whether a first service name of the deployment application corresponding to the address name of the first mirror image warehouse is stored locally, if so, acquiring the first service name from the local, and if not, performing the subsequent steps.
4. The method of claim 1, wherein the performing service management based on the second mirror repository address name and a second service name comprises:
and splicing the address name of the second mirror image warehouse and the second service name according to a preset format of cluster management, determining a service management command line, and performing service management according to the service management command line.
5. The method of claim 1, wherein the method further comprises:
when an image pulling instruction is received, acquiring each first image file name carried in the image pulling instruction and corresponding each pulling destination equipment identification information;
establishing a parallel mirror image pulling process according to the number of the first mirror image file names; and pulling the image file of each first image file name to the corresponding target equipment based on the parallel image pulling process and the identification information of each pulling target equipment.
6. The method of claim 1, wherein the method further comprises:
when an image deleting instruction is received, acquiring each second image file name carried in the image deleting instruction, and deleting the local image file of each second image file name;
and judging whether each second image file name carries preset deleting information, if so, forwarding the image deleting instruction to an image storage server, and enabling the image storage server to delete the image file of each second image file name.
7. An apparatus for cluster management, the apparatus comprising:
the acquisition module is used for acquiring each first mirror image warehouse address name in the cluster when a configuration management instruction is received, acquiring a first service name of the deployment application corresponding to the first mirror image warehouse address name aiming at each first mirror image warehouse address name, and establishing a corresponding relation between each first mirror image warehouse address name and each first service name;
the determining module is used for receiving a service management instruction, wherein the service management instruction carries a second mirror image warehouse address name, and a second service name corresponding to the second mirror image warehouse address name is determined according to the corresponding relationship between the second mirror image warehouse address name and each first service name;
and the management module is used for performing service management according to the second mirror image warehouse address name and the second service name.
8. The apparatus according to claim 7, wherein the obtaining module is specifically configured to obtain, when each application corresponding to the identified first mirror repository address name is deployed, a third service name of each application; determining a common longest substring of the third service name of each application according to the third service name of each application; and taking the public longest substring as the first service name and storing the first service name.
9. The apparatus of claim 8, wherein the apparatus further comprises:
and the judging module is used for judging whether a first service name of the deployment application corresponding to the address name of the first mirror image warehouse is stored locally, if so, acquiring the first service name from the local, and if not, triggering the acquiring module.
10. The apparatus according to claim 7, wherein the management module is specifically configured to perform a splicing process on the second mirror repository address name and the second service name according to a preset format for cluster management, determine a service management command line, and perform service management according to the service management command line.
11. The apparatus according to claim 7, wherein the management module is further configured to, when receiving an image pull instruction, obtain each first image file name and each corresponding pull-destination device identification information carried in the image pull instruction; establishing a parallel mirror image pulling process according to the number of the first mirror image file names; and pulling the image file of each first image file name to the corresponding target equipment based on the parallel image pulling process and the identification information of each pulling target equipment.
12. The apparatus according to claim 7, wherein the management module is further configured to, when an image deletion instruction is received, obtain each second image file name carried in the image deletion instruction, and delete a local image file of each second image file name; and judging whether each second image file name carries preset deleting information, if so, forwarding the image deleting instruction to an image storage server, and enabling the image storage server to delete the image file of each second image file name.
13. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 6 when executing a program stored in the memory.
14. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1-6.
CN202011321084.0A 2020-11-23 2020-11-23 Cluster management method and device, electronic equipment and storage medium Active CN112363806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011321084.0A CN112363806B (en) 2020-11-23 2020-11-23 Cluster management method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011321084.0A CN112363806B (en) 2020-11-23 2020-11-23 Cluster management method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112363806A true CN112363806A (en) 2021-02-12
CN112363806B CN112363806B (en) 2023-09-22

Family

ID=74532782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011321084.0A Active CN112363806B (en) 2020-11-23 2020-11-23 Cluster management method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112363806B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116346473A (en) * 2023-03-29 2023-06-27 贝壳找房(北京)科技有限公司 Calling link identification method, equipment, storage medium and computer program product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011862A (en) * 2016-10-31 2018-05-08 中兴通讯股份有限公司 The mandate of mirror image warehouse, access, management method and server and client side
CN109391664A (en) * 2017-08-11 2019-02-26 中国电信股份有限公司 System and method for the deployment of more cluster containers
WO2019051919A1 (en) * 2017-09-18 2019-03-21 网宿科技股份有限公司 Method and apparatus for constructing mirror image
CN111666080A (en) * 2020-04-28 2020-09-15 平安科技(深圳)有限公司 Micro-service cluster deployment method and device, computer equipment and storage medium
CN111736956A (en) * 2020-06-29 2020-10-02 苏州浪潮智能科技有限公司 Container service deployment method, device, equipment and readable storage medium
CN111885122A (en) * 2020-07-03 2020-11-03 中移(杭州)信息技术有限公司 Remote pushing method, system, server and computer readable storage medium
CN111930388A (en) * 2020-07-13 2020-11-13 银盛支付服务股份有限公司 Continuous integration method and system based on k8s and docker container

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011862A (en) * 2016-10-31 2018-05-08 中兴通讯股份有限公司 The mandate of mirror image warehouse, access, management method and server and client side
CN109391664A (en) * 2017-08-11 2019-02-26 中国电信股份有限公司 System and method for the deployment of more cluster containers
WO2019051919A1 (en) * 2017-09-18 2019-03-21 网宿科技股份有限公司 Method and apparatus for constructing mirror image
CN111666080A (en) * 2020-04-28 2020-09-15 平安科技(深圳)有限公司 Micro-service cluster deployment method and device, computer equipment and storage medium
CN111736956A (en) * 2020-06-29 2020-10-02 苏州浪潮智能科技有限公司 Container service deployment method, device, equipment and readable storage medium
CN111885122A (en) * 2020-07-03 2020-11-03 中移(杭州)信息技术有限公司 Remote pushing method, system, server and computer readable storage medium
CN111930388A (en) * 2020-07-13 2020-11-13 银盛支付服务股份有限公司 Continuous integration method and system based on k8s and docker container

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116346473A (en) * 2023-03-29 2023-06-27 贝壳找房(北京)科技有限公司 Calling link identification method, equipment, storage medium and computer program product
CN116346473B (en) * 2023-03-29 2024-03-26 贝壳找房(北京)科技有限公司 Calling link identification method, equipment, storage medium and computer program product

Also Published As

Publication number Publication date
CN112363806B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
US10686755B2 (en) Assigning IP addresses and configuration parameters in hyper-converged infrastructure
US20190156246A1 (en) Generating and deploying packages for machine learning at edge devices
US9465625B2 (en) Provisioning of operating environments on a server in a networked environment
US10467015B2 (en) Method for out of band device configuration deployment and system therefor
CN113127150B (en) Rapid deployment method and device of cloud primary system, electronic equipment and storage medium
US9473356B2 (en) Automatic configuration of applications based on host metadata using application-specific templates
CN111666080A (en) Micro-service cluster deployment method and device, computer equipment and storage medium
CN109240754B (en) Logic device, method and system for configuring BIOS starting item
CN107329802B (en) Virtual machine creating method and electronic equipment
WO2021197579A1 (en) Method for deploying application software in cloud environments
CN110083366B (en) Application running environment generation method and device, computing equipment and storage medium
CN112363806B (en) Cluster management method and device, electronic equipment and storage medium
WO2021169811A1 (en) Method, apparatus, system and device for generating special effects, and storage medium
WO2016078326A1 (en) Method, apparatus and system for displaying names of virtual machine
CN111459619A (en) Method and device for realizing service based on cloud platform
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN114564210A (en) Copy deployment method, device, system, electronic equipment and storage medium
US11531530B1 (en) Dynamic automation of prerequisite component deployment in disconnected environments
US11709749B1 (en) Diagnostic data collection for kubernetes
US20230008839A1 (en) Smart environment assessment of prerequisites to private cloud provisioning
CN114615285A (en) Physical machine deployment method and device, electronic equipment and storage medium
CN111045787A (en) Rapid continuous experiment method and system
US12026494B2 (en) Dynamic automation of prerequisite component deployment in disconnected environments
CN112434278B (en) Bare metal authentication method, device, equipment and medium
US12013774B2 (en) Verification of core file debugging resources

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
GR01 Patent grant
GR01 Patent grant