|
|
|
|
|
|
|
M Technologies The MSM Database MSM Resilient Features As users become more and more dependent on computerized applications, the impact of system failures significantly increases. In the worst case, a failure can severely damage an organization's ability to operate for prolonged periods of time while databases are validated, repaired, or restored. To solve this problem, system administrators look for ways to construct systems that minimize these disruptions in service. The goal of these systems is to be available continuously to the users (i.e., non-stop operation during required access periods) or for the system to be quickly recoverable in the event of a temporary or permanent failure. Systems designed and configured with these requirements are referred to as resilient systems. Within MSM, a series of features assists the system administrator in implementing resilient systems. These features can be used within a single computer system to improve the availability of the system or across multiple computer systems connected by a local area network to provide continuous system availability. Bullet-Proof Databases The bullet-proofing feature ensures database integrity in the event of a system failure. This feature, called before-image journaling, records images of database blocks as they exist at the instant before any change is made to the block (e.g., SET, KILL, or block split). These images, which are recorded in a separate file, are used by the system to rollback the database to a point in time where structural integrity of the database is known to exist. MSM automatically rolls back the database the first time a volume group is mounted following a system failure. MSM also provides after-image journaling. When this feature is used, the system automatically rolls forward the database using the information stored in the after-image journals. By using this combination of before-image and after-image journaling after a system failure, database structural integrity is ensured and information is current up to the last entry in the after-image journal file. Database Integrity
Transaction Processing At the present time, MSM supports a subset of the full transaction processing standard that has been approved by the M Development Committee. In particular, MSM recognizes the complete syntax of all commands and special variables in the standard, but does not yet support the ability to restart or abort an in-progress transaction. By supporting the syntax of the commands and special variables, application developers can begin to develop or modify software to function with the new transaction processing capabilities. In its current form, bullet-proof database technology recognizes the concept of transactions. In the event of a system failure, the roll-forward stage of the database recovery only applies to complete database transactions. A transaction is considered to be complete when the SET and KILL operations are bracketed by a TSTART entry and a TCOMMIT entry. Transactions that have a TSTART entry but no corresponding TCOMMIT entry are considered incomplete and are discarded during the recovery. Thus, partial transactions do not appear in the database. Cross-System Journaling Cross-system journaling relies on the after-image journaling feature of MSM. With after-image journaling, a chronological record of all SET and KILL operations is maintained in a separate auxiliary file. This file then becomes input to a real-time dynamic dejournaling daemon that runs on the primary system. This daemon reads the after-image file and applies all of the SET and KILL operations in the proper order to the secondary system through MSM-NET. If MSM-NET is not an available in a particular system, then dejournaling can be performed using the Network File System (NFS) capabilities available on most platforms. In addition to the obvious benefit of having a hot standby system, the secondary system can also be used to perform pseudo online backups. This type of backup is typically used in a PC environment because MS-DOS is not a multi-user operating system. By suspending cross-system journaling, the secondary system can be shutdown and the appropriate DOS backup utility can be invoked. Upon completion, cross-system journaling can be restarted; the secondary system is then automatically updated by the primary system to reflect the changes made to the database during the backup operation. Online Backups
An online backup copies the MSM database to external media using utilities supplied by the host operating system. Because database updates are permitted during backup operations, MSM writes each modified block to the database and to an auxiliary spill file. The last step of an online backup appends the spill file, which contains a copy of each block modified during the backup, to the end of the external backup media. Together with the database file, this provides a complete image of the database. Summary of Features Platform Portability Bullet-Proof Databases Transaction Processing Cross-System Journaling Online Backups Non-Stop Operation Low Overhead Summary In critical applications where non-stop operation is required, a hot standby system can be used to provide full hardware redundancy and continuous availability. Coupled with the transaction processing capabilities, application-level data is consistent and accurate up to the point of the failure. Resilient systems can be configured using MSM-Server for DOS, MSM-Server for UNIX, and MSM-Server for Windows NT systems, or a combination of these systems. Expense is also kept to a minimum by using low-cost, readily available, off-the-shelf components to configure these high-availability systems.
Home | M Technologies | Support | Company | Contact ©
Copyright 1996-2000 InterSystems Corporation. All Rights Reserved. |