1 / 36

OpenQM

OpenQM. Data Resilience in a QM System. Martin Phillips Ladybridge Systems Ltd. Data Resilience. Protection against loss of data… …not theft of data. What We Are Going To See Today. Causes of data loss Simple steps to protect your data Data replication Journalling. Causes of Data Loss.

agnes
Download Presentation

OpenQM

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OpenQM Data Resilience in a QM System Martin Phillips Ladybridge Systems Ltd

  2. Data Resilience Protection against loss of data… …not theft of data.

  3. What We Are Going To See Today.... Causes of data loss Simple steps to protect your data Data replication Journalling

  4. Causes of Data Loss User Error Software Error Hardware Failure Environmental Issues

  5. Causes of Data Loss - Alternative View! User Fault Software Fault Hardware Fault San Andreas Fault

  6. Simple Steps To Protect Your Data Set appropriate permissions Use QM user security Backup policies Deferred resize Directory file update protection

  7. Set Appropriate Permissions Permissions are mostly used to prevent unauthorised viewing of data. They can also be used to avoid unauthorised overwriting or deletion of data by users.

  8. Use QM User Security Security subroutines can restrict who can execute specific commands. Use account restrictions to keep users out of areas they should not see. Use ADMIN.SERVER to restrict which QMNet server users can access.

  9. Backup Policies Probably everyone in this room today knows how to do reliable backups. If you are a reseller, it is your end user who may get it wrong. Unfortunately, it is your phone that will ring when they lose their data.

  10. Backup Policies How often do you need to backup? How will this fit into your business routine? Do you need to backup everything? Who will perform the backups? Where do you keep the backups? How long do you keep backups? How quickly can you bring back lost data? What plans do you have for total system loss?

  11. Deferred Resize Dynamic hashed files resize automatically to respond to changes in the stored data. There is a risk that a file could be damaged by a system failure that doesn’t flush data to disk. Suspending resize significantly reduces this risk but will cause overflow to be created. Deferring resize until after daily backup provides a good solution. This is much faster than static file resize.

  12. Directory File Update Protection Overwriting a directory file record could run out of disk space, losing data. The SAFEDIR configuration parameter writes the data with a temporary name, deletes the original, and renames the temporary item.

  13. Data Replication Replicates updates from selected files to copies on other systems. The publisher system exports data to one or more subscriber systems. QM imposes few restrictions, leaving application designers much freedom. A subscriber can publish the file onwards (cascade replication). A file can be published in both directions (symmetrical replication).

  14. Data Replication Uses… Standby systems Reporting servers Merging remote data at a central point Distributing central data to remote systems

  15. Data Replication PUBLISH filenameserver:account:file … PUBLISH.ACCOUNT server:account SUBSCRIBE server username password

  16. Data Replication QM can publish directory files. Only updates made from within QM will be exported. Replication can be used with encryption and indices.

  17. B X A X Y Y C Z Y Z Data Replication subscriber qmrpl qmrpl subscriber

  18. Data Replication B X A X subscriber qmrpl Y Y qmrpl C Z Y subscriber Z

  19. Data Replication B X A X subscriber qmrpl Y Y qmrpl C Z Y subscriber Z

  20. Data Replication - Cascade B X A X subscriber qmrpl Y Y qmrpl qmrpl Z C Y subscriber subscriber Z

  21. Branch Branch Branch Branch Branch Branch Region Region Head Office Data Replication - Cascade

  22. Data Replication – Standby Systems Live Standby Users

  23. Data Replication – Standby Systems  Live Standby Users

  24. Data Replication – Standby Systems Live Standby  Users

  25. Data Replication – Standby Systems Live Standby Users

  26. Branch Branch Branch Branch Branch Branch Region Region Head Office Data Replication - Symmetrical

  27. Configuring Replication Replication is part of the Resilience Features option to QM. It is a separately licensed option on the publisher. Dual system standby licences get replication on both systems for one option payment.

  28. Configuring Replication REPLDIR=path Sets the pathname of the replication directory. Each replication target server (subscriber) has a further subdirectory under this location to hold the log files. SRVR$ Control file SRVR$1 (etc) Log file

  29. Configuring Replication REPLMAX=n Sets the maximum number of concurrent replication target servers (subscribers).

  30. Configuring Replication REPLPORT=n Sets the port number on which replication subscribers will connect to start the qmrpl process. Defaults to 4244 if omitted.

  31. Configuring Replication REPLSIZE=n Sets the approximate maximum size in Mb of a replication log file. A new file will be started when this size is reached. Defaults to 10 if omitted. Log files are automatically deleted when no longer needed.

  32. Account Replication Selected commands that affect the file system can automatically be replicated on subscriber systems. Create / delete file Create / build index Catalogue program Add / remove distributed file Create a Q-pointer (SET.FILE)

  33. Journalling Records a log of all updates to selected files. QM supports roll forward from backup and roll back from current state. Can recover individual files or entire system. Can recover to a specific point in time. Currently available only under a beta test agreement.

  34. OpenQM QUESTIONS?

  35. OpenQM

More Related