CN109413210A - Target drives upgrade method, device, equipment and the medium of distributed cluster system - Google Patents

Target drives upgrade method, device, equipment and the medium of distributed cluster system Download PDF

Info

Publication number
CN109413210A
CN109413210A CN201811550712.5A CN201811550712A CN109413210A CN 109413210 A CN109413210 A CN 109413210A CN 201811550712 A CN201811550712 A CN 201811550712A CN 109413210 A CN109413210 A CN 109413210A
Authority
CN
China
Prior art keywords
node
upgrade
target
target drives
cluster system
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
CN201811550712.5A
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.)
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 CN201811550712.5A priority Critical patent/CN109413210A/en
Publication of CN109413210A publication Critical patent/CN109413210A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Abstract

This application discloses a kind of target drives upgrade methods of distributed cluster system, including when receiving upgrade command, and upgrade file corresponding with upgrade command is sent to each from node of distributed cluster system;Then target drives updating operation is carried out using slave node of the upgrade file to idle state;Again by obtaining session information of the target of working condition between node and client;Session information is redirected between the slave node of idle state and client, upgrade file is recycled to carry out target drives updating operation from node to target.Therefore, this method does not need the communication connection of interrupt distribution formula group system and client, can carry out target drives updating operation to each node of distributed cluster system, the interruption of the business operation of client be avoided, to improve the usage experience of user.Disclosed herein as well is target drives update device, equipment and the computer readable storage mediums of a kind of distributed cluster system, all have above-mentioned beneficial effect.

Description

Target drives upgrade method, device, equipment and the medium of distributed cluster system
Technical field
The present invention relates to driver upgrade field, in particular to the target drives upgrade method of a kind of distributed cluster system, Device, equipment and computer readable storage medium.
Background technique
Currently, distributed cluster system using more and more extensive.Block is provided in distributed cluster system for client to deposit When storing up equipment, for the operating environment of low kernel version operating system or non-(SuSE) Linux OS, due in not being available Core state interface, therefore standard is provided using target drives program corresponding with each object machine generally by User space interface Iscsi protocol interface is mapped to client operating system use.
In practical applications, the target drives to each node in distributed cluster system is needed to upgrade.Due to visitor The starter at family end is connected with the object machine of node corresponding in distributed cluster system, and object machine is driven by the target of each node Dynamic program provides.The upgrade method of the prior art needs first to disconnect the communication connection of object machine and starter, then to distribution Each node in group system carries out target drives updating operation, therefore will cause the service disconnection of client, to influence to use The usage experience at family.
Therefore, how when the target drives to distributed cluster system upgrade, the usage experience for improving user is The current technical issues that need to address of those skilled in the art.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of target drives upgrade method of distributed cluster system, energy Enough improve the usage experience of user;It is a further object of the present invention to provide a kind of upgradings of the target drives of distributed cluster system to fill It sets, equipment and computer readable storage medium, all has above-mentioned beneficial effect.
In order to solve the above technical problems, the present invention provides a kind of target drives upgrade method of distributed cluster system, packet It includes:
When receiving upgrade command, upgrade file corresponding with the upgrade command is sent to distributed cluster system It is each from node;
Target drives updating operation is carried out from node to described in idle state using the upgrade file;
Obtain session information of the target of working condition between node and client;
The session information is redirected to described in idle state between node and the client;
Target drives updating operation is carried out from node to the target using the upgrade file.
Preferably, target drives upgrading behaviour is carried out from node to described in idle state using the upgrade file described Before work, further comprise:
It will be set in first node list described in idle state from the first information of node;
It is corresponding, target drives upgrading behaviour is carried out from node to described in idle state using the upgrade file described After work, further comprise:
By in the first node list with upgraded described in from the corresponding first node information deletion of node.
Preferably, before the session information in the target for obtaining working condition between node and client, into one Step includes:
The target of working condition is set in second node list from the second information of node;
It is corresponding, it is described by the session information be redirected to described in idle state from node and the client it Between after, further comprise:
By in the second node list with the target after redirection from the corresponding second node information deletion of node.
Preferably, the first information and/or second information are specially IP address.
Preferably, the process for obtaining the upgrade file specifically includes:
Receive the data file packet sent by the client;
Judge whether each data file packet is complete;
If so, obtain data file from each data file packet, and each data file is combined into described Upgrade file.
Preferably, described that upgrade file corresponding with the upgrade command is sent to each from section of distributed cluster system Point specifically includes:
Judge whether the version number of the upgrade file is corresponding with the upgrade command;
If so, the upgrade file is sent to each described from node of the distributed cluster system.
Preferably, the data file packet is specially the data file packet encrypted.
In order to solve the above technical problems, the present invention also provides a kind of target drives update device of distributed cluster system, Include:
Upgrade file sending module will upgrading text corresponding with the upgrade command for when receiving upgrade command Part is sent to each from node of distributed cluster system;
First execution module, for carrying out target drives liter from node to described in idle state using the upgrade file Grade operation;
Session information obtains module, for obtaining session information of the target of working condition between node and client;
Session information redirection module, for the session information to be redirected to described in idle state from node and institute It states between client;
Second execution module, for carrying out target drives upgrading behaviour from node to the target using the upgrade file Make.
In order to solve the above technical problems, the present invention also provides a kind of target drives updating apparatus of distributed cluster system, Include:
Memory, for storing computer program;
Processor realizes the target drives of any of the above-described kind of distributed cluster system when for executing the computer program The step of upgrade method.
In order to solve the above technical problems, the present invention also provides a kind of computer readable storage medium, it is described computer-readable Computer program is stored on storage medium, the computer program realizes any of the above-described kind of distributed collection when being executed by processor The step of target drives upgrade method of group's system.
The target drives upgrade method of distributed cluster system provided by the invention, including when receiving upgrade command, Upgrade file corresponding with upgrade command is sent to each from node of distributed cluster system;Then using upgrade file to sky The slave node of not busy state carries out target drives updating operation;Again by obtaining the target of working condition between node and client Session information;Session information is redirected between the slave node of idle state and client, recycles upgrade file to mesh Mark carries out target drives updating operation from node.Therefore, this method is not needed through interrupt distribution formula group system and client Communication connection, can to each node of distributed cluster system carry out target drives updating operation, avoid client The interruption of business operation, to improve the usage experience of user.
In order to solve the above technical problems, the present invention also provides a kind of upgradings of the target drives of distributed cluster system to fill It sets, equipment and computer readable storage medium, all has above-mentioned beneficial effect.
Detailed description of the invention
It in order to illustrate the embodiments of the present invention more clearly or the technical solution of the prior art, below will be to embodiment or existing Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is only this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to the attached drawing of offer.
Fig. 1 is a kind of flow chart of the target drives upgrade method of distributed cluster system provided in an embodiment of the present invention;
Fig. 2 is a kind of structure chart of the target drives update device of distributed cluster system provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of the target drives updating apparatus of distributed cluster system provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The core of the embodiment of the present invention is to provide a kind of target drives upgrade method of distributed cluster system, can be improved The usage experience of user;Another core of the invention is to provide a kind of target drives update device of distributed cluster system, sets Standby and computer readable storage medium all has above-mentioned beneficial effect.
It is right with reference to the accompanying drawings and detailed description in order to make those skilled in the art more fully understand the present invention program The present invention is described in further detail.
Fig. 1 is a kind of flow chart of the target drives upgrade method of distributed cluster system provided in an embodiment of the present invention. As shown in Figure 1, a kind of target drives upgrade method of distributed cluster system includes:
S10: when receiving upgrade command, upgrade file corresponding with upgrade command is sent to distributed cluster system It is each from node.
It should be noted that needing to carry out upgrade command the operation such as to parse, and judge to rise when receiving upgrade command Whether the command parameter of grade instruction is correct, if correctly, namely indicate to need to carry out target to the node in distributed cluster system Driver upgrade.Therefore, when receiving upgrade command, corresponding upgrade file is first obtained according to the upgrade command received, Obtain the file upgraded for the target drives to node.Receive upgrade file corresponding with upgrade command it Afterwards, upgrade file is sent to each from node of distributed cluster system.It specifically can be and be one by one sent to upgrade file respectively From node, upgrade file is sent to respectively from node by the present embodiment preferably in the form of broadcast.
S20: target drives updating operation is carried out using slave node of the upgrade file to idle state.
It is corresponding due to needing to execute in different states from node after respectively receiving upgrade file from node Operation, therefore firstly the need of determining respectively from the state of node.It include respectively idle state and working condition, this reality from the state of node Example is applied by judging respectively whether be in idle condition from node respectively, it, in other examples, can to execute corresponding operation To be to judge respectively whether be in working condition from node, purpose is identical, therefore without limitation.
Specifically, if from node be idle state, namely currently without execute business operation, then using upgrade file to this Target drives updating operation is carried out from node.It should be noted that target drives updating operation namely utilization upgrade file update The version of target drives, specific executive mode content known to those skilled in the art, is not repeated herein.
S30: session information of the target of working condition between node and client is obtained;
S40: session information is redirected between the slave node of idle state and client;
S50: target drives updating operation is carried out from node to target using upgrade file.
Specifically, if being in working condition from node namely target is carrying out the business operation of client, target from node There are session informations between node and client, therefore by obtaining session letter of the target between node and client Breath, and session information is redirected between the slave node of idle state and client, so that originally in running order mesh Mark switchs to idle state from node, and then can carry out target drives liter from node using target of the upgrade file to idle state Grade operation.In other words, in order to carry out target drives updating operation from node in running order target, the present embodiment is sharp With the newly-built session between client of the slave node being in idle condition, originally in running order target is taken over from node Business operation, and session information of the target between node and client is deleted, so that being in work shape originally The target of state switchs to idle state from node, and then can carry out target from node using target of the upgrade file to idle state Driver upgrade operation.
It should be noted that the slave node of idle state herein can be after target drives updating operation from Node is also possible to not carry out the slave node of target drives updating operation also, and the present embodiment does not limit this.
It is understood that in specific implementation, when host node needs to carry out target drives upgrading, likewise, will lead The business operation of node is redirected to any one slave node being in idle condition, so that host node switchs to idle state, into And target drives updating operation is carried out to host node using upgrade file, thus realize the node of entire distributed cluster system Target drives upgrading.
The target drives upgrade method of distributed cluster system provided in an embodiment of the present invention, including refer to when receiving upgrading When enabling, upgrade file corresponding with upgrade command is sent to each from node of distributed cluster system;Then upgrading text is utilized Part carries out target drives updating operation to the slave node of idle state;Again by obtaining the target of working condition from node and client Session information between end;Session information is redirected between the slave node of idle state and client, upgrading text is recycled Part carries out target drives updating operation from node to target.Therefore, this method does not need interrupt distribution formula group system and client The communication connection at end can carry out target drives updating operation to each node of distributed cluster system, avoid client Business operation interruption, to improve the usage experience of user.
On the basis of the above embodiments, the present embodiment has made further instruction and optimization to technical solution, specifically, Before carrying out target drives updating operation using slave node of the upgrade file to idle state, further comprise:
The first information of the slave node of idle state is set in first node list;
It is corresponding, after carrying out target drives updating operation using slave node of the upgrade file to idle state, into one Step includes:
By first node information deletion corresponding with the slave node upgraded in first node list.
Specifically, obtaining the slave section for being determined as idle state after judging respectively whether to be idle state from node respectively The first information of point, and each first information is stored in first node list.That is, establishing first node list, first segment What is saved in point list is the first information for the slave node being respectively in idle condition.The first information is for unique identification respectively from section The information of point, the first information can be each node serial number, is also possible to and respectively from the device number of the corresponding object machine of node, may be used also To be and respectively from the corresponding IP address of node, the present embodiment is not limited this.
It is corresponding, after carrying out target drives updating operation to the slave node of idle state using upgrade file, by the First node information deletion corresponding with the slave node upgraded in one node listing.
That is, after the slave node performance objective driver upgrade operation to idle state, it will be with the idle state The corresponding first information of slave node deleted from first list.Stated differently, since first node list storage is everywhere In idle state and be not carried out target drives updating operation slave node the first information, to some be in idle condition from After the operation of node performance objective driver upgrade, then need to delete from first node list from the first information of node, In order to clearly know the updating operation needed to be implemented idle state slave node quantity;And can be avoided repetition or It omits and is operated to certain from node performance objective driver upgrade.In addition, due to needing to obtain the slave node being in idle condition The first information is for redirecting operation, and therefore, the present embodiment is by being arranged first segment point range for the slave node of idle state Table can more efficiently obtain the first information of the slave node of idle state.
As preferred embodiment, obtain session information of the target of working condition between node and client it Before, further comprise:
The target of working condition is set in second node list from the second information of node;
It is corresponding, after session information is redirected between the slave node of idle state and client, further wrap It includes:
By in second node list with the target after redirection from the corresponding second node information deletion of node.
Specifically, the present embodiment is by being further arranged second node list, and will determine the target that is in working condition from Second information of node is stored into second node list.
It should be noted that the second information can be also possible to different type, not do with first information same type herein It limits.
As preferred embodiment, the first information and/or the second information are specially IP address.
That is, in this embodiment, it is preferred that being believed using the IP address from node as the first information and/or second Breath, and correspondence is stored into first node list or second node list.It is understood that IP address can not only be marked uniquely Know respectively from node, and due to needing to use IP address when the information that conversates redirects operation, the present embodiment will IP address is stored in first node list or second node list as from the identification information of node correspondence, can be more easily It realizes and the redirection of session information is operated, improve the efficiency for redirecting operation, and then improve the effect for carrying out target drives upgrading Rate.
It is corresponding, after session information is redirected between the slave node of idle state and client, further will With the target after redirection from the corresponding second node information deletion of node in second node list.
That is, what is stored in second node list is second information of the in running order target from node, By session information of the target of working condition between node and client be redirected to other idle nodes and client it Between after, the in running order target of the script becomes idle state from node, it is therefore desirable to will become idle state Target is deleted from second node list from the second information of node.
As it can be seen that the method for the present embodiment, can equally be convenient for the work shape for the updating operation for clearly knowing to need to be implemented Quantity of the target of state from node;And it can be avoided repetition or omit and operated to certain from node performance objective driver upgrade. In addition, be used to redirect operation from the second information of node due to needing to obtain in running order target, this Embodiment passes through the target being in working condition and second node list is arranged from node, can more efficiently obtain the mesh of working condition Mark the second information from node.
On the basis of the above embodiments, the present embodiment has made further instruction and optimization to technical solution, specifically, The process for obtaining upgrade file specifically includes:
Receive the data file packet sent by client;
Judge whether each data file packet is complete;
If so, obtaining data file from each data file packet, and each data file is combined into upgrade file.
Specifically, due to network channel to transmission file size limitation, client when sending upgrade file, Upgrade file can be split as multiple data files, and ensure the accuracy of transmitting data file, in each data file Upper to increase corresponding additional information composition data file packet, additional information includes the destination address of transmission, file size, check code Deng.Therefore, when receiving each data file packet, need to judge by syntactic analysis whether each data file packet is complete, is sentencing In the disconnected complete situation of data file packet out, data file is obtained from each data file packet, and each data file is combined into Upgrade file.
As preferred embodiment, upgrade file corresponding with upgrade command is sent to each of distributed cluster system It is specifically included from node:
Judge whether the version number of upgrade file is corresponding with upgrade command;
If so, upgrade file is sent to each from node of distributed cluster system.
That is, the present embodiment is sentenced by the version number for judging upgrade file mode whether corresponding with upgrade command Whether disconnected upgrade file is corresponding with upgrade command.It is understood that version number has as a kind of information for identifying version Uniqueness judges whether upgrade file corresponding with upgrade command by version number, can accurate judgement on the basis of, also have Have simple, direct, operates convenient advantage.
As preferred embodiment, data file packet is specially the data file packet encrypted.
In specific implementation, data file packet is specially the data file packet encrypted, that is to say, that can also further be existed Cryptographic operation is carried out to data file packet before transmitting data file packet, to further increase the safety to target drives upgrading Property.The mode that the present embodiment encrypts data file packet does not limit, such as can be added by the way that specific character is arranged It is close, or the information such as identity information such as fingerprint for also can use user encrypt, and can also be and are carried out by Encryption Algorithm Encryption, can be selected according to actual needs.
As it can be seen that the present embodiment can further increase accuracy, safety and the efficiency for obtaining upgrade file, thus into one Step improves accuracy, safety and the efficiency upgraded to target drives.
Above for a kind of embodiment progress of the target drives upgrade method of distributed cluster system provided by the invention Detailed description, the present invention also provides a kind of upgradings of the target drives of distributed cluster system corresponding with this method to fill It sets, equipment and computer readable storage medium, due to device, the embodiment of equipment and computer readable storage medium part and side The embodiment of method part mutually correlates, therefore the embodiment side of referring to of device, equipment and computer readable storage medium part The description of the embodiment of method part wouldn't repeat here.
Fig. 2 is a kind of structure chart of the target drives update device of distributed cluster system provided in an embodiment of the present invention, As shown in Fig. 2, a kind of target drives update device of distributed cluster system includes:
Upgrade file sending module 21 will upgrade file corresponding with upgrade command for when receiving upgrade command It is sent to each from node of distributed cluster system;
First execution module 22, for carrying out target drives upgrading behaviour using slave node of the upgrade file to idle state Make;
Session information obtains module 23, for obtaining session letter of the target of working condition between node and client Breath;
Session information redirection module 24, for session information is redirected to idle state slave node and client it Between;
Second execution module 25, for carrying out target drives updating operation from node to target using upgrade file.
The target drives update device of distributed cluster system provided in an embodiment of the present invention has above-mentioned distributed type assemblies The beneficial effect of the target drives upgrade method of system.
Fig. 3 is a kind of structure chart of the target drives updating apparatus of distributed cluster system provided in an embodiment of the present invention, As shown in figure 3, a kind of target drives updating apparatus of distributed cluster system includes:
Memory 31, for storing computer program;
Processor 32 realizes the target drives upgrading side such as above-mentioned distributed cluster system when for executing computer program The step of method.
The target drives updating apparatus of distributed cluster system provided in an embodiment of the present invention has above-mentioned distributed type assemblies The beneficial effect of the target drives upgrade method of system.
In order to solve the above technical problems, the present invention also provides a kind of computer readable storage medium, computer-readable storage It is stored with computer program on medium, the target such as above-mentioned distributed cluster system is realized when computer program is executed by processor The step of driver upgrade method.
Computer readable storage medium provided in an embodiment of the present invention, the target drives with above-mentioned distributed cluster system The beneficial effect of upgrade method.
Above to target drives upgrade method, device, equipment and the calculating of distributed cluster system provided by the present invention Machine readable storage medium storing program for executing is described in detail.Specific embodiment used herein to the principle of the present invention and embodiment into Elaboration is gone, the above description of the embodiment is only used to help understand the method for the present invention and its core ideas.It should be pointed out that pair For those skilled in the art, without departing from the principle of the present invention, the present invention can also be carried out Some improvements and modifications, these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.

Claims (10)

1. a kind of target drives upgrade method of distributed cluster system characterized by comprising
When receiving upgrade command, upgrade file corresponding with the upgrade command is sent to each of distributed cluster system From node;
Target drives updating operation is carried out from node to described in idle state using the upgrade file;
Obtain session information of the target of working condition between node and client;
The session information is redirected to described in idle state between node and the client;
Target drives updating operation is carried out from node to the target using the upgrade file.
2. the method according to claim 1, wherein it is described using the upgrade file to the institute of idle state It states before carrying out target drives updating operation from node, further comprises:
It will be set in first node list described in idle state from the first information of node;
It is corresponding, it is described using the upgrade file to described in idle state from node carry out target drives updating operation it Afterwards, further comprise:
By in the first node list with upgraded described in from the corresponding first node information deletion of node.
3. according to the method described in claim 2, it is characterized in that, in the target for obtaining working condition from node and client Before session information between end, further comprise:
The target of working condition is set in second node list from the second information of node;
It is corresponding, the session information is redirected to described in idle state between node and the client it described Afterwards, further comprise:
By in the second node list with the target after redirection from the corresponding second node information deletion of node.
4. according to the method described in claim 3, it is characterized in that, the first information and/or second information are specially IP address.
5. method according to any one of claims 1 to 4, which is characterized in that the process for obtaining the upgrade file is specific Include:
Receive the data file packet sent by the client;
Judge whether each data file packet is complete;
If so, obtaining data file from each data file packet, and each data file is combined into the upgrading File.
6. according to the method described in claim 5, it is characterized in that, described will upgrade file hair corresponding with the upgrade command It send to each of distributed cluster system and is specifically included from node:
Judge whether the version number of the upgrade file is corresponding with the upgrade command;
If so, the upgrade file is sent to each described from node of the distributed cluster system.
7. according to the method described in claim 5, it is characterized in that, the data file packet is specially the data file encrypted Packet.
8. a kind of target drives update device of distributed cluster system characterized by comprising
Upgrade file sending module, for when receiving upgrade command, upgrade file corresponding with the upgrade command to be sent out It send each from node to distributed cluster system;
First execution module, for carrying out target drives upgrading behaviour from node to described in idle state using the upgrade file Make;
Session information obtains module, for obtaining session information of the target of working condition between node and client;
Session information redirection module, for the session information to be redirected to described in idle state from node and the visitor Between the end of family;
Second execution module, for carrying out target drives updating operation from node to the target using the upgrade file.
9. a kind of target drives updating apparatus of distributed cluster system characterized by comprising
Memory, for storing computer program;
Processor realizes distributed type assemblies system as described in any one of claim 1 to 7 when for executing the computer program The step of target drives upgrade method of system.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, the computer program realize distributed cluster system as described in any one of claim 1 to 7 when being executed by processor Target drives upgrade method the step of.
CN201811550712.5A 2018-12-18 2018-12-18 Target drives upgrade method, device, equipment and the medium of distributed cluster system Pending CN109413210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811550712.5A CN109413210A (en) 2018-12-18 2018-12-18 Target drives upgrade method, device, equipment and the medium of distributed cluster system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811550712.5A CN109413210A (en) 2018-12-18 2018-12-18 Target drives upgrade method, device, equipment and the medium of distributed cluster system

Publications (1)

Publication Number Publication Date
CN109413210A true CN109413210A (en) 2019-03-01

Family

ID=65459847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811550712.5A Pending CN109413210A (en) 2018-12-18 2018-12-18 Target drives upgrade method, device, equipment and the medium of distributed cluster system

Country Status (1)

Country Link
CN (1) CN109413210A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209405A (en) * 2019-06-04 2019-09-06 杭州安恒信息技术股份有限公司 The automatic updating method and device of distributed system
CN110572284A (en) * 2019-08-30 2019-12-13 华为技术有限公司 Method, device and system for upgrading virtual network element
CN111901142A (en) * 2020-06-17 2020-11-06 厦门亿联网络技术股份有限公司 Firmware silent upgrading method and device for embedded equipment cluster
CN112069152A (en) * 2020-09-08 2020-12-11 北京达佳互联信息技术有限公司 Database cluster upgrading method, device, equipment and storage medium
CN112764780A (en) * 2021-01-25 2021-05-07 北京华顺信安信息技术有限公司 Application batch automatic upgrading method suitable for DCC multi-node server
CN113342376A (en) * 2021-06-23 2021-09-03 支付宝(杭州)信息技术有限公司 Method and device for upgrading operating system of Internet of things equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105589697A (en) * 2016-03-17 2016-05-18 广州杰赛科技股份有限公司 Method and device for upgrading cloud platform
US9521187B2 (en) * 2013-07-12 2016-12-13 Clearwire Ip Holdings Llc Managed filed transfer utilizing dynamic horizontal and vertical scaling
CN106550014A (en) * 2016-10-09 2017-03-29 华为数字技术(成都)有限公司 Node upgrade method and device in server cluster
CN106803790A (en) * 2016-12-06 2017-06-06 浙江大华技术股份有限公司 The upgrade control method and device of a kind of group system
CN107589951A (en) * 2016-07-05 2018-01-16 北京金山云网络技术有限公司 A kind of cluster upgrade method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9521187B2 (en) * 2013-07-12 2016-12-13 Clearwire Ip Holdings Llc Managed filed transfer utilizing dynamic horizontal and vertical scaling
CN105589697A (en) * 2016-03-17 2016-05-18 广州杰赛科技股份有限公司 Method and device for upgrading cloud platform
CN107589951A (en) * 2016-07-05 2018-01-16 北京金山云网络技术有限公司 A kind of cluster upgrade method and device
CN106550014A (en) * 2016-10-09 2017-03-29 华为数字技术(成都)有限公司 Node upgrade method and device in server cluster
CN106803790A (en) * 2016-12-06 2017-06-06 浙江大华技术股份有限公司 The upgrade control method and device of a kind of group system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209405A (en) * 2019-06-04 2019-09-06 杭州安恒信息技术股份有限公司 The automatic updating method and device of distributed system
CN110209405B (en) * 2019-06-04 2023-06-16 杭州安恒信息技术股份有限公司 Automatic upgrading method and device for distributed system
CN110572284A (en) * 2019-08-30 2019-12-13 华为技术有限公司 Method, device and system for upgrading virtual network element
CN110572284B (en) * 2019-08-30 2022-05-13 华为云计算技术有限公司 Method, device and system for upgrading virtual network element
CN111901142A (en) * 2020-06-17 2020-11-06 厦门亿联网络技术股份有限公司 Firmware silent upgrading method and device for embedded equipment cluster
CN112069152A (en) * 2020-09-08 2020-12-11 北京达佳互联信息技术有限公司 Database cluster upgrading method, device, equipment and storage medium
CN112069152B (en) * 2020-09-08 2023-10-03 北京达佳互联信息技术有限公司 Database cluster upgrading method, device, equipment and storage medium
CN112764780A (en) * 2021-01-25 2021-05-07 北京华顺信安信息技术有限公司 Application batch automatic upgrading method suitable for DCC multi-node server
CN113342376A (en) * 2021-06-23 2021-09-03 支付宝(杭州)信息技术有限公司 Method and device for upgrading operating system of Internet of things equipment

Similar Documents

Publication Publication Date Title
CN109413210A (en) Target drives upgrade method, device, equipment and the medium of distributed cluster system
CN107431651B (en) Life cycle management method and equipment for network service
CN106209726B (en) Mobile application single sign-on method and device
CN105786549B (en) Smart machine and its upgrade method
CN103152402A (en) Method and system for logging in through mobile terminal and cloud server
CN102761856B (en) Terminal room shares the methods, devices and systems of software
CN104468843A (en) File uploading method and device
CN105988846B (en) Page loading method and page loading device
CN106843978A (en) A kind of SDK cut-in methods and system
CN104917586A (en) Verification method, device and system of transmitted data
CN102685730B (en) Method for transmitting context information of user equipment (UE) and mobility management entity (MME)
CN108306959A (en) A kind of method, apparatus and storage medium of remote upgrade CPLD firmwares
CN109274777B (en) A kind of method, apparatus, equipment and readable storage medium storing program for executing exporting configuration file
CN106708748B (en) Method and system for improving mounting performance of OpenStack block storage volume
CN105978937A (en) Bluetooth slave device and upgrade method thereof
CN104504587A (en) Advertisement monitoring method and device, electronic apparatus
CN111142885B (en) eSIM equipment management method, device, equipment and storage medium
CN107733717A (en) A kind of network collocating method of cloud platform movable type O&M
CN102651777B (en) Link establishing method and equipment
CN108011870A (en) A kind of remote software online upgrading information automatic identification management method
CN112073488A (en) Method and device for processing request
CN108768744B (en) Management method and device for establishing network for cloud platform
CN104753804A (en) Data stream transmission control method, device and system
CN106254440B (en) AP upgrading method and device
CN101873580A (en) Download method of business application and business application management platform system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190301

RJ01 Rejection of invention patent application after publication