CN108023775A - High-availability cluster architecture system and method - Google Patents

High-availability cluster architecture system and method Download PDF

Info

Publication number
CN108023775A
CN108023775A CN201711313136.8A CN201711313136A CN108023775A CN 108023775 A CN108023775 A CN 108023775A CN 201711313136 A CN201711313136 A CN 201711313136A CN 108023775 A CN108023775 A CN 108023775A
Authority
CN
China
Prior art keywords
server
solicited message
sent
primary
demand information
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
CN201711313136.8A
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.)
Hubei Sunshine Culture And Media Co Ltd
Original Assignee
Hubei Sunshine Culture And Media 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 Hubei Sunshine Culture And Media Co Ltd filed Critical Hubei Sunshine Culture And Media Co Ltd
Priority to CN201711313136.8A priority Critical patent/CN108023775A/en
Publication of CN108023775A publication Critical patent/CN108023775A/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
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure

Abstract

The invention discloses a kind of high-availability cluster architecture system and method, the system comprises:First server, second server and the 3rd server, the first server includes the first primary server and the first standby server, first primary server receives the solicited message that client is sent, the solicited message is sent to the second server, first standby server substitutes first primary server when the first equipment state of first primary server is abnormal;The second server parses the solicited message, and the demand information of acquisition is sent to the 3rd server;3rd server generates corresponding page data according to the demand information, and the page data is fed back to the client.The present invention is by setting fault tolerant mechanism, when the first primary server occurs abnormal, can ensure the normal operation of website by the first standby server, reduce the probability of website collapse.

Description

High-availability cluster architecture system and method
Technical field
The present invention relates to internet arena, more particularly to a kind of high-availability cluster architecture system and method.
Background technology
In recent years since, under the vigorously advocating of national " internet+" concept, E-Government, e-commerce, IT application in enterprises Swift and violent Deng informationization application progress, internet starts to carry out extensive, substantive infiltration in industry-by-industry, each department.Political affairs Mansion informationization, the industrial application of information technology, the propulsion of IT application in enterprises and household's IT application.This present situation causes website to become people's life An indispensable part in work.Mobile phone or computer are either used, we can have access to website whenever and wherever possible, obtain phase Close information.The problem of following, general website can only ensure simple basic access, if having suddenly it is a large amount of access into Come, the architecture design of website in itself can not support huge visit capacity, it is possible to directly result in website collapse.Website any one A link goes wrong, and all website can be caused not access, and deleterious effect is brought to personal and enterprise.
Above- mentioned information is only used for individual character and understands technical scheme, does not represent and recognizes that above- mentioned information is existing skill Art.
The content of the invention
It is a primary object of the present invention to provide a kind of high-availability cluster architecture system and method, it is intended to solve above-mentioned because visiting The excessive technical problem for causing website not access of the amount of asking.
To achieve the above object, the present invention provides a kind of high-availability cluster architecture system, the high-availability cluster framework system System includes:First server, second server and the 3rd server, the first server and the first of the second server End is connected, and the second end of the second server is connected with the 3rd server, and it is primary that the first server includes first Server and the first standby server;
First primary server, for when the first equipment state of first primary server is normal, connecing The solicited message that client is sent is received, the solicited message is sent to the second server;
First standby server, for when the first equipment state of first primary server is abnormal, connecing The solicited message that client is sent is received, the solicited message is sent to the second server;
The second server, the solicited message sent for receiving the first server, believes the request Breath is parsed, and the demand information for parsing acquisition is sent to the 3rd server;
3rd server, the demand information sent for receiving the second server, according to the demand Information generates corresponding page data, and the page data is fed back to the client.
Preferably, the second server includes the second primary server and the second standby server;
Second primary server, for when the second equipment state of second primary server is normal, connecing The solicited message that the first server is sent is received, the solicited message is parsed, the demand for parsing acquisition is believed Breath is sent to the 3rd server;
Second standby server, for when the second equipment state of second primary server is abnormal, connecing The solicited message that the first server is sent is received, the solicited message is parsed, the demand for parsing acquisition is believed Breath is sent to the 3rd server.
Preferably, the 3rd server includes the 3rd primary server and the 3rd standby server;
3rd primary server, for when the 3rd equipment state of the 3rd primary server is normal, connecing The demand information that the second server is sent is received, corresponding page data is generated according to the demand information, by described in Page data feeds back to the client;
3rd standby server, for when the 3rd equipment state of the 3rd primary server is abnormal, connecing The demand information that the second server is sent is received, corresponding page data is generated according to the demand information, by described in Page data feeds back to the client.
Preferably, the second server, is additionally operable to judge whether the solicited message is analysable information, described When solicited message is analysable information, the solicited message is parsed, the demand information for parsing acquisition is sent to institute State the 3rd server.
Preferably, the second server, is additionally operable to when the solicited message is the information that can not be parsed, feedback error Information is to the first server, so that the first server sends the error message to the client.
In addition, to achieve the above object, the present invention also proposes a kind of high-availability cluster framework method, its its be based on High Availabitity Aggregated structure system includes:First server, second server and the 3rd server, the first server and the described second clothes The first end of business device is connected, and the second end of the second server is connected with the 3rd server, the first server bag The first primary server and the first standby server are included, the high-availability cluster framework method includes:
First primary server receives client when the first equipment state of first primary server is normal The solicited message sent is held, the solicited message is sent to the second server;
First standby server receives client when the first equipment state of first primary server is abnormal The solicited message sent is held, the solicited message is sent to the second server;
The second server receives the solicited message that the first server is sent, and the solicited message is carried out Parsing, the demand information for parsing acquisition is sent to the 3rd server;
3rd server receives the demand information that the second server is sent, and is given birth to according to the demand information Into corresponding page data, the page data is fed back into the client.
Preferably, the second server includes the second primary server and the second standby server;
Second primary server is when the second equipment state of second primary server is normal, described in reception The solicited message that first server is sent, parses the solicited message, and the demand information for parsing acquisition is sent To the 3rd server;
Second standby server is when the second equipment state of second primary server is abnormal, described in reception The solicited message that first server is sent, parses the solicited message, and the demand information for parsing acquisition is sent To the 3rd server.
Preferably, the 3rd server includes the 3rd primary server and the 3rd standby server;
3rd primary server is when the 3rd equipment state of the 3rd primary server is normal, described in reception The demand information that second server is sent, generates corresponding page data, by the page number according to the demand information According to feeding back to the client;
3rd standby server is when the 3rd equipment state of the 3rd primary server is abnormal, described in reception The demand information that second server is sent, generates corresponding page data, by the page number according to the demand information According to feeding back to the client.
Preferably, the second server judges whether the solicited message is analysable information, in the request letter Cease for analysable information when, the solicited message is parsed, by parse obtain demand information send to the described 3rd Server.
Preferably, for the second server when the solicited message is the information that can not be parsed, feedback error information is extremely The first server, so that the first server sends the error message to the client.
The present invention by high-availability cluster architecture system, the system comprises:First server, second server and the 3rd Server, the first server include the first primary server and the first standby server, and first primary server connects The solicited message that client is sent is received, the solicited message is sent to the second server, first standby server When the first equipment state of first primary server is abnormal, first primary server is substituted;Second clothes Business device parses the solicited message, and the demand information of acquisition is sent to the 3rd server;3rd server Corresponding page data is generated according to the demand information, the page data is fed back into the client.The present invention passes through Fault tolerant mechanism is set, when the first primary server occurs abnormal, can ensure the normal fortune of website by the first standby server OK, the probability of website collapse is reduced.
Brief description of the drawings
Fig. 1 is a kind of structure diagram of high-availability cluster architecture system first embodiment of the present invention;
Fig. 2 is a kind of structure diagram of high-availability cluster architecture system second embodiment of the present invention;
Fig. 3 is a kind of structure diagram of high-availability cluster architecture system 3rd embodiment of the present invention;
Fig. 4 is the flow of the high-availability cluster framework method first embodiment of the invention based on high-availability cluster architecture system Schematic diagram;
Fig. 5 is the flow of the high-availability cluster framework method second embodiment of the invention based on high-availability cluster architecture system Schematic diagram;
Fig. 6 is the flow of the high-availability cluster framework method 3rd embodiment of the invention based on high-availability cluster architecture system Schematic diagram.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is a kind of structure diagram of high-availability cluster architecture system first embodiment of the present invention, proposes this Invent a kind of high-availability cluster architecture system first embodiment.
In the present embodiment, as shown in Figure 1, the high-availability cluster architecture system 00 includes:First server 10, second takes Business 20 and the 3rd server 30 of device, the first server 10 are connected with the first end of the second server 20, and described second The second end of server 20 is connected with the 3rd server 30, and the first server 10 includes the first primary server and the One standby server;
First primary server, for when the first equipment state of first primary server is normal, connecing The solicited message that client is sent is received, the solicited message is sent to the second server 20;
First standby server, for when the first equipment state of first primary server is abnormal, connecing The solicited message that client is sent is received, the solicited message is sent to the second server 20;
The second server 20, the solicited message sent for receiving the first server 10, is asked to described Ask information to be parsed, the demand information for parsing acquisition is sent to the 3rd server 30;
3rd server 30, the demand information sent for receiving the second server 20, according to described Demand information generates corresponding page data, and the page data is fed back to the client.
It will be appreciated that the first server 10 can be Nginx servers, Nginx is a high performance HTTP And Reverse Proxy, and an IMAP/POP3/SMTP server.Client 40 passes through transmission control protocol (Transmission Control Protocol, abbreviation TCP) agreement and Website server communicate, and Website server Monitored by current Nginx services in designated port, when client sends request, if the current Nginx services of receive information Device is working properly, when the solicited message for receiving client transmission is correct identifiable information, receives and processes client Association requests needed for end, and be sent to client one and receive the TCP data bag confirmed, while the solicited message is sent To the second server 20.If current Nginx servers work is abnormal, can be detected by keepalive, then request Information is forwarded on normal standby N ginx servers and carries out subsequent treatment.
It should be understood that the second server 20 can be Tomcat servers, Tomcat servers are one free Open source code Web Application Server, belong to lightweight application server, in middle-size and small-size system and concurrent users not It is to be commonly used under many occasions.After Tomcat servers receive the solicited message that Nginx servers forward, If accessible solicited message, just give java programs and do processing in next step, the solicited message is parsed, is obtained The demand information of client, and the demand information is sent to database, so that database root is fed back according to the demand information Corresponding web data.If not accessible solicited message, it is returned to error message and gives Nginx servers, Nginx services Device relays to client.
In the present embodiment, the second server 20, is additionally operable to judge whether the solicited message is analysable information, When the solicited message is analysable information, the solicited message is parsed, the demand information for parsing acquisition is sent out Send to the 3rd server 30.
It will be appreciated that the solicited message that client is sent, it may be possible to abnormal solicited message, the second server 20 Exception information can not be parsed, so the solicited message for needing first to send client judges, be asked described It is normal information to seek information, and the second server 20 can parse the solicited message.Sent for client different Normal information, the second server 20 can not parse, then need feedback error information to client.In the present embodiment, described Two servers 20, are additionally operable to when the solicited message is the information that can not be parsed, feedback error information to the first service Device 10, so that the first server 10 sends the error message to the client.
It should be noted that the 3rd server 30 can be oracle server, that is, oracle database.Afterwards After platform java programs receive solicited message, start to handle in next step, according to the solicited message of client, by patrolling inside program Collect and handled, the demand information for handling acquisition is sent to oracle server, obtains number corresponding with the demand information According to generating the complete page, return to client.
In the concrete realization, the oracle server will generate corresponding page data according to the demand information and send To the Tomcat servers, the Tomcat servers again send the page data to the Nginx servers, described Nginx servers send the page data to client.
This implementation such scheme,, can be standby by first when first server 10 occurs abnormal by setting fault tolerant mechanism Ensure the normal operation of website with server, reduce the probability that website collapse case occurs.
Further, as shown in Fig. 2, proposing a kind of high-availability cluster architecture system of the present invention based on above-mentioned first embodiment Second embodiment.
In the present embodiment, in the high-availability cluster architecture system 00', the second server 20' includes the second master With server and the second standby server;
Second primary server, for when the second equipment state of second primary server is normal, connecing The solicited message that the first server 10 is sent is received, the solicited message is parsed, the demand of acquisition will be parsed Information is sent to the 3rd server 30;
Second standby server, for when the second equipment state of second primary server is abnormal, connecing The solicited message that the first server is sent is received, the solicited message is parsed, the demand for parsing acquisition is believed Breath is sent to the 3rd server 30.
It will be appreciated that the second server 20' can be Tomcat servers, Tomcat servers receive After the solicited message that Nginx servers forward, if receiving the current Tomcat servers work of the solicited message Normally, then the solicited message is judged, the solicited message is accessible solicited message, just gives java programs and does Handle in next step, the solicited message parsed, obtain the demand information of client, and by the demand information send to Database, so that database root feeds back corresponding web data according to the demand information, the solicited message is not accessible During information, it is returned to error message and gives Nginx servers, Nginx servers relay to client.
If it should be understood that the current Tomcat server operation irregularity, i.e., the of described second primary server Two equipment states are exception,
Then spare Tomcat servers receive the solicited message that Nginx servers forward, and carry out follow-up related behaviour Make:The solicited message is judged, the solicited message is accessible solicited message, just give java programs do it is next Step processing, parses the solicited message, obtains the demand information of client, and the demand information is sent to data Storehouse, so that database root feeds back corresponding web data according to the demand information, the solicited message is not accessible information When, it is returned to error message and gives Nginx servers, Nginx servers relays to client.
This implementation such scheme, by setting fault tolerant mechanism, when the second primary server occurs abnormal, can pass through second Standby server ensures the normal operation of website, reduces the probability that website collapse case occurs.
Further, as shown in figure 3, proposing a kind of high-availability cluster architecture system of the present invention based on above-mentioned second embodiment 3rd embodiment.
In the present embodiment, in the high-availability cluster architecture system 00 ", the 3rd server 30' includes the 3rd Primary server and the 3rd standby server;
3rd primary server, for when the 3rd equipment state of the 3rd primary server is normal, connecing The demand information that the second server 20' is sent is received, corresponding page data is generated according to the demand information, by institute State page data and feed back to the client;
3rd standby server, for when the 3rd equipment state of the 3rd primary server is abnormal, connecing The demand information that the second server 20' is sent is received, corresponding page data is generated according to the demand information, by institute State page data and feed back to the client.
It should be noted that the 3rd server 30' can be oracle server, that is, oracle database. After the backstage java programs of the second server 20' receive solicited message, start to handle in next step, according to client Solicited message, is handled by program internal logic, the demand information for handling acquisition is sent to oracle server, if connect It is working properly to receive the current oracle server of the demand information, then obtains data corresponding with the demand information, generation The complete page, returns to client.
If it should be understood that the current oracle server operation irregularity, i.e., the of described 3rd primary server Three equipment states is abnormal, then spare oracle server receives the demand information that the second server 20' is sent, and Carry out follow-up relevant operation:Data corresponding with the demand information are obtained, the complete page is generated, returns to client.
In the concrete realization, the oracle server will generate corresponding page data according to the demand information and send To the Tomcat servers, the Tomcat servers again send the page data to the Nginx servers, described Nginx servers send the page data to client.
This implementation such scheme, by setting fault tolerant mechanism, when the 3rd primary server occurs abnormal, can pass through the 3rd Standby server ensures the normal operation of website, reduces the probability that website collapse case occurs.It is configured with standby N ginx services Device and keepalive, if current Nginx servers, which go wrong, can automatically switch to normal standby N ginx servers, Tomcat servers also provided spare Tomcat servers to tackle paroxysmal failure, and database has equally done hot standby cut Change, oracle server is configured with spare oracle server.By links have been done it is primary and backup be combined set Meter, greatly reduces the website caused by the failure of wherein a certain aspect and collapses.
Further, with reference to Fig. 4, a kind of high-availability cluster framework side based on a kind of high-availability cluster architecture system is proposed Method first embodiment.
It, which is based on high-availability cluster architecture system, includes:First server, second server and the 3rd server, described One server is connected with the first end of the second server, the second end of the second server and the 3rd server phase Even, the first server includes the first primary server and the first standby server, the high-availability cluster framework method bag Include:
S10, first primary server are received when the first equipment state of first primary server is normal The solicited message that client is sent, the solicited message is sent to the second server;
S20, first standby server are received when the first equipment state of first primary server is abnormal The solicited message that client is sent, the solicited message is sent to the second server;
It will be appreciated that the first server can be Nginx servers, Nginx be a high performance HTTP and Reverse Proxy, and an IMAP/POP3/SMTP server.Client passes through transmission control protocol (Transmission Control Protocol, abbreviation TCP) agreement and Website server communicate, and Website server Monitored by current Nginx services in designated port, when client sends request, if the current Nginx services of receive information Device is working properly, when the solicited message for receiving client transmission is correct identifiable information, receives and processes client Association requests needed for end, and be sent to client one and receive the TCP data bag confirmed, while the solicited message is sent To the second server.If current Nginx servers work is abnormal, it can be detected, then request be believed by keepalive Breath, which is forwarded on normal standby N ginx servers, carries out subsequent treatment.
S30, the second server receives the solicited message that the first server is sent, to the solicited message Parsed, the demand information for parsing acquisition is sent to the 3rd server;
It should be understood that the second server can be Tomcat servers, Tomcat servers are one free The Web Application Server of open source code, belongs to lightweight application server, is not in middle-size and small-size system and concurrent users It is commonly used under many occasions.After Tomcat servers receive the solicited message that Nginx servers forward, such as Fruit is accessible solicited message, just gives java programs and does processing in next step, the solicited message is parsed, obtains visitor The demand information at family end, and the demand information is sent to database, so that database root is according to demand information feedback pair The web data answered.If not accessible solicited message, it is returned to error message and gives Nginx servers, Nginx servers Relay to client.
In the present embodiment, the second server judges whether the solicited message is analysable information, is asked described When to seek information be analysable information, the solicited message is parsed, the demand information that obtains will be parsed and sent to described 3rd server.
It will be appreciated that client send solicited message, it may be possible to abnormal solicited message, the second server without Method parses exception information, so the solicited message for needing first to send client judges, in the request Information is normal information, and the second server can parse the solicited message.The abnormal letter sent for client Breath, the second server can not parse, then need feedback error information to client.In the present embodiment, the second service Device is when the solicited message is the information that can not be parsed, feedback error information to the first server, so that described first Server sends the error message to the client.
S40, the 3rd server receive the demand information that the second server is sent, and are believed according to the demand Breath generates corresponding page data, and the page data is fed back to the client.
It should be noted that the 3rd server can be oracle server, that is, oracle database.From the background After java programs receive solicited message, start to handle in next step, according to the solicited message of client, by program internal logic Handled, the demand information for handling acquisition sent to oracle server, obtains data corresponding with the demand information, The complete page is generated, returns to client.
In the concrete realization, the oracle server will generate corresponding page data according to the demand information and send To the Tomcat servers, the Tomcat servers again send the page data to the Nginx servers, described Nginx servers send the page data to client.
This implementation such scheme,, can be spare by first when first server occurs abnormal by setting fault tolerant mechanism Server ensures the normal operation of website, reduces the probability that website collapse case occurs.
Further, with reference to Fig. 5, the present invention one is proposed based on a kind of above-mentioned high-availability cluster framework method first embodiment Kind high-availability cluster framework method second embodiment.
In the present embodiment, the step S30, specifically includes:
S301, the second server include the second primary server and the second standby server, the second primary clothes Device be engaged in when the second equipment state of second primary server is normal, receiving the described of first server transmission please Information is sought, the solicited message is parsed, the demand information for parsing acquisition is sent to the 3rd server;
It will be appreciated that the second server can be Tomcat servers, Tomcat servers receive Nginx clothes After the solicited message that business device forwards, if the current Tomcat servers for receiving the solicited message are working properly, The solicited message is judged, the solicited message is accessible solicited message, just gives java programs and does in next step Processing, parses the solicited message, obtains the demand information of client, and the demand information is sent to data Storehouse, so that database root feeds back corresponding web data according to the demand information, the solicited message is not accessible information When, it is returned to error message and gives Nginx servers, Nginx servers relays to client.
S302, second standby server connect when the second equipment state of second primary server is abnormal The solicited message that the first server is sent is received, the solicited message is parsed, the demand for parsing acquisition is believed Breath is sent to the 3rd server.
If it should be understood that the current Tomcat server operation irregularity, i.e., the of described second primary server Two equipment states is abnormal, then spare Tomcat servers receive the solicited message that Nginx servers forward, and after progress Continuous relevant operation:The solicited message is judged, the solicited message is accessible solicited message, just gives java journeys Sequence is done to be handled in next step, and the solicited message is parsed, obtains the demand information of client, and the demand information is sent out Send to database, so that database root feeds back corresponding web data according to the demand information, the solicited message is to locate During the information of reason, it is returned to error message and gives Nginx servers, Nginx servers relay to client.
This implementation such scheme, by setting fault tolerant mechanism, when the second primary server occurs abnormal, can pass through second Standby server ensures the normal operation of website, reduces the probability that website collapse case occurs.
Further, with reference to Fig. 6, the present invention one is proposed based on a kind of above-mentioned high-availability cluster framework method second embodiment Kind high-availability cluster framework method 3rd embodiment.
In the present embodiment, the step S40, specifically includes:
S401, the 3rd server include the 3rd primary server and the 3rd standby server, the 3rd primary clothes Business device receives the demand information that the second server is sent, and corresponding page data is generated according to the demand information, The page data is fed back into the client;
It should be noted that the 3rd server can be oracle server, that is, oracle database.It is described After the backstage java programs of second server receive solicited message, start to handle in next step, believed according to the request of client Breath, is handled by program internal logic, and the demand information for handling acquisition is sent to oracle server, if described in receiving The current oracle server of demand information is working properly, then obtains data corresponding with the demand information, and generation is complete The page, returns to client.
S402, the 3rd standby server connect when the 3rd equipment state of the 3rd primary server is abnormal The demand information that the second server is sent is received, corresponding page data is generated according to the demand information, by described in Page data feeds back to the client.
If it should be understood that the current oracle server operation irregularity, i.e., the of described 3rd primary server For three equipment states to be abnormal, then spare oracle server receives the demand information that the second server is sent, and goes forward side by side The follow-up relevant operation of row:Data corresponding with the demand information are obtained, the complete page is generated, returns to client.
In the concrete realization, the oracle server will generate corresponding page data according to the demand information and send To the Tomcat servers, the Tomcat servers again send the page data to the Nginx servers, described Nginx servers send the page data to client.
This implementation such scheme, by setting fault tolerant mechanism, when the 3rd primary server occurs abnormal, can pass through the 3rd Standby server ensures the normal operation of website, reduces the probability that website collapse case occurs.It is configured with standby N ginx services Device and keepalive, if current Nginx servers, which go wrong, can automatically switch to normal standby N ginx servers, Tomcat servers also provided spare Tomcat servers to tackle paroxysmal failure, and database has equally done hot standby cut Change, oracle server is configured with spare oracle server.By links have been done it is primary and backup be combined set Meter, greatly reduces the website caused by the failure of wherein a certain aspect and collapses.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Herein, the use of word first, second, and third does not indicate that any order.Can be by these word solutions It is interpreted as title.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, server, air conditioner, or network equipment etc.) perform method described in the present invention embodiment.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and attached drawing information is made, is directly or indirectly used in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

  1. A kind of 1. high-availability cluster architecture system, it is characterised in that the system comprises:First server, second server and 3rd server, the first server are connected with the first end of the second server, the second end of the second server It is connected with the 3rd server, the first server includes the first primary server and the first standby server;
    First primary server, for when the first equipment state of first primary server is normal, receiving visitor The solicited message that family end is sent, the solicited message is sent to the second server;
    First standby server, for when the first equipment state of first primary server is abnormal, receiving visitor The solicited message that family end is sent, the solicited message is sent to the second server;
    The second server, the solicited message sent for receiving the first server, to the solicited message into Row parsing, the demand information for parsing acquisition is sent to the 3rd server;
    3rd server, the demand information sent for receiving the second server, according to the demand information Corresponding page data is generated, the page data is fed back into the client.
  2. 2. high-availability cluster architecture system as claimed in claim 1, it is characterised in that the second server includes the second master With server and the second standby server;
    Second primary server, for when the second equipment state of second primary server is normal, receiving institute The solicited message of first server transmission is stated, the solicited message is parsed, the demand information for parsing acquisition is sent out Send to the 3rd server;
    Second standby server, for when the second equipment state of second primary server is abnormal, receiving institute The solicited message of first server transmission is stated, the solicited message is parsed, the demand information for parsing acquisition is sent out Send to the 3rd server.
  3. 3. high-availability cluster architecture system as claimed in claim 1 or 2, it is characterised in that the 3rd server includes the Three primary servers and the 3rd standby server;
    3rd primary server, for when the 3rd equipment state of the 3rd primary server is normal, receiving institute The demand information of second server transmission is stated, corresponding page data is generated according to the demand information, by the page Data feedback is to the client;
    3rd standby server, for when the 3rd equipment state of the 3rd primary server is abnormal, receiving institute The demand information of second server transmission is stated, corresponding page data is generated according to the demand information, by the page Data feedback is to the client.
  4. 4. high-availability cluster architecture system as claimed in claim 1, it is characterised in that the second server, is additionally operable to sentence Whether the solicited message of breaking is analysable information, and when the solicited message is analysable information, the request is believed Breath is parsed, and the demand information for parsing acquisition is sent to the 3rd server.
  5. 5. high-availability cluster architecture system as claimed in claim 4, it is characterised in that the second server, is additionally operable to When the solicited message is the information that can not be parsed, feedback error information to the first server, so that the first service Device sends the error message to the client.
  6. 6. a kind of high-availability cluster framework method, it is characterised in that it, which is based on high-availability cluster architecture system, includes:First service Device, second server and the 3rd server, the first server are connected with the first end of the second server, and described second The second end of server is connected with the 3rd server, and the first server is spare including the first primary server and first Server, the high-availability cluster framework method include:
    First primary server receives client hair when the first equipment state of first primary server is normal The solicited message sent, the solicited message is sent to the second server;
    First standby server receives client hair when the first equipment state of first primary server is abnormal The solicited message sent, the solicited message is sent to the second server;
    The second server receives the solicited message that the first server is sent, and the solicited message is solved Analysis, the demand information for parsing acquisition is sent to the 3rd server;
    3rd server receives the demand information that the second server is sent, according to demand information generation pair The page data answered, the client is fed back to by the page data.
  7. 7. high-availability cluster framework method as claimed in claim 6, it is characterised in that the second server includes the second master With server and the second standby server;
    Second primary server receives described first when the second equipment state of second primary server is normal The solicited message that server is sent, parses the solicited message, and the demand information for parsing acquisition is sent to institute State the 3rd server;
    Second standby server receives described first when the second equipment state of second primary server is abnormal The solicited message that server is sent, parses the solicited message, and the demand information for parsing acquisition is sent to institute State the 3rd server.
  8. 8. high-availability cluster architecture system as claimed in claims 6 or 7, it is characterised in that the 3rd server includes the Three primary servers and the 3rd standby server;
    3rd primary server receives described second when the 3rd equipment state of the 3rd primary server is normal The demand information that server is sent, corresponding page data is generated according to the demand information, and the page data is anti- It is fed to the client;
    3rd standby server receives described second when the 3rd equipment state of the 3rd primary server is abnormal The demand information that server is sent, corresponding page data is generated according to the demand information, and the page data is anti- It is fed to the client.
  9. 9. high-availability cluster architecture system as claimed in claim 6, it is characterised in that the second server judges described ask Ask whether information is analysable information, when the solicited message is analysable information, the solicited message is solved Analysis, the demand information for parsing acquisition is sent to the 3rd server.
  10. 10. high-availability cluster architecture system as claimed in claim 9, it is characterised in that the second server is asked described When to seek information be the information that can not be parsed, feedback error information to the first server, so that the first server is by institute Error message is stated to send to the client.
CN201711313136.8A 2017-12-07 2017-12-07 High-availability cluster architecture system and method Pending CN108023775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711313136.8A CN108023775A (en) 2017-12-07 2017-12-07 High-availability cluster architecture system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711313136.8A CN108023775A (en) 2017-12-07 2017-12-07 High-availability cluster architecture system and method

Publications (1)

Publication Number Publication Date
CN108023775A true CN108023775A (en) 2018-05-11

Family

ID=62072782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711313136.8A Pending CN108023775A (en) 2017-12-07 2017-12-07 High-availability cluster architecture system and method

Country Status (1)

Country Link
CN (1) CN108023775A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110618885A (en) * 2018-06-20 2019-12-27 北京金风慧能技术有限公司 System high availability method, device and system
CN112911009A (en) * 2021-02-03 2021-06-04 叮当快药科技集团有限公司 Access load balancing system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9098454B2 (en) * 2013-07-11 2015-08-04 International Business Machines Corporation Speculative recovery using storage snapshot in a clustered database
US20160099827A1 (en) * 2012-04-25 2016-04-07 Siamack Ayandeh Fiber Channel 1:N Redundancy
CN105681109A (en) * 2016-03-15 2016-06-15 山东超越数控电子有限公司 Implementation method and framework of high availability cluster management system
CN106330475A (en) * 2015-06-15 2017-01-11 中兴通讯股份有限公司 Method and device for managing main and standby nodes in communication system and high availability cluster
CN106412011A (en) * 2016-08-30 2017-02-15 广州鼎甲计算机科技有限公司 High-availability cluster system without shared storage among multiple nodes, and implementation
CN107093138A (en) * 2017-04-21 2017-08-25 山东佳联电子商务有限公司 Auction Ask-Bid System and its operation method based on distributed clog-free asynchronous message tupe

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160099827A1 (en) * 2012-04-25 2016-04-07 Siamack Ayandeh Fiber Channel 1:N Redundancy
US9098454B2 (en) * 2013-07-11 2015-08-04 International Business Machines Corporation Speculative recovery using storage snapshot in a clustered database
CN106330475A (en) * 2015-06-15 2017-01-11 中兴通讯股份有限公司 Method and device for managing main and standby nodes in communication system and high availability cluster
CN105681109A (en) * 2016-03-15 2016-06-15 山东超越数控电子有限公司 Implementation method and framework of high availability cluster management system
CN106412011A (en) * 2016-08-30 2017-02-15 广州鼎甲计算机科技有限公司 High-availability cluster system without shared storage among multiple nodes, and implementation
CN107093138A (en) * 2017-04-21 2017-08-25 山东佳联电子商务有限公司 Auction Ask-Bid System and its operation method based on distributed clog-free asynchronous message tupe

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张静: ""高可用集群作业管理系统的研究与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110618885A (en) * 2018-06-20 2019-12-27 北京金风慧能技术有限公司 System high availability method, device and system
CN110618885B (en) * 2018-06-20 2023-06-02 北京金风慧能技术有限公司 System high availability method, device and system
CN112911009A (en) * 2021-02-03 2021-06-04 叮当快药科技集团有限公司 Access load balancing system and method

Similar Documents

Publication Publication Date Title
US8799400B2 (en) System and method for managing multiple queues of non-persistent messages in a networked environment
JP4509545B2 (en) Reliable messaging system with configurable settings
WO2004008718A2 (en) Methods and apparatus for improving resiliency of communication networks
US8892768B2 (en) Load balancing apparatus and load balancing method
EP1697843B1 (en) System and method for managing protocol network failures in a cluster system
CN101370035A (en) Method and system for dynamic client/server network management using proxy servers
CN105978721B (en) The methods, devices and systems of monitoring service operating status in a kind of group system
CN112422684B (en) Target message processing method and device, storage medium and electronic device
EP1713219A1 (en) Communications device and method
CN103916424B (en) A kind of method, communication terminal and the communication network of management and control application program heartbeat packet
CN112118315A (en) Data processing system, method, device, electronic equipment and storage medium
CN101841462A (en) Method, device and system for informing VRRP state information
CN108023775A (en) High-availability cluster architecture system and method
US20170048081A1 (en) Multi-ring reliable messaging system
JP2005301436A (en) Cluster system and failure recovery method for it
CN100359865C (en) Detecting method
US20160164719A1 (en) Fault tolerance method for distributed stream processing system
EP2381630B1 (en) Monitoring a mobile data service associated with a mailbox
CN110113437B (en) Method and apparatus for providing enhanced reliability of web services
CN105099738B (en) Data capture method, apparatus and system
CN115037785A (en) Instant communication system and method
CN110247808B (en) Information transmission method, device, equipment and readable storage medium
CN107465751B (en) Communication method, device, client and computer storage medium
CN114615327A (en) Method, device and system for optimizing market data and storage medium
CN109039928A (en) Transmission method, device and the Wireless Fidelity router of data

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: 20180511

RJ01 Rejection of invention patent application after publication