OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.
-
Upload
danielle-rooke -
Category
Documents
-
view
219 -
download
2
Transcript of OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.
![Page 1: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/1.jpg)
OpenQM
Martin PhillipsLadybridge Systems Ltd
Data Resilience in a QM System
![Page 2: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/2.jpg)
Data Resilience
Protection against loss of data…
…not theft of data.
![Page 3: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/3.jpg)
What We Are Going To See Today....
Causes of data loss
Simple steps to protect your data
Data replication
Journalling
![Page 4: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/4.jpg)
Causes of Data Loss
UserError
SoftwareError
EnvironmentalIssues
Hardware Failure
![Page 5: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/5.jpg)
Causes of Data Loss - Alternative View!
UserFault
SoftwareFault
San AndreasFault
Hardware Fault
![Page 6: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/6.jpg)
Simple Steps To Protect Your Data
Set appropriate permissions
Use QM user security
Backup policies
Deferred resize
Directory file update protection
![Page 7: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/7.jpg)
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.
![Page 8: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/8.jpg)
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.
![Page 9: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/9.jpg)
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.
![Page 10: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/10.jpg)
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?
![Page 11: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/11.jpg)
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.
![Page 12: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/12.jpg)
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.
![Page 13: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/13.jpg)
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).
![Page 14: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/14.jpg)
Data Replication
Uses…
Standby systems
Reporting servers
Merging remote data at a central point
Distributing central data to remote systems
![Page 15: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/15.jpg)
Data Replication
PUBLISH filename server:account:file …
PUBLISH.ACCOUNT server:account
SUBSCRIBE server username password
![Page 16: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/16.jpg)
Data Replication
QM can publish directory files.
Only updates made from within QM will be exported.
Replication can be used with encryption and indices.
![Page 17: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/17.jpg)
CY
Z
B
X
Y
AX
Z
Y
Data Replication
qmrpl
qmrpl
subscriber
subscriber
![Page 18: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/18.jpg)
CY
Z
B
X
Y
AX
Z
Y
Data Replication
qmrpl
qmrpl
subscriber
subscriber
![Page 19: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/19.jpg)
CY
Z
B
X
Y
AX
Z
Y
Data Replication
qmrpl
qmrpl
subscriber
subscriber
![Page 20: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/20.jpg)
CY
Z
B
X
Y
AX
Z
Y
Data Replication - Cascade
qmrpl
qmrpl
subscriber
subscriber
qmrpl
subscriber
![Page 21: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/21.jpg)
Branch
Data Replication - Cascade
Branch
Branch
Branch
Branch
Branch
Region Region
Head Office
![Page 22: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/22.jpg)
Data Replication – Standby Systems
Live Standby
Users
![Page 23: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/23.jpg)
Data Replication – Standby Systems
Live Standby
Users
![Page 24: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/24.jpg)
Data Replication – Standby Systems
Live Standby
Users
![Page 25: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/25.jpg)
Data Replication – Standby Systems
Live Standby
Users
![Page 26: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/26.jpg)
Branch
Data Replication - Symmetrical
Branch
Branch
Branch
Branch
Branch
Region Region
Head Office
![Page 27: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/27.jpg)
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.
![Page 28: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/28.jpg)
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
![Page 29: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/29.jpg)
Configuring Replication
REPLMAX=n
Sets the maximum number of concurrent replication target servers (subscribers).
![Page 30: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/30.jpg)
Configuring Replication
REPLPORT=n
Sets the port number on which replication subscribers will connect to start the qmrpl process.
Defaults to 4244 if omitted.
![Page 31: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/31.jpg)
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.
![Page 32: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/32.jpg)
Account Replication
Selected commands that affect the file system can automatically be replicated on subscriber systems.
Create / delete fileCreate / build indexCatalogue programAdd / remove distributed fileCreate a Q-pointer (SET.FILE)
![Page 33: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/33.jpg)
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.
![Page 34: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/34.jpg)
![Page 35: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/35.jpg)
OpenQM
QUESTIONS?
![Page 36: OpenQM Martin Phillips Ladybridge Systems Ltd Data Resilience in a QM System.](https://reader035.fdocuments.us/reader035/viewer/2022062312/551b4bb9550346d41a8b5ced/html5/thumbnails/36.jpg)
OpenQM