CN114500532A - Application deployment method and system in elastically telescopic cluster service - Google Patents

Application deployment method and system in elastically telescopic cluster service Download PDF

Info

Publication number
CN114500532A
CN114500532A CN202210052771.XA CN202210052771A CN114500532A CN 114500532 A CN114500532 A CN 114500532A CN 202210052771 A CN202210052771 A CN 202210052771A CN 114500532 A CN114500532 A CN 114500532A
Authority
CN
China
Prior art keywords
application
script
deployment
entry
newly added
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202210052771.XA
Other languages
Chinese (zh)
Inventor
张艳华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Technology Co Ltd
Original Assignee
Inspur Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Technology Co Ltd filed Critical Inspur Software Technology Co Ltd
Priority to CN202210052771.XA priority Critical patent/CN114500532A/en
Publication of CN114500532A publication Critical patent/CN114500532A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles

Abstract

The invention provides an application deployment method and system in an elastically telescopic cluster service, a computing device and a computer readable medium, wherein the method is executed by a cloud management platform, and comprises the following steps: after receiving the notification of the completion of the node expansion, calling an entry script in the newly added node to enable the entry script to execute the following steps: acquiring application related parameters from a preset relational database, acquiring corresponding application installation packages and deployment scripts from an object repository according to the application related parameters, and controlling the deployment scripts to execute so as to realize the installation and deployment of the application installation packages on the newly added nodes; the preset relational database is used for storing at least one application related parameter of an application installation package in advance, and the object storage library is used for storing the application installation package and the deployment script in advance. The invention can automatically complete the whole process without manual intervention, thereby reducing possible errors of manual operation and improving the reliability of the system.

Description

Application deployment method and system in elastically telescopic cluster service
Technical Field
One or more embodiments of the present disclosure relate to the field of application deployment technologies, and in particular, to an application deployment method and system, a computing device, and a computer-readable medium in an elastically scalable cluster service.
Background
With the rapid development of informatization in the fields of internet of things, internet, mobile and the like, the data quantity owned and used by each industry is larger and larger, and the required computing power is higher and higher. Traditional application deployment architectures are increasingly frustrating when dealing with bursty traffic and the like. With the continuous development of the technology, the deployment architecture also progresses, and the traditional single-node mode is changed into a multi-node cluster mode, and the multi-node cluster mode is changed into a cluster mode which can be elastically stretched according to the use condition of resources. The elastically stretchable clustering mode is as follows: when the application occupies less resources, the cluster nodes are reduced to save the calculation and storage resources of the server, and when the application with large burst access amount occupies more resources, the cluster nodes are expanded to ensure the normal operation of the application.
However, when the nodes need to be expanded, the new nodes are not deployed with the application programs immediately after the nodes are expanded, and operation and maintenance personnel need to manually upload the program packages and deploy the program packages. This wastes human resources and does not respond in time to sudden high load situations.
Disclosure of Invention
One or more embodiments of the present specification describe a method and system, a computing device, and a computer-readable medium for application deployment in a scalable cluster service.
According to a first aspect, there is provided a method for deploying an application in a scalable cluster service, the method being performed by a cloud management platform, the method comprising:
after receiving the notification of the completion of the node expansion, calling an entry script in the newly added node to enable the entry script to execute the following steps: acquiring application related parameters from a preset relational database, acquiring corresponding application installation packages and deployment scripts from an object repository according to the application related parameters, and controlling the deployment scripts to execute so as to realize the installation and deployment of the application installation packages on the newly added nodes;
the preset relational database is used for storing at least one application related parameter of an application installation package in advance, and the object storage library is used for storing the application installation package and the deployment script in advance.
Optionally, the entry script is added in advance to the mirror image of the elastically scalable cluster service, so that each newly added node after the expansion includes the entry script.
Optionally, before the invoking of the entry script in the newly added node, the method further includes: and sending the entry script to the newly added node.
Optionally, the at least one application-related parameter includes: the application attribute information, the storage path of the application installation package in the object storage library and the storage path of the deployment script in the object storage library; the application attribute information includes an application name, an application type, and/or an application version number.
Optionally, the object repository is further configured to store a start script in advance; the method further comprises the following steps: and after the application deployment is finished, controlling the starting script to execute through the entrance script so as to realize the starting of the application.
Further, the object storage library is also used for storing an initialization script in advance; the method further comprises the following steps: after the application is started, the execution of the initialization script is controlled through the entry script so as to realize the data initialization of the application.
Optionally, the object repository is further configured to store an upgrade script in advance; the method further comprises the following steps: and when an upgrading instruction is received, controlling the upgrading script to execute through the entry script so as to realize the upgrading of the application.
Optionally, the object repository is further configured to store a stop script in advance; the method further comprises the following steps: and when a stop instruction is received, controlling the stop script to execute through the entry script so as to realize the stop running of the application.
According to a second aspect, an embodiment of the present invention provides an application deployment system in an elastically scalable cluster service, where the system is installed on a cloud management platform, and the system includes:
a script calling module to: calling an entry script in the newly added node to enable the entry script to execute the following steps: acquiring application related parameters from a preset relational database, acquiring corresponding application installation packages and deployment scripts from an object repository according to the application related parameters, and controlling the deployment scripts to execute so as to realize the installation and deployment of the application installation packages on the newly added nodes;
the preset relational database is used for storing at least one application related parameter of an application installation package in advance, and the object storage library is used for storing the application installation package and the deployment script in advance.
Optionally, the system further comprises:
and the script adding module is used for adding the entry script in the mirror image of the elastic telescopic cluster service in advance so that each newly added node after expansion comprises the entry script.
According to a third aspect, an embodiment of the present invention provides a computing device, including: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is used for calling the machine readable program and executing the method.
According to a fourth aspect, embodiments of the present invention provide a computer readable medium having stored thereon computer instructions, which, when executed by a processor, cause the processor to perform the above method.
According to the application deployment method and system, the computing device and the computer readable medium in the elastically stretchable cluster service, after the nodes are automatically expanded by the elastically stretchable cluster service, no application is deployed on the newly expanded nodes, after the expansion nodes are completed, the cloud management platform can automatically call the entry scripts on the newly added nodes, the entry scripts can further obtain the relevant application parameters stored in the relational database, the entry scripts of the newly added nodes can automatically download the application installation packages and the deployment scripts in the object storage library according to the parameters, and after the deployment scripts are executed, the deployment of the application is completed. The method provided by the embodiment of the invention can realize automatic deployment and management of the application, can automatically stretch the number of the nodes of the cluster when the load of the application program fluctuates in height, and can automatically deploy the required application program when the number of the nodes is automatically expanded, so that the server resources are not wasted, and the abnormity caused by overhigh application load is avoided, thereby achieving the purpose of efficiently utilizing the server resources; and the whole process is automatically completed without manual intervention, thereby reducing the possible errors of manual operation and improving the reliability of the system. Meanwhile, the labor cost is saved, the deployment speed is increased, and the robustness of the program and the response speed to abnormal conditions are improved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present specification, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of an application deployment method in an elastically scalable cluster service according to an embodiment of the present invention;
fig. 2 is a system architecture diagram of an application deployment method in an elastically scalable cluster service in an embodiment of the present invention.
Detailed Description
The scheme provided by the specification is described below with reference to the accompanying drawings.
In a first aspect, an embodiment of the present invention provides an application deployment method in an elastically scalable cluster service, where the method is executed by a cloud management platform, and referring to fig. 1, the method includes the following steps:
after receiving the notification of the completion of the node expansion, calling an entry script in the newly added node to enable the entry script to execute the following steps: acquiring application related parameters from a preset relational database, acquiring corresponding application installation packages and deployment scripts from an object repository according to the application related parameters, and controlling the deployment scripts to execute so as to realize the installation and deployment of the application installation packages on the newly added nodes;
the preset relational database is used for storing at least one application related parameter of an application installation package in advance, and the object storage library is used for storing the application installation package and the deployment script in advance.
It can be understood that, before executing the method, a preset relationship database needs to be constructed, referring to fig. 2, application-related parameters are stored in the preset relationship database, and the application-related parameters may include information such as an application name, an application version number, a path of an installation package, and a path of a script. That is, parameters required for deployment or other operations, such as application name, application type, application version number, installation package and storage path of script in the object repository, etc., are saved in the preset relational database.
It can be understood that before executing the method, an object repository needs to be constructed, referring to fig. 2, the application installation package and the deployment script are stored in the object repository, and of course, a plurality of scripts such as a start script, an initialization script, a stop script, an upgrade script, and the like may also be stored in the object repository. Therefore, before the method is executed, program installation packages deployed by the application need to be collected, relevant operation scripts are written in sequence according to the installation method, and the installation packages and the scripts are uploaded to an object storage library.
It can be understood that after the elastically scalable cluster service completes the node expansion, one or more newly added nodes are added to the elastically scalable cluster service, and application deployment is required for each newly added node. When the cloud management platform knows that the nodes are completely expanded, the cloud management platform calls an entry script in the newly added nodes, the entry script serves as a universal script, and the cloud management platform has the following functions: and acquiring application related parameters from a preset relational database, and further acquiring corresponding application installation packages and deployment scripts from an object repository according to the application related parameters. The application installation package is an installation package of an application to be deployed, and the deployment script is used for installing and deploying the application installation package. Therefore, after the entry script acquires the application installation package and the deployment script, the deployment script is controlled to be executed, so that the application installation package is installed and deployed on the newly added node, and the whole process does not need manual intervention.
The entry script in the newly added node has multiple setting modes, and the following two modes are provided:
(1) and pre-adding an entry script in the mirror image of the elastic telescopic cluster service, so that each newly added node after expansion comprises the entry script. That is, the entry script is written in the mirror image of the elastic scalable cluster service in advance, and after the node expansion is performed, each obtained new node will have the entry script by default. This approach is relatively simple to implement.
(2) And before the entry script in the newly added node is called, sending the entry script to the newly added node. That is to say, after the elastically scalable cluster service completes the node expansion, the cloud management platform puts the entry script on the newly added node, so that the newly added node has the entry script. This approach may involve a related adaptation of the cloud management platform, which is more complex than the direct mirror modification approach.
In particular implementation, the at least one application-related parameter may include: the application attribute information, the storage path of the application installation package in the object storage library and the storage path of the deployment script in the object storage library; the application attribute information includes an application name, an application type, and/or an application version number.
The application attribute information is basic information of the application. Which application is installed and deployed can be determined according to the basic information, and which installation package and script are obtained can be determined according to the storage path.
It is understood that after the deployment of the application installation package is completed using the deployment script, other operations may also be completed in accordance with other scripts in the object store. For example, by executing a start script, the start of an application can be achieved. By executing the initialization script, the initialization processing of the application can be realized. And executing the stop script to realize the stop of the running of the application. And the upgrading script is executed, so that the upgrading of the application can be realized.
In particular implementation, the object repository may be further configured to store a startup script in advance; the method may further comprise: and after the application deployment is finished, controlling the starting script to execute through the entrance script so as to realize the starting of the application. That is, after the deployment script is executed, the entry script may control the start script to execute, so as to start the application.
In particular implementation, the object repository may be further configured to store an initialization script in advance; the method may further comprise: after the application is started, the execution of the initialization script is controlled through the entry script so as to realize the data initialization of the application. That is, after the start of the application is realized by the start script, the entry script controls the execution of the initialization script, thereby realizing the data initialization processing for the application.
In particular implementation, the object repository may be further configured to store an upgrade script in advance; the method may further comprise: and when an upgrading instruction is received, controlling the upgrading script to execute through the entry script so as to realize the upgrading of the application. That is, when the application needs to be upgraded, the entry script can control the execution of the upgrade script, so as to upgrade the application.
In particular implementation, the object repository may be further configured to pre-store a stop script; the method may further comprise: and when a stop instruction is received, controlling the stop script to execute through the entry script so as to realize the stop running of the application. That is, when it is necessary to stop the running of the application, the entry script may control the stop script to execute, thereby controlling the stop of the running of the application.
It can be understood that when the application program load is low and the nodes need to be reduced, the nodes needing to be reduced can be automatically deleted, so that the computing and storage resources of the server can be completely released, and the rest nodes can continue to provide services without influencing the service use.
It can be understood that when an emergency causes a high load of an application program, a cluster automatically expands nodes after detecting the high load, no application is deployed on the node which is just expanded, a notification is sent to the cloud management platform after the expansion is completed to inform that a new node is expanded, and the cloud management platform automatically calls an entry script of the node, so that the deployment of the application is realized. After the application is started, the newly expanded nodes are added into the cluster of the application program to share the load of the program, and the service is provided for the outside.
After the nodes are automatically expanded by the elastically stretchable cluster service, no application is deployed on the newly expanded nodes, after the expansion nodes are completed, the cloud management platform can automatically call the entry scripts on the newly added nodes, then the entry scripts can acquire application related parameters stored in the relational database, the entry scripts of the newly added nodes can automatically download the application installation packages and the deployment scripts in the object storage library according to the parameters, and after the deployment scripts are executed, deployment of the application is completed. Of course, the entry script may call an initialization script, a start script, and the like to complete initialization, start, and the like of the application. And adding the newly added nodes after application deployment into the application program cluster, sharing the load of the application program, and providing service to the outside. The whole process does not need manual intervention, can respond in time in the face of sudden high load conditions, and can save manpower.
It can be understood that the method provided by the embodiment of the invention can realize automatic deployment and management of applications, when the load of an application program fluctuates in height, the number of nodes of a cluster can be automatically expanded, and when the number of nodes is automatically expanded, a required application program can be automatically deployed, so that server resources are not wasted, and abnormality caused by overhigh application load is avoided, and the aim of efficiently utilizing the server resources is fulfilled; and the whole process is automatically completed without manual intervention, thereby reducing the possible errors of manual operation and improving the reliability of the system. Meanwhile, the labor cost is saved, the deployment speed is increased, and the robustness of the program and the response speed to abnormal conditions are improved.
In a second aspect, the present invention provides an application deployment system in an elastically scalable cluster service, where the system is installed on a cloud management platform, and the system includes:
a script calling module to: calling an entry script in the newly added node to enable the entry script to execute the following steps: acquiring application related parameters from a preset relational database, acquiring corresponding application installation packages and deployment scripts from an object repository according to the application related parameters, and controlling the deployment scripts to execute so as to realize the installation and deployment of the application installation packages on the newly added nodes;
the preset relational database is used for storing at least one application related parameter of an application installation package in advance, and the object storage library is used for storing the application installation package and the deployment script in advance.
In some embodiments, the system may further comprise:
and the script adding module is used for adding the entry script in the mirror image of the elastic telescopic cluster service in advance so that each newly added node after expansion comprises the entry script.
In some embodiments, the system further comprises:
and the script sending module is used for sending the entry script to the newly added node before the script calling module calls the entry script in the newly added node.
In some embodiments, the at least one application-related parameter comprises: the application attribute information, the storage path of the application installation package in the object storage library and the storage path of the deployment script in the object storage library; the application attribute information includes an application name, an application type, and/or an application version number.
In some embodiments, the object store is further configured to pre-store a startup script; the script calling module is further configured to: and after the application deployment is finished, controlling the starting script to execute through the entrance script so as to realize the starting of the application.
In some embodiments, the object store is further configured to pre-store an initialization script; the script calling module is further configured to: after the application is started, the execution of the initialization script is controlled through the entry script so as to realize the data initialization of the application.
In some embodiments, the object store is further configured to pre-store an upgrade script; the script calling module is further configured to: and when an upgrading instruction is received, controlling the upgrading script to execute through the entry script so as to realize the upgrading of the application.
In some embodiments, the object store is further configured to pre-store a stop script; the script calling module is further configured to: and when a stop instruction is received, controlling the stop script to execute through the entry script so as to realize the stop running of the application.
It can be understood that the system and the method provided by the embodiment of the present invention are corresponding, and the explanation, the example, the beneficial effects, and the like of the related contents in the apparatus provided by the second aspect may refer to the related contents in the first aspect, and are not described herein again.
In a third aspect, an embodiment of the present invention provides a computing device, including:
at least one memory and at least one processor;
the at least one memory to store a machine readable program; the at least one processor, configured to invoke the machine-readable program, performs: after receiving the notification of the completion of the node expansion, calling an entry script in the newly added node to enable the entry script to execute the following steps: acquiring application related parameters from a preset relational database, acquiring corresponding application installation packages and deployment scripts from an object repository according to the application related parameters, and controlling the deployment scripts to execute so as to realize the installation and deployment of the application installation packages on the newly added nodes; the preset relational database is used for storing at least one application related parameter of an application installation package in advance, and the object storage library is used for storing the application installation package and the deployment script in advance.
In some embodiments, the entry script is pre-added in the mirror image of the elastic scalable cluster service, so that the entry script is included on each newly added node after the expansion.
In some embodiments, the at least one processor further sends the entry script on the newly added node before invoking the entry script in the newly added node.
In some embodiments, the at least one application-related parameter comprises: the application attribute information, the storage path of the application installation package in the object storage library and the storage path of the deployment script in the object storage library; the application attribute information includes an application name, an application type, and/or an application version number.
In some embodiments, the object store is further configured to pre-store a startup script; the at least one processor further performs: and after the application deployment is finished, controlling the starting script to execute through the entrance script so as to realize the starting of the application.
In some embodiments, the object store is further configured to pre-store an initialization script; the at least one processor further performs: after the application is started, the execution of the initialization script is controlled through the entry script so as to realize the data initialization of the application.
In some embodiments, the object store is further configured to pre-store an upgrade script; the at least one processor further performs: and when an upgrading instruction is received, controlling the upgrading script to execute through the entry script so as to realize the upgrading of the application.
In some embodiments, the object store is further configured to pre-store a stop script; the at least one processor further performs: and when a stop instruction is received, controlling the stop script to execute through the entry script so as to realize the stop running of the application.
It is to be understood that for the explanation, the detailed description, the beneficial effects, the examples and the like of the related contents in the computing device provided by the embodiment of the present invention, reference may be made to the corresponding parts in the above method, and details are not described herein again.
In a fourth aspect, embodiments of the present invention provide a computer-readable medium having stored thereon computer instructions, which, when executed by a processor, cause the processor to perform the above-mentioned method. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion module to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
It is understood that, for the explanation, the detailed description, the beneficial effects, the examples and the like of the contents in the computer readable medium provided by the embodiment of the present invention, reference may be made to the corresponding parts in the above method, and details are not described herein.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this disclosure may be implemented in hardware, software, hardware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only examples of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for deploying an application in a flexible cluster service, the method being performed by a cloud management platform, the method comprising:
after receiving the notification of the completion of the node expansion, calling an entry script in the newly added node to enable the entry script to execute the following steps: acquiring application related parameters from a preset relational database, acquiring corresponding application installation packages and deployment scripts from an object repository according to the application related parameters, and controlling the deployment scripts to execute so as to realize the installation and deployment of the application installation packages on the newly added nodes;
the preset relational database is used for storing at least one application related parameter of an application installation package in advance, and the object storage library is used for storing the application installation package and the deployment script in advance.
2. The method of claim 1, wherein the entry script is pre-added to the mirror image of the elastically scalable cluster service, so that the entry script is included in each newly added node after the expansion.
3. The method of claim 1, wherein prior to invoking the entry script in the newly added node, the method further comprises: and sending the entry script to the newly added node.
4. The method of claim 1, wherein the at least one application-related parameter comprises: the application attribute information, the storage path of the application installation package in the object storage library and the storage path of the deployment script in the object storage library; the application attribute information includes an application name, an application type, and/or an application version number.
5. The method of claim 1, wherein the object store is further configured to pre-store a start script; the method further comprises the following steps: and after the application deployment is finished, controlling the starting script to execute through the entrance script so as to realize the starting of the application.
6. The method of claim 5, wherein the object repository is further configured to store an initialization script in advance; the method further comprises the following steps: after the application is started, the execution of the initialization script is controlled through the entry script so as to realize the data initialization of the application.
7. The method of claim 1, wherein the object repository is further configured to pre-store an upgrade script; the method further comprises the following steps: and when an upgrading instruction is received, controlling the upgrading script to execute through the entry script so as to realize the upgrading of the application.
8. The method of claim 1, wherein the object store is further configured to pre-store a stop script; the method further comprises the following steps: and when a stop instruction is received, controlling the stop script to execute through the entry script so as to realize the stop running of the application.
9. An application deployment system in a scalable cluster service, the system being installed on a cloud management platform, the system comprising:
a script calling module to: calling an entry script in the newly added node to enable the entry script to execute the following steps: acquiring application related parameters from a preset relational database, acquiring corresponding application installation packages and deployment scripts from an object repository according to the application related parameters, and controlling the deployment scripts to execute so as to realize the installation and deployment of the application installation packages on the newly added nodes;
the preset relation database is used for storing at least one application related parameter of an application installation package in advance, and the object storage library is used for storing the application installation package and the deployment script in advance.
10. A computing device, comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor, configured to invoke the machine readable program, to perform the method of any of claims 1 to 8.
CN202210052771.XA 2022-01-18 2022-01-18 Application deployment method and system in elastically telescopic cluster service Withdrawn CN114500532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210052771.XA CN114500532A (en) 2022-01-18 2022-01-18 Application deployment method and system in elastically telescopic cluster service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210052771.XA CN114500532A (en) 2022-01-18 2022-01-18 Application deployment method and system in elastically telescopic cluster service

Publications (1)

Publication Number Publication Date
CN114500532A true CN114500532A (en) 2022-05-13

Family

ID=81511315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210052771.XA Withdrawn CN114500532A (en) 2022-01-18 2022-01-18 Application deployment method and system in elastically telescopic cluster service

Country Status (1)

Country Link
CN (1) CN114500532A (en)

Similar Documents

Publication Publication Date Title
CN107769949B (en) Application component deployment method and deployment node
US7389505B2 (en) Method and apparatus for modifying software
EP2696532A2 (en) Method, server and system for starting application
CN110837388B (en) Software upgrading method of robot, upgrading server, robot and storage medium
US9367299B2 (en) Preventing application downgrade in an application store
KR20150022849A (en) Auto-update while running client interface with handshake
JP6198229B2 (en) Installation engine and package format for parallelizable and reliable installation
CN111966366A (en) Cluster deployment method and device of multi-CPU architecture
CN113687858B (en) Configuration file checking method and device, electronic equipment and storage medium
CN110888652A (en) Multi-version construction method based on jenkins plug-in and terminal
CN112363731A (en) Application automation deployment method and device and computer readable storage medium
CN117056115B (en) Application program repairing method and device, storage medium and electronic equipment
CN112748949A (en) Software package management method, device, equipment and storage medium of operating system
CN111897565A (en) Data processing method, device and equipment based on Internet of things
CN115454575B (en) jar packet conversion and automatic loading method, device, equipment and storage medium
CN113448609B (en) Container upgrading method, device, equipment and storage medium
CN108595292B (en) System optimization method, mobile terminal and computer storage medium
CN115543429A (en) Project environment building method, electronic equipment and computer readable storage medium
CN114500532A (en) Application deployment method and system in elastically telescopic cluster service
KR101461319B1 (en) Methods and device for upgrading firmware of set-top box
CN116069366A (en) Client application program updating method and device, storage medium and electronic equipment
CN111949290B (en) Hot patch management method and device, electronic equipment and storage medium
CN113515299A (en) Software development kit SDK hot upgrading method, device, equipment and storage medium
CN110661852A (en) Service processing method and device in cloud environment
CN113687915B (en) Container running method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220513