CN112860294A - Server upgrading method and system - Google Patents

Server upgrading method and system Download PDF

Info

Publication number
CN112860294A
CN112860294A CN202110220079.9A CN202110220079A CN112860294A CN 112860294 A CN112860294 A CN 112860294A CN 202110220079 A CN202110220079 A CN 202110220079A CN 112860294 A CN112860294 A CN 112860294A
Authority
CN
China
Prior art keywords
upgrading
upgrade
target host
file
host machine
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
CN202110220079.9A
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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202110220079.9A priority Critical patent/CN112860294A/en
Publication of CN112860294A publication Critical patent/CN112860294A/en
Pending legal-status Critical Current

Links

Images

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
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The invention provides a server upgrading method and system, relates to the technical field of electronic information, and can solve the problem of low efficiency when a server is upgraded in a cloud desktop system. The specific technical scheme is as follows: when the cluster server needs to be upgraded, the target host corresponding to the server can be found through the proxy server, the upgrade file is sent to the target host, and after the target host successfully receives the upgrade file, the upgrade instruction is sent to the target host, so that the technical effect of upgrading the server through the upgrade file is achieved, and the upgrade efficiency is improved. The method and the device are used for upgrading the server.

Description

Server upgrading method and system
Technical Field
The present disclosure relates to the field of electronic information technologies, and in particular, to a server upgrading method and system.
Background
Desktop Virtualization (VDI) refers to virtualizing the end systems (also called desktops) of computers to achieve security and flexibility in desktop use. The desktop system belonging to our individual can be accessed by any device, anywhere, and at any time over a network. With the development and maturity of cloud computing, the use scene of the cloud desktop is more and more extensive, and a plurality of industries such as colleges and universities, medical treatment, government and the like begin to gradually popularize the cloud desktop for office work, and the cloud desktop is an integral trend in the future.
In order to improve the computing power, a server side in the desktop virtualization system connects a plurality of hosts to each other to form a parallel or distributed system, namely a cluster server. However, if the cluster server in the desktop virtualization system needs to be upgraded, the operation and maintenance personnel needs to upgrade each host in the cluster server one by one, and the upgrading operation is cumbersome, has a large amount of repeated work, and is inefficient.
Disclosure of Invention
The embodiment of the disclosure provides a server upgrading method and system, which can solve the problem of low efficiency when a server is upgraded in a cloud desktop system. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a server upgrade method, which is applied to a proxy server, and includes:
acquiring upgrading request information, wherein the upgrading request information is used for requesting to upgrade a target cluster server through an upgrading file, and the upgrading request information comprises the upgrading file and identification information of the target cluster server;
determining a plurality of target host machines corresponding to the target cluster server in a database according to the upgrading request information, and respectively sending the upgrading file to the target host machines, wherein the database stores mapping between at least one server and at least one target host machine;
and when the target host machine is confirmed to successfully receive the upgrading file, sending an upgrading instruction to the target host machine, wherein the upgrading instruction is used for indicating upgrading processing through the upgrading file.
In one embodiment, the method for obtaining upgrade request information includes:
receiving an upgrade data packet sent by a terminal device, wherein the upgrade data packet at least comprises an upgrade file, identification information of a target cluster server and parameter information corresponding to the upgrade file, and the parameter information at least comprises at least one of upgrade time, an upgrade version and an operation unit;
and obtaining the upgrading request information according to the upgrading data packet.
In one embodiment, before sending the upgrade file, the method further comprises:
sending file verification information to the target host machine;
and when the target host machine confirms that the file verification information passes the authentication, sending an upgrade file to the target host machine.
In one embodiment, the method further comprises:
acquiring the sending state of the upgrade file;
and when the sending state indicates that the upgrade file is not sent successfully, detecting the storage space of a transmission network or the target host machine.
In one embodiment, the method further comprises:
receiving an upgrade state sent by the target host machine, wherein the upgrade state at least comprises: during upgrading, upgrading is successful or upgrading is failed;
when the upgrading state is upgrading failure, detecting whether the upgrading file received by the target host machine is complete or detecting the resource occupation condition of the target host machine;
when the upgrading file received by the target host machine is incomplete, the upgrading file is sent to the target host machine again;
or when the resource occupation condition of the target host machine exceeds a preset value, the target host machine is instructed to delete the resources.
The server upgrading method provided by the embodiment of the disclosure is applied to the proxy server, when the cluster server needs to be upgraded, the target host corresponding to the server can be found through the proxy server, the upgrading file is sent to the target host, and after the target host successfully receives the upgrading file, the upgrading instruction is sent to the target host, so that the technical effect of upgrading the server through the upgrading file is achieved, and the efficiency of upgrading a plurality of servers is improved.
According to a second aspect of the embodiments of the present disclosure, there is provided a server upgrade system including: a terminal device and a proxy server, wherein,
the terminal device is used for acquiring an upgrade data packet, wherein the upgrade data packet at least comprises an upgrade file, identification information of a target cluster server and parameter information corresponding to the upgrade file, and the parameter information at least comprises at least one of upgrade time and an operation unit;
generating upgrading request information according to the upgrading data packet and sending the upgrading request information to the proxy server;
the proxy server is used for acquiring upgrading request information, the upgrading request information is used for requesting the server to be upgraded through an upgrading file, the server is matched with at least one target host machine, and the upgrading request information comprises the upgrading file and identification information of the server;
sending the upgrade file to the at least one target host machine according to the upgrade request information;
and when the target host machine is confirmed to successfully receive the upgrading file, sending an upgrading instruction to the target host machine, wherein the upgrading instruction is used for indicating upgrading processing through the upgrading file.
In an embodiment, the terminal device in the system is further configured to acquire an upgrade status sent by the proxy server, where the upgrade status at least includes: during upgrading, upgrading is successful or upgrading is failed;
and when the upgrading state is upgrading failure, generating a detection instruction, wherein the detection instruction is used for indicating the proxy server to detect whether the upgrading file received by the target host machine is complete or detecting the resource occupation condition of the target host machine.
In one embodiment, the proxy server in the system is also used for
Sending file verification information to the target host machine;
and when the target host machine confirms that the file verification information passes the authentication, sending an upgrade file to the target host machine.
In one embodiment, the proxy server in the system is also used for
Acquiring the sending state of the upgrade file;
and when the sending state indicates that the upgrade file is not sent successfully, detecting the storage space of a transmission network or the target host machine.
In one embodiment, the proxy server in the system is also used for
Receiving an upgrade state sent by the target host machine, wherein the upgrade state at least comprises: during upgrading, upgrading is successful or upgrading is failed;
when the upgrading state is upgrading failure, detecting whether the upgrading file received by the target host machine is complete or detecting the resource occupation condition of the target host machine;
when the upgrading file received by the target host machine is incomplete, the upgrading file is sent to the target host machine again;
or when the resource occupation condition of the target host machine exceeds a preset value, the target host machine is instructed to delete the resources.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of a server upgrading method provided by an embodiment of the present disclosure;
FIG. 2 is a block diagram of a proxy server provided by an embodiment of the present disclosure;
FIG. 3 is a block diagram of a server upgrade system provided by an embodiment of the present disclosure;
fig. 3a is a schematic logical layer structure diagram of a server upgrade system according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
An embodiment of the present disclosure provides a server upgrading method, as shown in fig. 1, where the server upgrading method is applied to a proxy server, and specifically includes the following steps:
101. and acquiring upgrading request information.
The upgrade request information is used for requesting the server to be upgraded through the upgrade file, and the upgrade request information comprises the upgrade file and identification information of the server.
Further, the upgrade request information may be for a certain cluster server, or may be for multiple servers. Correspondingly, a user can upgrade one or more cluster servers, and host machines needing to be upgraded are all the host machines corresponding to the one or more cluster servers; the user may also upgrade only for a specified host (from the same cluster server or a different cluster server).
The method provided by the present disclosure may obtain the upgrade request information through the terminal device, and specifically may include:
acquiring an upgrade data packet sent by terminal equipment, wherein the upgrade data packet at least comprises an upgrade file, identification information of a target cluster server and parameter information corresponding to the upgrade file, and the parameter information comprises upgrade time, an operation unit and an upgrade version;
and generating upgrading request information according to the upgrading data packet.
Specifically, the target cluster server needing to be upgraded at this time is determined according to the identification information of the target cluster server, the software version required by the upgrade is determined according to the upgrade version, an upgrade instruction is generated according to the upgrade time, and the upgrade is performed at regular time.
In specific practice, a user uploads an upgrade data packet to a data center of a proxy server through terminal equipment and specifies identification information of a cluster server related to the upgrade;
when it is determined that the upgrade data package is uploaded, the management center of the proxy server needs to record data package parameters, such as upgrade time, operation units, upgrade versions, remarks, and the like, and store and manage the upgrade files in the management center.
The server in the method provided by the present disclosure may be a cluster server, the proxy server and the cluster server are in the same network, and the user may connect to the proxy server through the zero terminal device used by the user.
The method provided by the disclosure can be used for setting a management center in the proxy server, and the management center uniformly monitors and manages the software upgrading process.
When the server needs to be upgraded, the management center can inquire the parameters of the host machine through the proxy server, simultaneously inquire the version information, the upgrading progress, the current state and other parameters of the host machine, and transmit the parameters to the management center; or the information is uniformly delivered to the proxy server, and the management center acquires the information by the proxy server.
In a specific practice, in order to improve the security of the system, the client and the server used by the user do not communicate directly, but all servers are placed in a company private network behind a firewall and are only allowed to be accessed by an agent, and based on the above application scenario, the present disclosure handles server upgrades between the server and the terminal device through the agent, which forwards all requests and responses between the server and the client, instead of letting them communicate directly with each other. The proxy server decouples the client and the server, and completes all data sealing and receiving, security control, transmission channel configuration and any other additional work.
102. And determining a plurality of target host machines corresponding to the target cluster server in a database according to the upgrading request information, and respectively sending the upgrading files to the target host machines.
The database stores a mapping between at least one server and at least one target host.
The method provided by the disclosure further comprises the steps of obtaining a host machine corresponding to each server, specifically, when the parameters of the host machine can be inquired through the proxy server, simultaneously inquiring the version information, the upgrading progress, the current state and other parameters of the host machine, and transmitting the parameters to the management center; or the information is uniformly delivered to the proxy server, and the management center acquires the information by the proxy server.
In the method provided by the present disclosure, when issuing an upgrade file, verification processing is also performed, which may specifically include:
and sending file checking information to the host machine, and checking the consistency of the file while the host machine receives the file.
The method provided by the disclosure further includes detecting a sending state of the delivered file, for example, the host machine receives the complete upgrade file and returns successful delivery information, the host machine receives the incomplete upgrade file and returns a re-delivery request, the host machine receives the incomplete upgrade file and waits for the complete delivery of the file, the host machine does not respond to the response information in the file transmission process due to network and other reasons or applies for retransmission or checks network information after timeout, and the like.
After the upgrade file is issued, the method provided by the present disclosure may also adjust according to different sending states, which may specifically include:
the host machine which fails to issue the upgrade file is processed as follows; such as checking for network, checking for host storage, manual transmission, etc.
103. And when the terminal equipment is confirmed to successfully receive the upgrade file, sending an upgrade instruction, wherein the upgrade instruction is used for indicating that upgrade processing is carried out through the upgrade file.
The method provided by the present disclosure, after issuing the upgrade instruction, may also detect the upgrade status of the target host, including:
receiving an upgrade state sent by the target host machine, wherein the upgrade state comprises: during upgrading, successfully upgrading, failing to upgrade and waiting for upgrading;
when the upgrading state is upgrading failure, detecting the resource occupation condition of the target host machine and the integrity of the received upgrading file;
and when the upgrading state indicates upgrading, further detecting the response time.
The host machine which fails to be upgraded and has no response within the preset time is processed as follows; such as manual upgrade, analysis and troubleshooting of error information, etc., wherein the upgrade failure problem encountered many times in the upgrade process can be automatically processed through the script, thereby improving the upgrade success rate.
Specifically, under the condition of upgrade failure or multiple upgrade failures, the failure reason may be analyzed, and corresponding processing may be performed based on different conditions, for example:
1. if the detected target host machine resource usage exceeds a preset value, such as database occupation, detecting the running process and restarting the database;
2. and if the upgrade file received by the target host machine is detected to be missing, the upgrade file is sent to the target host machine again.
In practical application, problem processing modes can be continuously increased according to practical application scenes; or, before upgrading, version checking may be performed to expose all the problems that may affect upgrading, and then a corresponding processing scheme is set (for example, a cleaning program is added, and the cleaning program may process one or more specific problems in the script).
Preferably, for a scenario where an upgrade failure may occur, the present invention provides an automatic version rollback function, and the specific implementation thereof is: backing up the original version before version upgrading, and if upgrading fails, automatically returning to the original version; alternatively, a control interface is provided to allow the user to autonomously select whether to rollback to a previous version.
The server upgrading method provided by the embodiment of the disclosure is applied to the proxy server, when the cluster server needs to be upgraded, the target host corresponding to the server can be found through the proxy server, the upgrading file is sent to the target host, and after the target host successfully receives the upgrading file, the upgrading instruction is sent to the target host, so that the technical effect of upgrading the server through the upgrading file is achieved, and the efficiency of upgrading a plurality of servers is improved. More importantly, the method and the system can monitor the sending state of the file and the upgrading state of the target host machine in real time in the upgrading process, timely solve the problems encountered in upgrading until all the host machines finish the upgrading treatment of the server, and further improve the upgrading efficiency.
Example two
Based on the server upgrading method described in the embodiment corresponding to fig. 1, the following is an embodiment of the apparatus of the present disclosure, which may be used to execute an embodiment of the method of the present disclosure.
The embodiment of the present disclosure provides a proxy server, as shown in fig. 2, the proxy server 20 includes: an acquisition module 201, a sending module 202 and an upgrading module 203;
the acquiring module 201 is configured to acquire upgrade request information, where the upgrade request information is used to request that a target cluster server is upgraded by an upgrade file, and the upgrade request information includes the upgrade file and identification information of the target cluster server;
a sending module 202, configured to determine, according to the upgrade request information, multiple target hosts corresponding to the target cluster server in a database, and send the upgrade file to the multiple target hosts, respectively, where a mapping between at least one server and at least one target host is stored in the database;
the upgrading module 203 is configured to send an upgrading instruction to the target host machine when it is determined that the target host machine has successfully received the upgrading file, where the upgrading instruction is used to instruct upgrading processing to be performed through the upgrading file.
According to the proxy server provided by the embodiment of the disclosure, when the cluster server needs to be upgraded, the target host corresponding to the server can be found through the proxy server, the upgrade file is sent to the target host, and after the target host successfully receives the upgrade file, the upgrade instruction is sent to the target host, so that the technical effect of upgrading the server through the upgrade file is achieved, and the upgrade efficiency is improved. More importantly, the method and the system can monitor the sending state of the file and the upgrading state of the target host machine in real time in the upgrading process, timely solve the problems encountered in upgrading until all the host machines finish the upgrading treatment of the server, and further improve the upgrading efficiency.
EXAMPLE III
Based on the upgrade method described in the embodiment corresponding to fig. 1 and the proxy server described in the embodiment corresponding to fig. 2, the following is an embodiment of the system of the present disclosure, and may be used to execute an embodiment of the method of the present disclosure.
The present disclosure also provides an upgrade system, as shown in fig. 3, the upgrade system includes: a terminal device 301 and a proxy server 302;
the proxy server 302 and a plurality of cluster servers in the present disclosure are in the same networking, and a user can connect to the proxy server 302 through the zero terminal device 301 used by the user.
The terminal device 301 is configured to obtain an upgrade data packet, where the upgrade data packet at least includes an upgrade file, identification information of a cluster server, and parameter information corresponding to the upgrade file, where the parameter information at least includes at least one of upgrade time and an operation unit
According to the upgrading data packet, generating upgrading request information and sending the upgrading request information to the proxy server 302;
the proxy server 302 is configured to obtain upgrade request information, where the upgrade request information is used to request that a server is upgraded by an upgrade file, the server is matched with at least one target host, and the upgrade request information includes an upgrade file and identification information of the server;
sending the upgrading file to at least one target host machine matched with the cluster server according to the upgrading request information;
and when the target host machine is confirmed to successfully receive the upgrading file, sending an upgrading instruction to the target host machine, wherein the upgrading instruction is used for indicating upgrading processing through the upgrading file.
When the system is actually deployed, the server side in the cluster server registers itself to the proxy server, the client side of the terminal device is allowed to access the service in a mode of exposing an interface, the server side does not need to disclose any information and data, the client side and the server proxy are added to process all transmission work of sending method calls and parameters thereof to the server through the network, and then responses are sent back to the client side.
And the proxy server seals and releases all data in the upgrading process, controls safety, configures a transmission channel and performs any other additional work.
The terminal equipment can send an upgrading request to the proxy server through the client, and then forwards the request to the cluster server through the proxy server. In the upgrading process, the proxy server sends back the result or the abnormity of the upgrading request to the client. By using a proxy server, applications can access remote services by sending messages.
In an embodiment, the terminal device 301 in the server upgrade system 30 is further configured to obtain an upgrade status sent by the proxy server, where the upgrade status at least includes: during upgrading, upgrading is successful or upgrading is failed;
and when the upgrading state is upgrading failure, generating a detection instruction, wherein the detection instruction is used for indicating the proxy server to detect whether the upgrading file received by the target host machine is complete or detecting the resource occupation condition of the target host machine.
In one embodiment, the proxy server 302 in the server upgrade system 30 is also used for
Sending file verification information to the target host machine;
and when the target host machine confirms that the file verification information passes the authentication, sending an upgrade file to the target host machine.
In one embodiment, the proxy server 302 in the server upgrade system 30 is also used for
Acquiring the sending state of the upgrade file;
and when the sending state indicates that the upgrade file is not sent successfully, detecting the storage space of a transmission network or the target host machine.
In one embodiment, the proxy server 302 in the server upgrade system 30 is also used for
Receiving an upgrade state sent by the target host machine, wherein the upgrade state at least comprises: during upgrading, upgrading is successful or upgrading is failed;
when the upgrading state is upgrading failure, detecting whether the upgrading file received by the target host machine is complete or detecting the resource occupation condition of the target host machine;
when the upgrading file received by the target host machine is incomplete, the upgrading file is sent to the target host machine again;
or when the resource occupation condition of the target host machine exceeds a preset value, the target host machine is instructed to delete the resources.
In the system provided by the disclosure, when a user uses the cloud desktop, the proxy server is accessed through the terminal device, the proxy server transfers the connection request and the server cluster information, and the virtual desktop is returned to the terminal device for the user to use. The logical structure of the upgrade server in this system 30 is shown in fig. 3 a:
after acquiring the upgrading request, the terminal equipment sends the upgrading request to the proxy server; after acquiring an upgrading request sent by the terminal equipment, the proxy server searches the virtual machine corresponding to the cluster server through a host file and determines a target host machine corresponding to the virtual machine; and the proxy server sequentially issues an upgrade file and an upgrade instruction through the address of the target host machine, feeds an upgrade result back to the terminal equipment, monitors the upgrade progress and processes problems encountered in the upgrade process until all the host machines are upgraded. From the experience of customers, the upgrading is not needed one by one, but batch upgrading is realized through automation, the simplicity is greatly improved, and the maintenance cost is reduced.
According to the server upgrading system provided by the embodiment of the disclosure, when the cluster server needs to be upgraded, the target host corresponding to the server can be found through the proxy server, the upgrading file is sent to the target host, and after the target host successfully receives the upgrading file, the upgrading instruction is sent to the target host, so that the technical effect of upgrading the server through the upgrading file is achieved, and the upgrading efficiency is improved. More importantly, the method and the system can monitor the sending state of the file and the upgrading state of the target host machine in real time in the upgrading process, timely solve the problems encountered in upgrading until all the host machines complete the upgrading processing of the server, and further improve the upgrading efficiency.
Based on the server upgrading method described in the embodiment corresponding to fig. 1, an embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the server upgrading method described in the embodiment corresponding to fig. 1, which is not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A server upgrading method is applied to a proxy server, and comprises the following steps:
acquiring upgrading request information, wherein the upgrading request information is used for requesting to upgrade a target cluster server through an upgrading file, and the upgrading request information comprises the upgrading file and identification information of the target cluster server;
determining a plurality of target host machines corresponding to the target cluster server in a database according to the upgrading request information, and respectively sending the upgrading file to the target host machines, wherein the database stores mapping between at least one server and at least one target host machine;
and when the target host machine is confirmed to successfully receive the upgrading file, sending an upgrading instruction to the target host machine, wherein the upgrading instruction is used for indicating upgrading processing through the upgrading file.
2. The method of claim 1, wherein the obtaining upgrade request information comprises:
receiving an upgrade data packet sent by a terminal device, wherein the upgrade data packet at least comprises an upgrade file, identification information of a target cluster server and parameter information corresponding to the upgrade file, and the parameter information at least comprises at least one of upgrade time, an upgrade version and an operation unit;
and obtaining the upgrading request information according to the upgrading data packet.
3. The method of claim 1, wherein prior to sending the upgrade file, the method further comprises:
sending file verification information to the target host machine;
and when the target host machine confirms that the file verification information passes the authentication, sending an upgrade file to the target host machine.
4. The method of claim 1, further comprising:
acquiring the sending state of the upgrade file;
and when the sending state indicates that the upgrade file is not sent successfully, detecting the storage space of a transmission network or the target host machine.
5. The method of claim 1, further comprising:
receiving an upgrade state sent by the target host machine, wherein the upgrade state at least comprises: during upgrading, upgrading is successful or upgrading is failed;
when the upgrading state is upgrading failure, detecting whether the upgrading file received by the target host machine is complete or detecting the resource occupation condition of the target host machine;
when the upgrading file received by the target host machine is incomplete, the upgrading file is sent to the target host machine again;
or when the resource occupation condition of the target host machine exceeds a preset value, the target host machine is instructed to delete the resource.
6. A server upgrade system, comprising: a terminal device and a proxy server, the terminal device and the proxy server being connected,
the terminal device is used for acquiring an upgrade data packet, wherein the upgrade data packet at least comprises an upgrade file, identification information of a target cluster server and parameter information corresponding to the upgrade file, and the parameter information at least comprises at least one of upgrade time and an operation unit;
generating upgrading request information according to the upgrading data packet and sending the upgrading request information to the proxy server;
the proxy server is used for acquiring upgrading request information, the upgrading request information is used for requesting the server to be upgraded through an upgrading file, the server is matched with at least one target host machine, and the upgrading request information comprises the upgrading file and identification information of the server;
sending the upgrade file to the at least one target host machine according to the upgrade request information;
and when the target host machine is confirmed to successfully receive the upgrading file, sending an upgrading instruction to the target host machine, wherein the upgrading instruction is used for indicating upgrading processing through the upgrading file.
7. The system of claim 6, wherein the terminal device is further configured to obtain an upgrade status sent by the proxy server, where the upgrade status at least includes: during upgrading, upgrading is successful or upgrading is failed;
and when the upgrading state is upgrading failure, generating a detection instruction, wherein the detection instruction is used for indicating the proxy server to detect whether the upgrading file received by the target host machine is complete or detecting the resource occupation condition of the target host machine.
8. The system of claim 6, wherein the proxy server is further configured to send file verification information to the target host;
and when the target host machine confirms that the file verification information passes the authentication, sending an upgrade file to the target host machine.
9. The system of claim 6, wherein the proxy server is further configured to obtain a sending status of the upgrade file;
and when the sending state indicates that the upgrade file is not sent successfully, detecting the storage space of a transmission network or the target host machine.
10. The system of claim 6, wherein the proxy server is further configured to
Receiving an upgrade state sent by the target host machine, wherein the upgrade state at least comprises: during upgrading, upgrading is successful or upgrading is failed;
when the upgrading state is upgrading failure, detecting whether the upgrading file received by the target host machine is complete or detecting the resource occupation condition of the target host machine;
when the upgrading file received by the target host machine is incomplete, the upgrading file is sent to the target host machine again;
or when the resource occupation condition of the target host machine exceeds a preset value, the target host machine is instructed to delete the resources.
CN202110220079.9A 2021-02-26 2021-02-26 Server upgrading method and system Pending CN112860294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110220079.9A CN112860294A (en) 2021-02-26 2021-02-26 Server upgrading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110220079.9A CN112860294A (en) 2021-02-26 2021-02-26 Server upgrading method and system

Publications (1)

Publication Number Publication Date
CN112860294A true CN112860294A (en) 2021-05-28

Family

ID=75990346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110220079.9A Pending CN112860294A (en) 2021-02-26 2021-02-26 Server upgrading method and system

Country Status (1)

Country Link
CN (1) CN112860294A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934443A (en) * 2021-10-11 2022-01-14 西安万像电子科技有限公司 Software upgrading system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934443A (en) * 2021-10-11 2022-01-14 西安万像电子科技有限公司 Software upgrading system

Similar Documents

Publication Publication Date Title
JP2001514773A (en) Reliable event delivery system
CN109257254B (en) Network connectivity checking method, device, computer equipment and storage medium
CN111726420A (en) Communication method, device, equipment and storage medium based on RPA
CN113946358A (en) Automatic driving vehicle software remote upgrading method based on vehicle management system
US20110099273A1 (en) Monitoring apparatus, monitoring method, and a computer-readable recording medium storing a monitoring program
CN110874232B (en) Virtual machine component upgrading method, equipment and computer readable storage medium
WO2020135191A1 (en) Cloud desktop screen recording method and device based on network communication engine ice architecture
CN112995233B (en) RSSP-II protocol secure connection establishment method and system
CN107634871B (en) Connectivity test method, device and system
CN109992273A (en) A kind of gray scale dissemination method and gray scale delivery system
CN113505027A (en) Business system backup method, device, equipment and storage medium
CN112860294A (en) Server upgrading method and system
CN113238780A (en) Upgrading method and equipment of cloud server and cloud server
CN111147285B (en) Cloud security product unified management method
US7120837B1 (en) System and method for delayed error handling
CN116886286A (en) Big data authentication service self-adaption method, device and equipment
CN107659621B (en) RAID control card configuration method and device
CN114390108B (en) Method and system for processing user service request
CN115658221A (en) State detection method, service virtual machine, equipment and medium
US20230289203A1 (en) Server maintenance control device, server maintenance system, server maintenance control method, and program
CN114363204A (en) Request monitoring method, network device and storage medium
CN111427861B (en) Distributed file system configuration method and device
CN110808943B (en) Client connection emergency management method, client and computer readable storage medium
CN113193987B (en) Equipment control method and device
CN117395139B (en) Double-stack network host nano-tube system, method, electronic equipment and storage medium

Legal Events

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