[go: up one dir, main page]

CN101242288B - A realization method for variant duplication - Google Patents

A realization method for variant duplication Download PDF

Info

Publication number
CN101242288B
CN101242288B CN200710003580A CN200710003580A CN101242288B CN 101242288 B CN101242288 B CN 101242288B CN 200710003580 A CN200710003580 A CN 200710003580A CN 200710003580 A CN200710003580 A CN 200710003580A CN 101242288 B CN101242288 B CN 101242288B
Authority
CN
China
Prior art keywords
variable
machine
transmitter
copy
data
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.)
Active
Application number
CN200710003580A
Other languages
Chinese (zh)
Other versions
CN101242288A (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.)
WUHAN OS-EASY CLOUD COMPUTING CO., LTD.
Original Assignee
WUHAN HUIGUI TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WUHAN HUIGUI TECHNOLOGY Co Ltd filed Critical WUHAN HUIGUI TECHNOLOGY Co Ltd
Priority to CN200710003580A priority Critical patent/CN101242288B/en
Publication of CN101242288A publication Critical patent/CN101242288A/en
Application granted granted Critical
Publication of CN101242288B publication Critical patent/CN101242288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a technology field of computer system maintenance, especially to a method for actualizing variable copy on the net, and is mainly used to install a new software in the machineroom simply and rapidly. The method is to monitor disc change caused by write operation of the disc of the computer in the machine room, then to collect the change areas of all receivers and the senders when network copying, and to send the data in the changed areas to a receiving terminal from a sending terminal. The method, compared with the conventional incremental copy method, is more rapid and convenient, and has a great advantage.

Description

A kind of implementation method of variant duplication
Technical field
The invention belongs to the computer system maintenance technical field, be specifically related to a kind of method that on network, realizes variant duplication, be mainly used in machine room, simply dispose fast new software.
Background technology
The major function of room management is divided into system protection and network to copying two parts.The anti-locking system of system protection is destroyed, and network-copy can be unified to install to all machines of whole equipment room.
● network-copy
Suppose a machine room have A1, A2,,,,,, An platform machinery requirement safeguards (we represent this n platform machine with set A), the software and hardware configuration of this n platform machine requires in full accord, the hardware configuration unanimity only needs the same machine of buying to get final product, and will be the very large thing of job amount but each machine carries out the installation of system and application software separately.For head it off, can be earlier from set A, appoint and get a machine An and install needed system and application software earlier; According to the file format of An machine institute assembling system (commonly used have FAT16/FAT32/NTFS) valid data in the disk of An machine are detected then; Next, these valid data among the machine An are sent in the set A other n-1 platform machine.So just can effectively reduce the workload of system and Software deployment in the machine room, these technology are commonly referred to as network-copy.
● the increment copy
The machine room A that supposes the front has installed the system of the n platform machine in the machine room and application software by network-copy and has configured.But having passed through a period of time has some new softwares to install again or intrasystem configuration needs to change, and such software is installed and system configuration changes and generally can not bring lot of data to increase and change.If at this time use network-copy then need to copy again valid data in the DISK to Image, yet there are most data in fact in a preceding network-copy, to finish, because the valid data in the hard disk are many, indefinite to G up to a hundred from several G, the primary network copy can need dozens of minutes to arrive the time of several hrs like this.Can be only the software that increases newly and configuration variation to be sent to all machines be an effective way in order to address this problem.But, though, be not just the same, be exactly different such as the IP address of each machine because the configuration of the n platform machine among the A is similar, this has brought the problem of some bad solutions.Below we introduce the performing step of increment copy:
1) be that transmitter is carried out network-copy to machine room A with An.Suppose that now the valid data set in the An machine is Ba, the invalid data set is Bb.
2) monitor all disk write operation, the modification of the data on the disk among all pair set Ba is all write in the working area and (is used for storing some data generally at hundreds of million to several G temporarily), supposes with set C and represents the working area.Can safeguard the mapping relations of Ba by certain algorithm to C.Writing of the disk zone of pair set Bb representative can directly be write.
3) carrying out the increment copy will gather the part that newly is used among the part that is used among the C and the set B b exactly and send to An other n-1 platform machines in addition.
4) carry out and to revise IP automatically, current retouching operation is backed up the part that the modification of Ba causes Ba to change.So that variant duplication next time can make all receivers all revert to last state when carrying out the increment copy.Just the 3rd step will at first make the reduction earlier of all receivers.
5) execution in step 2 is to step 5 after.
The implementation method in the 4th step can change mapping into.Use the way of 2 reduction to solve.Our this as can be seen technology takes the form of increment in set C and set B b.And being set B a, the basis of its realization can not be modified.Based on this point, claim that generally this technology is the increment copy.His obvious defects is can not revise Ba, open mode that the software of realizing on this principle can not the supportive protection card and permanent write operation.It takes 2 comparison complicated algorithm such as reduction to realize needs in order to realize Ba and not to be modified but realize revising automatically the operation that IP etc. needs to revise Ba again.Because it does not support open mode to make some need repeat to restart machine, need every machine to have the demand of independent personalized configuration to satisfy with bad.The user also has been subjected to very big restriction to the use of machine.
By above-mentioned introduction as can be known, the thought of increment copy is the write operation of shining upon the data of having transmitted in the disk, copies the data that increase after the data of having transmitted relatively to receiver.The greatest drawback of the realization of increment copy be its in order effectively to monitor increment, must limit the write operation of the data that the last time has been transmitted, otherwise he has not just had the basis of increment.There is the following problem in this implementation method:
1) not house steward's pattern of supportive protection card and permanent backup (because under house steward's pattern, can write arbitrarily) to disk;
2) it must carry out primary network and copies the basis of setting up increment, in case and its lost this basic increment and can not realize;
3) dumb in management, the user must guarantee network-copy was carried out in all machine unifications, has so in a single day gone bad a machine or newly-increased machine, and the increment copy will be done a lot of extra works just can make this machine also support the increment copy;
4) the implementation more complicated of increment copy, the effect of bringing is not ideal enough.
Summary of the invention
The objective of the invention is to copy existing defective at network-copy in the computer system maintenance and increment, a kind of implementation method of variant duplication is provided, makes a system and support still to support permanent write operation and when revising IP automatically, do not need to set up two complicated operations such as restoration point behind the increment copy.
Technical scheme of the present invention is as follows: a kind of implementation method of variant duplication comprises the steps:
(1) determines arbitrarily that in network environment a machine An who has configured system and software is as transmitter, with other n-1 platform machines as receiver, set variable set Dn for copying the data of other machines to, gather at the valid data that erection stage variable set Dn equals in the An machine from a machine;
(2) carry out network-copy for the first time, Dn copies all receivers to the set of the variable in the transmitter An system;
(3) content with the set of the variable in all machines in network environment Dn empties, and does not promptly need the variable data that copies;
(4) data recordng of write operation will take place in the variable set Dn of corresponding machine to the write operation of disk in all machines in the monitor network environment;
(5) carrying out network-copy again, is transmitter with any machine Ai, sends order request for earlier all receivers its variable set Dn is sent to transmitter, and n is not equal to i, and transmitter is asked the variable set of all machines and obtain variable set D;
(6) transmitter Ai obtains the valid data set B a of own disk again according to file system, and the common factor of variable being gathered D and valid data set B a is stored among its variable set Di;
(7) all data among the variable set Di of transmitter Ai are sent to all receivers;
(8) repeating step (3)~(7).
The method of variant duplication provided by the present invention is that the disk that the disk write operation of monitoring room inner machine causes changes, when network-copy, collect all receivers and transmitter then the zone that changes has taken place, these data that zone of variation has taken place are sent to receiving terminal from transmitting terminal.Variant duplication is compared with the increment copy, and change has taken place its basic principle.Variant duplication is only monitored the variation that disk takes place, any restriction is not done in write operation to disk, its basic thought is to remove to recover receiver with the data of transmitter the part that changes has taken place, thereby, make copy procedure more efficient and convenient, compare with other copy mode and have significant superiority.
Description of drawings
Fig. 1 is the flow chart of variant duplication implementation method.
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.
The flow chart of the method for the invention as shown in Figure 1.
Suppose and have only a subregion (C) on the hard disk, make this subregion support variant duplication.The step of its realization is as follows:
(1), installation steps
The C dish is divided into set of blocks A by the piece in 64 sectors.Set up variable bitmap (effect of variable bitmap is whether corresponding of expression has new variable data need send to other receiver) simultaneously, in the variable bitmap and the position of piece correspondence is the no variable of 0 expression, is that 1 expression has variable.All positions of variable bit map area are labeled as 1.
(2), to tell which piece in the set A according to the file system scanning area be piece with valid data, which is the piece that does not have valid data.The valid data piece is labeled as set B, non-valid data piece is labeled as set C.Then exist and concern A=B+C.Position corresponding in all corresponding variable bit map area among the set C is labeled as 0.
(3), carry out network-copy for the first time, in the variable bit map area promising 1 piece send to all receivers.
(4), the variable bitmap that upgrades all receivers is 0 (not sending corresponding piece when making next time network-copy).
(5), the user enters operating system with house steward's pattern and carries out normal running.Monitor all disk write operation, the position in the variable bitmap of the piece correspondence that system is write is labeled as 1.
(6), the user carries out permanent write operation.The user is labeled as 1 to the variable bitmap of the piece of the write operation correspondence of disk.
(7), the user carries out network-copy again.Then at first obtain the variable bitmap of receiver from all receivers.The position that is labeled as in the variable bitmap with the receiver of all acquisitions in the variable bitmap of 1 piece corresponding sending terminal is labeled as 1.
(8), be after 1 piece sends to all receivers, all variablees protection bitmaps that participate in the machine of network-copy to be re-set as 0 in the variable bitmap with all transmitting terminals.
(9), operate repeating step (5)~(8) later on.

Claims (1)

1. the implementation method of a variant duplication comprises the steps:
(1) determines arbitrarily that in network environment a machine An who has configured system and software is as transmitter, with other n-1 platform machines as receiver, set variable set Dn for copying the data of other machines to, gather at the valid data that erection stage variable set Dn equals in the An machine from a machine;
(2) carry out network-copy for the first time, Dn copies all receivers to the set of the variable in the transmitter An system;
(3) content with the set of the variable in all machines in network environment Dn empties, and does not promptly need the variable data that copies;
(4) data recordng of write operation will take place in the variable set Dn of corresponding machine to the write operation of disk in all machines in the monitor network environment;
(5) carrying out network-copy again, is transmitter with any machine Ai, sends order request for earlier all receivers its variable set Dn is sent to transmitter, and wherein n is not equal to i, and transmitter is asked the variable set of all machines and obtain variable set D;
(6) transmitter Ai obtains the valid data set B a of own disk again according to file system, and the common factor of variable being gathered D and valid data set B a is stored among its variable set Di;
(7) all data among the variable set Di of transmitter Ai are sent to all receivers;
(8) repeating step (3)~(7).
CN200710003580A 2007-02-09 2007-02-09 A realization method for variant duplication Active CN101242288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710003580A CN101242288B (en) 2007-02-09 2007-02-09 A realization method for variant duplication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710003580A CN101242288B (en) 2007-02-09 2007-02-09 A realization method for variant duplication

Publications (2)

Publication Number Publication Date
CN101242288A CN101242288A (en) 2008-08-13
CN101242288B true CN101242288B (en) 2010-05-19

Family

ID=39933515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710003580A Active CN101242288B (en) 2007-02-09 2007-02-09 A realization method for variant duplication

Country Status (1)

Country Link
CN (1) CN101242288B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150027065A (en) * 2012-05-30 2015-03-11 톰슨 라이센싱 Method and apparatus for mass updates of digital media

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1595908A (en) * 2004-07-06 2005-03-16 天津百维软件科技有限公司 Method for batch quick copy of computer data
US7054910B1 (en) * 2001-12-20 2006-05-30 Emc Corporation Data replication facility for distributed computing environments
CN1869934A (en) * 2005-05-27 2006-11-29 联想(北京)有限公司 Method and built-in system for duplicating software system between networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7054910B1 (en) * 2001-12-20 2006-05-30 Emc Corporation Data replication facility for distributed computing environments
CN1595908A (en) * 2004-07-06 2005-03-16 天津百维软件科技有限公司 Method for batch quick copy of computer data
CN1869934A (en) * 2005-05-27 2006-11-29 联想(北京)有限公司 Method and built-in system for duplicating software system between networks

Also Published As

Publication number Publication date
CN101242288A (en) 2008-08-13

Similar Documents

Publication Publication Date Title
CN108255641B (en) CDP disaster recovery method based on cloud platform
CN102265277B (en) Operation method and device for data memory system
CN106126346A (en) A kind of large-scale distributed data collecting system and method
TWI575362B (en) Backup method, environment update pre-detection method and system thereof
CN103164295B (en) Enterprise information technology (IT) business virtualization disaster recovery method based on zettabyte file system (ZFS) and kernel-based virtual machine (KVM) kernel virtual underlying system
US20120151273A1 (en) Multiple points in time disk images for disaster recovery
CN105389230A (en) Continuous data protection system and method combining with snapshot technology
KR20050017674A (en) A contents synchronization system in network environment and a method therefor
WO2016115135A1 (en) Disk group based backup
US20080034077A1 (en) Operation management method, operation management program, operation management system and operation management apparatus
CN108920489B (en) Method, device and equipment for deploying database
US10067836B1 (en) Configuration based intelligent protection modeling
CN106484528A (en) It is used in Distributed Architecture realizing the method and device of cluster dynamic retractility
CN102681917A (en) Operating system (OS) and recovery method thereof
CN104899071A (en) Recovery method and recovery system of virtual machine in cluster
CN105589756B (en) Batch cluster system and method
CN104679897A (en) Data retrieval method under big data environment
US11494130B2 (en) Operation data accessing device and accessing method thereof
CN101594256A (en) Disaster recovery method, device and system
US7069270B1 (en) Automated method and mechanism for converting a single instance application to a multiple instance application
CN105446831A (en) Server-Free backup method in conjunction with SAN
TW202116045A (en) Scada web hmi system
CN108388433A (en) The management platform dispositions method of super emerging system
CN106648970A (en) File backup method and distributed file system
CN106775636A (en) battery firmware processing method, device and charging cabinet system

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
ASS Succession or assignment of patent right

Owner name: WUHAN AOYI TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: WUHAN REGRESSION TECHNOLOGY CO., LTD.

Effective date: 20100426

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 430000 NO.312, ZHONGSHAN ROAD, JIYU BRIDGE, WUCHANG DISTRICT, WUHAN CITY, HUBEI PROVINCE TO: 430074 7/F, BUILDING 6, SBI CHUANGYE STREET, DONGHU HIGH-TECH DEVELOPMENT ZONE, WUHAN CITY, HUBEI PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20100426

Address after: 430074, East Lake high tech Development Zone, Hubei, Wuhan Venture Street 6, 7

Applicant after: Wuhan Os-easy Technology Co., Ltd.

Address before: 430000, Wuhan Yu Bridge, Wuchang District, Hubei, Zhongshan Road, No. 312

Applicant before: Wuhan Huigui Technology Co., Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A realization method for variant duplication

Effective date of registration: 20110718

Granted publication date: 20100519

Pledgee: Bank of Hankou, Limited by Share Ltd, Optics Valley branch

Pledgor: Wuhan Os-easy Technology Co., Ltd.

Registration number: 2011990000274

PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20130916

Granted publication date: 20100519

Pledgee: Bank of Hankou Limited by Share Ltd Optics Valley branch

Pledgor: Wuhan Os-easy Technology Co., Ltd.

Registration number: 2011990000274

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PM01 Change of the registration of the contract for pledge of patent right

Change date: 20130916

Registration number: 2011990000274

Pledgee after: Bank of Hankou Limited by Share Ltd Optics Valley branch

Pledgee before: Bank of Hankou, Limited by Share Ltd, Optics Valley branch

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A realization method for variant duplication

Effective date of registration: 20140327

Granted publication date: 20100519

Pledgee: CITIC Bank, Limited by Share Ltd, Wuhan branch

Pledgor: Wuhan Os-easy Technology Co., Ltd.

Registration number: 2014990000206

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20151215

Granted publication date: 20100519

Pledgee: CITIC Bank, Limited by Share Ltd, Wuhan branch

Pledgor: Wuhan Os-easy Technology Co., Ltd.

Registration number: 2014990000206

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160413

Address after: 430000 Hubei city of Wuhan Province, East Lake New Technology Development Zone, Optics Valley Road No. 465 building 17 room 1701 creative

Patentee after: WUHAN OS-EASY CLOUD COMPUTING CO., LTD.

Address before: 430074, East Lake high tech Development Zone, Hubei, Wuhan Venture Street 6, 7

Patentee before: Wuhan Os-easy Technology Co., Ltd.