[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

AU2005330533A1 - Method for validating system changes by use of a replicated system as a system testbed - Google Patents

Method for validating system changes by use of a replicated system as a system testbed Download PDF

Info

Publication number
AU2005330533A1
AU2005330533A1 AU2005330533A AU2005330533A AU2005330533A1 AU 2005330533 A1 AU2005330533 A1 AU 2005330533A1 AU 2005330533 A AU2005330533 A AU 2005330533A AU 2005330533 A AU2005330533 A AU 2005330533A AU 2005330533 A1 AU2005330533 A1 AU 2005330533A1
Authority
AU
Australia
Prior art keywords
database
primary
tables
network
filestore
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.)
Abandoned
Application number
AU2005330533A
Inventor
Rajesh Kapur
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.)
Individual
Original Assignee
Individual
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
Priority claimed from CA002504070A external-priority patent/CA2504070C/en
Priority claimed from CA002506303A external-priority patent/CA2506303A1/en
Application filed by Individual filed Critical Individual
Publication of AU2005330533A1 publication Critical patent/AU2005330533A1/en
Abandoned legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2038Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant with a single idle spare processing component
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2023Failover techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2097Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements maintaining the standby controller/processing unit updated

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)

Description

WO 2006/108260 PCT/CA2005/001114 METHOD FOR VALIDATING SYSTEM CHANGES BY USE OF A REPLICATED SYSTEM AS A SYSTEM TESTBED Background of the Invention Many large companies use document management software. The purpose of such software is 5 to help companies keep track of large volumes of documents in an organized way, so that documents can be easily stored, found and retrieved. In many cases, there will be more than one version of a particular document. Thus, version control is another aspect of most document management systems. Version control is an issue of particular importance in situations where different people are able to share documents and have shared access to the 10 documents, including a shared right to independently modify the documents. Documentum " is a document management system that comprises of three different layers(or technologies) sitting on top of an operating system (server based) such as Unix or Windows 2000 server, a system database, and a filestore. The layers comprise of a Documentum application server layer that sits on top of the database 15 and serves Documentum client interfaces. The reference information (i.e. the information pointing to the physical document data) and supplementary document information (i.e. the attributes of the types of Documents stored) are stored in the database. The actual physical data is stored in a filestore on either the server, a Storage area network (SAN) or Filer pointed to by the server. 20 One example of a company in which a document management software system would be useful is an engineering company that has many versions of the same part. When a client orders that part the company has to find the correct part version. The document management system typically includes a system database that is associated with a filestore. The filestore stores the actual document data, while the system database 25 stores reference information that points to the document within the filestore. Also, the system database typically stores supplementary document information regarding each document. As part of the management of a document management system the system database and filestore continue to grow in size. While this is a positive and desirable situation for the business as a whole, the company's data / Intellectual property is kept safe. This poses large 30 problems systems people who need to maintain, upgrade these vast systems. The problem 1 WO 2006/108260 PCT/CA2005/001114 posed is also complicated by the range of different technologies involved. The document management system having its own layers to manipulate the user entry and the separate stores of data namely the system database and the filestore which need to be maintained consistently. 5 For example every company needs to maintain the availability of these large systems stretching for some large companies into the terabytes of data. Should one of these systems experience problems, such as a performance problem or require hardware or a Documentum, or a database software patch there is currently no satisfactory way of handling, testing or validating these changes. The changes can be tested on a test system but this system never 10 mirrors a real live production system and Stress testing is seldom carried out (real load testing where sometimes the real problems of performance degradation are found). Also Documentum software, databases need maintaining, tuning and effects of small changes need to be adequately studied. Often its required to carry these requirements out on live production systems this risks lack of validation and stress testing and considerable periods of problems, 15 or downtime if the patch applied fixes one scenario but breaks another, or when a mistake gets made. This is unacceptable for most businesses, as some changes cannot be reverted. With regards to major upgrades until very recently, most companies still preferred to completely write a new system and migrate the data across, some still do this, as the risk to their current system is so great. This invention does not cater for major upgrades, however, 20 there it is advisable to sever the connection between the servers and use a copy of the filestore for the secondary system and use the approach as was presented by myself at the Documentum Conference in Lisbon May 2004, "Upgrading to Documentum 5i using the Clean Build Toggle "Clone" Approach". The below approach was born out of a real-time critical problem. The filestore SAN storage that the Documentum management system was 25 pointing to was running out of space. It was found that because the San drive was associated with NT server (on which the companies' Documentum system was based on at the time couldn't actually be extended). As the systems Architect and Database Administrator it was my job to come up with the solution. I did this by cleanly building the said system on a new server (with the help of hardware and network professionals). 30 In this approach a replicated server, (The replica containing the proprietary document management system software and the system database containing reference data to point to the document data wherein said document data is stored in a separate system filestore 2 WO 2006/108260 PCT/CA2005/001114 associated with a system database) was built, and upgraded, and hence plurality of data was achieved but only at a point in time that allowed a switch or toggle to allow the new replicated server to become the production system. In this procedure the data was copied from the primary filestore using a full backup /restore on the Thursday night to the secondary 5 backup filestore. On Friday night the Primary production server was shutdown and incremental backup of the primary filestore and database export from the primary database taken and these applied to the secondary server. This step ensured the plurality of the data for the point in time when after testing a switch could be made. The approach forms one of the foundation stones of this Invention. 10 The second foundation stone of this invention is another invention File number CTC002 submitted recently for Patent in Canada, in which the concept of usage of Oracle triggers to record the metadata is developed, using a set of access preservation tables (Oracle tables, Sql Server tables). The final foundation stone is the fact that most servers (such as a Unix or Windows 2000 15 server) on which the Document Management/Oracle software sits on are Networked. It is appreciated that this invention could additionally be used for the purpose of the secondary server acting as a "Standby" in case of failure of the first system's Server. Summary of the Invention What is required is a method for validating changes that need to be applied to the system 20 these could be software or hardware patches or minor upgrades. The invention envisages doing this safely with no risk by using a replicated system as a system testbed updated constantly using data from the Production system which is modified by users this enables users to experience only positive changes to the system documents being managed by a document management system whilst system professionals being able to monitor, validate 25 ,add patches and small maintenance tasks before applying these to the production system on successful upgrade the systems could even be switched to allow the upgrade to take place on the primary system on unsuccessful upgrade the problem can be identified and fixed, the secondary system reverted to a previous state if possible, in any case the primary system is secured. 3 WO 2006/108260 PCT/CA2005/001114 Accordingly, there is provided a method for validating system changes by use of a replicated system as a system testbed wherein said system contains document management system software and a system database which contains reference data to point to the document data within the system filestore, during maintenance or validation requirement to the primary 5 system, the secondary replicated system can be used as a test environment, the method comprising steps of: * creating a replicated server containing the system in which the reference data in the system database points to the primary system filestore and the system database tables mirror the primary, except those tables, containing reference 10 information that uniquely identifies the replicated system from the primary production system on the network fabric; e determining that a insert, update, delete/overwrite command has been issued on mirrored tables within the primary system database; and * transferring and recording the commands from the primary system to the 15 database system tables of the replicated system. Preferably, the primary system is operably connected to a network fabric. Preferably, the secondary system is operably connected to a network fabric. Preferably, the primary system has information loaded onto it, and is based on the first server. Preferably, the secondary system has information loaded onto it, and is based on a second server. Preferably, the first 20 system and the second system is configured to allow a client computer operably connected to the network fabric to locate information owned by the first system and information owned by the second system. Preferably, the second system replicates the first system. Preferably, the system comprises a Document Management System residing on a server (Unix or Windows 2000 server) comprising of a filestore storing the actual document data and a system database 25 storing reference information pointing to the documents within a filestore, supplementary information on the document, together with system specific information. Preferably, the second system's system database is configured to mirror the information in that of the first system's system database less a portion of the data which allows the second system to be uniquely identified on the network fabric. Preferably, the filestore containing documents is 30 connected to the network fabric. Preferably, the filestore is based on a Storage Area Network (SAN) or Filer connected to the network fabric. Preferably, the primary system's server can be connected to the filestore. Preferably, the secondary system's server can be connected to 4 WO 2006/108260 PCT/CA2005/001114 the same system filestore it is appreciated that a separate filestore for the secondary system can also be used and this is comprehended by the Invention in this case the second filestore in this case would need to have incremental backups from the first filestore to be continuously applied to it throughout. Preferably, the primary and secondary system share the same system 5 filestore. Preferably, the primary and secondary system databases are linked through the network fabric. Preferably, the method comprises of using Oracle Database software linking primary and secondary system databases on the network fabric by means of an Oracle database link command. Preferably, in the case of a SQL Server database this link between primary and secondary system databases is by a means of a SQL server linked server 10 command. Preferably, both the primary and secondary systems databases have the required access permissions to access, modify, insert or delete data in each other and are accessible to each other across the network fabric. Preferably, the method comprises document data being added to the filestore and reference data modified within system tables in the primary system database, and wherein the recording step comprises the step of recording reference data from 15 all primary system tables, save those holding system specific data. Preferably, the primary system, in response to an insert, update, delete command, inserts, updates, deletes reference data to each of the system tables affected for each particular transaction. Preferably, the recording step comprises recording the reference data using at least one database trigger. Preferably, the recording step comprises recording the reference data using three database 20 triggers associated with each system table, excepting those tables, which allow the first system to be uniquely identified on the network fabric. Preferably, the method comprises adding a first database trigger associated with recording the changes after an insert command on each table, adding a second database trigger associated with recording the changes after an update command on each table and adding a third database trigger associated with recording 25 the changes after a delete command on each database table, excepting those tables that define the primary system on the network fabric. Preferably, the method comprises performing identical changes, to that which can occur after an insert, update, delete command on each primary system database table and are recorded within the respective database trigger pertaining to that particular transaction to the identical replicated secondary system database 30 table, by means of the salient SQL command contained within the three triggers on each of the primary database tables, the transfer, and application of the identical SQL command made possible only by the primary and secondary database systems being linked through a database link on the network fabric. Preferably, the three triggers on each table in the primary database also record the changes on update, insert, delete to access-preservation tables and a single 5 WO 2006/108260 PCT/CA2005/001114 transaction table for all changes on all tables. Preferably, the single transaction table contains the group: the type of transaction ( i.e. update, delete, Insert), the system table on which the transaction is performed, the primary key of the table, and a Date-timestamp. Preferably, the recording step comprises using at least one access-preservation table. Preferably, the 5 recording step comprises using a set of three access preservation tables for each primary system table to be mirrored in the secondary database tables. Preferably, the method additionally comprises using a database stored procedure to apply the changes and transactions recorded in the access-preservation tables and transaction table, to the secondary system should the database link be severed for any reason including that of maintenance to 10 the secondary system on a time based input parameter, once the database link is restored and user input is halted temporarily. Preferably, a set of database procedures can be used in contingency the database link is severed for any reason to apply the changes and transactions recorded, in order, from the time the link was severed to the secondary system in order to. synchronise the two systems once the database link is restored again, user input to be halted 15 at this point until the procedures have finished running , then the system can be returned to the said automated transfer using the SQL command within the triggers on each table, with the user input recommenced. Preferably, the set comprises a first access-preservation table to receive reference data recorded from the insert transaction on each system table, a second access-preservation table to receive reference data recorded from the update transaction on 20 each system table, and a third access preservation table to receive reference data recorded from the delete transaction on each system table. Preferably, the method comprises input restriction until the primary and secondary system databases are re-synchronised. Preferably, the method comprises the contingency of applying the changes through at least a single database procedure using the combination transaction table and access-preservation tables, in 25 order to resynchronise the primary and secondary systems once the database link is restored. Preferably, the method, comprises using Documentum as the Document Management System for both the primary and secondary system. Preferably the method comprises of using the primary system for the user community to store their documents. Preferably, the method comprises of using the secondary system as a testbed for changes which eventually need to be 30 applied to the primary system. Preferably, the method comprises document data being added to the filestore and reference data modified within Documentum system tables in the primary Oracle system database, and wherein the recording step comprises the step of recording reference data from all primary system tables, save those holding server specific data. Preferably, the method requires the secondary system to be used as a testbed, for testing any 6 WO 2006/108260 PCT/CA2005/001114 changes before applying changes to the Primary system. Preferably, the secondary system can be also used as a standby backup system in case of failure of the primary system. Preferably, the primary and secondary systems can be interchanged by adding the database triggers and procedures to both primary and secondary system databases and disabling the 5 triggers and procedures in the designated secondary system. Preferably, the system comprises a Documentum document management system, and wherein the method is carried out additionally it is appreciated that the secondary server be used as a "Standby" this is comprehended by this invention but is not the primary purpose. Preferably, the recording, inserting, updating, deleting and providing steps and standard database constructs are 10 executed by the execution of Oracle database software code. Preferably, the recording, inserting, updating, deleting and providing steps and standard database constructs are executed by the execution of SQL Server database software code. Detailed Description Figure 1 shows the preferred form of the invention which allows the invaluable validation, 15 testing of changes due to applying software/hardware patches, maintenance work, and perhaps upgrades on a real-time replica of the system; in this case of a Document management system known as Documentum, without risking the live system. With the additional benefits that systems professional's can get users to thoroughly test including the additional benefit of being able to stress test e.g. carry out real load testing, with little or no 20 time pressure; knowing that the primary system can be reverted to in case of failure due to changes. A typical Documentum system database has a number of system tables that store reference information and supplementary document information. The Replicated server is set up using the approach presented at the Documentum Conference "Upgrading to Documentum 5i using 25 the toggle "clone" method by myself. According to the invention, preferably, the primary system is operably connected to a network fabric. Preferably, the secondary system is operably connected to a network fabric. Preferably, the primary system has information loaded onto it, and is based on the first server. Preferably, the secondary system has information loaded onto it, and is based on a second 30 server. Preferably, the first system and the second system is configured to allow a client computer operably connected to the network fabric to locate information owned by the first system and information owned by the second system. Preferably, the second system 7 WO 2006/108260 PCT/CA2005/001114 replicates the first system. Preferably, the system comprises a Document Management System residing on a server (Unix or Windows 2000 server) comprising of a filestore storing the actual document data and a system database storing reference information pointing to the documents within a filestore, supplementary information on the document, together with 5 system specific information. Preferably, the second system's system database is configured to mirror the information in that of the first system's system database less a portion of the data which allows the second system to be uniquely identified on the network fabric. Preferably, the filestore containing documents is connected to the network fabric. Preferably, the filestore is based on a Storage Area Network (SAN) or Filer connected to the network fabric. 10 Preferably, the primary system's server can be connected to the filestore. Preferably, the secondary system's server can be connected to the same system filestore it is appreciated that a separate filestore for the secondary system can also be used and this is comprehended by the Invention in this case the second filestore in this case would need to have incremental backups from the first filestore to be continuously applied to it throughout. Preferably, the 15 primary and secondary system share the same system filestore. Preferably, the primary and secondary system databases are linked through the network fabric. Preferably, the method comprises of using Oracle Database software linking primary and secondary system databases on the network fabric by means of an Oracle database link command. Preferably, in the case of a SQL Server database this link between primary and secondary system databases 20 is by a means of a SQL server linked server command. Preferably, both the primary and secondary systems databases have the required access permissions to access, modify, insert or delete data in each other and are accessible to each other across the network fabric. Preferably, the method comprises document data being added to the filestore and reference data modified within system tables in the primary system database, and wherein the recording 25 step comprises the step of recording reference data from all primary system tables, save those holding system specific data. Preferably, the primary system, in response to a insert, update, delete command, inserts, updates, deletes reference data to each of the system tables affected for each particular transaction. Preferably, the recording step comprises recording the reference data using at least one database trigger. Preferably, the recording step comprises 30 recording the reference data using three database triggers associated with each system table, excepting those tables, which allow the first system to be uniquely identified on the network fabric. Preferably, the method comprises adding a first database trigger associated with recording the changes after an insert command on each table, adding a second database trigger associated with recording the changes after an update command on each table and 8 WO 2006/108260 PCT/CA2005/001114 adding a third database trigger associated with recording the changes after a delete command on each database table, excepting those tables that define the primary system on the network fabric. Preferably, the method comprises performing identical changes, to that which can occur after an insert, update, delete command on each primary system database table and are 5 recorded within the respective database trigger pertaining to that particular transaction to the identical replicated secondary system database table, by means of the salient SQL command contained within the three triggers on each of the primary database tables, the transfer, and application of the identical SQL command made possible only by the primary and secondary database systems being linked through a database link on the network fabric. Preferably, the 10 three triggers on each table in the primary database also record the changes on update, insert, delete to access-preservation tables and a single transaction table for all changes on all tables. Preferably, the single transaction table contains the group: the type of transaction (i.e. update, delete, Insert), the system table on which the transaction is performed, the primary key of the table, and a Date-timestamp. Preferably, the recording step comprises using at least one 15 access-preservation table. Preferably, the recording step comprises using a set of three access preservation tables for each primary system table to be mirrored in the secondary's database tables. Preferably, the method additionally comprises using a database stored procedure to apply the changes and transactions recorded in the access-preservation tables and transaction table, to the secondary system should the database link be severed for any reason including 20 that of maintenance to the secondary system on a time based input parameter, once the database link is restored and user input is halted temporarily. Preferably, a set of database procedures can be used in contingency the database link is severed for any reason to apply the changes and transactions recorded, in order, from the time the link was severed to the secondary system in order to synchronise the two systems once the database link is restored 25 again, user input to be halted at this point until the procedures have finished running , then the system can be returned to the said automated transfer using the SQL command within the triggers on each table, with the user input recommenced. Preferably, the set comprises a first access-preservation table to receive reference data recorded from the insert transaction on each system table, a second access-preservation table to receive reference data recorded from 30 the update transaction on each system table, and a third access preservation table to receive reference data recorded from the delete transaction on each system table. Preferably, the method comprises input restriction until the primary and secondary system databases are re synchronised. Preferably, the method comprises the contingency of applying the changes through at least a single database procedure using the combination transaction table and 9 WO 2006/108260 PCT/CA2005/001114 access-preservation tables, in order to re-synchronise the primary and secondary systems once the database link is restored. Preferably, the method, comprises using Documentum as the Document Management System for both the primary and secondary system. Preferably the method comprises of using the primary system for the user community to store their 5 documents. Preferably, the method comprises of using the secondary system as a testbed for changes which eventually need to be applied to the primary system. Preferably, the method comprises document data being added to the filestore and reference data modified within Documentum system tables in the primary Oracle system database, and wherein the recording step comprises the step of recording reference data from all primary system tables, save those 10 holding server specific data. Preferably, the method requires the secondary system to be used as a testbed, for testing any changes before applying changes to the Primary system. Preferably, the secondary system can be also used as a standby backup system in case of failure of the primary system. Preferably, the primary and secondary systems can be interchanged by adding the database triggers and procedures to both primary and secondary 15 system databases and disabling the triggers and procedures in the designated secondary system. Preferably, the system comprises a Documentum document management system, and wherein the method is carried out additionally it is appreciated that the secondary server be used as a "Standby" this is comprehended by this invention but is not the primary purpose. Preferably, the recording, inserting, updating, deleting and providing steps and standard 20 database constructs are executed by the execution of Oracle database software code. Preferably, the recording, inserting, updating, deleting and providing steps and standard database constructs are executed by the execution of SQL Server database software code. The triggers are added to the relevant Documentum tables and they automatically fire to capture the salient information needed to apply a SQL command to keep two systems 25 synchronised, where the secondary system is a replica of the first. This transfer is made possible by the setting up of a Database link between the primary and secondary database systems across the network fabric. In this case an Oracle Database link. Permissions to the user schema or database on the secondary system need to be granted to the primary system's schema or database, and visa versa in case of the secondary system taking over the role of the 30 primary. Additionally, the database link could be set up using other databases of course using the relevant construct, as I have some experience with Sql Server I can at least provide the database mechanism to link two Sql server databases together namely the "linked server" construct. Though my experience is mainly within the Oracle database orena, most large 10 WO 2006/108260 PCT/CA2005/001114 database of any stature have to have similar constructs through common standards such as the. SQL command language itself. So this method is very much multi-database. Below, there is shown sample code which can be extended to implement the invention the code is by no means complete but is sufficient to demonstrate the method. Code is given for 5 Oracle only. One system table is taken dmsysobject-r as example from the Documentum system though not all the columns are used for the example to merely show the concept of the three trigger a table system that is embodied by this invention. The concept is however explained. The Invention can be embodied in a multi-operating system embodiment. The invention can 10 be embodied in a multi-document management system embodiment. The invention can be implemented in a multi-database embodiment. Oracle Create Database link link-name Connect to username Identified by password 15 Using sqlnet string; e.g. Create Database link Secondary connect to secondary identified by secondary using 'backupdatabase' 20 It is appreciated that in the case of an Oracle delete trigger (a before or after) trigger can be used, as is comprehended by the invention. Create or replace trigger keep_ del-r-trigger before delete on dmsysobject-r for each row 25 Begin 11 WO 2006/108260 PCT/CA2005/001114 delete from dm_sysobject-r@backup_database where robject-id = :old.robject_id Insert into keep_r_table value (:old.r-object-id,: old.r_versionlabel,:old. i_folderid,:SYSDATE); Insert into transactiontable ('Delete','dmsysobject r',:old.robjectid, SYSDATE); 5 EXCEPTION when others then RAISE; END; 10 The first command of the above trigger shows the SQL command and the "after delete row" trigger on the primary database automatically deletes the row in the secondary table. The insert statement is necessary in case the link is severed which can happen from time to time in case of maintenance, or in case of failure. As the above Oracle code shows this can be used in order to preserve the data in access preservation tables and the transaction table. In this 15 case instead of using the link to transfer the necessary commands; the access- preservation tables and transaction table are used instead at a later point by database procedures that can run in the transactions in sequence to the Secondary Database, or visa versa. The triggers and procedures being "Enabled" in the designated Primary. Create or replace trigger keep ins_r-trigger 20 after insert on dm sysobject_r for each row Begin insert into dm_sysobject r@backup database(:new.r objectid,:new.r-version label,:new.i_folderid) 25 Insert into keep r-table value (:new.r-object-id,:new.r_versionlabel,:new.i_folderid:,SYSDATE); 12 WO 2006/108260 PCT/CA2005/001114 Insert into transaction_table ('Insert','dm sysobject-r',:new.robjectid, SYSDATE); EXCEPTION when others then RAISE; 5 END; Notice the new values are used meaning the values after the insert or update of a row and these are subsequently used to apply changes to the secondary database. Create or replace trigger keepupd_r_trigger 10 after update on dm sysobject_r for each row Begin update dmsysobject-r@backup_database set rversionlabel = :new.r versionlabel, i-folder id =:new.ifolderid where r-object id =:new.robjectid, 15 Insert into keep_r_table value (:new.r_objectid,:new.r_versionlabel,:new.ifolderid:,SYSDATE); Insert into transaction_table ('Update','dmsysobject-r',:old.robject_id, SYSDATE); EXCEPTION when others then 20 RAISE; END; 13 WO 2006/108260 PCT/CA2005/001114 In the case of the dmsysobject-r table above an example has been given of how the three triggers record the transactions for that table. This of course can be extended to every table within the system. A "before row delete" is used in the example, meaning the data that is about to be deleted is captured the old values meaning whatever was there previously is 5 always captured. A "after row insert" and "after row update" is preferably used, meaning that the data values of the row that have been, inserted or updated are actually captured notice the new values inserted are always used. On a "before insert "old values do not exist. This ensures that all salient and/or relevant information is captured. 10 It will be appreciated that an "after row delete" and "before row update / insert" could also be used and are comprehended by the invention. In such a case, the old values are captured immediately upon the deletion and the new values upon update and insert. An oracle database procedure or stored procedure is a piece of oracle execution code and carries out logical instructions. An oracle trigger is a piece of application code that can be 15 applied to an oracle "table" (a storage unit like a filling cabinet) which when particular transactions are carried out on the table it fires automatically to execute the code within it. 14

Claims (33)

1. A method for validating system changes using a replicated system as a system testbed wherein said system contains document management system software and a system database containing reference data to point to the document data within the system 5 filestore, during mantainence or validation requirement to the primary system, the secondary replicated system can be used as a test environment, the method comprising steps of: creating a replicated server containing the system in which the reference data in the system database points to the primary system filestore and the system database 10 tables mirror the primary, excepting those tables, containing reference information that uniquely identifies the replicated system from the primary production system on the network; determining that a insert, update, delete/overwrite command has been issued on tables within the primary system database; and 15 transferring and recording the commands from the primary system to the mirrored database system tables of the replicated system; and the Invention can be used as a "Standby" backup system and; the Invention can be embodied in a multi-operating system embodiment; and the invention can be embodied in a multi-document management system 20 embodiment; and the invention can be implemented in a multi-database embodiment.
2. A method as claimed in claim 1 which comprises the primary system being operably connected to a network fabric and the secondary system being operably connected to a network fabric which comprises: 25 the primary system having salient user information loaded onto it, and being based on the first server; the secondary system having information loaded onto it, and being based on a second server; 15 WO 2006/108260 PCT/CA2005/001114 the primary and secondary system having the same information loaded onto them barring that which makes them primary and secondary in other words the second system replicates the first system; and the first system and the second system configured to allow a number of client 5 computers operably connected to the network fabric to locate information owned by the first system and information owned by the second system.
3. A method as claimed in claim 1 and claim 2 a system comprising a Document Management System residing on a server comprising of: a filestore storing the actual document data; and 10 a system database storing reference information pointing to the documents within a filestore; and supplementary information on the document, together with system specific information.
4. A method as claimed in claim 1 wherein the second system's system database is 15 configured to mirror the information in that of the first system's system database less a portion of the data which allows the second system to be uniquely identified on the network fabric.
5. A method as claimed in claim 1, claim 2 and claim 3 which comprises: the system filestore containing documents being connected to the network 20 fabric; the system filestore being based on a Storage system; the system filestore being based on a Storage Area Network (SAN) or Filer connected to the network fabric; the primary system's server being connected to the filestore; 25 the secondary system's server being connected to the same system filestore; 16 WO 2006/108260 PCT/CA2005/001114 it is appreciated, however, that a separate replicated filestore for the secondary system can also be used and this is comprehended by the Invention.
6. A method as claimed in claim 1, claim 2, claim3 and claim 5, which comprises: the primary and secondary system sharing the same system filestore; and 5 the primary and secondary system databases being linked, through the network fabric using a database network communication layer; the primary and secondary system databases being given the required access to transfer and record the necessary changes to the database tables.
7. A method as claimed in claim 1, 2 and 6 wherein the system comprises: 10 using Oracle Database software linking primary and secondary system databases on the network fabric by means of an Oracle database link command; and using the Oracle network layer on the network fabric, the primary and secondary oracle database being given the required access to transfer and record the necessary changes to the tables. 15
8. A method as claimed in claim 1, 2 and 6 wherein the system comprises: using Sql Server database the link between primary and secondary system databases using the Sql Server network layer on the network fabric by a means of a SQL server linked server command; and both the primary and secondary Sql Server databases being given the required 20 access to transfer and record the necessary changes to the tables.
9. A method as claimed in claim 1 and claim 2 wherein the system comprises of document data being added to the filestore and reference data which is continually added, modified and deleted within system tables in the primary system database by the user community. 25
10. A method as claimed in 1 wherein the recording step comprises the step of recording reference data from all primary system tables, save those holding system specific data with regards to its definition as the primary system on the network fabric. 17 WO 2006/108260 PCT/CA2005/001114
11. A method as claimed in claim 1 ,claim,2 and claim 10 wherein the system comprising of: the primary system, in response to a insert, update, delete command, inserts, updates,deletes reference data to each of its system tables affected for each particular 5 transaction; and the recording step comprises recording the reference data using at least one database trigger; the recording step comprises recording the reference data using three database triggers associated with each system table, excepting those tables, which allow the 10 first system to be uniquely identified on the network fabric.
12. A method as claimed in claim 1 and claim 11 which comprises of: adding a first database trigger associated with recording the changes after an insert command on each table; and adding a second database trigger associated with recording the changes after 15 an update command on each table; and adding a third database trigger associated with recording the changes after a delete command on each database table, excepting those tables that define the primary system on the network fabric.
13. A method as claimed in claim 1, claim 11 and claim 12 which comprises performing 20 identical changes, to that which occur after an insert, update, delete command on each primary system database table recorded within the respective database trigger upon the identical replicated secondary system database table, by means of the salient SQL command contained within each of the three triggers placed on each of the primary database tables, save those that uniquely identify the primary and secondary database 25 being linked through a database link on the network fabric.
14. A method as claimed in 1 which additionally comprises using at least a single database procedure, Preferably, a set of database procedures that can be enabled for use to transfer and apply the changes to the secondary's database system using the access-preservation tables, and a single combined transaction table for each valid 18 WO 2006/108260 PCT/CA2005/001114 database system table in the contingency the database link is severed for any reason, including planned maintenance to the secondary system, once user input is halted and the database link is restored.
15. A method, as claimed in claim 1 and claim 3 which comprises using Documentum as 5 the Document Management System for both the primary and secondary system.
16. A method as claimed in claim 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, or 15 which comprises of: using the primary system for the user community to store their documents; and comprises of using the secondary system as a testbed for changes which 10 eventually need to be applied to the primary system; and comprises of document data being added to the filestore on a Storage Area Network (SAN) and reference data modified within Documentum Document Management system tables in the primary Oracle system database; and wherein the recording step comprises, the step of recording reference data from 15 all primary system tables, save those holding server specific data; and' the secondary system to be used as a testbed, for testing any changes before applying changes to the Primary system; and the secondary system can be also used as a "Standby" backup system in case of failure of the primary system; and 20 the primary and secondary systems can be interchanged by adding the database triggers and procedures to both primary and secondary system databases and disabling the triggers and procedures in the designated secondary system.
17. A method as claimed in claim 1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, or 16, wherein the recording, inserting and providing steps are executed by the execution of Oracle 25 software code.
18. A method as claimed in claim 1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13,14 or 16, wherein the recording, inserting and providing steps are executed by the execution of SQL Server software code. 19 WO 2006/108260 PCT/CA2005/001114 AMENDED CLAIMS received by the International Bureau on 21 March 2006 (21.03.2006) CLAIMS 1. An apparatus for aiding real-time validation of system changes, comprising: a primary system based on a first server; and a secondary system based on a second server, wherein the primary and secondary system are operable to be connected to a network fabric. 2. The apparatus according to claim 1, wherein salient business information is loaded onto the primary system and the same information is loaded onto the secondary system. 3. The apparatus according to claim 1 wherein business information is further transferred from the primary to the secondary system such that the secondary system is operable to achieve continuous synchronisation and at real-time replicate the primary system. 4. The apparatus according to any one of claims 1 to 3, further comprising information location means operable to allow at least one client computer connected to the said network fabric to locate first information owned by the primary system and second information owned by the secondary system. 5. The apparatus according to any one of claims 1 to 4, wherein at least one of the first server and the second server comprises a document management system. 6. The apparatus according to claim 5, wherein the document management system comprises at least one filestore operable to store document data. 7. The apparatus according to claim .5 or claim 6, wherein the document management system comprises a system database operable to store reference information pointing to the document data within the filestore. 8. The apparatus according to any one of claims 5 to 7, wherein the document management system comprises supplementary information about the document data and system 20 WO 2006/108260 PCT/CA2005/001114 9. The apparatus according to any one of claims 5 to 8, wherein the primary system and the secondary system share the same filestore. 10. The apparatus according to any one of claims 1 to 9, wherein the primary system comprises a primary database and the secondary system comprises a secondary database. 11. The apparatus according to claim 10, wherein the primary database and the secondary database comprise database tables. 12. The apparatus according to claim 10 or claim 11, wherein the primary database and the secondary database are linked using a database network communication layer. 13, The apparatus according to any one of claims 10 to 12, wherein the primary database and the secondary database are operable to transfer and record changes to the database tables. 14. The apparatus according to any one of the claims 1 to 13, wherein the primary and secondary system are interchangeable. 15. A content management network-attached system with native integration of a content management system and a storage system comprising: a storage system for storing content data, content metadata, and business data. 16. The content management network-attached system of claim 1 further comprising: a native, unified replication system which automatically synchronizes replication of the content data, the content metadata, and business data. 17. The content management network-attached system of claim 1 further comprising 21 WO 2006/108260 PCT/CA2005/001114 a native, unified replication system which resynchronizes replication of the content data, the content metadata, and business data, on restoration of network attachment in the case of breakage of the attachment to the network attached system, 18. A method for aiding users , system professionals validate safely system changes during an upgrade by use of a replicated secondary system as a system testbed wherein the primary system contains document management system software further comprising a system database containing reference data to point to document data within a system filestore, the method comprising: creating a replicated server containing a secondary system replicating the primary in which the reference data in the secondary system database points to a primary system filestore and system database tables mirror the database tables on the primary system' based on a primary server, excepting those tables, containing reference information that uniquely identifies the secondary system from the primary system on a network; determining that a insert, update, delete/overwrite command has been issued on tables within the primary system database; and transferring and recording the issued commands upon the primary system' database to the mirrored database system tables of the secondary system; carrying out the upgrade and validation on the secondary system; and on successful validation , allowing the primary and secondary system' to be interchangeable.
19. The method according to claim 18, further comprising: connecting the system filestore containing documents to the said network; basing the system filestore on a storage system; connecting the primary system's server to the system filestore; and 22 WO 2006/108260 PCT/CA2005/001114 connecting the secondary system's server to the same system filestore.
20. The method according to claim 18 or claim 19, further comprising: using database software to link primary and secondary system databases on the said network by means of a database link command; using a network layer on the said network; and allowing the primary database and the secondary database the required access to transfer and record necessary changes to both the primary and secondary' database tables.
21. The method according to claim 20, further comprising: using a server database to provide the link between primary and secondary system databases; using a server network layer on the said network by means of a linked server command or commonly known as a database link; and giving both the primary and secondary databases the required access to transfer and record the necessary changes to the database tables.
22. The method according to any one of claims 18 to 21, further comprising' adding documents to the filestore and allowing reference data to be continually added, modified and deleted within system tables in the primary system database by a user community.
23, The method according to any one of claims 18 to 22, further comprising recording reference data from all primary system tables, apart from the primary system tables holding specific data with regards to its definition as the primary system on the said network.
24. The method according to any one of claims 18 to 23, further comprising: inserting, updating or deleting reference data in the primary system to each of the primary system tables in response to an insert, update or delete command; and recording the reference data using at least one database trigger. 23 WO 2006/108260 PCT/CA2005/001114
25. The method according to any one of claims 18 to 23, further comprising recording the reference data using three database triggers associated with each system table, apart from those tables that allow the primary system to be uniquely identified on the said network.
26, The method according to any one of claims 18 to 23, further comprising: adding a first database trigger associated with recording the changes after an insert command on each table; adding a second database trigger associated with recording the changes after an update command on each table; and adding a third database trigger associated with recording the changes after a delete command on each database table, excepting those tables that define the primary system on the said network.
27. The method according to claim 25 or 26, further comprising performing identical changes, to that which occur after an insert, update, delete command on each primary system database table recorded within the respective secondary system database table, by means of the salient command contained within each of the three triggers placed on each of the primary database tables, save those that uniquely identify the primary and secondary database being linked through the database link on the said network.
28. The method according to claim 25 or claim 26, further comprising performing identical changes to that which occur after an insert, update or delete command on each primary system database table recorded within respective database trigger and access preservation tables and transferred to the secondary system by means of the salient command contained within a second set of triggers that reside on the access preservation tables,'the primary and secondary' tables being linked through the database link on the said network. 24 WO 2006/108260 PCT/CA2005/001114
29. The method according to any one of claims 18 to 27, further comprising using at least a single database procedure,
30. The method according to any one of claims 18 to 27, further comprising using a set of database procedures that can be enabled for use to transfer and apply the changes to the secondary's database system using the primary'access-preservation tables, and a single combined transaction table for each valid database system table, in the contingency the database link is severed for any reason, including planned maintenance to the secondary system, this once user input is halted and the database link is restored.
31. The method according to any one of claims 18 to 30, further comprising: using the primary system for the user community to store their documents; using the secondary system as a testbed for changes which eventually need to be applied to the primary system; adding document data to the filestore on a storage area network and reference data modified within document management system tables in the primary system database; and recording reference data from all primary system tables, apart from those holding server specific data.
32. The method according to any one of claims 18 to 31, further comprising using the secondary system as a testbed, for testing any changes before applying changes to the primary system.
.33. The method according to any one of claims 18 to 31, further comprising interchanging primary and secondary systems on successful upgrade by adding the database triggers and procedures to both primary and secondary system' databases and disabling the triggers and procedures in the designated secondary system. 25
AU2005330533A 2005-04-14 2005-06-28 Method for validating system changes by use of a replicated system as a system testbed Abandoned AU2005330533A1 (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
CA002504070A CA2504070C (en) 2005-04-14 2005-04-14 Method for preserving access to deleted and overwritten documents
CA2,504,070 2005-04-14
CA002506303A CA2506303A1 (en) 2005-04-14 2005-05-04 Method for validating system changes safely by use of a replicated system as a system testbed
CA2,506,303 2005-05-04
PCT/CA2005/001114 WO2006108260A1 (en) 2005-04-14 2005-06-28 Method for validating system changes by use of a replicated system as a system testbed

Publications (1)

Publication Number Publication Date
AU2005330533A1 true AU2005330533A1 (en) 2006-10-19

Family

ID=37086551

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2005330533A Abandoned AU2005330533A1 (en) 2005-04-14 2005-06-28 Method for validating system changes by use of a replicated system as a system testbed

Country Status (4)

Country Link
EP (1) EP1869553A1 (en)
AU (1) AU2005330533A1 (en)
GB (1) GB2445367A (en)
WO (1) WO2006108260A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8984326B2 (en) * 2007-10-31 2015-03-17 Hewlett-Packard Development Company, L.P. Testing disaster recovery elements
US8700574B2 (en) * 2008-03-21 2014-04-15 Omnitracs, Llc Pourover journaling
CN102841897B (en) * 2011-06-23 2016-03-02 阿里巴巴集团控股有限公司 A kind of method, Apparatus and system realizing incremental data and extract

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0678812A1 (en) * 1994-04-20 1995-10-25 Microsoft Corporation Replication verification
US6820099B1 (en) * 2001-04-13 2004-11-16 Lsi Logic Corporation Instantaneous data updating using snapshot volumes
US20030009752A1 (en) * 2001-07-03 2003-01-09 Arvind Gupta Automated content and software distribution system
US6874103B2 (en) * 2001-11-13 2005-03-29 Hewlett-Packard Development Company, L.P. Adapter-based recovery server option
US8121978B2 (en) * 2002-11-15 2012-02-21 Sybase, Inc. Database system providing improved methods for data replication
US7213022B2 (en) * 2004-04-29 2007-05-01 Filenet Corporation Enterprise content management network-attached system

Also Published As

Publication number Publication date
WO2006108260A1 (en) 2006-10-19
GB0516997D0 (en) 2005-09-28
EP1869553A1 (en) 2007-12-26
GB2445367A (en) 2008-07-09

Similar Documents

Publication Publication Date Title
US20060253500A1 (en) Method for validating system changes by use of a replicated system as a system testbed
US20060235905A1 (en) Method and system for preserving real-time access to a system in case of a disaster
US5778390A (en) Method and systems for creating duplicating, and archiving database files
US10120767B2 (en) System, method, and computer program product for creating a virtual database
US10891067B2 (en) Fast migration of metadata
EP3365807B1 (en) Application containers for container databases
US20060235904A1 (en) Method for preserving access to system in case of disaster
CN103119590B (en) The method and system of integrity is managed in distributed data base
US7593966B2 (en) Method and apparatus for server share migration and server recovery using hierarchical storage management
WO2017070572A1 (en) Application containers for container databases
US8046329B2 (en) Incremental backup of database for non-archive logged servers
US20080263079A1 (en) Data recovery in an enterprise data storage system
EP1675007B1 (en) Fault management system in multistage copy configuration
US7693889B1 (en) Automated backup and recovery for content repository
AU2005330533A1 (en) Method for validating system changes by use of a replicated system as a system testbed
Dell
CA2506100C (en) Method for preserving access to system in case of disaster
GB2445584A (en) Database backup and retrieval using transaction records and a replicated data store
JP4431022B2 (en) Computer system and control method thereof
CA2545532A1 (en) Method and system for providing network attached system for disaster recovery and upgrade testing
EP1715425A2 (en) Method and system for preserving access to a system in case of a disaster
GB2425376A (en) Method and system for producing a data backup system of a primary system in a document management system
Cottrell et al. Backups and Restores
Malcher et al. RMAN Restore and Recovery
Malon et al. Object database features and HEP data management

Legal Events

Date Code Title Description
MK1 Application lapsed section 142(2)(a) - no request for examination in relevant period