Professional Documents
Culture Documents
QEDD HA Concepts
QEDD HA Concepts
QEDD HA Concepts
HA
High Availability for IBM i
Precisely - Use only
July 2020
Introduction
Precisely - Use only
2
Business continuity in any situation
• Disaster (RPO/RTO)
• Human mistakes
• Hardware issues, Maintenance of the systems and OS
• Any read operations on target: Saves, Batches…
• Application upgrades
• Systems migration
3
Designed for a successful switchover or failover
• Target is always available!
• Easy and fast to install (around 10 minutes per pair), upgrade, use, supervise
• Up to 2 versions of OS level difference between source and target (possible to go from V7R1 to V7R3 for instance)
• Transactions are applied in sequence
• Real-time replication with acknowledgements
4
QuickEDD at a glance
AUDIT Send
(QAUDJRN
DB )
Journal
Detect /
Journal Apply
Select
IFS
Acknowl.
DETECT
SRS
REPAIR
Target
Storage
of journal
Start first replication with full EDC, with no lock on production box, and any status of data on target
entries
JOB3
BATCH2
BATCH1
BATCH3
USRJOB2
USRJOB1
USRJOB3
6
Replication scope
APPLICATIONS SYSTEM
- Database
JOBS - Profiles
FOLLOW UP - *AUTL
- Objects
- IFS - Configuration
- Sysval
SPECIAL SPECIAL
- Triggers - SQL SPECIAL
OS and microcode are not replicated and under client’s responsibility regarding their upgrades.
7
Concepts - general
Precisely - Use only
8
Concepts
• Settings
• Settings centralized on SOURCE system
• The environment contains everything needed for the settings and for the replications follow-up
• Replication
• SIP, Sequence Integrity Processing: unique engine to process all journal entries
• CCI, Core Cycle Information: synchronous replication loop, with real-time acknowledgements
• Automatic journaling management
9
Concepts
• Controls and Synchronization
• EDC : Synchronization by comparison; only differences are sent to the target system
• Linked to replication acknowledgements
• Activated by IOA: Independent Object Audit
10
Concepts
• Tools
• External audit, control and supervision tools
• Sources of programs are available to adapt to different systems
• Supervision UI
• Light client to monitor at a glance Quick-EDD/HA on all your systems and partitions
• Configure and modify replication
• Switch
Precisely - Use only
• Switch scenarios allow a simple and efficient adaptation to all sites and contexts
• Management of Switchover / Fail-over / Return on production system
• Systems migrations
11
Concepts - More details
Precisely - Use only
12
Settings
• The « Environment » Object
• A single entity to describe the entire scope
• Settings manage the 6 system domains
• User libraries (including QGPL, QUSRSYS, …)
• System objects (Profiles, configuration …)
• IFS, including QDLS
• Spools files
• System values
• Following your selections, Quick-EDD/HA will automatically analyze your applications in order to build the objects
list and the list of journals which are necessary for the replication
• The environment is automatically replicated on the target system in order to access the information in case of
switch
• Settings are done only on SOURCE system
13
Local Journaling on Production Box
• Any journaling organization is supported
• Unlimited number of journals
• Quick-EDD/HA can manage journaling start for applications that are not already journaled
• Support of all journaling functions
• MINENTDTA
• Journal Cache and *STANDBY mode (SS1 Option 42)
• Before image – Commit/Roll-back
• Not wished » journals entries can be ignored by the reading process to avoid communications overload
14
Replication
• A unique engine to guarantee the sequence: SIP
• All the journals are simultaneously handled to guarantee the operations sequence
• Audit journal events are integrated in the same process
15
Replication: SIP
Simultaneously
reading all the journals
in the scope
Rebuild of the
operations sequence
Precisely - Use only
before sending DB / IFS / Audit
events are all
integrated at the same
level
16
Replication: CCI
PRODUCTION RECOVERY
Send
Detect /
Apply
Select
ANALYZE
REPAIR
18
Replication ≠ synchronization
• An acknowledgement validates any replication operation
• Any replicated event is acknowledged in real time
• The SOURCE system manages the whole process
• In case of negative acknowledgement, AUTOMATIC EXECUTION of the object synchronization is made for an
immediate repair of the abnormality.
• Synchronization function
Precisely - Use only
• EDC module allows to compare two objects to detect the differences. Only these differences are sent on the network
• The synchronization does not use the SAV / RST (except for the envelop) function to avoid any locking of object on the source
system
• Once synchronized, the object comes back in the replication loop
19
IOA: independent object audit
• IOA function monitors the TARGET system
• Scheduled or on demand control of all or a part of the replication scope
• Check of the objects presence and correspondence (for the 5 domains of the system)
20
IOA -> VWA: verify while active
• VWA allows to launch a full data check even if the database is active all the time.
• VWA can be launched whenever you want on the database to check all the records, even if there is activity on the
files.
• VWA runs in several parallel processes, in order to simultaneously control different parts of a file
• VWA controls as many records as possible
• VWA stops in case of conflict with the application (update, new insert not yet applied,...)
• Current position is memorized allowing to restart the control later from this position
• This control can be launched several times until 99% of the records have been checked
• (1% missing linked to the current activity, will be checked during the next execution )
21
SRS: smart remote staging
• Used either for:
• Sending in real-time what’s been read and filtered from the source, waiting that the slower target system can apply the events;
automated behavior
22
Tools – additional functions
• Control functions
• Objects, data, replication scope control
• Supervision of the replication process
• Monitoring functions
• Interception of all severe messages (gravity > 30)
• Sending by e-mail; SNMP; MSGQ – JOBLOG is attached
• For a total adaptation, all tools are delivered with source files
23
Tools, example: specific objects save
System data
Network data
24
Tools, example: email monitoring
Sender
Up to 4 email recipients
Precisely - Use only
Authentication if required
25
UI : setup, supervision, switch
Active? Latency?
• Adapted tools
27
Syncsort Confidential - Do Not Copy or Distribute
Switch
• PMEDHSWI command
• Environment role-swap RCV SND to prepare replication from former target to former production system
• Creation of new journals receivers – positioning in the environment to give the replication starting point
• Audit and journaling control – start if necessary
• Triggers and constraints activation
• Identity fields management
28
Switch Scenarios
Each step is defined in an
independent scenario
29
Additional use cases
• Systems migration : Migration Kit (EDH_MIGKIT); Daisy chains; One source to Several targets; Several sources to
One target; etc.
• Assure QuickEDD Promoter
• Assure QuickEDD Anonymizer
• Assure QuickEDD limited to Data replication
30
Questions
Question True False
1 Microcode is replicated
2 Quick-EDD/HA uses local journaling
3 Settings are done only on the source system
4 The option MINENTDTA of journaling is supported
31
Thank you
Precisely - Use only