CN113204410B - Container type localization deployment method, system, equipment and storage medium - Google Patents

Container type localization deployment method, system, equipment and storage medium Download PDF

Info

Publication number
CN113204410B
CN113204410B CN202110602680.4A CN202110602680A CN113204410B CN 113204410 B CN113204410 B CN 113204410B CN 202110602680 A CN202110602680 A CN 202110602680A CN 113204410 B CN113204410 B CN 113204410B
Authority
CN
China
Prior art keywords
deployment
node
working node
service
target
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.)
Active
Application number
CN202110602680.4A
Other languages
Chinese (zh)
Other versions
CN113204410A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202110602680.4A priority Critical patent/CN113204410B/en
Publication of CN113204410A publication Critical patent/CN113204410A/en
Application granted granted Critical
Publication of CN113204410B publication Critical patent/CN113204410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • 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/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to the technical field of distributed data, and discloses a container type localization deployment method, a system, equipment and a storage medium, wherein the method comprises the following steps: according to the mirror image delivery file of the container type localization deployment device obtained from the container of the management node, the target container type localization deployment device is deployed in the management node; invoking a target container type localization deployment device, carrying out authorization verification according to a server hardware identification code and operation deployment permission data in a storage node to obtain a target management node, and carrying out distributed deployment and service starting of a working node service cluster according to working node configuration data to obtain a target working node service cluster; and determining a target application system according to the target working node service cluster, the target management node and the storage node. The automatic authorization verification is realized, the deployment error rate is reduced, the construction time of system deployment is reduced, and the self-adaptive capacity of the system under the complex hardware environment is improved.

Description

Container type localization deployment method, system, equipment and storage medium
Technical Field
The present disclosure relates to the field of distributed data technologies, and in particular, to a container type localization deployment method, system, device, and storage medium.
Background
An application system which needs to run a large number of application services, needs complex configuration and relies on a large number of software and hardware computing resources can be well deployed on a Public Cloud (Public Cloud) platform by depending on a platform Public service provider. In an application scenario where a public cloud platform cannot be used, a server is blocked from accessing public network resources, most of dependent software and application services cannot be conveniently installed, and the application scenario can only adopt a localized deployment mode.
Under the condition of localized deployment, a large number of dependable public components are lacking, and generally, only minimum-required computing environments such as an operating system, a container, a network, a database, storage and the like can be provided, and continuous integrated environments and operation and maintenance environments such as instrument panel monitoring, version warehouse, service start-stop, cluster deployment and the like required by production environment deployment are lacking, so that the difficulty completely different from that of public cloud deployment can be faced; in the version deployment and upgrading process, more configuration and application services are integrated, the manual construction of the system and configuration services by operation and maintenance personnel is time-consuming, and errors are easy to occur, such as unpredictable accidents of temporarily forgetting operation commands, errors caused by keyboard input and the like; when the version and the application service dependence are complex, the start and stop of the application service are easy to make mistakes; how to resolve authorization verification is also a big challenge due to the diversity of deployment environments.
Disclosure of Invention
The main purpose of the application is to provide a container type localization deployment method, system, equipment and storage medium, which aim at solving the technical problems of how to perform localization deployment of an application system which needs to run a large number of application services, needs complex configuration and relies on a large number of software and hardware computing resources, reducing the construction time of system deployment, reducing the error rate of the system during deployment, improving the self-adaptive capacity of the system in a complex hardware environment and realizing automatic authorization verification.
In order to achieve the above object, the present application proposes a container type localization deployment method, which includes:
acquiring a container type localized deployment request of an application system to be deployed;
responding to the deployment request, acquiring a mirror image delivery file of the container type localization deployment device from a container of a management node, and installing and operating the container type localization deployment device in the management node according to the mirror image delivery file to obtain a target container type localization deployment device;
invoking the target container type localization deployment device, acquiring operation deployment permission data from a storage node, acquiring a server hardware identification code of the management node, and performing authorization verification according to the server hardware identification code and the operation deployment permission data to obtain a target management node;
Invoking the target container type localization deployment device to acquire working node configuration data, and storing the working node configuration data in the storage node;
invoking the target container type localization deployment device, and performing distributed deployment and service starting of a working node service cluster according to the working node configuration data in the storage node by adopting a remote execution mode to obtain a target working node service cluster;
and determining a target application system corresponding to the application system to be deployed according to the target working node service cluster, the target management node and the storage node.
Further, the step of performing authorization verification according to the server hardware identification code and the operation deployment permission data to obtain a target management node includes:
invoking a license service module of the target container type localization deployment device, and carrying out authorization verification according to the server hardware identification code and the operation deployment license data to obtain an authorization verification result;
and when the authorization verification result is passed, calling the license service module to determine that the management node is the target management node.
Further, before the step of obtaining the operation deployment permission data from the storage node, the method further includes:
acquiring a server hardware identification code of a node to be licensed and managed;
transmitting the server hardware identification code of the to-be-licensed management node to a licensed processing end;
the license processing end obtains the operation deployment license data sent by the server hardware identification code of the to-be-licensed management node, wherein the operation deployment license data comprises: the server hardware identification code of the licensed management node, the service role information of the working node, the maximum running number of the service roles of the working node and the maximum running specification of the service roles of the working node;
storing the operational deployment permission data in the storage node.
Further, the step of calling the target container type localization deployment device to obtain working node configuration data and storing the working node configuration data in the storage node includes:
invoking a configuration service module of the target container type localization deployment device to obtain a deployment configuration request, responding to the deployment configuration request to display a visual configuration interface, and obtaining the working node configuration data according to the visual configuration interface, wherein the working node configuration data comprises: distribution condition configuration data of the working nodes, access mode configuration data of the working nodes and service role configuration data of the working nodes;
And calling the configuration service module, and storing the working node configuration data in the storage node.
Further, the step of calling the target container type localization deployment device, performing distributed deployment and service starting of a working node service cluster according to the working node configuration data in the storage node by adopting a remote execution mode to obtain a target working node service cluster includes:
invoking a deployment service module of the target container type localization deployment device, adopting an SSH remote SHELL command, and respectively carrying out mirror image installation, parameter initialization and starting of application service on each working node corresponding to the working node configuration data according to a version warehouse module of the target container type localization deployment device and the working node configuration data in the storage node to obtain a working node deployment result corresponding to each working node;
and when all the working node deployment results are successful, calling the deployment service module, and carrying out mutual communication processing on the application services corresponding to all the working nodes according to the working node configuration data in the storage node to obtain the target working node service cluster.
Further, the step of calling the deployment service module of the target container type localization deployment device, using an SSH remote SHELL command, and respectively performing mirror image installation, parameter initialization and starting of application services on each working node corresponding to the working node configuration data according to the version warehouse module of the target container type localization deployment device and the working node configuration data in the storage node to obtain the working node deployment result corresponding to each working node, includes:
invoking the deployment service module, and extracting one working node from the working nodes corresponding to the working node configuration data as a working node to be processed;
calling the deployment service module, and acquiring an application service image from the version warehouse module according to the working node to be processed and the working node configuration data to obtain the application service image;
invoking the deployment service module, and storing the application service image into a Docker virtualization container in a server corresponding to the working node to be processed;
invoking the deployment service module, and performing mirror image installation of application service by adopting an SSH remote SHELL command according to the working node configuration data and the application service mirror image in the Docker virtualization container in the server corresponding to the working node to be processed to obtain the application service to be initialized;
Invoking the deployment service module, initializing the parameters of the application service to be initialized according to the working node configuration data by adopting an SSH remote SHELL command to obtain the application service to be started;
invoking the deployment service module, starting the application service to be started according to the working node configuration data by adopting an SSH remote SHELL command, and determining that the working node deployment result corresponding to the working node to be processed is successful when the starting is successful;
and repeatedly executing the steps of calling the deployment service module and extracting one working node from the working nodes corresponding to the working node configuration data as the working node to be processed until the respective corresponding working node deployment results of the working nodes are determined.
Further, after the step of determining the target application system corresponding to the application system to be deployed according to the target working node service cluster, the target management node, and the storage node, the method further includes:
calling a configuration service module of the target container type localization deployment device, monitoring working node service operation data of the target working node service cluster, and storing the working node service operation data in an operation data file of the storage node;
And calling the configuration service module to acquire an operation data display request, responding to the operation data display request, and displaying an operation data interface of the working node according to the operation data file in the storage node to acquire an operation data interface of the target working node.
The application also proposes a container-type localization deployment system, comprising:
the request acquisition module is used for acquiring a container type localized deployment request of an application system to be deployed;
the target container type localization deployment device determining module is used for responding to the deployment request, acquiring a mirror image delivery file of the container type localization deployment device from a container of a management node, and installing and operating the container type localization deployment device in the management node according to the mirror image delivery file to obtain the target container type localization deployment device;
the target management node determining module is used for calling the target container type localization deployment device, acquiring operation deployment permission data from a storage node, acquiring a server hardware identification code of the management node, and carrying out authorization verification according to the server hardware identification code and the operation deployment permission data to obtain a target management node;
The working node configuration data acquisition module is used for calling the target container type localization deployment device to acquire working node configuration data and storing the working node configuration data in the storage node;
the target working node service cluster determining module is used for calling the target container type localization deployment device, and performing distributed deployment and service starting of the working node service clusters according to the working node configuration data in the storage nodes in a remote execution mode to obtain target working node service clusters;
and the target application system determining module is used for determining a target application system corresponding to the application system to be deployed according to the target working node service cluster, the target management node and the storage node.
The present application also proposes a computer device comprising a memory storing a computer program and a processor implementing the steps of any of the methods described above when the processor executes the computer program.
The present application also proposes a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method of any of the above.
According to the container type localization deployment method, system, equipment and storage medium, firstly, a mirror image delivery file of a container type localization deployment device is acquired from a container of a management node in response to a container type localization deployment request, the container type localization deployment device is installed and operated in the management node according to the mirror image delivery file to obtain a target container type localization deployment device, then the target container type localization deployment device is called, operation deployment permission data is acquired from the storage node, a server hardware identification code of the management node is acquired, authorization verification is carried out according to the server hardware identification code and the operation deployment permission data to obtain a target management node, working node configuration data is acquired, the working node configuration data is stored in the storage node, the target localization deployment device is called, a remote execution mode is adopted, distributed deployment and service starting of a working node service cluster are carried out according to the working node configuration data in the storage node, the remote execution mode is adopted, distributed deployment and service starting of the working node service cluster are carried out according to the working node configuration data in the storage node, finally, the automatic deployment system authorization verification is realized according to the target deployment and the target deployment permission data, and the automatic deployment system is realized, and the automatic deployment of the system is reduced; moreover, the target container type localization deployment device is adopted, so that the deployment process does not depend on external resources, and the self-adaptive capacity of the system in the complex hardware environment is improved.
Drawings
FIG. 1 is a flow chart of a container type localization deployment method according to an embodiment of the present application;
FIG. 2 is a block diagram of a localization deployment system of a container type according to an embodiment of the present application;
fig. 3 is a block diagram schematically illustrating a structure of a computer device according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Referring to fig. 1, in an embodiment of the present application, a container type localization deployment method is provided, where the method includes:
s1: acquiring a container type localized deployment request of an application system to be deployed;
s2: responding to the deployment request, acquiring a mirror image delivery file of the container type localization deployment device from a container of a management node, and installing and operating the container type localization deployment device in the management node according to the mirror image delivery file to obtain a target container type localization deployment device;
S3: invoking the target container type localization deployment device, acquiring operation deployment permission data from a storage node, acquiring a server hardware identification code of the management node, and performing authorization verification according to the server hardware identification code and the operation deployment permission data to obtain a target management node;
s4: invoking the target container type localization deployment device to acquire working node configuration data, and storing the working node configuration data in the storage node;
s5: invoking the target container type localization deployment device, and performing distributed deployment and service starting of a working node service cluster according to the working node configuration data in the storage node by adopting a remote execution mode to obtain a target working node service cluster;
s6: and determining a target application system corresponding to the application system to be deployed according to the target working node service cluster, the target management node and the storage node.
According to the embodiment, a mirror image delivery file of a container type localization deployment device is acquired from a container of a management node in response to a container type localization deployment request, the container type localization deployment device is installed and operated in the management node according to the mirror image delivery file to obtain a target container type localization deployment device, then the target container type localization deployment device is called, operation deployment permission data is acquired from a storage node, a server hardware identification code of the management node is acquired, authorization verification is carried out according to the server hardware identification code and the operation deployment permission data to obtain a target management node, working node configuration data is acquired, the working node configuration data is stored in the storage node, the target container type localization deployment device is called, distributed deployment and service starting of the working node service cluster are carried out according to the working node configuration data in the storage node in a remote execution mode to obtain a target working node service cluster, distributed deployment and service starting of the working node service cluster are carried out according to the working node configuration data in the storage node, finally the target working node service cluster is obtained, the target working node configuration data is used for carrying out authorization verification according to the target working node service cluster, the target management node and the storage node, the automatic deployment permission data is used for determining the corresponding application system, and the authorization verification is reduced, and the system deployment error rate is automatically reduced; moreover, the target container type localization deployment device is adopted, so that the deployment process does not depend on external resources, and the self-adaptive capacity of the system in the complex hardware environment is improved.
For S1, the acquire deployment enforcer sends a container-type localized deployment request.
The container type localization deployment request is a request for deploying an application system to be deployed by adopting a container type localization deployment method.
The application systems to be deployed include, but are not limited to: voiceprint recognition systems. The voiceprint recognition system can be widely applied to various business scenes, the processing technology in the voiceprint recognition field comprises complex types such as multimedia processing, AI (advanced technology) intelligence, algorithm training reasoning, network communication and the like, the complete system operation needs to run a large number of application services, complex configuration is needed, and a large number of software and hardware computing resources such as GPU (graphic processor), CPU (central processing unit), network, storage, acquisition equipment and the like are relied on; in order to meet the rapid change of complex application scenes and requirements, the whole period from the requirements to the production of the voiceprint product needs to be completed more rapidly, the voiceprint product generally adopts a micro-service architecture to realize distributed computation, and a agile development (Agile Development) flow and continuous integration, continuous delivery and continuous deployment are adopted in the development process.
Before the step of obtaining the container-type localized deployment request of the application system to be deployed, the method further comprises the following steps: node definition is carried out on the standardized general computing resources to obtain a management node set, a storage node and a working node set; performing operation environment configuration on each node (any node corresponding to a management node set, a storage node and a working node set) respectively; acquiring a mirror image delivery file of the container type localization deployment device; the image delivery file is stored in a container of the management node.
And the mirror image delivery file is a Docker (open-source application container engine) mirror image file obtained by packaging the application system to be deployed. The Docker mirror image is a special file system, and besides the files of programs, libraries, resources, configurations and the like required by the running of the container, the file image also contains some configuration parameters (such as anonymous volumes, environment variables, users and the like) prepared for the running, and the mirror image does not contain any dynamic data, and the content of the mirror image is not changed after the mirror image is constructed.
Standardized general purpose computing resources include: standardized products such as servers (GPU or CPU types), operating systems (including GPU drivers), docker services, storage services (databases or NAS), network environments, and the like.
Optionally, the storage node is a CA (single point cluster, system meeting consistency, availability, typically less powerful in scalability) type of persistent single point cluster storage node.
It will be appreciated that the number of management nodes in the set of management nodes is one or more.
It will be appreciated that the number of working nodes in the working node set is one or more.
Each node (any node corresponding to the management node set, the storage node and the working node set) is configured with an operation environment, specifically: the method comprises the steps of completing the assembly, power-on, network connection and network call-through of all servers corresponding to all nodes, installing an operating system Centos7, installing NAS storage (namely a storage node) to a management node, and configuring an SSH (protocol special for providing security for a remote login session and other network services) remote access function, so that all servers are in the same local area network.
It will be appreciated that the working node and the management node communicate remotely via the SSH protocol (a protocol that provides security specifically for telnet sessions and other network services).
A Docker (open-source application container engine) environment is installed and run on a server corresponding to each node (any one of the set of management nodes, the set of storage nodes, and the set of working nodes).
And S2, responding to the deployment request, acquiring an image delivery file of the container type localization deployment device from a Docker virtualization container on a server corresponding to the management node, carrying out image loading on the acquired image delivery file of the container type localization deployment device by adopting a command Docker load-i abc-v1.0.Tar, and then adopting a command Docker run-v/abc:/abc-p 8080:8080-p 5000:5000-d abc: v1.0 to operate and load an obtained image, and taking the successfully operated image as a target container type localization deployment device.
The management node is any management node in a management node set obtained by carrying out node definition on the standardized general computing resources.
Optionally, the management node adopts distributed deployment, and one or more Replicas (replication) examples exist in the management node, so that the management node adopts one or more tasks to independently operate the target container type localization deployment device, and the fault tolerance of the target container type localization deployment device for providing services is improved.
And S3, calling the target container type localization deployment device, checking the server hardware identification code of the management node, acquiring operation deployment permission data from a storage node, performing authorization verification according to the checked server hardware identification code of the management node and the server hardware identification code of the licensed management node in the operation deployment permission data, determining whether the management node is a trusted environment according to an authorization verification result, and determining the management node as a target management node when the management node is determined to be the trusted environment.
The running deployment license data is license data provided by a generator of an application system to be deployed.
The server hardware identification code is unique identification information such as a server motherboard ID and a system serial number.
The target container type localization deployment device comprises: version repository module, deployment service module, configuration service module, and license service module. The version warehouse module is used for providing mirror image warehouse services and comprises Docker mirrors of all the services to be deployed at the time; the deployment service module is used for providing functions of remote initialization, remote installation, remote unloading, remote detection and the like; the configuration service module is used for providing functions such as configuration graphical user interface, node configuration, operation data display and the like; and the license service module is used for providing functions such as hardware unique code detection, license verification and the like.
And S4, calling the target container type localization deployment device, acquiring working node configuration data input by a user, and storing the working node configuration data in the storage node.
The working node configuration data is configuration data required for deploying the servers corresponding to the working nodes. The working node configuration data includes, but is not limited to: distribution condition configuration data of the working nodes, access mode configuration data of the working nodes and service role configuration data of the working nodes.
Each worker node includes at least one worker node service role.
Optionally, the working node adopts distributed deployment, and one or more Replicas examples exist in the working node, so that the working node simultaneously adopts one or more application services corresponding to the independently operated working node, and the fault tolerance of the service provided by the application service corresponding to the working node is improved.
The working node service roles include, but are not limited to: the target container type localization deployment device can generate a real executable remote deployment command after necessary information such as an IP address, a user name and a password of SSH remote access is supplemented, wherein the necessary information such as the supplementary IP address of working node configuration data, the user name and the password of SSH remote access is supplemented. The API gateway is an interface route. WEB services, which are platform independent, low-coupling, self-contained, programmable WEB-based applications, can be described, published, discovered, orchestrated, and configured using open XML (a subset of standard generic markup language) standards for developing distributed interoperable applications. The GPU algorithm engine service is an engine service of a graphics processing algorithm. The CPU algorithm service is an application service of a CPU algorithm (mainly, a scheduling algorithm of a central processing unit).
And S5, calling the target container type localization deployment device, and respectively carrying out mirror image installation, parameter initialization, application service starting and cluster setting on each working node corresponding to the working node configuration data in the storage node according to the version warehouse module of the target container type localization deployment device and the working node configuration data in the storage node by adopting a remote execution mode, wherein all the working nodes after deployment are used as target working node service clusters.
And S6, taking the target working node service cluster, the target management node and the storage node as target application systems corresponding to the application systems to be deployed. That is, the target application system already includes the application system to be deployed and the software and application services that the application system to be deployed depends on when running.
That is, through steps S1 to S6, the deployment implementation personnel only need to perform configuration and operation on the target management node, because each working node of the target working node service cluster is remotely communicated with the management node by the SSH protocol, the deployment implementation personnel does not need to perform repeated operation on each working node of the target working node service cluster.
In one embodiment, the step of performing authorization verification according to the server hardware identifier and the operation deployment permission data to obtain the target management node includes:
s311: invoking a license service module of the target container type localization deployment device, and carrying out authorization verification according to the server hardware identification code and the operation deployment license data to obtain an authorization verification result;
s312: and when the authorization verification result is passed, calling the license service module to determine that the management node is the target management node.
The embodiment realizes the authorization verification according to the server hardware identification code and the operation deployment permission data, and after the authorization verification, the service can be ensured to operate in a trusted environment, thereby being beneficial to improving the operation safety of a target application system which is successfully deployed.
And S311, calling a license service module of the target container type localization deployment device, comparing the server hardware identification code of the management node with the server hardware identification code of the licensed management node in the running deployment license data, determining that the authorization verification result is successful when the server hardware identification code of the management node is the same as the server hardware identification code of the licensed management node in the running deployment license data, and determining that the authorization verification result is failed when the server hardware identification code of the management node is different from the server hardware identification code of the licensed management node in the running deployment license data.
When the authorization verification result is failure, generating an authorization verification failure signal; and carrying out authorization verification failure reminding on deployment implementation personnel according to the authorization verification failure signal.
For S312, when the authorization verification result is passed, it means that the management node is trusted, so the license service module may be invoked to determine that the management node is the target management node, thereby completing deployment of the management node.
In one embodiment, before the step of obtaining the operation deployment permission data from the storage node, the method further includes:
s321: acquiring a server hardware identification code of a node to be licensed and managed;
s322: transmitting the server hardware identification code of the to-be-licensed management node to a licensed processing end;
s323: the license processing end obtains the operation deployment license data sent by the server hardware identification code of the to-be-licensed management node, wherein the operation deployment license data comprises: the server hardware identification code of the licensed management node, the service role information of the working node, the maximum running number of the service roles of the working node and the maximum running specification of the service roles of the working node;
S324: storing the operational deployment permission data in the storage node.
The embodiment realizes that the operation deployment permission data is stored in the storage node in advance, so that the external resources are not required to be acquired through networking in the authorization verification, and the automation of the authorization verification is facilitated under the condition that the external resources are not required to be acquired through networking in the localized deployment.
For S321, a server hardware identification code of the to-be-licensed management node input by the user is acquired.
The server hardware identification code of the management node to be licensed, i.e. the server hardware identification code of the server intended to be the management node.
For S322, the server hardware identifier of the to-be-licensed management node is first sent to the license processing end, so that the license responsible person can obtain the server hardware identifier of the to-be-licensed management node from the license processing end, then the server hardware identifier of the to-be-licensed management node is sent to the authorizer corresponding to the to-be-deployed application system, the operation deployment license data sent by the authorizer according to the server hardware identifier of the to-be-licensed management node is obtained, and finally the license responsible person returns the operation deployment license data through the license processing end.
For S323, the license processing end obtains the operation deployment license data sent by the server hardware identification code of the to-be-licensed management node, that is, the operation deployment license data is the authorization of using the server corresponding to the server hardware identification code of the to-be-licensed management node as the management node to deploy the application system to be deployed.
The server hardware identification code of the licensed management node is a server hardware identification code of a server corresponding to the management node for deploying the application system to be deployed.
The service role information of the working node is description information of the service role of the working node required by the application system to be deployed. For example, the working node service role information includes: the API network management, GPU algorithm engine services, and CPU algorithm services are not specifically limited herein by way of example.
The maximum number of operational node service roles is the maximum number of operational roles per operational node service role required by the application system to be deployed. That is, each worker node service role may have one or more worker nodes running simultaneously. For example, the maximum number of operations of the service roles of the working node includes: the maximum number of running API webmaster is 2, the maximum number of running GPU algorithm engine service is 5, and the maximum number of running CPU algorithm service is 8, which are not particularly limited here by way of example.
The maximum operating specification of the working node service roles is a description of the maximum operating specification of each working node service role required by the application system to be deployed.
For S324, the operational deployment permission data is stored in the storage node to enable the operational deployment permission data to be stored in the storage node in advance.
In one embodiment, the step of calling the target container type localization deployment device to obtain working node configuration data and storing the working node configuration data in the storage node includes:
s41: invoking a configuration service module of the target container type localization deployment device to obtain a deployment configuration request, responding to the deployment configuration request to display a visual configuration interface, and obtaining the working node configuration data according to the visual configuration interface, wherein the working node configuration data comprises: distribution condition configuration data of the working nodes, access mode configuration data of the working nodes and service role configuration data of the working nodes;
s42: and calling the configuration service module, and storing the working node configuration data in the storage node.
The embodiment realizes the visual configuration through the configuration service module of the target container type localization deployment device, thereby improving the configuration speed, reducing the workload of deployment implementation personnel and improving the localization deployment efficiency.
And S41, calling a configuration service module of the target container type localization deployment device to acquire a deployment configuration request input by a user.
The deployment configuration request is a request for configuring configuration data required for deploying the working node.
The configuration service module displays a visual configuration interface when receiving a deployment configuration request, wherein the visual configuration interface is a WEB page. After filling configuration data in the visual configuration interface, deployment implementation personnel submits a deployment completion request. And when receiving a deployment completion request, the configuration service module generates the working node configuration data according to the data in the visual configuration interface.
Distribution profile configuration data for the operating nodes includes, but is not limited to: the system comprises working node service roles and working node IP address sets, wherein each working node service role corresponds to one working node IP address set, and each working node IP address set comprises at least one working node IP address.
The working node access mode configuration data includes: the method comprises the steps of working node IP addresses, service port data, SSH remote access users and SSH remote access passwords, wherein each working node IP address corresponds to one service port data, one SSH remote access user and one SSH remote access password.
The service role configuration data of the working node includes: working node service roles and service role configuration data, wherein each working node service role corresponds to one service role configuration data. The service role configuration data is configuration data required by the worker node to implement the worker node service role.
And for S42, calling the configuration service module and storing the configuration data of the working node in the storage node, so that localized deployment is facilitated to be automatically carried out.
In one embodiment, the step of calling the target container type localization deployment device to perform distributed deployment and service start of the working node service cluster according to the working node configuration data in the storage node by adopting a remote execution mode to obtain a target working node service cluster includes:
s51: invoking a deployment service module of the target container type localization deployment device, adopting an SSH remote SHELL command, and respectively carrying out mirror image installation, parameter initialization and starting of application service on each working node corresponding to the working node configuration data according to a version warehouse module of the target container type localization deployment device and the working node configuration data in the storage node to obtain a working node deployment result corresponding to each working node;
S52: and when all the working node deployment results are successful, calling the deployment service module, and carrying out mutual communication processing on the application services corresponding to all the working nodes according to the working node configuration data in the storage node to obtain the target working node service cluster.
The embodiment realizes that the deployment service module of the target container type localization deployment device is adopted to automatically deploy the application service and start the cluster for the working node, thereby reducing the deployment error rate and the construction time of the system deployment; moreover, the target container type localization deployment device is adopted, so that the deployment process does not depend on external resources, and the self-adaptive capacity of the system in the complex hardware environment is improved.
And S51, calling a deployment service module of the target container type localization deployment device, adopting an SSH remote SHELL command, acquiring an application service image from a version warehouse module of the target container type localization deployment device according to the working node configuration data in the storage node, and sequentially carrying out image installation, parameter initialization and starting of the application service on the corresponding working node to obtain the respective corresponding working node deployment result of each working node.
SSH remote SHELL commands, i.e. SHELL commands that employ a remote under the SSH framework.
The SHELL command interactively interprets and executes a command input by a user or automatically interprets and executes a series of commands set in advance.
And for S52, when the deployment results of all the working nodes are successful, the method means that all application services corresponding to the application system to be deployed are successfully installed, the deployment service module is called at the moment, the application services corresponding to all the working nodes are processed for mutual communication according to the working node configuration data in the storage nodes, and all the working nodes which are processed for mutual communication are used as the target working node service cluster.
In one embodiment, the step of calling the deployment service module of the target container type localization deployment device, using an SSH remote SHELL command, and respectively performing mirror image installation, parameter initialization and starting of an application service on each working node corresponding to the working node configuration data according to the version warehouse module of the target container type localization deployment device and the working node configuration data in the storage node to obtain a working node deployment result corresponding to each working node, includes:
S511: invoking the deployment service module, and extracting one working node from the working nodes corresponding to the working node configuration data as a working node to be processed;
s512: calling the deployment service module, and acquiring an application service image from the version warehouse module according to the working node to be processed and the working node configuration data to obtain the application service image;
s513: invoking the deployment service module, and storing the application service image into a Docker virtualization container in a server corresponding to the working node to be processed;
s514: invoking the deployment service module, and performing mirror image installation of application service by adopting an SSH remote SHELL command according to the working node configuration data and the application service mirror image in the Docker virtualization container in the server corresponding to the working node to be processed to obtain the application service to be initialized;
s515: invoking the deployment service module, initializing the parameters of the application service to be initialized according to the working node configuration data by adopting an SSH remote SHELL command to obtain the application service to be started;
s516: invoking the deployment service module, starting the application service to be started according to the working node configuration data by adopting an SSH remote SHELL command, and determining that the working node deployment result corresponding to the working node to be processed is successful when the starting is successful;
S517: and repeatedly executing the steps of calling the deployment service module and extracting one working node from the working nodes corresponding to the working node configuration data as the working node to be processed until the respective corresponding working node deployment results of the working nodes are determined.
In the embodiment, the deployment service module of the target container type localization deployment device is adopted to automatically deploy the application service to the working node, so that the deployment error rate is reduced, and the construction time of system deployment is shortened; moreover, the target container type localization deployment device is adopted, so that the deployment process does not depend on external resources, and the self-adaptive capacity of the system in the complex hardware environment is improved.
And S511, calling the deployment service module, sequentially extracting one working node from all the working nodes corresponding to the working node configuration data, and taking the extracted working node as a working node to be processed.
And for S512, calling the deployment service module, determining an application service identifier according to the working node to be processed and the working node configuration data, and taking the acquired application service image as an application service image in the application service image acquired from the version warehouse module according to the application service identifier.
The application service identifier may be an identifier that uniquely identifies an application service, such as an application service name, an application service ID, etc.
It will be appreciated that the application system to be deployed also serves as an application service.
And for S513, the deployment service module is called, and the application service image is stored in a Docker virtualization container in a server corresponding to the working node to be processed, so that support is provided for locally acquiring the application service image, and the efficiency of the deployment of the working node is improved.
And for S514, calling the deployment service module, adopting an SSH remote SHELL command, and according to the configuration data of the working node and the application service mirror image in the Docker virtualization container in the server corresponding to the working node to be processed, carrying out mirror image installation of the application service on the working node to be processed, and taking the application service after installation as the application service to be initialized.
And for S515, calling the deployment service module, initializing the parameters of the application service to be initialized according to the working node configuration data by adopting an SSH remote SHELL command, namely closing and unloading the existing application service in the working node to be processed, and taking the application service to be initialized as the application service to be started after the initialization is completed, thereby avoiding errors caused by data residues of the old application service and reducing the probability of errors.
For S516, the deployment service module is invoked, and an SSH remote SHELL command is adopted, according to the working node configuration data, the application service to be started is started, and when the application service to be started is successfully started, it is determined that the working node deployment result corresponding to the working node to be processed is successful; and when the application service to be started is not successfully started, determining that the working node deployment result corresponding to the working node to be processed is failure.
For S517, steps S511 to S517 are repeatedly performed until the work node deployment result corresponding to each of the work nodes is determined.
In one embodiment, after the step of determining the target application system corresponding to the application system to be deployed according to the target working node service cluster, the target management node, and the storage node, the method further includes:
s7: calling a configuration service module of the target container type localization deployment device, monitoring working node service operation data of the target working node service cluster, and storing the working node service operation data in an operation data file of the storage node;
S8: and calling the configuration service module to acquire an operation data display request, responding to the operation data display request, and displaying an operation data interface of the working node according to the operation data file in the storage node to acquire an operation data interface of the target working node.
According to the embodiment, the configuration service module of the target container type localization deployment device monitors a target working node service cluster of the target application system, and performs working node operation data interface display according to the operation data file in the storage node, so that an operation and maintenance person is not required to obtain working node service operation data from each working node, one-key type working node operation data interface display is realized, and the workload of the operation and maintenance person is reduced.
S7, a configuration service module of the target container type localization deployment device is called to receive working node service operation data actively sent by the target working node service cluster, and the received working node service operation data is stored in an operation data file of the storage node; and the configuration service module of the target container type localization deployment device actively acquires working node service operation data from the target working node service cluster by adopting an SSH remote SHELL command, and stores the acquired working node service operation data in an operation data file of the storage node. That is, listening includes: passive reception and active acquisition.
The operational node service operational data includes, but is not limited to: number of requests, number of calculations, error rate, query rate per second.
And S8, calling the configuration service module to acquire an operation data display request input by a user, acquiring the operation data file from the storage node when the operation data display request is received, displaying the operation data file in an operation data interface of the operation node according to the acquired operation data file, and taking the successfully displayed operation data interface of the operation node as a target operation data interface of the operation node.
A request for displaying the running data, namely, a request for visually displaying the running data file in the storage node.
The working node operation data interface is a WEB interface.
Referring to fig. 2, the present application also proposes a container-type localized deployment system comprising:
a request acquisition module 100, configured to acquire a container-type localized deployment request of an application system to be deployed;
the target container type localization deployment device determining module 200 is configured to obtain a mirror image delivery file of the container type localization deployment device from a container of a management node in response to the deployment request, and install and operate the container type localization deployment device in the management node according to the mirror image delivery file to obtain the target container type localization deployment device;
The target management node determining module 300 is configured to invoke the target container type localization deployment device, obtain operation deployment permission data from a storage node, obtain a server hardware identification code of the management node, and perform authorization verification according to the server hardware identification code and the operation deployment permission data to obtain a target management node;
a working node configuration data obtaining module 400, configured to invoke the target container type localization deployment device, obtain working node configuration data, and store the working node configuration data in the storage node;
the target working node service cluster determining module 500 is configured to invoke the target container type localization deployment device, perform distributed deployment and service startup of the working node service clusters according to the working node configuration data in the storage node by adopting a remote execution mode, and obtain a target working node service cluster;
and the target application system determining module 600 is configured to determine a target application system corresponding to the application system to be deployed according to the target working node service cluster, the target management node, and the storage node.
According to the embodiment, a mirror image delivery file of a container type localization deployment device is acquired from a container of a management node in response to a container type localization deployment request, the container type localization deployment device is installed and operated in the management node according to the mirror image delivery file to obtain a target container type localization deployment device, then the target container type localization deployment device is called, operation deployment permission data is acquired from a storage node, a server hardware identification code of the management node is acquired, authorization verification is carried out according to the server hardware identification code and the operation deployment permission data to obtain a target management node, working node configuration data is acquired, the working node configuration data is stored in the storage node, the target container type localization deployment device is called, distributed deployment and service starting of the working node service cluster are carried out according to the working node configuration data in the storage node in a remote execution mode to obtain a target working node service cluster, distributed deployment and service starting of the working node service cluster are carried out according to the working node configuration data in the storage node, finally the target working node service cluster is obtained, the target working node configuration data is used for carrying out authorization verification according to the target working node service cluster, the target management node and the storage node, the automatic deployment permission data is used for determining the corresponding application system, and the authorization verification is reduced, and the system deployment error rate is automatically reduced; moreover, the target container type localization deployment device is adopted, so that the deployment process does not depend on external resources, and the self-adaptive capacity of the system in the complex hardware environment is improved.
Referring to fig. 3, a computer device is further provided in the embodiment of the present application, where the computer device may be a server, and the internal structure of the computer device may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer equipment is used for storing data such as container type localization deployment methods and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a container-based localized deployment method. The container type localization deployment method comprises the following steps: acquiring a container type localized deployment request of an application system to be deployed; responding to the deployment request, acquiring a mirror image delivery file of the container type localization deployment device from a container of a management node, and installing and operating the container type localization deployment device in the management node according to the mirror image delivery file to obtain a target container type localization deployment device; invoking the target container type localization deployment device, acquiring operation deployment permission data from a storage node, acquiring a server hardware identification code of the management node, and performing authorization verification according to the server hardware identification code and the operation deployment permission data to obtain a target management node; invoking the target container type localization deployment device to acquire working node configuration data, and storing the working node configuration data in the storage node; invoking the target container type localization deployment device, and performing distributed deployment and service starting of a working node service cluster according to the working node configuration data in the storage node by adopting a remote execution mode to obtain a target working node service cluster; and determining a target application system corresponding to the application system to be deployed according to the target working node service cluster, the target management node and the storage node.
According to the embodiment, a mirror image delivery file of a container type localization deployment device is acquired from a container of a management node in response to a container type localization deployment request, the container type localization deployment device is installed and operated in the management node according to the mirror image delivery file to obtain a target container type localization deployment device, then the target container type localization deployment device is called, operation deployment permission data is acquired from a storage node, a server hardware identification code of the management node is acquired, authorization verification is carried out according to the server hardware identification code and the operation deployment permission data to obtain a target management node, working node configuration data is acquired, the working node configuration data is stored in the storage node, the target container type localization deployment device is called, distributed deployment and service starting of the working node service cluster are carried out according to the working node configuration data in the storage node in a remote execution mode to obtain a target working node service cluster, distributed deployment and service starting of the working node service cluster are carried out according to the working node configuration data in the storage node, finally the target working node service cluster is obtained, the target working node configuration data is used for carrying out authorization verification according to the target working node service cluster, the target management node and the storage node, the automatic deployment permission data is used for determining the corresponding application system, and the authorization verification is reduced, and the system deployment error rate is automatically reduced; moreover, the target container type localization deployment device is adopted, so that the deployment process does not depend on external resources, and the self-adaptive capacity of the system in the complex hardware environment is improved.
An embodiment of the present application further provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements a container-type localization deployment method, including the steps of: acquiring a container type localized deployment request of an application system to be deployed; responding to the deployment request, acquiring a mirror image delivery file of the container type localization deployment device from a container of a management node, and installing and operating the container type localization deployment device in the management node according to the mirror image delivery file to obtain a target container type localization deployment device; invoking the target container type localization deployment device, acquiring operation deployment permission data from a storage node, acquiring a server hardware identification code of the management node, and performing authorization verification according to the server hardware identification code and the operation deployment permission data to obtain a target management node; invoking the target container type localization deployment device to acquire working node configuration data, and storing the working node configuration data in the storage node; invoking the target container type localization deployment device, and performing distributed deployment and service starting of a working node service cluster according to the working node configuration data in the storage node by adopting a remote execution mode to obtain a target working node service cluster; and determining a target application system corresponding to the application system to be deployed according to the target working node service cluster, the target management node and the storage node.
According to the container type localization deployment method, firstly, a container type localization deployment device mirror image delivery file is acquired from a container of a management node in response to a container type localization deployment request, installation and operation of the container type localization deployment device are carried out in the management node according to the container type localization deployment device to obtain a target container type localization deployment device, then the target container type localization deployment device is called, operation deployment permission data is acquired from a storage node, a server hardware identification code of the management node is acquired, authorization verification is carried out according to the server hardware identification code and the operation deployment permission data to obtain a target management node, working node configuration data is acquired, the working node configuration data is stored in the storage node, the target container type localization deployment device is called, distributed deployment and service starting of a working node service cluster are carried out according to the working node configuration data in the storage node in a remote execution mode to obtain a target working node service cluster, finally, the automatic deployment of the target working node service cluster is carried out according to the working node configuration data in the storage node, the target working node service cluster is obtained, the automatic deployment error rate of the target deployment system is reduced, and the authorization verification of the application system is realized, and the system is deployed automatically, and the system is deployed in a corresponding mode is reduced; moreover, the target container type localization deployment device is adopted, so that the deployment process does not depend on external resources, and the self-adaptive capacity of the system in the complex hardware environment is improved.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided herein and used in embodiments may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or method that comprises the element.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (8)

1. A container-type localized deployment method, the method comprising:
acquiring a container type localized deployment request of an application system to be deployed;
responding to the deployment request, acquiring a mirror image delivery file of the container type localization deployment device from a container of a management node, and installing and operating the container type localization deployment device in the management node according to the mirror image delivery file to obtain a target container type localization deployment device;
Invoking the target container type localization deployment device, acquiring operation deployment permission data from a storage node, acquiring a server hardware identification code of the management node, and performing authorization verification according to the server hardware identification code and the operation deployment permission data to obtain a target management node;
invoking the target container type localization deployment device to acquire working node configuration data, and storing the working node configuration data in the storage node;
invoking the target container type localization deployment device, and performing distributed deployment and service starting of a working node service cluster according to the working node configuration data in the storage node by adopting a remote execution mode to obtain a target working node service cluster;
determining a target application system corresponding to the application system to be deployed according to the target working node service cluster, the target management node and the storage node;
the step of calling the target container type localization deployment device, performing distributed deployment and service starting of a working node service cluster according to the working node configuration data in the storage node by adopting a remote execution mode to obtain a target working node service cluster comprises the following steps:
Invoking a deployment service module of the target container type localization deployment device, adopting an SSH remote SHELL command, and respectively carrying out mirror image installation, parameter initialization and starting of application service on each working node corresponding to the working node configuration data according to a version warehouse module of the target container type localization deployment device and the working node configuration data in the storage node to obtain a working node deployment result corresponding to each working node;
when all the working node deployment results are successful, the deployment service module is called, and the application services corresponding to all the working nodes are mutually communicated according to the working node configuration data in the storage nodes, so that the target working node service cluster is obtained;
the step of calling a deployment service module of the target container type localization deployment device, adopting an SSH remote SHELL command, and respectively carrying out mirror image installation, parameter initialization and starting of application service on each working node corresponding to the working node configuration data according to a version warehouse module of the target container type localization deployment device and the working node configuration data in the storage node to obtain a working node deployment result corresponding to each working node, comprises the following steps:
Invoking the deployment service module, and extracting one working node from the working nodes corresponding to the working node configuration data as a working node to be processed;
calling the deployment service module, and acquiring an application service image from the version warehouse module according to the working node to be processed and the working node configuration data to obtain the application service image;
invoking the deployment service module, and storing the application service image into a Docker virtualization container in a server corresponding to the working node to be processed;
invoking the deployment service module, and performing mirror image installation of application service by adopting an SSH remote SHELL command according to the working node configuration data and the application service mirror image in the Docker virtualization container in the server corresponding to the working node to be processed to obtain the application service to be initialized;
invoking the deployment service module, initializing the parameters of the application service to be initialized according to the working node configuration data by adopting an SSH remote SHELL command to obtain the application service to be started;
invoking the deployment service module, starting the application service to be started according to the working node configuration data by adopting an SSH remote SHELL command, and determining that the working node deployment result corresponding to the working node to be processed is successful when the starting is successful;
And repeatedly executing the steps of calling the deployment service module and extracting one working node from the working nodes corresponding to the working node configuration data as the working node to be processed until the respective corresponding working node deployment results of the working nodes are determined.
2. The method of claim 1, wherein the step of performing authorization verification based on the server hardware identification code and the operation deployment permission data to obtain a target management node comprises:
invoking a license service module of the target container type localization deployment device, and carrying out authorization verification according to the server hardware identification code and the operation deployment license data to obtain an authorization verification result;
and when the authorization verification result is passed, calling the license service module to determine that the management node is the target management node.
3. The method of localized deployment of containers of claim 1, wherein prior to the step of obtaining operational deployment permission data from the storage node, further comprising:
acquiring a server hardware identification code of a node to be licensed and managed;
Transmitting the server hardware identification code of the to-be-licensed management node to a licensed processing end;
the license processing end obtains the operation deployment license data sent by the server hardware identification code of the to-be-licensed management node, wherein the operation deployment license data comprises: the server hardware identification code of the licensed management node, the service role information of the working node, the maximum running number of the service roles of the working node and the maximum running specification of the service roles of the working node;
storing the operational deployment permission data in the storage node.
4. The container-type localization deployment method according to claim 1, wherein the step of calling the target container-type localization deployment device to acquire working node configuration data and storing the working node configuration data in the storage node comprises:
invoking a configuration service module of the target container type localization deployment device to obtain a deployment configuration request, responding to the deployment configuration request to display a visual configuration interface, and obtaining the working node configuration data according to the visual configuration interface, wherein the working node configuration data comprises: distribution condition configuration data of the working nodes, access mode configuration data of the working nodes and service role configuration data of the working nodes;
And calling the configuration service module, and storing the working node configuration data in the storage node.
5. The method for localized deployment of containers according to claim 1, wherein after the step of determining the target application system corresponding to the application system to be deployed according to the target working node service cluster, the target management node, and the storage node, the method further comprises:
calling a configuration service module of the target container type localization deployment device, monitoring working node service operation data of the target working node service cluster, and storing the working node service operation data in an operation data file of the storage node;
and calling the configuration service module to acquire an operation data display request, responding to the operation data display request, and displaying an operation data interface of the working node according to the operation data file in the storage node to acquire an operation data interface of the target working node.
6. A container-based localized deployment system for performing the method of any of claims 1-5, the system comprising:
the request acquisition module is used for acquiring a container type localized deployment request of an application system to be deployed;
The target container type localization deployment device determining module is used for responding to the deployment request, acquiring a mirror image delivery file of the container type localization deployment device from a container of a management node, and installing and operating the container type localization deployment device in the management node according to the mirror image delivery file to obtain the target container type localization deployment device;
the target management node determining module is used for calling the target container type localization deployment device, acquiring operation deployment permission data from a storage node, acquiring a server hardware identification code of the management node, and carrying out authorization verification according to the server hardware identification code and the operation deployment permission data to obtain a target management node;
the working node configuration data acquisition module is used for calling the target container type localization deployment device to acquire working node configuration data and storing the working node configuration data in the storage node;
the target working node service cluster determining module is used for calling the target container type localization deployment device, and performing distributed deployment and service starting of the working node service clusters according to the working node configuration data in the storage nodes in a remote execution mode to obtain target working node service clusters;
And the target application system determining module is used for determining a target application system corresponding to the application system to be deployed according to the target working node service cluster, the target management node and the storage node.
7. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 5 when the computer program is executed.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.
CN202110602680.4A 2021-05-31 2021-05-31 Container type localization deployment method, system, equipment and storage medium Active CN113204410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110602680.4A CN113204410B (en) 2021-05-31 2021-05-31 Container type localization deployment method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110602680.4A CN113204410B (en) 2021-05-31 2021-05-31 Container type localization deployment method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113204410A CN113204410A (en) 2021-08-03
CN113204410B true CN113204410B (en) 2024-01-30

Family

ID=77024267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110602680.4A Active CN113204410B (en) 2021-05-31 2021-05-31 Container type localization deployment method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113204410B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338384A (en) * 2021-12-30 2022-04-12 上海柯林布瑞信息技术有限公司 Multi-node and service rapid networking method and device based on local area network
CN114661427B (en) * 2022-05-18 2022-08-19 深圳致星科技有限公司 Node management method and system for computing cluster for deploying containerized application service
CN116880897B (en) * 2023-09-06 2023-12-08 中国电子科技集团公司第十研究所 Container type software package management method for aerospace testing operation control information system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415795A (en) * 2018-02-12 2018-08-17 人和未来生物科技(长沙)有限公司 A kind of container Dockerfile, container mirror image rapid generation and system
CN108924217A (en) * 2018-06-29 2018-11-30 中山大学 A kind of distribution cloud system Automation arranging method
CN111782232A (en) * 2020-07-31 2020-10-16 平安银行股份有限公司 Cluster deployment method and device, terminal equipment and storage medium
WO2020253079A1 (en) * 2019-06-17 2020-12-24 平安科技(深圳)有限公司 Jmeter-based distributed performance test method and apparatus, device, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415795A (en) * 2018-02-12 2018-08-17 人和未来生物科技(长沙)有限公司 A kind of container Dockerfile, container mirror image rapid generation and system
CN108924217A (en) * 2018-06-29 2018-11-30 中山大学 A kind of distribution cloud system Automation arranging method
WO2020253079A1 (en) * 2019-06-17 2020-12-24 平安科技(深圳)有限公司 Jmeter-based distributed performance test method and apparatus, device, and storage medium
CN111782232A (en) * 2020-07-31 2020-10-16 平安银行股份有限公司 Cluster deployment method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN113204410A (en) 2021-08-03

Similar Documents

Publication Publication Date Title
CN113204410B (en) Container type localization deployment method, system, equipment and storage medium
US10620941B2 (en) Updating and rolling back known good states of information handling systems
US10884808B2 (en) Edge computing platform
CN106790595B (en) Docker container active load balancing device and method
CN112035215B (en) Node autonomous method, system and device of node cluster and electronic equipment
US11240317B2 (en) Diagnostic method and system for vehicle, and related device thereof
CN111611054B (en) Application deployment method and device
CN109417552A (en) For executing the method and industry computing device of secure communication
CN111654408B (en) Device monitoring method, device, computer device and storage medium
CN110531984B (en) Code compiling method, device, system, computer equipment and storage medium
US20150113423A1 (en) System and method to configure a field device
CN104184826A (en) Multi-data-center storage environment managing method and system
Tata et al. Living in the cloud or on the edge: Opportunities and challenges of iot application architecture
CN113315754A (en) Intelligent linkage method, device, equipment and medium for firewall of container visit
CN112564980A (en) Service monitoring method and system based on micro-service architecture
CN114172811B (en) Container mirror image deployment platform and deployment method thereof
CN112799970A (en) Test data processing method, device, electronic equipment and medium
US20130339871A1 (en) Software Application Abstraction System and Method
CN116627595A (en) Virtual machine creation method and related components
CN116132421A (en) Remote desktop connection method, system, device, computer equipment and storage medium
US11425203B2 (en) Commissioning a virtualized network function
CN113472599B (en) Data communication method and system of network node
CN111176782A (en) Online experimental method and device
CN103124287A (en) Third-party content delivery via a unique mobile application address
US20210390432A1 (en) System and method for automating observe-orient-decide-act (ooda) loop enabling cognitive autonomous agent systems

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