CN117111973A - Method and device for using web management platform during online upgrade suspension - Google Patents

Method and device for using web management platform during online upgrade suspension Download PDF

Info

Publication number
CN117111973A
CN117111973A CN202310752593.6A CN202310752593A CN117111973A CN 117111973 A CN117111973 A CN 117111973A CN 202310752593 A CN202310752593 A CN 202310752593A CN 117111973 A CN117111973 A CN 117111973A
Authority
CN
China
Prior art keywords
request
upgrade
database
management platform
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310752593.6A
Other languages
Chinese (zh)
Inventor
庆隆阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Jinan data Technology Co ltd
Original Assignee
Inspur Jinan data Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Jinan data Technology Co ltd filed Critical Inspur Jinan data Technology Co ltd
Priority to CN202310752593.6A priority Critical patent/CN117111973A/en
Publication of CN117111973A publication Critical patent/CN117111973A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

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

Abstract

The application provides a method, a system, a device and a storage medium for using a web management platform when online upgrade is suspended, wherein the method comprises the following steps: adding an upgrade suspension module into each node of the web management platform, and judging whether an executing online upgrade task exists in the cluster or not through the upgrade suspension module of the main node of the web management platform; responding to the fact that no online upgrading task is being executed in the cluster, software versions among all nodes are inconsistent, a configuration file of a web management platform is recorded as a pause state, and transmitting an operation request to an upgrading pause module of a master node; recording the operation request into a database of an upgrade suspension module in response to the software version of the master node not being upgraded and the operation request being unable to be executed on the current version; and checking whether the request data is recorded in the database through a delay mechanism of the upgrade suspension module, responding to the request data recorded in the database, and issuing the operation request and parameters recorded in the database to the corresponding module of the web management platform.

Description

Method and device for using web management platform during online upgrade suspension
Technical Field
The present application relates to the field of storage clusters, and more particularly, to a method, system, device, and computer readable storage medium for using a web management platform when online upgrades are suspended.
Background
With the development of storage functions, web (web page) management modules provide online upgrade functions on the premise that the core business of a client cannot be affected during version upgrade. The current whole storage system comprises a bottom soft module, a core soft module and a web management platform, each node in the storage environment is upgraded by the current online upgrading function, and only if all nodes are successfully upgraded, the online upgrading is considered successful by the whole cluster, however, for a large-scale cluster, the period of an upgrading window provided by a user is short, the user only upgrades a specific node in a specific time period, the rest nodes of the cluster can select a proper time window to upgrade again, the situation can lead to inconsistent version codes among the nodes, extremely poor physical examination is brought to the user, and the most visual expression is that a large number of errors are popped up when the web management platform is operated, so that unnecessary panic is brought to the user.
Disclosure of Invention
In view of the above, an object of the embodiments of the present application is to provide a method, a system, a computer device and a computer readable storage medium for using a web management platform when online upgrade is suspended, wherein an online upgrade suspension module is added to the web management platform, the upgrade suspension module is a resident process, and can detect whether a cluster is in an upgrade suspension state or an upgrade completion state from time to time, and for the cluster in the upgrade suspension state, it is determined and recorded whether a request issued by the web management platform can be normally executed during online upgrade suspension, no special processing is performed for the request that can be normally executed, no additional recording is performed according to a normal flow of software, and for the request operations that cannot be normally executed, the operations are recorded into the module according to classifications and synchronized into all nodes of the cluster, and meanwhile, when the upgrade suspension module detects that the whole cluster is in the upgrade completion state, the operation that the recording fails is automatically executed, and the web management platform displays the completion state of the recording operation.
Based on the above objects, an aspect of the embodiments of the present application provides a method for using a web management platform when online upgrade is suspended, including the following steps: adding an upgrade pause module into each node of the web management platform, and judging whether an executing online upgrade task exists in the cluster or not through the upgrade pause module of the web management platform main node; responding to the fact that no online upgrading task is being executed in the cluster, software versions among all nodes are inconsistent, a configuration file of a web management platform is recorded as a pause state, and transmitting an operation request to an upgrading pause module of a master node; recording the operation request into a database of an upgrade suspension module in response to the software version of the master node not being upgraded and the operation request being unable to be executed on the current version; and checking whether the request data is recorded in the database through a delay mechanism of the upgrade pause module, responding to the request data recorded in the database, and issuing the operation request and parameters recorded in the database to the corresponding module of the web management platform.
In some embodiments, the recording the operation request into a database of an upgrade suspension module comprises: and recording the types of the operation requests, the request interfaces, the request parameters, the request issuing time, the request execution state, the request completion time and the reasons of the request failure into a database of the upgrade suspension module.
In some embodiments, the recording the operation request into a database of an upgrade suspension module comprises: and synchronizing the data recorded in the database of the upgrade suspension module to other standby nodes of the cluster.
In some embodiments, the recording the operation request into a database of an upgrade suspension module comprises: recording the query class request into a query class database, and recording the create, delete, edit and modify class request into an operation class database.
In some embodiments, the checking whether the request data is recorded in the database by the delay mechanism of the upgrade suspension module includes: and in response to the end of the upgrading task and the consistency of the software versions of all nodes in the cluster, checking whether the request data is recorded in the operation class database or not through the delay mechanism.
In some embodiments, the method further comprises: and adding a task for cleaning data at fixed time into the online pause module to clean the query class database and the operation class database respectively.
In some embodiments, the adding the task of cleaning data in a timing manner to clean up the query class database and the operation class database respectively includes: and cleaning the query class database once every first time, cleaning the request for successful execution of the delay mechanism in the operation class database once every second time, and cleaning the request for failure execution of the delay mechanism in the operation class database once every third time, wherein the first time is less than the second time and less than the third time.
In another aspect of the embodiment of the present application, there is provided a system for using a web management platform when online upgrade is suspended, including: the judging module is used for adding an upgrade suspension module into each node of the web management platform and judging whether an online upgrade task which is being executed exists in the cluster or not through the upgrade suspension module of the main node of the web management platform; the issuing module is used for issuing an operation request to the upgrading suspension module of the master node in response to the fact that the online upgrading task which is being executed does not exist in the cluster, the software versions among the nodes are inconsistent, the configuration file of the web management platform is recorded as a suspension state; the recording module is used for recording the operation request into a database of the upgrade suspending module in response to that the software version of the master node is not upgraded and the operation request cannot be executed on the current version; and the execution module is used for checking whether the request data is recorded in the database through the delay mechanism of the upgrading pause module, responding to the request data recorded in the database, and issuing the operation request and the parameters recorded in the database to the corresponding module of the web management platform.
In still another aspect of the embodiment of the present application, there is also provided an electronic device, including: at least one processor; and a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method as above.
In yet another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method steps as described above.
The application has the following beneficial technical effects: all operations which cannot be executed by a user during upgrading suspension can be classified and recorded, the user can clearly know the failed operations and types, and when the whole cluster is in an upgrading completion state, a delay mechanism in the module can automatically execute failure requests of the operation types, such as creation, deletion, editing and the like, so that secondary operations of the user are reduced, the problem that a large number of errors are thrown out by an interface is avoided, and user experience and product competitiveness are improved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an embodiment of a method for using a web management platform when online upgrades are paused provided by the present application;
FIG. 2 is a flow chart of using a web management platform when online upgrades provided by the present application are paused;
FIG. 3 is a schematic diagram of an embodiment of a system using a web management platform for online upgrade suspension provided by the present application;
FIG. 4 is a schematic diagram of a hardware architecture of an embodiment of an electronic device using a web management platform when online upgrade is suspended according to the present application;
FIG. 5 is a schematic diagram of an embodiment of a computer storage medium using a web management platform when online upgrades are paused as provided by the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following embodiments of the present application will be described in further detail with reference to the accompanying drawings.
It should be noted that, in the embodiments of the present application, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present application, and the following embodiments are not described one by one.
In a first aspect of the embodiment of the application, an embodiment of a method for using a web management platform when online upgrade is suspended is provided. FIG. 1 is a schematic diagram illustrating an embodiment of a method for using a web management platform when online upgrades provided by the present application are paused. As shown in fig. 1, the embodiment of the present application includes the following steps:
s1, adding an upgrade pause module into each node of a web management platform, and judging whether an executing online upgrade task exists in a cluster or not through the upgrade pause module of a main node of the web management platform;
s2, responding to the fact that no online upgrading task is executed in the cluster, software versions among all nodes are inconsistent, the configuration file of the web management platform is recorded as a pause state, and transmitting an operation request to an upgrading pause module of a master node;
s3, responding to the fact that the software version of the master node is not upgraded and the operation request cannot be executed on the current version, and recording the operation request into a database of an upgrade suspension module; and
s4, checking whether request data are recorded in the database through a delay mechanism of the upgrading pause module, responding to the request data recorded in the database, and issuing operation requests and parameters recorded in the database to a module corresponding to the web management platform.
Storage clusters: and aggregating a plurality of storage devices into a storage pool which can provide a unified access interface and a management interface for an application server, and enabling the application to transparently access and utilize the disks on all the storage devices through the access interface, so that the performance and the disk utilization rate of the storage devices can be fully exerted. A web management platform: the visual operation platform for upper web management is provided for the storage system, so that a user can directly visually operate the storage system through a management interface without using complicated bottom commands, the complexity and difficulty of the use of the user are reduced, and meanwhile, the user can know the use condition of the storage system more clearly. Upgrade suspension: in order to perform function optimization, version evolution and iteration on the whole storage system, and meanwhile, the execution of the bottom layer business of the user cannot be influenced during the upgrading, the web management platform provides an important function of online upgrading, wherein the online upgrading function is to upgrade each node of the whole cluster, and in the upgrading process, reasons such as overlarge cluster scale, short upgrading window period and the like can exist, only a certain node in the cluster is upgraded, and then the whole online upgrading process is suspended, and meanwhile, the core business of the user cannot be influenced.
In the embodiment of the application, an online upgrade pause monitoring module is added in a web management platform, the upgrade pause module is a resident process, whether the cluster is in an upgrade pause state or an upgrade completion state is detected constantly, whether a request issued by the web management platform can be normally executed or not during online upgrade pause is judged and recorded for the cluster in the upgrade pause state, no special processing is carried out for the requests judged to be normally executed, no additional recording is carried out according to the normal flow of software, the request operations judged to be unable to be normally executed are recorded in the module according to classification and are synchronized to all nodes of the cluster, meanwhile, the operations are displayed on the web management platform according to classification, when the upgrade pause module detects that the whole cluster is in the upgrade completion state, the operations failed to be recorded are automatically executed, and meanwhile, the completion state of the operations recorded by the web management platform is changed.
Fig. 2 is a flowchart of using a web management platform when online upgrade is suspended, and an embodiment of the present application is described with reference to fig. 2.
And adding an upgrade pause module into each node of the web management platform, and judging whether an executing online upgrade task exists in the cluster through the upgrade pause module of the master node of the web management platform. And in response to the fact that the online upgrading task being executed does not exist in the cluster, the software versions among the nodes are inconsistent, the configuration file of the web management platform is recorded as a pause state, an operation request is issued to an upgrading pause module of the master node.
The online upgrade pause module judges whether an online upgrade task which is being executed exists in the cluster, if the online upgrade task does not exist, the online upgrade pause module judges whether software versions among all nodes in the cluster are consistent, meanwhile, a configuration file of the management platform records the last online upgrade state, if the online upgrade is inconsistent and the configuration file is recorded as a pause state, the online upgrade is considered to be in an upgrade pause state, and if the online upgrade task which is being executed exists, the online upgrade pause module does not need to judge whether the versions among the nodes are consistent.
And in response to the software version of the master node not being upgraded and the operation request being unable to be executed on the current version, recording the operation request into a database of an upgrade suspension module. During online upgrade suspension, the user's interface operation is first issued to the upgrade suspension module that elects the master node, and if the software version of the master node is not upgraded and the operation request cannot be executed on the old version, the operation request is recorded in the database of the upgrade suspension module.
In some embodiments, the recording the operation request into a database of an upgrade suspension module comprises: and recording the types of the operation requests, the request interfaces, the request parameters, the request issuing time, the request execution state, the request completion time and the reasons of the request failure into a database of the upgrade suspension module.
In some embodiments, the recording the operation request into a database of an upgrade suspension module comprises: and synchronizing the data recorded in the database of the upgrade suspension module to other standby nodes of the cluster.
The recorded information comprises the type of the operation request, a request interface, a request parameter, a request issuing time, a request executing state, a request completing time, a reason of a request failure and the like, the data can be synchronized to other standby nodes of the cluster, and the recorded request can be displayed back on the web management platform, so that a user can conveniently know the operation performed during the pause period. The types of requests on the web management platform can be divided into five categories, namely inquiry, creation, deletion, editing and modification.
In some embodiments, the recording the operation request into a database of an upgrade suspension module comprises: recording the query class request into a query class database, and recording the create, delete, edit and modify class request into an operation class database.
The upgrade suspending module records the query class request into a database of the query class, and creates, deletes, edits and modifies the class operation request into the database of the operation class. Because the request of the query class does not need secondary manual re-operation, the online upgrade is not automatically executed any more after completion, but the request is still displayed on the web management platform, and on the contrary, for the request of the operation class, a delay mechanism in a module can be correspondingly processed.
And checking whether the request data is recorded in the database through a delay mechanism of the upgrade suspension module, responding to the request data recorded in the database, and issuing the operation request and parameters recorded in the database to the corresponding module of the web management platform.
In some embodiments, the checking whether the request data is recorded in the database by the delay mechanism of the upgrade suspension module includes: and in response to the end of the upgrading task and the consistency of the software versions of all nodes in the cluster, checking whether the request data is recorded in the operation class database or not through the delay mechanism.
The online upgrade suspension module monitors that the upgrade task is finished and the software versions of all nodes in the cluster are consistent, a delay mechanism in the module can check whether request data is recorded in a database of an operation class, if the request data is recorded in the database, the operation request and parameters recorded in the database can be automatically issued to a corresponding module of the management platform, an interface execution result is returned to the suspension module, meanwhile, the execution state and the request completion time are updated, and if the request execution fails, the failure reason and the proposal of the next operation of a user are updated.
In some embodiments, the method further comprises: and adding a task for cleaning data at fixed time into the online pause module to clean the query class database and the operation class database respectively.
In some embodiments, the adding the task of cleaning data in a timing manner to clean up the query class database and the operation class database respectively includes: and cleaning the query class database once every first time, cleaning the request for successful execution of the delay mechanism in the operation class database once every second time, and cleaning the request for failure execution of the delay mechanism in the operation class database once every third time, wherein the first time is less than the second time and less than the third time.
In order to prevent the database from recording data more and more huge, the online upgrade pause module also adds three tasks for cleaning data at fixed time, for example, the database of query class can be cleaned once in half a month because no delay mechanism is needed for secondary processing, the database of operation class can be cleaned once in one month when the delay mechanism is executed successfully, and the database of failure request can be cleaned once in half a month.
In the web management platform, one node is selected as a main node, other nodes are taken as standby nodes, and the selected main node is switched in the upgrading process, so that each node of the management platform is added with an online upgrading pause module, even if the selected main node is switched in the upgrading pause period, the module can provide normal service and detect whether the cluster is in the upgrading pause state or the upgrading completion state in real time, and the loss of a user operation request in the pause period is prevented.
The online upgrade suspension module may perform different processing depending on whether the cluster is in an upgrade suspension state. If the online upgrade pause module detects that the cluster is in an upgrade pause state, judging whether an operation request of a user on an interface can be normally executed, if so, not recording the operation request, and if so, recording the operation request into the module according to the type of the request, and displaying the recorded operation request back on a web management platform, so that the user can clearly know the operation done during the pause period.
After the upgrade pause module detects that the cluster has finished upgrading, a delay mechanism in the module can automatically execute the recorded operation request, so that the operation request executed during the pause period is not perceived by a user to be successfully executed, and the secondary operation of human intervention is reduced.
It should be noted that, the steps in the embodiments of the method using the web management platform during online upgrade suspension may be intersected, replaced, added and subtracted, so that the method using the web management platform during online upgrade suspension by these reasonable permutation and combination transformations should also fall within the protection scope of the present application, and should not limit the protection scope of the present application to the embodiments.
Based on the above object, a second aspect of the embodiment of the present application proposes a system using a web management platform when online upgrade is suspended. As shown in fig. 3, the system 200 includes the following modules: the judging module is used for adding an upgrade suspension module into each node of the web management platform and judging whether an online upgrade task which is being executed exists in the cluster or not through the upgrade suspension module of the main node of the web management platform; the issuing module is used for issuing an operation request to the upgrading suspension module of the master node in response to the fact that the online upgrading task which is being executed does not exist in the cluster, the software versions among the nodes are inconsistent, the configuration file of the web management platform is recorded as a suspension state; the recording module is used for recording the operation request into a database of the upgrade suspending module in response to that the software version of the master node is not upgraded and the operation request cannot be executed on the current version; and the execution module is used for checking whether the request data is recorded in the database through the delay mechanism of the upgrading pause module, responding to the request data recorded in the database, and issuing the operation request and the parameters recorded in the database to the corresponding module of the web management platform.
In some embodiments, the recording module is to: and recording the types of the operation requests, the request interfaces, the request parameters, the request issuing time, the request execution state, the request completion time and the reasons of the request failure into a database of the upgrade suspension module.
In some embodiments, the recording module is to: and synchronizing the data recorded in the database of the upgrade suspension module to other standby nodes of the cluster.
In some embodiments, the recording module is to: recording the query class request into a query class database, and recording the create, delete, edit and modify class request into an operation class database.
In some embodiments, the execution module is to: and in response to the end of the upgrading task and the consistency of the software versions of all nodes in the cluster, checking whether the request data is recorded in the operation class database or not through the delay mechanism.
In some embodiments, the system further comprises a cleaning module for: and adding a task for cleaning data at fixed time into the online pause module to clean the query class database and the operation class database respectively.
In some embodiments, the cleaning module is to: and cleaning the query class database once every first time, cleaning the request for successful execution of the delay mechanism in the operation class database once every second time, and cleaning the request for failure execution of the delay mechanism in the operation class database once every third time, wherein the first time is less than the second time and less than the third time.
In view of the above object, a third aspect of an embodiment of the present application provides an electronic device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, adding an upgrade pause module into each node of a web management platform, and judging whether an executing online upgrade task exists in a cluster or not through the upgrade pause module of a main node of the web management platform; s2, responding to the fact that no online upgrading task is executed in the cluster, software versions among all nodes are inconsistent, the configuration file of the web management platform is recorded as a pause state, and transmitting an operation request to an upgrading pause module of a master node; s3, responding to the fact that the software version of the master node is not upgraded and the operation request cannot be executed on the current version, and recording the operation request into a database of an upgrade suspension module; s4, checking whether request data is recorded in the database through a delay mechanism of the upgrading pause module, responding to the request data recorded in the database, and issuing operation requests and parameters recorded in the database to a module corresponding to the web management platform.
In some embodiments, the recording the operation request into a database of an upgrade suspension module comprises: and recording the types of the operation requests, the request interfaces, the request parameters, the request issuing time, the request execution state, the request completion time and the reasons of the request failure into a database of the upgrade suspension module.
In some embodiments, the recording the operation request into a database of an upgrade suspension module comprises: and synchronizing the data recorded in the database of the upgrade suspension module to other standby nodes of the cluster.
In some embodiments, the recording the operation request into a database of an upgrade suspension module comprises: recording the query class request into a query class database, and recording the create, delete, edit and modify class request into an operation class database.
In some embodiments, the checking whether the request data is recorded in the database by the delay mechanism of the upgrade suspension module includes: and in response to the end of the upgrading task and the consistency of the software versions of all nodes in the cluster, checking whether the request data is recorded in the operation class database or not through the delay mechanism.
In some embodiments, the steps further comprise: and adding a task for cleaning data at fixed time into the online pause module to clean the query class database and the operation class database respectively.
In some embodiments, the adding the task of cleaning data in a timing manner to clean up the query class database and the operation class database respectively includes: and cleaning the query class database once every first time, cleaning the request for successful execution of the delay mechanism in the operation class database once every second time, and cleaning the request for failure execution of the delay mechanism in the operation class database once every third time, wherein the first time is less than the second time and less than the third time.
As shown in fig. 4, a schematic hardware structure of an embodiment of the electronic device using the web management platform when the online upgrade is suspended is provided in the present application.
Taking the example of the apparatus shown in fig. 4, a processor 301 and a memory 302 are included in the apparatus.
The processor 301 and the memory 302 may be connected by a bus or otherwise, for example in fig. 4.
The memory 302 is used as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer executable programs, and modules, such as program instructions/modules corresponding to the method of using the web management platform when online upgrade is suspended in an embodiment of the present application. The processor 301 executes various functional applications of the server and data processing, i.e., a method of using the web management platform when the online upgrade is suspended, by running nonvolatile software programs, instructions, and modules stored in the memory 302.
Memory 302 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of a method of using the web management platform when online upgrades are suspended, and the like. In addition, memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 302 may optionally include memory located remotely from processor 301, which may be connected to the local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Computer instructions 303 corresponding to one or more methods of using a web management platform when online upgrades are paused are stored in memory 302 that, when executed by processor 301, perform the methods of using a web management platform when online upgrades in any of the method embodiments described above are paused.
Any one embodiment of a computer device that performs the above method of using a web management platform when online upgrades are suspended may achieve the same or similar effects as any of the previously described method embodiments corresponding thereto.
The present application also provides a computer readable storage medium storing a computer program that when executed by a processor performs a method of using a web management platform when online upgrade is suspended.
FIG. 5 is a schematic diagram of one embodiment of a computer storage medium using a web management platform when the online upgrade is suspended according to the present application. Taking a computer storage medium as shown in fig. 5 as an example, the computer readable storage medium 401 stores a computer program 402 that when executed by a processor performs the above method.
Finally, it should be noted that, as will be appreciated by those skilled in the art, implementing all or part of the above-described methods according to the embodiments of the present application may be implemented by a computer program for instructing relevant hardware, and the program for implementing the method using the web management platform when the online upgrade is suspended may be stored in a computer readable storage medium, where the program when executed may include the steps of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (RAM), or the like. The computer program embodiments described above may achieve the same or similar effects as any of the method embodiments described above.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that as used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment of the present application has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the application, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the application, and many other variations of the different aspects of the embodiments of the application as described above exist, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present application.

Claims (10)

1. A method for using a web management platform when online upgrades are paused, comprising the steps of:
adding an upgrade pause module into each node of the web management platform, and judging whether an executing online upgrade task exists in the cluster or not through the upgrade pause module of the web management platform main node;
responding to the fact that no online upgrading task is being executed in the cluster, software versions among all nodes are inconsistent, a configuration file of a web management platform is recorded as a pause state, and transmitting an operation request to an upgrading pause module of a master node;
recording the operation request into a database of an upgrade suspension module in response to the software version of the master node not being upgraded and the operation request being unable to be executed on the current version; and
and checking whether the request data is recorded in the database through a delay mechanism of the upgrade suspension module, responding to the request data recorded in the database, and issuing the operation request and parameters recorded in the database to the corresponding module of the web management platform.
2. The method for using a web management platform when online upgrade is suspended according to claim 1, wherein said recording said operation request into a database of an upgrade suspension module comprises:
and recording the types of the operation requests, the request interfaces, the request parameters, the request issuing time, the request execution state, the request completion time and the reasons of the request failure into a database of the upgrade suspension module.
3. The method for using a web management platform when online upgrade is suspended according to claim 1, wherein said recording said operation request into a database of an upgrade suspension module comprises:
and synchronizing the data recorded in the database of the upgrade suspension module to other standby nodes of the cluster.
4. The method for using a web management platform when online upgrade is suspended according to claim 1, wherein said recording said operation request into a database of an upgrade suspension module comprises:
recording the query class request into a query class database, and recording the create, delete, edit and modify class request into an operation class database.
5. The method for using a web management platform when online upgrade is suspended as recited in claim 4, wherein said checking whether request data is recorded in a database through a delay mechanism of said upgrade suspension module comprises:
and in response to the end of the upgrading task and the consistency of the software versions of all nodes in the cluster, checking whether the request data is recorded in the operation class database or not through the delay mechanism.
6. The method for using a web management platform when online upgrades are paused of claim 5, the method further comprising:
and adding a task for cleaning data at fixed time into the online pause module to clean the query class database and the operation class database respectively.
7. The method for using a web management platform when online upgrade is suspended of claim 6, wherein said adding a task of cleaning data periodically in said online suspension module to clean up query class databases and operational class databases, respectively, comprises:
and cleaning the query class database once every first time, cleaning the request for successful execution of the delay mechanism in the operation class database once every second time, and cleaning the request for failure execution of the delay mechanism in the operation class database once every third time, wherein the first time is less than the second time and less than the third time.
8. A system for using a web management platform when online upgrades are paused, comprising:
the judging module is used for adding an upgrade suspension module into each node of the web management platform and judging whether an online upgrade task which is being executed exists in the cluster or not through the upgrade suspension module of the main node of the web management platform;
the issuing module is used for issuing an operation request to the upgrading suspension module of the master node in response to the fact that the online upgrading task which is being executed does not exist in the cluster, the software versions among the nodes are inconsistent, the configuration file of the web management platform is recorded as a suspension state;
the recording module is used for recording the operation request into a database of the upgrade suspending module in response to that the software version of the master node is not upgraded and the operation request cannot be executed on the current version; and
and the execution module is used for checking whether the request data is recorded in the database through the delay mechanism of the upgrading pause module, responding to the request data recorded in the database, and issuing the operation request and the parameters recorded in the database to the corresponding module of the web management platform.
9. An electronic device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method of any one of claims 1-7.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any one of claims 1-7.
CN202310752593.6A 2023-06-25 2023-06-25 Method and device for using web management platform during online upgrade suspension Pending CN117111973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310752593.6A CN117111973A (en) 2023-06-25 2023-06-25 Method and device for using web management platform during online upgrade suspension

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310752593.6A CN117111973A (en) 2023-06-25 2023-06-25 Method and device for using web management platform during online upgrade suspension

Publications (1)

Publication Number Publication Date
CN117111973A true CN117111973A (en) 2023-11-24

Family

ID=88799035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310752593.6A Pending CN117111973A (en) 2023-06-25 2023-06-25 Method and device for using web management platform during online upgrade suspension

Country Status (1)

Country Link
CN (1) CN117111973A (en)

Similar Documents

Publication Publication Date Title
CN106713487B (en) Data synchronization method and device
US9984140B1 (en) Lease based leader election system
CN102142024B (en) Use in distributed data base and increase progressively seizure to carry out logical data backup and rollback
US9575738B1 (en) Method and system for deploying software to a cluster
US5119493A (en) System for recording at least one selected activity from a selected resource object within a distributed data processing system
EP1712998B1 (en) Remote copy system and remote copy method
US9602340B2 (en) Performance monitoring
CN102999400A (en) Data backup method and device of cloud storage system
CN110807064A (en) Data recovery device in RAC distributed database cluster system
US5128885A (en) Method for automatic generation of document history log exception reports in a data processing system
CN110990432A (en) Device and method for synchronizing distributed cache clusters across machine rooms
JP7215971B2 (en) METHOD AND APPARATUS FOR PROCESSING DATA LOCATION IN STORAGE DEVICE, COMPUTER DEVICE AND COMPUTER-READABLE STORAGE MEDIUM
CN111400041A (en) Server configuration file management method and device and computer readable storage medium
CN112925555A (en) Model management method, device, equipment and storage medium
WO2019000895A1 (en) Method and system for managing anomaly log of flash player
US11080909B2 (en) Image layer processing method and computing device
CN113687927A (en) Method, device, equipment and storage medium for scheduling and configuring flash tasks
CN109002263A (en) The method of adjustment and device of memory capacity
CN106385416B (en) A kind of construction method and information security management platform of information safety system platform
CN117111973A (en) Method and device for using web management platform during online upgrade suspension
CN114296983B (en) Trigger operation record-based flow exception handling method and storage medium
CN116069358A (en) Method, device and storage medium for upgrading data in distributed database
CN115905255A (en) Method for consistency between cache and database, storage medium and electronic device
CN113392081A (en) Data processing system and method
CN115237711A (en) Configuration method and related device for Pod log collection

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