• August 17, 2018

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)

TANSTAFFL1

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.

TANSTAFFL2

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.

TANSTAFFL3

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!

iCluster Tech Tuesday 115 Posts

iCluster TechTuesday is a set of posts covering technical tips and techniques to help get the most out of your Rocket iCluster installation.

0 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *