TANSTAFFL for iCluster Continuous Sync Check
The iCluster continuous sync check is great! It provides quick notification in the monitor when something is out of sync. No need to run nightly sync check reports, just look at the monitor. To start a continuous sync check for an existing group use the command:
STRCNSC TARGET(<backup node name>) GROUP(<group name>) DELAY(1000)
If you create a new group you can have continuous sync check configured to start when the group starts by adding the CONTSYNC (*YES) on the DMADDGRP command.
BUT TANSTAFFL – it’s not a free lunch.
“TANSTAFFL is an acronym for “there ain’t no such thing as a free lunch” – an expression that dates back to the 30’s and 40’s. The “free lunch” that it refers to is based on the practice of saloons in the US in providing a free lunch to patrons who purchase a drink, as the high salt content of the bar foods of the time would entice patrons to buy more drinks. Robert Heinlein popularized the expression in his book The Moon is a Harsh Mistress when one of his characters commented that a bar providing a free lunch would likely also increase the price of their drinks, thus….it’s not really free. So what does all this have to do with the iCluster continuous sync check?
The continuous sync check generates a large number of entries in QAUDJRN. If you do a DSPJRN JRN(QSYS/QAUDJRN) USRPRF(DMCLUSTER) you will see a number of journal entries of code U (user) and types \o, \A, \B, \C, and \g.
Make sure you have automatic journal management turned on for QAUDJRN so that the used journal receivers are automatically deleted. If you want to reduce the number of audit journal entries created, you can either increase the delay between objects in ms from the iCluster system wide values, or turn it off for some less critical groups.
So by all means use continuous sync check – just pay for the lunch!