CN109101253A - The management method and device of host in cloud computing system - Google Patents

The management method and device of host in cloud computing system Download PDF

Info

Publication number
CN109101253A
CN109101253A CN201810794409.3A CN201810794409A CN109101253A CN 109101253 A CN109101253 A CN 109101253A CN 201810794409 A CN201810794409 A CN 201810794409A CN 109101253 A CN109101253 A CN 109101253A
Authority
CN
China
Prior art keywords
host
system upgrade
reboot operation
executes
restarted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810794409.3A
Other languages
Chinese (zh)
Other versions
CN109101253B (en
Inventor
栗丽霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810794409.3A priority Critical patent/CN109101253B/en
Publication of CN109101253A publication Critical patent/CN109101253A/en
Application granted granted Critical
Publication of CN109101253B publication Critical patent/CN109101253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses the management methods and device of host in a kind of cloud computing system.The described method includes: the host to be upgraded such as record is executing the preoperative job schedule of system upgrade when receiving to the request of host progress system upgrade in cluster or data center;After the system upgrade success for detecting host, user is prompted to execute reboot operation to the host after system upgrade success;After the completion of detecting that the host is restarted, the preoperative job schedule of system upgrade is being executed according to the host, is restoring the work of the host.

Description

The management method and device of host in cloud computing system
Technical field
The present invention relates to field of information processing, the management method and device of host in espespecially a kind of cloud computing system.
Background technique
Cloud computing (cloud computing) is the increase, use and delivery mode of related service Internet-based, is led to Often it is related to providing the resource of dynamic easily extension and often virtualization by internet.Cloud is a kind of ratio of network, internet Explain saying.Past often indicates telecommunications network in figure with cloud, also is used to indicate the pumping of internet and underlying infrastructure later As.Therefore, cloud computing even can allow you to experience the operational capability of 10 trillion times per second, and possessing so powerful computing capability can With simulated-nuclear explosion, Prediction of Climate Change and market trend.User accesses number by modes such as computer, notebook, mobile phones According to center, operation is carried out by the demand of oneself.
Definition to cloud computing, well accepted at this stage is National Institute of Standards and Technology's definition: cloud computing It is a kind of mode paid by usage amount, this mode provides available, convenient and fast, on-demand network access, into configurable Computing resources shared pool, wherein resource includes network, server, storage, application software and service etc., these resources can be by It quickly provides, only need to put into seldom management work, or carry out seldom interaction with service supplier.In Constructing data center Initial stage be mainly complete network, calculating, storage are built, construct unified resource management platform, complete the unitized pipe of resource Reason and autonomous service;User gradually pays close attention to the real service condition of resource in subsequent development process, preferably to plan The use of resource and control resource.
System software has updated certain system configurations all in many cases, can require restarting that update is made to come into force, needle The relatively easy processing of realization this to a host, but under high-volume virtualized environment, may have under a data center Multiple clusters also have hundreds and thousands of hosts under one cluster, if as unit of a data center or a cluster, if This completion host is restarted, and how the host ip for needing to restart accurately is prompted to client, and how to restore to rise automatically after restarting The preparation operation carried out before grade, such as host exit service mode, and restore the virtual machine closed before upgrading, these are all to use The insurmountable problem of traditional scheme.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides the management methods and dress of host in a kind of cloud computing system It sets, realization is managed the host after upgrading, reduces the cost of manual maintenance.
In order to reach the object of the invention, the present invention provides a kind of management methods of host in cloud computing system, comprising:
When receiving to the request of host progress system upgrade in cluster or data center, the host to be upgraded such as record Executing the preoperative job schedule of system upgrade;
After the system upgrade success for detecting host, user is prompted to restart behaviour to the host execution after system upgrade success Make;
After the completion of detecting that the host is restarted, according to the host execute system upgrade it is preoperative work into Degree, restores the work of the host.
Wherein, the method also has a characteristic that described after the system upgrade for detecting host success, prompts user Executing reboot operation to the host after system upgrade success includes:
Obtain system upgrade packet needed for executing system upgrade operation;
Upgraded in batches using system upgrade packet equity host to be upgraded, wherein the quantity of every batch of host is extremely It is two few;
The host of system upgrade is completed in escalation process in batches for record host;
According to record as a result, prompt executes reboot operation to the host after system upgrade success.
Wherein, the method also has a characteristic that described after the system upgrade for detecting host success, prompts user Before executing reboot operation to the host after system upgrade success, the method also includes:
Before host executes system upgrade operation, the instruction information that host is restarted is obtained;
During host executes system upgrade, the instruction information that the host is restarted is run, and complete system in host After upgrading, the result in the instruction information that the host is restarted is obtained;
Result in the instruction information that the host is restarted is when carrying out host reboot operation, to prompt user to system liter Host after grade success executes reboot operation.
Wherein, the method also has a characteristic that described after the system upgrade for detecting host success, prompts user After executing reboot operation to the host after system upgrade success, the method also includes:
Record has prompted to execute the host information of reboot operation;
According to the host of the completion reboot operation of record, deleted from the host information of the execution reboot operation prompted Complete the host information of reboot operation.
Wherein, the method also have a characteristic that it is described according to the host execute the preoperative work of system upgrade Make progress, the work for restoring the host includes:
Obtain be completed system upgrade operation host be carrying out before upgrading in task description information, wherein institute Stating description information includes task type and task identification;
According to the task type and task identification, the object run of the task execution is determined;
According to the object run of the task execution, the operation opposite with the object run is executed.
The managing device of host in a kind of cloud computing system, comprising:
First logging modle, for when receive in cluster or data center host carry out system upgrade request when, The hosts to be upgraded such as record are executing the preoperative job schedule of system upgrade;
Cue module, after after the system upgrade for detecting host is successful, prompting user successful to system upgrade Host executes reboot operation;
Recovery module, for executing system upgrade behaviour according to the host after the completion of detecting that the host is restarted Job schedule before work restores the work of the host.
Wherein, described device also has a characteristic that described device further include:
First obtains module, executes the required system upgrade packet of system upgrade operation for obtaining;
Upgraded module, for being upgraded using system upgrade packet equity host to be upgraded in batches, wherein every batch of The quantity of host is at least two;
Second logging modle, the host that system upgrade is completed in escalation process in batches for recording host;
The cue module is according to record as a result, prompt executes reboot operation to the host after system upgrade success.
Wherein, described device also has a characteristic that described device further include:
Second obtains module, for obtaining the instruction information that host is restarted before host executes system upgrade operation;
Third obtains module, for running the instruction information that the host is restarted during host executes system upgrade, And after host completes system upgrade, the result in the instruction information that the host is restarted is obtained;
Result of the cue module in the instruction information that the host is restarted is when carrying out host reboot operation, to prompt User executes reboot operation to the host after system upgrade success.
Wherein, described device also has a characteristic that described device further include:
Third logging modle, for remembering after prompt user executes reboot operation to the host after system upgrade success Record has prompted to execute the host information of reboot operation;
Management module, for the host according to the completion reboot operation of record, from the master of the execution reboot operation prompted The host information that reboot operation is completed is deleted in machine information.
Wherein, described device also has a characteristic that the recovery module includes:
Acquiring unit, for obtain be completed system upgrade operation host be carrying out before upgrading in task retouch Information is stated, wherein the description information includes task type and task identification;
Determination unit, for determining the object run of the task execution according to the task type and task identification;
Execution unit executes the operation opposite with the object run for the object run according to the task execution.
Embodiment provided by the invention, when receive in cluster or data center host carry out system upgrade request When, record etc. host to be upgraded execute the preoperative job schedule of system upgrade, the system upgrade for detecting host at After function, user is prompted to execute reboot operation to the host after system upgrade success;After the completion of detecting that the host is restarted, root The preoperative job schedule of system upgrade is being executed according to the host, is restoring the work of the host, realizes and needed in upgrade package Restart and in the case of host restarted, it is automatic restore upgrading before prepare operation, restore system mode before upgrading, it is automatic to realize weight Rollback is opened and upgraded, manual operation is reduced, saves time cost, improves product competitiveness.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow chart of the management method of host in cloud computing system provided by the invention;
Fig. 2 is the flow chart that virtualization system provided by the invention upgrades aft engine reboot process method;
Fig. 3 is the structure chart of the managing device of host in cloud computing system provided by the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
Fig. 1 is the flow chart of the management method of host in provided by the invention kind of cloud computing system.Method packet shown in Fig. 1 It includes:
Step 101, when receive in cluster or data center host carry out system upgrade request when, record wait rise The host of grade is executing the preoperative job schedule of system upgrade;
Step 102, detect host system upgrade success after, prompt user to system upgrade success after host hold Row reboot operation;
Step 103, after the completion of detecting that the host is restarted, according to the host execute system upgrade it is preoperative Job schedule restores the work of the host.
Embodiment of the method provided by the invention asks host progress system upgrade in cluster or data center when receiving When asking, the host to be upgraded such as record is executing the preoperative job schedule of system upgrade, in the system upgrade for detecting host After success, user is prompted to execute reboot operation to the host after system upgrade success;After the completion of detecting that the host is restarted, The preoperative job schedule of system upgrade is being executed according to the host, is restoring the work of the host, realizing needs in upgrade package Restart and in the case of host restarted, it is automatic restore upgrading before prepare operation, restore system mode before upgrading, it is automatic to realize Restart and upgrade rollback, reduce manual operation, save time cost, improves product competitiveness.
Embodiment of the method provided by the invention is described further below:
Present invention seek to address that needing to control the host after executing system upgrade in virtualization system batch upgrade host It needs to restart.
Before host executes system upgrade, the job schedule of host is recorded;
Host execute system upgrade after the completion of, prompt user to need to restart host by way of PUSH message, by with Family selection is to restart immediately or postpone to restart, and delete the logo file after creating logo file and restarting host with reality Now judge whether host needs to restart and whether host restarted;
It is automatic to restore to prepare operation before upgrading if host realizes reboot operation after every host upgrades successfully, restore System mode before upgrading.
By above-mentioned process, rollback is restarted and upgraded to automatic realize, reduces manual operation, saves time cost, improves and produces Product competitiveness.
It is wherein, described after the system upgrade for detecting host success in an embodiment of the method provided by the invention, Prompt user executes reboot operation to the host after system upgrade success
Obtain system upgrade packet needed for executing system upgrade operation;
Upgraded in batches using system upgrade packet equity host to be upgraded, wherein the quantity of every batch of host is extremely It is two few;
The host of system upgrade is completed in escalation process in batches for record host;
According to record as a result, prompt executes reboot operation to the host after system upgrade success.
Specifically, after getting upgrade package, by etc. host to be upgraded upgraded in batches, and monitor each host Upgrading progress, the host of updating operation is completed in record, then the host for completing system upgrade operation is prompted to user, and notice is used Family executes reboot operation to the host for completing system upgrade operation.
Wherein, when the host of system upgrade is completed in record, the label of host can be carried out by the IP address of host, And the information of each host for executing system upgrade operation is recorded in task management table, when host completes updating operation When, it marks the host to need to be implemented reboot operation, reboot operation is managed collectively to realize.
It is described after the system upgrade for detecting host success in an embodiment of the method provided by the invention, it prompts Before user executes reboot operation to the host after system upgrade success, the method also includes:
Before host executes system upgrade operation, the instruction information that host is restarted is obtained;
During host executes system upgrade, the instruction information that the host is restarted is run, and complete system in host After upgrading, the result in the instruction information that the host is restarted is obtained;
Result in the instruction information that the host is restarted is when carrying out host reboot operation, to prompt user to system liter Host after grade success executes reboot operation.
Specifically, the instruction information that host is restarted is used to determine whether the program for needing host to restart before host upgrading, Indicate whether this update needs to restart by configuring the program in system upgrade packet.
The program is run during carrying out system upgrade using system upgrade packet, which needs for realizing in host It can be/var/log/upgrade/reboot-host generation file in store path when reboot operation.Utilizing system upgrade After packet carries out host upgrading, detect whether there are this documents under the store path during system upgrade, it is determined that the master Machine needs reboot operation, otherwise, it determines the host does not need reboot operation.
After the completion of system upgrade, according to whether showing whether the host needs to be implemented reboot operation there are this document;Such as Fruit host needs to be implemented reboot operation, then pushes specific message notifying using WebSocket and execute reboot operation to the host; Choosing whether to restart immediately and still restart later by user again, does not restart, and disables other operations of user, in order to avoid influence host On working condition.
It is described after the system upgrade for detecting host success in an embodiment of the method provided by the invention, it prompts After user executes reboot operation to the host after system upgrade success, the method also includes:
Record has prompted to execute the host information of reboot operation;
According to the host of the completion reboot operation of record, deleted from the host information of the execution reboot operation prompted Complete the host information of reboot operation.
Specifically, maintenance of the user to host reboot operation for convenience, when the host for completing upgrading executes reboot operation And after reboot operation success, the host information is recorded, and it is deleted from the previously stored Host List that need to be restarted, with reality Now to the accurate maintenance of host restarting information, so that is saved in the Host List that need to be restarted is currently to be not carried out completion to restart The host of operation.
Restart and resume work in time in order to facilitate control host, in the Host List restarted of need of local record, sieve It is selected in the host for remaining unfulfilled reboot operation after the completion of prompting after preset time, for the host that screening obtains, is reminded again User executes reboot operation.
Before executing system upgrade operation, since host is in working condition, the partial task on host is processed In journey, if continuing to execute the task after restarting host, the normal fortune of the task in the treatment process of part certainly will be will affect Row, therefore, to guarantee after host completes reboot operation, which can normally enter working condition, will not be because of upgrading Before can not cause the generation for the case where task can not be normally handled after restarting with the smooth operation transition before upgrading, guarantee system Traveling comfort.
In order to achieve the above objectives, described to be executed according to the host in an embodiment of the method provided by the invention The preoperative job schedule of system upgrade, the work for restoring the host include:
Obtain be completed system upgrade operation host be carrying out before upgrading in task description information, wherein institute Stating description information includes task type and task identification;
According to the task type and task identification, the object run of the task execution is determined;
According to the object run of the task execution, the operation opposite with the object run is executed.
Specifically, before restarting host recovery operation need to be carried out to the task on host, for appointing in treatment process Business, determines the object run of the task execution, host is restored to the working condition of the operation opposite with the object run, is made The task restarts to execute, and reduces the generation of task accidental interruption, improves the stability of system.
For example, the host is being in host maintenance mode before upgrading carries out plant maintenance, then the target of the task is grasped It is in service mode as control host, before upgrading is completed to wait and be restarted, host need to be controlled and exit host maintenance mode, to protect For card after host is restarted, which can normally enter service mode, will not be because of can not be with the operation before upgrading before upgrading Smooth transition, causes the generation for the case where service mode can not be normally entered after restarting.
It is illustrated below with application example provided by the invention:
The roadmap of application example provided by the invention includes the following steps:
Step 1. upgrades successfully, and judges whether host needs to restart, no to then follow the steps 7 if so then execute step 2;
It can be just to update to come into force that step 2. PUSH message prompt subscriber's main station { IP } needs, which are restarted,;
Step 3. acquisition state is the task list upgraded successfully;
Every task in step 4. traversal step 3, judge current task it is corresponding upgrading whether need to restart, can by with Family selection is to restart immediately or postpone to restart, no to then follow the steps 8 if it is thening follow the steps 5;
Step 5. judges whether the corresponding host of current task restarts success, if so, thening follow the steps 6, otherwise executes Step 8;
Step 6. periodically acquires the corresponding eligible task list of current task;
Eligible task in step 7. traversal step 6 in list according to its task type and is appointed for current eligible task Business Target id executes opposite operation, for example, if eligible task type is into service mode, then the step is carried out and moves back Service mode out;
Step 8. terminates.
Based on above-mentioned roadmap, the present invention provides following specific implementation step and the roadmap is described in detail:
Fig. 2 is the flow chart that virtualization system provided by the invention upgrades aft engine reboot process method.Method shown in Fig. 2 Restart including host and prepares operation before restoring upgrading after alarm, task flow engine and host are restarted.
1) Cheng Qian is crossed in execution system upgrade, configuration upgrade package includes detection program, and the detection program is for indicating this System upgrade completes whether aft engine needs to restart, and when needing host to execute system upgrade, under the preset path of host Corresponding specific file is generated, for example, store path/var/log/upgrade of host, specific text under the store path The entitled reboot-host of file.
2) judge whether host restarts to the host updating operation, and after upgrading successfully using the upgrade package, if needed Restart, pushes specific message using WebSocket;
In this application example, whether restart after host upgrading by judging whether store respective file under preset path Come what is obtained.
Specifically, if the host needs to restart after executing system upgrade operation, it is new under preset store path Build preset file;On the contrary, if the host does not need to restart after executing system upgrade operation, in preset store path It will be not present corresponding file down.
3) reboot time that user is Selection of chiller is received, wherein user can choose to restart immediately and still restart later;
Wherein, it if user's selection does not execute reboot operation to the host, for the normal operation for guaranteeing host, is examining Before survey host is not carried out reboot operation, the starting of the host will be limited.
4) after user is to the reboot time for Selection of chiller, whether detection host is completed to restart careless operation.
In this application example, the work of the step is realized by task flow engine, which executes every The execution state of the host of system operatio is monitored as a task, can periodically obtain the execution shape of every task State, that is, judge whether the host in the task is completed reboot operation.
In this application example, it is specific under preset store path according to being viewed locally that whether host, which completes reboot operation, File whether there is to realize.
In step 2), since it is desired that identifying whether the host needs to restart, spy is newly had under specific store path Fixed file;Once the host completes reboot operation, the file under the store path will be deleted, on the contrary, if the host Reboot operation is not yet completed, then the file under the store path will then exist.That is, if risen in escalation process Grade packet requires host to restart, and can create a logo file, once host, which executes, completes reboot operation, then deletes this document.Cause This, judge host whether restart it is out-of-date, by judging whether this document is not present, if state from exist become being not present, It then indicates the host after upgrading, is rebooted.
5) preparation operation is that its corresponding eligible task is obtained from current upgrading task before restoring upgrading after host is restarted, By way of iterative processing, one by one by the corresponding corresponding entity of eligible task return back to upgrading before from the above, it can be seen that, this The virtualization system that invention provides upgrades aft engine reboot process method, state, for example, exiting host maintenance mode or opening The virtual electromechanical source closed before upgrading.
Application example provided by the invention prompts subscriber's main station needs to restart, task flow engine after the completion of system upgrade Acquisition state is upgrading successfully for task, and judges whether its corresponding upgrade package needs to restart and whether host restarts into Function, if it is judged that being very, then to prepare operation, system mode before recovery upgrades before rollback upgrading;It is automatic to restore before upgrading Preparing operation, restores system mode before upgrading, automatic realize is restarted and is upgraded rollback, reduce manual operation, time cost is saved, Improve product competitiveness.
Fig. 3 is the structure chart of the managing device of host in cloud computing system provided by the invention.Fig. 3 shown device includes:
First logging modle 301 receives the request that system upgrade is carried out to host in cluster or data center for working as When, the host to be upgraded such as record is executing the preoperative job schedule of system upgrade;
Cue module 302, after after the system upgrade for detecting host is successful, prompting user successful to system upgrade Host execute reboot operation;
Recovery module 303, for executing system upgrade according to the host after the completion of detecting that the host is restarted Preoperative job schedule restores the work of the host.
In an Installation practice provided by the invention, described device further include:
First obtains module, executes the required system upgrade packet of system upgrade operation for obtaining;
Upgraded module, for being upgraded using system upgrade packet equity host to be upgraded in batches, wherein every batch of The quantity of host is at least two;
Second logging modle, the host that system upgrade is completed in escalation process in batches for recording host;
The cue module is according to record as a result, prompt executes reboot operation to the host after system upgrade success.
In an Installation practice provided by the invention, described device further include:
Second obtains module, for obtaining the instruction information that host is restarted before host executes system upgrade operation;
Third obtains module, for running the instruction information that the host is restarted during host executes system upgrade, And after host completes system upgrade, the result in the instruction information that the host is restarted is obtained;
Result of the cue module in the instruction information that the host is restarted is when carrying out host reboot operation, to prompt User executes reboot operation to the host after system upgrade success.
In an Installation practice provided by the invention, described device further include:
Third logging modle, for remembering after prompt user executes reboot operation to the host after system upgrade success Record has prompted to execute the host information of reboot operation;
Management module, for the host according to the completion reboot operation of record, from the master of the execution reboot operation prompted The host information that reboot operation is completed is deleted in machine information.
In an Installation practice provided by the invention, the recovery module 303 includes:
Acquiring unit, for obtain be completed system upgrade operation host be carrying out before upgrading in task retouch Information is stated, wherein the description information includes task type and task identification;
Determination unit, for determining the object run of the task execution according to the task type and task identification;
Execution unit executes the operation opposite with the object run for the object run according to the task execution.
Installation practice provided by the invention asks host progress system upgrade in cluster or data center when receiving When asking, the host to be upgraded such as record is executing the preoperative job schedule of system upgrade, in the system upgrade for detecting host After success, user is prompted to execute reboot operation to the host after system upgrade success;After the completion of detecting that the host is restarted, The preoperative job schedule of system upgrade is being executed according to the host, is restoring the work of the host, realizing needs in upgrade package Restart and in the case of host restarted, it is automatic restore upgrading before prepare operation, restore system mode before upgrading, it is automatic to realize Restart and upgrade rollback, reduce manual operation, save time cost, improves product competitiveness.
Those of ordinary skill in the art will appreciate that computer journey can be used in all or part of the steps of above-described embodiment Sequence process realizes that the computer program can be stored in a computer readable storage medium, the computer program exists (such as system, unit, device) executes on corresponding hardware platform, when being executed, include the steps that embodiment of the method it One or combinations thereof.
Optionally, integrated circuit can be used also to realize in all or part of the steps of above-described embodiment, these steps can To be fabricated to integrated circuit modules one by one respectively, or make multiple modules or steps in them to single integrated electricity Road module is realized.In this way, the present invention is not limited to any specific hardware and softwares to combine.
Each device/functional module/functional unit in above-described embodiment, which can be adopted, is realized with general computing device realization, it Can be concentrated on a single computing device, can also be distributed over a network of multiple computing devices.
Each device/functional module/functional unit in above-described embodiment realized in the form of software function module and as Independent product when selling or using, can store in a computer readable storage medium.Computer mentioned above Read/write memory medium can be read-only memory, disk or CD etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to protection scope described in claim.

Claims (10)

1. the management method of host in a kind of cloud computing system characterized by comprising
When receiving to the request of host progress system upgrade in cluster or data center, the host to be upgraded such as record is being held The preoperative job schedule of row system upgrade;
After the system upgrade success for detecting host, user is prompted to execute reboot operation to the host after system upgrade success;
After the completion of detecting that the host is restarted, the preoperative job schedule of system upgrade is being executed according to the host, it is extensive The work of the multiple host.
2. the method according to claim 1, wherein it is described detect host system upgrade success after, mention Show that user executes reboot operation to the host after system upgrade success and includes:
Obtain system upgrade packet needed for executing system upgrade operation;
Upgraded in batches using system upgrade packet equity host to be upgraded, wherein the quantity of every batch of host is at least two It is a;
The host of system upgrade is completed in escalation process in batches for record host;
According to record as a result, prompt executes reboot operation to the host after system upgrade success.
3. according to the method described in claim 2, it is characterized in that, it is described detect host system upgrade success after, mention Before showing that user executes reboot operation to the host after system upgrade success, the method also includes:
Before host executes system upgrade operation, the instruction information that host is restarted is obtained;
During host executes system upgrade, the instruction information that the host is restarted is run, and complete system upgrade in host Afterwards, the result in the instruction information that the host is restarted is obtained;
Result in the instruction information that the host is restarted be when carrying out host reboot operation prompt user to system upgrade at Host after function executes reboot operation.
4. according to the method described in claim 2, it is characterized in that, it is described detect host system upgrade success after, mention After showing that user executes reboot operation to the host after system upgrade success, the method also includes:
Record has prompted to execute the host information of reboot operation;
According to the host of the completion reboot operation of record, deletes and be completed from the host information of the execution reboot operation prompted The host information of reboot operation.
5. method according to any one of claims 1 to 4, which is characterized in that described to execute system liter according to the host The preoperative job schedule of grade, the work for restoring the host include:
Obtain be completed system upgrade operation host be carrying out before upgrading in task description information, retouched wherein described Stating information includes task type and task identification;
According to the task type and task identification, the object run of the task execution is determined;
According to the object run of the task execution, the operation opposite with the object run is executed.
6. the managing device of host in a kind of cloud computing system characterized by comprising
First logging modle, for recording when receiving to the request of host progress system upgrade in cluster or data center The preoperative job schedule of system upgrade is being executed etc. host to be upgraded;
Cue module, for prompting user to the host after system upgrade success after the system upgrade success for detecting host Execute reboot operation;
Recovery module, for after the completion of detecting that the host is restarted, according to the host before executing system upgrade operation Job schedule, restore the work of the host.
7. device according to claim 6, which is characterized in that described device further include:
First obtains module, executes the required system upgrade packet of system upgrade operation for obtaining;
Upgraded module, for being upgraded using system upgrade packet equity host to be upgraded in batches, wherein every batch of host Quantity be at least two;
Second logging modle, the host that system upgrade is completed in escalation process in batches for recording host;
The cue module is according to record as a result, prompt executes reboot operation to the host after system upgrade success.
8. device according to claim 7, which is characterized in that described device further include:
Second obtains module, for obtaining the instruction information that host is restarted before host executes system upgrade operation;
Third obtains module, for running the instruction information that the host is restarted during host executes system upgrade, and After host completes system upgrade, the result in the instruction information that the host is restarted is obtained;
Result of the cue module in the instruction information that the host is restarted is when carrying out host reboot operation, to prompt user Reboot operation is executed to the host after system upgrade success.
9. device according to claim 7, which is characterized in that described device further include:
Third logging modle, for after prompt user executes reboot operation to the host after system upgrade success, record to be Prompt executes the host information of reboot operation;
Management module is believed for the host according to the completion reboot operation of record from the host of the execution reboot operation prompted The host information that reboot operation is completed is deleted in breath.
10. according to any device of claim 6 to 9, which is characterized in that the recovery module includes:
Acquiring unit, for obtain be completed system upgrade operation host be carrying out before upgrading in task description letter Breath, wherein the description information includes task type and task identification;
Determination unit, for determining the object run of the task execution according to the task type and task identification;
Execution unit executes the operation opposite with the object run for the object run according to the task execution.
CN201810794409.3A 2018-07-19 2018-07-19 Management method and device for host in cloud computing system Active CN109101253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810794409.3A CN109101253B (en) 2018-07-19 2018-07-19 Management method and device for host in cloud computing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810794409.3A CN109101253B (en) 2018-07-19 2018-07-19 Management method and device for host in cloud computing system

Publications (2)

Publication Number Publication Date
CN109101253A true CN109101253A (en) 2018-12-28
CN109101253B CN109101253B (en) 2022-03-25

Family

ID=64846848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810794409.3A Active CN109101253B (en) 2018-07-19 2018-07-19 Management method and device for host in cloud computing system

Country Status (1)

Country Link
CN (1) CN109101253B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258609A (en) * 2020-01-19 2020-06-09 北京百度网讯科技有限公司 Upgrading method and device of Kubernetes cluster, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272250A (en) * 2007-03-21 2008-09-24 杭州华三通信技术有限公司 Client terminal access authentication method, system and device thereof
CN106201773A (en) * 2016-06-24 2016-12-07 北京海誉动想科技股份有限公司 The upgrading of instance system, cloud system and instance system or restoration methods
CN106941672A (en) * 2017-03-09 2017-07-11 东软集团股份有限公司 The method and device of application software abnormality processing
CN107220095A (en) * 2017-06-29 2017-09-29 郑州云海信息技术有限公司 A kind of method of unattended installation Vmware operating systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272250A (en) * 2007-03-21 2008-09-24 杭州华三通信技术有限公司 Client terminal access authentication method, system and device thereof
CN106201773A (en) * 2016-06-24 2016-12-07 北京海誉动想科技股份有限公司 The upgrading of instance system, cloud system and instance system or restoration methods
CN106941672A (en) * 2017-03-09 2017-07-11 东软集团股份有限公司 The method and device of application software abnormality processing
CN107220095A (en) * 2017-06-29 2017-09-29 郑州云海信息技术有限公司 A kind of method of unattended installation Vmware operating systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258609A (en) * 2020-01-19 2020-06-09 北京百度网讯科技有限公司 Upgrading method and device of Kubernetes cluster, electronic equipment and medium

Also Published As

Publication number Publication date
CN109101253B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
US8881136B2 (en) Identifying optimal upgrade scenarios in a networked computing environment
US10956272B2 (en) Method and system to discover and manage distributed applications in virtualization environments
US20110296398A1 (en) Systems and methods for determining when to update a package manager software
US11327738B2 (en) Software and firmware updates in a combined single pane of glass interface
US10310900B2 (en) Operating programs on a computer cluster
CN111897558A (en) Kubernets upgrading method and device for container cluster management system
US11650804B2 (en) Validation of desired software state image for hardware incompatibilities
US11194561B1 (en) System and method for generating and recommending desired state of virtualization software
US20230342181A1 (en) Validation of combined software/firmware updates
CN109101253A (en) The management method and device of host in cloud computing system
US20230254382A1 (en) Techniques for resource discovery
US11573779B2 (en) Creating and upgrading of solutions for deployment in a virtualized computing environment
US20230161643A1 (en) Lifecycle management for workloads on heterogeneous infrastructure
US11941125B2 (en) Automatic update of VM sets
US12001828B2 (en) Automatic self-adjusting software image recommendation
CN108958889A (en) The management method and device of virtual machine in cloud data system
CN111858234A (en) Task execution method, device, equipment and medium
US11435996B2 (en) Managing lifecycle of solutions in virtualization software installed in a cluster of hosts
US10268958B1 (en) Recommended launch configuration
US20220179633A1 (en) Desired state model for managing lifecycle of virtualization software installed in heterogeneous cluster of hosts
US20210311716A1 (en) Deploying virtualization software in a remote cluster
US20230305858A1 (en) Techniques for building data centers in cloud regions
US11853275B2 (en) Upgrading a database management system deployed in a cloud platform
US20230251852A1 (en) Techniques for building data centers in cloud regions with version sets
US20240152371A1 (en) Dynamic re-execution of parts of a containerized application pipeline

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant