How to Rotate the TarJournal in Shared Nothing Clustering

Problem: Your tar journal is growing and consuming a lot of space.
Solution: If you are using shared clustering, Please see this.

For ‘Shared Nothing’ Clustering, you need the following configuration (If you want rotation to happen after every 24 hours) in repository.xml

<Journal>
<param name=”maxFileSize” value=”104857600″ />
<param name=”maximumAge” value=”PT24H” />
</Journal>

Please note that Age specified as duration in ISO 8601 or plain format. Journal files that are older than the configured age are automatically deleted. The default is “P1M”, which means files older than one month are deleted.

More details can be found here

Important NoteĀ : If you perform the configuration above, make sure that the other instance(s) in the cluster are not down for more than the specified time in “maximumAge”, Otherwise, the cluster will get out of sync because of the rotation of the tarJournal.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)
This entry was posted in ADEP and tagged , . Bookmark the permalink.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>