CN102111281A - Hot standby method for implementing dual-machine hot standby system - Google Patents

Hot standby method for implementing dual-machine hot standby system Download PDF

Info

Publication number
CN102111281A
CN102111281A CN2009102006497A CN200910200649A CN102111281A CN 102111281 A CN102111281 A CN 102111281A CN 2009102006497 A CN2009102006497 A CN 2009102006497A CN 200910200649 A CN200910200649 A CN 200910200649A CN 102111281 A CN102111281 A CN 102111281A
Authority
CN
China
Prior art keywords
server
data
hot standby
local data
heat
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
CN2009102006497A
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.)
LIANGJIANG COMMUNICATIONS SYSTEM CO Ltd
Original Assignee
LIANGJIANG COMMUNICATIONS SYSTEM 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 LIANGJIANG COMMUNICATIONS SYSTEM CO Ltd filed Critical LIANGJIANG COMMUNICATIONS SYSTEM CO Ltd
Priority to CN2009102006497A priority Critical patent/CN102111281A/en
Publication of CN102111281A publication Critical patent/CN102111281A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

The invention discloses a hot standby method for implementing a dual-machine hot standby system. The method comprises the following steps of: adopting three servers in the same network, wherein the three servers respectively are a primary service which is provided with application software and local data, a hot standby server, and a data server which stores application data and is shared by the other two servers; when the data server is abnormal, recovering the data server to be normal by using the local data, automatically synchronizing the local data to the data server, and using data in the data server; operating the primary server under a normal condition, and only synchronizing the local data periodically by using the hot standby server when the primary server is normal; mutually informing current working states each other by using the primary server and the hot standby server; and in abnormality, immediately switching after confirming. By using the method, when a single side of a system fails, the other side can take over within extremely short time so as to ensure the normal operation of the system, fulfill the aims of high reliability and high usability, and improve the cost performance of the system.

Description

A kind of hot spare method of realizing Dual-Computer Hot-Standby System
Technical field
The present invention relates to a kind of hot spare method, relate in particular to a kind of hot spare method of realizing Dual-Computer Hot-Standby System.
Background technology
At present, for high reliability, the high availability of safeguards system, generally adopt hardware and software to cooperate and finish using the control of system:
Hardware uses disk array, and software uses HA software.In practice, application system is installed in the array, HA is installed on 2 station servers, main whether normal by the HA monitoring with the application system on the server, if it is undesired, start application system by main with the HA on the notice of the HA on the server standby server, thereby reach the function that heat is equipped with, improve high reliability, the high availability of system.
Said method needs hardware and software to cooperate, and requires application system to support the control of HA, and cost is than higher, and switching time is longer, and the fault point is many.
The cost height, being mainly reflected in needs extra special hardware (disk array) and special software (HA Control Software);
Switching time is longer, and the application system that is mainly reflected on 2 station servers is subjected to the HA software supervision, and only the master provides service with the application system on the server, and the application system on the standby server is idle.When the master was broken down with the application system on the server, the HA that heat is equipped with on the server started the application system of controlling.Whole switching time=inspection acknowledging time+hardware time of taking over+application start time.
The fault point is many, has used extra hardware and software, adds the support of application system, its fault point showed increased.If hardware goes wrong, whole system will be paralysed, even loss of data; If HA breaks down, can not provide hot-backup function.
Many shortcomings of prior art have limited its cost performance, are of limited application.
Summary of the invention
The hot spare method that the objective of the invention is to overcome the defective of prior art and a kind of Dual-Computer Hot-Standby System is provided, adopt data storage technology, detection technique, the handoff technique of original creation to realize, when application system is monolateral when breaking down, can in the extremely short time, take on one side in addition, thereby the normal operation of the system of assurance, realize the purpose of high reliability, high availability, improve the cost performance of system.
The technical scheme that realizes above-mentioned purpose is: a kind of hot spare method of realizing Dual-Computer Hot-Standby System, and wherein, this method comprises:
In described Dual-Computer Hot-Standby System, adopt 3 servers in same network, wherein, one for being equipped with the main server of using of application software and local data, one is that the heat that application software and local data are installed is equipped with server, one for depositing application data and main be equipped with server data shared server with server and heat for described, describedly mainly is equipped with server with server and heat and all by the shared described data server of NFS and its local data data backup arranged;
When described data server is unusual, use local data, when data server recovers normal, automatically local data is synchronized to data server, and uses the data in the data server simultaneously instead;
Main with all move under the server normal condition, heat is equipped with server does not provide business service under with the server normal condition and the synchronous local data of timing only main;
The master is equipped with server with server and heat and informs the other side's work at present state mutually, in case have unusually, after affirmation, switches immediately, and a promptly N/R side moves immediately business service is provided.
The invention has the beneficial effects as follows: the invention provides a kind of hot spare method of realizing in the Dual-Computer Hot-Standby System, compared following advantage with traditional method:
Low-cost: as not need extra special hardware and software, reduced cost;
Switching time is short: the two-shipper application system all is in running status, only loads some variance data and switching state during switching, has significantly reduced switching time;
The fault point is few: 2 fault points of application system and data server are only arranged;
High safety reliability more: data have 3 parts, and concern of data is not lost; As long as there is a station server normally can provide business service.
Description of drawings
Fig. 1 is the structural representation of an embodiment of realization two-node cluster hot backup breath of the present invention hot spare method bitterly.
Embodiment
A kind of hot spare method of realizing Dual-Computer Hot-Standby System of the present invention, this method comprises:
In Dual-Computer Hot-Standby System, adopt 3 servers in same network, wherein, one for being equipped with the main server of using of application software and local data, one is that the heat that application software and local data are installed is equipped with server, one for depositing application data and be equipped with server data shared server for main with server and heat, main with server and heat fully server all data backup is arranged by NFS (NFS) shared data server and its local data;
When data server is unusual, use local data, when data server recovers normal, automatically local data is synchronized to data server, and uses the data in the data server simultaneously instead;
Main with all move under the server normal condition, heat is equipped with server does not provide business service under with the server normal condition and the synchronous local data of timing only main;
The master is equipped with server with server and heat and informs the other side's work at present state mutually, in case have unusually, after affirmation, switches immediately, and a promptly N/R side moves immediately business service is provided.
The invention will be further described below in conjunction with an embodiment.
Seeing also Fig. 1, is one embodiment of the invention, and first service server 1, second service server 2 and data server 3 have been formed an operation system.
Under the normal condition, first service server 1 provides business service, and second service server 2 is in heat and is equipped with state.When first service server 1 breaks down can not provide business service the time, second service server 2 will be taken over immediately this moment, and service is provided, thereby guarantee professional high availability, high reliability.
In sum, the present invention is broken down can not normally move the time with system as the master in the Dual-Computer Hot-Standby System, can be equipped with system by heat immediately and take over, and guarantees the normal operation of system, thereby further improves high reliability, the high availability of system.Main adopt following tripartite surface technology, i.e. data storage technology, detection technique, handoff technique.
Data storage technology: shared data and local data exist simultaneously, guarantee safety of data.
Detection technique: the two-shipper application system is in time informed the other side's oneself operating state mutually, prevents the inaccuracy of monolateral detection.
Handoff technique: the two-shipper application system all is in running status, does not provide business service but heat is equipped with system, and only synchrodata only provides professional immediately and gets final product during switching, has reduced the time of startup and loading data.
The present invention has data security, no special hardware, the characteristics of no special software.Data security is embodied in data and has 3 parts; No special hardware is embodied in does not need disk array; No special software is embodied in does not need special-purpose HA software.
Below embodiment has been described in detail the present invention in conjunction with the accompanying drawings, and those skilled in the art can make the many variations example to the present invention according to the above description.Thereby some details among the embodiment should not constitute limitation of the invention, and the scope that the present invention will define with appended claims is as protection scope of the present invention.

Claims (1)

1. a hot spare method of realizing Dual-Computer Hot-Standby System is characterized in that, this method comprises:
In described Dual-Computer Hot-Standby System, adopt 3 servers in same network, wherein, one for being equipped with the main server of using of application software and local data, one is that the heat that application software and local data are installed is equipped with server, one for depositing application data and main be equipped with server data shared server with server and heat for described, describedly mainly is equipped with server with server and heat and all by the shared described data server of NFS and its local data data backup arranged;
When described data server is unusual, use local data, when data server recovers normal, automatically local data is synchronized to data server, and uses the data in the data server simultaneously instead;
Main with all move under the server normal condition, heat is equipped with server does not provide business service under with the server normal condition and the synchronous local data of timing only main;
The master is equipped with server with server and heat and informs the other side's work at present state mutually, in case have unusually, after affirmation, switches immediately, and a promptly N/R side moves immediately business service is provided.
CN2009102006497A 2009-12-24 2009-12-24 Hot standby method for implementing dual-machine hot standby system Pending CN102111281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102006497A CN102111281A (en) 2009-12-24 2009-12-24 Hot standby method for implementing dual-machine hot standby system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102006497A CN102111281A (en) 2009-12-24 2009-12-24 Hot standby method for implementing dual-machine hot standby system

Publications (1)

Publication Number Publication Date
CN102111281A true CN102111281A (en) 2011-06-29

Family

ID=44175315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102006497A Pending CN102111281A (en) 2009-12-24 2009-12-24 Hot standby method for implementing dual-machine hot standby system

Country Status (1)

Country Link
CN (1) CN102111281A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516667A (en) * 2012-06-20 2014-01-15 中国银联股份有限公司 System, method and apparatus used for safety information data disaster recovery backup
CN104468719A (en) * 2014-11-06 2015-03-25 东莞宇龙通信科技有限公司 Data synchronization method, data synchronization device and system, terminal and server
CN105610645A (en) * 2015-12-29 2016-05-25 深圳市金溢科技股份有限公司 Vehicle management system and control method and device thereof
CN105740106A (en) * 2016-03-30 2016-07-06 苏州美天网络科技有限公司 Server system with quick server switching function
CN105915366A (en) * 2016-03-30 2016-08-31 苏州美天网络科技有限公司 Efficient backup server system
CN108390919A (en) * 2018-01-26 2018-08-10 昆明昆船逻根机场物流系统有限公司 A kind of message synchronization system and method for highly reliable two-node cluster hot backup
CN109753292A (en) * 2018-12-24 2019-05-14 智慧互通科技有限公司 A kind of method and device for disposing multiple applications in more single instance database services
CN111966488A (en) * 2020-07-17 2020-11-20 北京思特奇信息技术股份有限公司 Interface gateway multi-center application system and method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516667B (en) * 2012-06-20 2017-03-01 中国银联股份有限公司 For the system of the disaster-tolerant backup of security information data, method and apparatus
CN103516667A (en) * 2012-06-20 2014-01-15 中国银联股份有限公司 System, method and apparatus used for safety information data disaster recovery backup
CN104468719B (en) * 2014-11-06 2018-12-25 东莞宇龙通信科技有限公司 Method of data synchronization, data synchronization unit and system and terminal and server
CN104468719A (en) * 2014-11-06 2015-03-25 东莞宇龙通信科技有限公司 Data synchronization method, data synchronization device and system, terminal and server
CN105610645A (en) * 2015-12-29 2016-05-25 深圳市金溢科技股份有限公司 Vehicle management system and control method and device thereof
CN105740106A (en) * 2016-03-30 2016-07-06 苏州美天网络科技有限公司 Server system with quick server switching function
CN105915366A (en) * 2016-03-30 2016-08-31 苏州美天网络科技有限公司 Efficient backup server system
CN108390919A (en) * 2018-01-26 2018-08-10 昆明昆船逻根机场物流系统有限公司 A kind of message synchronization system and method for highly reliable two-node cluster hot backup
CN108390919B (en) * 2018-01-26 2021-06-25 昆明昆船逻根机场物流系统有限公司 Message synchronization system and method for high-reliability dual-computer hot standby
CN109753292A (en) * 2018-12-24 2019-05-14 智慧互通科技有限公司 A kind of method and device for disposing multiple applications in more single instance database services
CN109753292B (en) * 2018-12-24 2023-07-07 智慧互通科技股份有限公司 Method and device for deploying multiple applications in multiple single instance database service
CN111966488A (en) * 2020-07-17 2020-11-20 北京思特奇信息技术股份有限公司 Interface gateway multi-center application system and method
CN111966488B (en) * 2020-07-17 2024-04-23 北京思特奇信息技术股份有限公司 Interface gateway multi-center application system and method

Similar Documents

Publication Publication Date Title
CN102111281A (en) Hot standby method for implementing dual-machine hot standby system
CN100587692C (en) Method and system for promoting metadata service reliability
US11075795B2 (en) Arbitration method, apparatus, and system used in active-active data centers
CN105302661A (en) System and method for implementing virtualization management platform high availability
CN106648997A (en) Master-salve switching method based on non-real-time operating system
CN108134700B (en) Method for realizing electric power automation communication data integrity
CN102916825A (en) Management equipment of dual-computer hot standby system, management method and dual-computer hot standby system
CN103763155A (en) Multi-service heartbeat monitoring method for distributed type cloud storage system
CN104317803A (en) Data access structure and method of database cluster
CN104486128B (en) A kind of system and method for realizing redundancy heartbeat between dual controller node
US20100268687A1 (en) Node system, server switching method, server apparatus, and data takeover method
CN105554074A (en) NAS resource monitoring system and monitoring method based on RPC communication
CN110673981B (en) Fault recovery method, device and system
CN108469996A (en) A kind of system high availability method based on auto snapshot
CN107040403A (en) The method that Distributed system reliability is improved based on DDS technologies
CN105812161A (en) Controller fault backup method and system
CN103795572A (en) Method for switching master server and slave server and monitoring server
WO2006005251A1 (en) Method and system for carrying out the function of switching in a communication system
CN114461428A (en) Arbitration method for split brain of double-computer cluster
CN102866698B (en) Human machine interface (HMI) redundant communication method for distributed control system controller
CN115292283A (en) Master-slave high-availability switching method based on disk cabinet
CN101686261A (en) RAC-based redundant server system
CN108445857B (en) Design method for 1+ N redundancy mechanism of SCADA system
CN103036722A (en) Method for achieving server hot backup in diskless system
WO2011083778A1 (en) Computer, computer management method, and computer management program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110629