CN1862504A - Method of multi-computer back-up - Google Patents

Method of multi-computer back-up Download PDF

Info

Publication number
CN1862504A
CN1862504A CN 200510034607 CN200510034607A CN1862504A CN 1862504 A CN1862504 A CN 1862504A CN 200510034607 CN200510034607 CN 200510034607 CN 200510034607 A CN200510034607 A CN 200510034607A CN 1862504 A CN1862504 A CN 1862504A
Authority
CN
China
Prior art keywords
main computer
guest machine
machine
guest
computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200510034607
Other languages
Chinese (zh)
Other versions
CN100362484C (en
Inventor
张蕾
杨鋆源
余春平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005100346072A priority Critical patent/CN100362484C/en
Publication of CN1862504A publication Critical patent/CN1862504A/en
Application granted granted Critical
Publication of CN100362484C publication Critical patent/CN100362484C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention relates to a method of multi-machine backup. It is characterized by that any one main machine is connected with one or several stand-by machines, any one stand-by machine is connected with one or several main machines, in configuration file of every stand-by machine the IP address and backup cycle of main machine connected with said stand-by machine are recorded, and in the configuration file of every main machine the IP address or machine name of the stand-by machine connected with said main machine are recorded. Besides, said invention also provides the concrete steps of said method for implementing multi-machine backup.

Description

The method of multi-computer back-up
Technical field
The present invention relates to a kind of method of multi-computer back-up, an especially a kind of main computer can respond the backup request of many guest machines, and guest machine also can propose the method for the multi-computer back-up of backup request to many main computers.
Background technology
Along with rapid development of network technology, the expansion day by day of network size, therefore more and more higher for the requirement of the reliability of the central server of storage significant data in the network and other function server, unit operation can not satisfy this requirement far away, so important data server must adopt the backup mode of main computer and guest machine that data are backed up.Present backup mode is the main-standby mode of main computer and guest machine dual-host backup, promptly realizes the synchronous of system and data file one to one.So-called dual-host backup just is meant has two machines by the unify process of data sync of telecommunication cable maintenance line in system's operational process, work at present be main computer, another is a guest machine, and guest machine constantly detects the situation of change of main computer image file and system and delta data is backed up.Existing method can only realize man-to-man backup, can't realize multi-computer back-up.
The patent No. is that patent of invention-" a kind of implementation method of dual-host backup " of 01100844.X put down in writing a kind of existing dual-host backup method (as shown in Figure 1), be communication and the support realization main computer of system layer and the synchronous operation between the guest machine by application layer between dual systems, between the application layer of dual systems and system layer, take out administration and supervision authorities, in order to realize the service management between dual systems; This service management comprises the switching of controlling Floating IP address, the mirror image that carries out file and registration table and the application management between two-shipper.The communication of application layer and the support of system layer realize the data of (main computer is to a guest machine) and the mirror image of system one to one.In order to guarantee the real-time of data, main computer needs to detect in real time the situation of change of image file and system, and therefore the performance to main computer exerts a certain influence.This method can't be refused illegal backup request for lacking identification between main computer and the guest machine simultaneously, causes poor stability.And it is not often high to the requirement of real-time of backup to main computer performance requirement higher system, but main computer is in order at utmost to realize real-time under the existing dual-host backup mode, need to detect in real time the situation of change of image file, the main computer performance is made a big impact, under to the higher environment of main computer performance requirement, can not meet the demands.
Summary of the invention
The objective of the invention is to realize multi-computer back-up, improve the dirigibility of backup, a main computer can respond the backup request of many guest machines, and a guest machine also can propose backup request to many main computers; Realize the guest machine regular request, main computer does not need to detect in real time the situation of change of image file, effectively reduces the performance impact of mirror image software for main computer.
For achieving the above object, the invention provides a kind of method of multi-computer back-up, wherein arbitrary main computer connects one or more guest machine, arbitrary guest machine connects one or more main computer, all record the IP address and the backup cycle of connected main computer in the configuration file of described every guest machine, all record the IP address or the machine name of connected guest machine in the configuration file of every main computer, this method may further comprise the steps:
When the backup cycle of arbitrary main computer of putting down in writing in step 1, the above-mentioned arbitrary guest machine arrived, this guest machine sent the request that establishes a communications link to this main computer;
Step 2, this main computer are ratified the request that this guest machine establishes a communications link, and this main computer and guest machine establish a communications link;
Step 3, this guest machine are to the attribute list of this main computer request image file;
Step 4, this main computer are sent out the attribute list of image file and this guest machine;
The attribute list of the attribute list of the image file that the more above-mentioned main computer of step 5, this guest machine sends and the image file of self preserving judges whether to exist the file of variation, if there is no then carries out next step; If have the file that changes, then make back-up processing;
Step 6, this guest machine notify this main computer to communicate to connect end, and this main computer disconnects this and communicates to connect.
Guest machine is after main computer sends the request that establishes a communications link in the described step 1, and this main computer carries out authentication to this guest machine, if be illegal guest machine, does not then accept the request that this communicates to connect, if be legal guest machine, then carries out next step.The method of main computer authentication is:
Step 11, this main computer are accepted the request that communicates to connect of this guest machine, obtain the IP address or the machine name of this guest machine then;
Step 12, this main computer contrast legitimate ip address or the machine name of putting down in writing in this IP address or machine name and the configuration file, if do not put down in writing this IP address or machine name in the discovery configuration file, then be judged as the illegal request that communicates to connect, then do not receive this and communicate to connect request; If record this IP address or machine name in the discovery configuration file, then authentication success is carried out next step.
In described step 1, the backup cycle of many main computers of putting down in writing in this guest machine arrives simultaneously, and then this guest machine sends the request that establishes a communications link to above-mentioned many main computers simultaneously.In the implementation of described step 1-6, the backup cycle of other one or more main computers of putting down in writing in this guest machine arrives, and then also carries out described step 1-6 between this guest machine and the above-mentioned arbitrary main computer.In described step 1, should arrive simultaneously with the backup cycle put down in writing in many guest machines that same main computer is connected, then above-mentioned many guest machines while is sent the request that establishes a communications link to this main computer.In the implementation of described step 1-6, the backup cycle of being put down in writing in other one or more guest machines that are connected with same main computer arrives, and also carries out described step 1-6 between then above-mentioned arbitrary guest machine and this main computer.If have the file that changes described in the described step 5, then make back-up processing and specifically comprise:
If there is the minimizing of file, then above-mentioned guest machine is from being about to the file delete of this minimizing;
If have the increase of file or the variation of file content, then send the request of the above-mentioned file of backup to above-mentioned main computer, this main computer sends to this guest machine according to this request of backing up above-mentioned file with above-mentioned file and backs up.
After the described step 6, also have step 7: this main computer monitors standby time of this guest machine in this guest machine backup back,, then deals with when not backing up when monitoring that this guest machine surpasses Preset Time.This main computer is done in the described step 7 the IP address, Last Backup time and the current time that are treated to this guest machine write the warning record.
Therefore, the present invention has the following advantages:
1, realized the backup mode of multi-to-multi, improved the dirigibility of backup, a main computer can respond the backup request of many guest machines, and a guest machine also can propose backup request to many main computers.
2, the function of guest machine identification is provided, can have refused illegal backup request, provided the warning record, improved the security of system for the long-time not guest machine of backup.
3, main computer does not need to detect in real time the situation of change of image file, but by the guest machine regular request, effectively reduces mirror image software for the main computer Effect on Performance.
Below in conjunction with drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the schematic flow sheet of prior art dual-host backup method.
Fig. 2 is the process flow diagram of multi-computer back-up method of the present invention.
Embodiment
Inventive concept of the present invention is in order to realize the backup of the multi-to-multi between many main computers and many guest machines, main computer is more than one, guest machine also is more than one, arbitrary main computer can be connected with one or more or all guest machine, and arbitrary guest machine can be connected with one or more or all main computers.
Every main computer has main computer processing module and application management module, guest machine has the guest machine processing module, and the main computer processing module has legal guest machine configuration and management, guest machine connection request authentication, the response of guest machine connection request and guest machine backup request response function.Record the IP address or the machine name of connected backup machine in the configuration file of main computer; The application management module has the initialization and the end process function of process; The guest machine processing module has the sending of the configuration of many main computers, connection request, the image file situation of change is judged, the sending and the file backup function of backup request.Record the information such as IP address, backup cycle of connected main computer in the configuration file of guest machine.The backup cycle of the same main computer of putting down in writing in every guest machine can be different.
As shown in Figure 2, be the process flow diagram of multi-computer back-up method of the present invention.
When the backup cycle of arbitrary main computer of putting down in writing in step 1, the arbitrary guest machine arrived, this guest machine sent the request that establishes a communications link to this main computer;
If the backup cycle of the main computer of putting down in writing in backup machine more than arrives simultaneously, then this guest machine sends the request of communicating to connect simultaneously to all main computers of cycle arrival, main computer responds these guest machines simultaneously, if the backup cycle that main computer is put down in writing in the guest machine more than of its connection arrives simultaneously, then these guest machines can send the request of communicating to connect to this main computer simultaneously, main computer respond simultaneously oriented its send the guest machine that establishes a communications link, realized flexible backup thus.Main computer self does not need to detect in real time the situation of change of image file, but by the guest machine regular request, is regularly finished by guest machine, effectively reduces mirror image software for the main computer Effect on Performance.
Step 2a, this main computer are accepted the request that communicates to connect of this guest machine, obtain the IP address or the machine name of this guest machine then;
Step 2b, this main computer contrast legitimate ip address or the machine name of putting down in writing in this IP address and the configuration file, if do not put down in writing this IP address or machine name in the discovery configuration file, then be judged as the illegal request that communicates to connect, then do not receive this and communicate to connect request; If record this IP address or machine name in the discovery configuration file, then authentication success is carried out next step;
Therefore, main computer has been realized the function to the guest machine identification, can refuse the illegal request that communicates to connect, the security that has improved system.
Step 3, this main computer are ratified the request that this guest machine establishes a communications link, and this main computer and guest machine establish a communications link;
Step 4, this guest machine are to the attribute list of this main computer request image file;
Step 5, this main computer are sent out the attribute list of image file and this guest machine;
The attribute list of the attribute list of the image file that the more above-mentioned main computer of step 6a, this guest machine sends and the image file of self preserving judges whether to exist the file of variation, if there is no execution in step 7 then; If find to exist the minimizing of file, then from being about to the file delete of this minimizing, execution in step 7 then; If there is the increase of file in discovery or has the variation of file content, then send the request of the above-mentioned file of backup to this main computer;
Step 6b, this main computer send to this guest machine with above-mentioned file and back up;
Step 7, this guest machine notify this main computer to communicate to connect end, and this main computer disconnects this and communicates to connect;
In arbitrary step of said process, if the backup cycle of one or more main computer of other that put down in writing in the guest machine has arrived, then guest machine still sends the request of communicating to connect to the main computer that these back-up period arrive, and carries out above-mentioned steps 1-7.If in arbitrary step of said process, arrive with the backup cycle of this main computer of putting down in writing in other guest machines that a main computer is connected, these guest machines also send the request of communicating to connect to this main computer, and main computer still responds, and carry out above-mentioned steps 1-7.Promptly main computer can respond the backup request of many guest machines, and a guest machine also can propose backup request to many main computers, increase substantially the dirigibility and the reliability of backup.
Step 8, this main computer monitor standby time of this guest machine in this guest machine backup back, when monitoring this guest machine certain hour when still not backing up, then deal with.
Looking Out Time can be provided with arbitrarily, is generally between 1-65535 hour, and the IP address or machine name, Last Backup time and the current time that are treated to this guest machine of having done write the warning record, have improved the security of system thus.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (10)

1, a kind of method of multi-computer back-up, wherein arbitrary main computer connects one or more guest machine, arbitrary guest machine connects one or more main computer, all record the IP address and the backup cycle of connected main computer in the configuration file of described every guest machine, all record the IP address or the machine name of connected guest machine in the configuration file of every main computer, this method may further comprise the steps:
When the backup cycle of arbitrary main computer of putting down in writing in step 1, the above-mentioned arbitrary guest machine arrived, this guest machine sent the request that establishes a communications link to this main computer;
Step 2, this main computer are ratified the request that this guest machine establishes a communications link, and this main computer and guest machine establish a communications link;
Step 3, this guest machine are to the attribute list of this main computer request image file;
Step 4, this main computer are sent out the attribute list of image file and this guest machine;
The attribute list of the attribute list of the image file that the more above-mentioned main computer of step 5, this guest machine sends and the image file of self preserving judges whether to exist the file of variation, if there is no then carries out next step; If have the file that changes, then deal with;
Step 6, this guest machine notify this main computer to communicate to connect end, and this main computer disconnects this and communicates to connect.
2, the method for multi-computer back-up according to claim 1, it is characterized in that: guest machine is after main computer sends the request that establishes a communications link in the described step 1, this main computer carries out authentication to this guest machine, if be illegal guest machine, then do not accept the request that this communicates to connect, if be legal guest machine, then carry out next step.
3, the method for multi-computer back-up according to claim 2 is characterized in that the method for main computer authentication in the described step is:
Step 11, this main computer are accepted the request that communicates to connect of this guest machine, obtain the IP address or the machine name of this guest machine then;
Step 12, this main computer contrast legitimate ip address or the machine name of putting down in writing in this IP address or machine name and the configuration file, if do not put down in writing this IP address or machine name in the discovery configuration file, then be judged as the illegal request that communicates to connect, then do not receive this and communicate to connect request; If record this IP address or machine name in the discovery configuration file, then authentication success is carried out next step.
4, the method for multi-computer back-up according to claim 1, it is characterized in that: in described step 1, the backup cycle of many main computers of putting down in writing in this guest machine arrives simultaneously, and then this guest machine sends the request that establishes a communications link to above-mentioned many main computers simultaneously.
5, the method for multi-computer back-up according to claim 1, it is characterized in that: in the implementation of described step 1-6, the backup cycle of other one or more main computers of putting down in writing in this guest machine arrives, and then also carries out described step 1-6 between this guest machine and the above-mentioned arbitrary main computer.
6, the method for multi-computer back-up according to claim 1, it is characterized in that: in described step 1, should arrive simultaneously with the backup cycle put down in writing in many guest machines that same main computer is connected, then above-mentioned many guest machines while is sent the request that establishes a communications link to this main computer.
7, the method for multi-computer back-up according to claim 1, it is characterized in that: in the implementation of described step 1-6, the backup cycle of being put down in writing in other one or more guest machines that are connected with same main computer arrives, and also carries out described step 1-6 between then above-mentioned arbitrary guest machine and this main computer.
8, according to the method for claim 1,2,3,4,5,6 or 7 described multi-computer back-ups,, then make back-up processing and specifically comprise if it is characterized in that having the file that changes described in the described step 5:
If there is the minimizing of file, then above-mentioned guest machine is from being about to the file delete of this minimizing;
If have the increase of file or the variation of file content, then send the request of the above-mentioned file of backup to above-mentioned main computer, this main computer sends to this guest machine according to this request of backing up above-mentioned file with above-mentioned file and backs up.
9, according to the method for claim 1,2,3,4,5,6 or 7 described multi-computer back-ups, it is characterized in that: after the described step 6, also have step 7: this main computer monitors the standby time of this guest machine in this guest machine backup back,, then deal with when not backing up when monitoring that this guest machine surpasses Preset Time.
10, the method for multi-computer back-up according to claim 9 is characterized in that: this main computer is done in the described step 7 the IP address, Last Backup time and the current time that are treated to this guest machine write the warning record.
CNB2005100346072A 2005-05-11 2005-05-11 Method of multi-computer back-up Expired - Fee Related CN100362484C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100346072A CN100362484C (en) 2005-05-11 2005-05-11 Method of multi-computer back-up

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100346072A CN100362484C (en) 2005-05-11 2005-05-11 Method of multi-computer back-up

Publications (2)

Publication Number Publication Date
CN1862504A true CN1862504A (en) 2006-11-15
CN100362484C CN100362484C (en) 2008-01-16

Family

ID=37389938

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100346072A Expired - Fee Related CN100362484C (en) 2005-05-11 2005-05-11 Method of multi-computer back-up

Country Status (1)

Country Link
CN (1) CN100362484C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622394A (en) * 2011-11-28 2012-08-01 江苏奇异点网络有限公司 Method for backing up editable documents in local area network
CN105138423A (en) * 2015-08-11 2015-12-09 北京思特奇信息技术股份有限公司 Service mass data recovery method and system during dual-computer switching
CN105302662A (en) * 2014-07-25 2016-02-03 腾讯科技(深圳)有限公司 Multi-machine backup method and system
CN105391565A (en) * 2014-07-30 2016-03-09 上海斐讯数据通信技术有限公司 Method for achieving synchronization of backup business configuration
CN107239505A (en) * 2017-05-10 2017-10-10 广州杰赛科技股份有限公司 Cluster mirror image synchronization method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6173376B1 (en) * 1996-10-03 2001-01-09 International Business Machines Corp. Data backup and restore method and system in a multisystem environment
CN1722166A (en) * 1999-08-12 2006-01-18 松下电器产业株式会社 Electronic information backup system
US6640217B1 (en) * 2000-09-19 2003-10-28 Bocada, Inc, Method for extracting and storing records of data backup activity from a plurality of backup devices
CN1175353C (en) * 2001-01-19 2004-11-10 华为技术有限公司 Method for implementing dual-system standby

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622394A (en) * 2011-11-28 2012-08-01 江苏奇异点网络有限公司 Method for backing up editable documents in local area network
CN105302662A (en) * 2014-07-25 2016-02-03 腾讯科技(深圳)有限公司 Multi-machine backup method and system
CN105302662B (en) * 2014-07-25 2020-11-06 腾讯科技(深圳)有限公司 Multi-machine backup method and system
CN105391565A (en) * 2014-07-30 2016-03-09 上海斐讯数据通信技术有限公司 Method for achieving synchronization of backup business configuration
CN105138423A (en) * 2015-08-11 2015-12-09 北京思特奇信息技术股份有限公司 Service mass data recovery method and system during dual-computer switching
CN107239505A (en) * 2017-05-10 2017-10-10 广州杰赛科技股份有限公司 Cluster mirror image synchronization method and system
CN107239505B (en) * 2017-05-10 2020-09-15 广州杰赛科技股份有限公司 Cluster mirror synchronization method and system

Also Published As

Publication number Publication date
CN100362484C (en) 2008-01-16

Similar Documents

Publication Publication Date Title
US6760859B1 (en) Fault tolerant local area network connectivity
CN1852154A (en) Intelligent net business control device disaster tolerance system
CN1878088A (en) Hot standby maintenance system and hot standby maintenance and failover method
US20080244060A1 (en) Electronic device profile migration
US20100098085A1 (en) Method, system, and device for implementing active/standby switchover
CN102546135B (en) Active/standby server switched system and method
CN1862504A (en) Method of multi-computer back-up
CN101043310A (en) Image backup method for dual-core control of core controlled system
CN1529459A (en) Main-standby rotation realizing method facing to high-side exchange board
CN102388570B (en) Single board running method and system under active-standby mode
CN1622483A (en) A method for implementing software hot-backup of main and reserve machines
CN104038376A (en) Method and device for managing real servers and LVS clustering system
CN104967691A (en) Distributed storage control method and system
US7093163B2 (en) Processing takeover method in multiple computer system
CN101079734A (en) A hot plug configuration recovery method of rack device
CN1199366C (en) Method of realizing main control plate thermal redundancy
CN1308278A (en) IP fault-tolerant method for colony server
CN1946164A (en) System and method for meeting information backup in multipoint meeting
CN1710864A (en) Upgradable communication system and method for upgrading communication system
CN1750419A (en) Method and device for realizing single board backup in communication network device
JP2001045023A (en) Video server system and video data distribution method
US20080222716A1 (en) COMMUNICATION SYSTEM, IPsec TUNNEL TERMINATION DEVICE, AND IPsec TUNNEL COMMUNICATION CONTINUATION METHOD USED FOR THEM
CN100508627C (en) System and method for realizing backup of scrambler
CN1588923A (en) Method for realizing seamless changing of master and spare service module
CN1917419A (en) System and method for enhancing reliability of software patch of net element devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080116

Termination date: 20130511