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: 1.0/10 (1 vote cast)
How to Rotate the TarJournal in Shared Nothing Clustering, 1.0 out of 10 based on 1 rating
This entry was posted in ADEP and tagged , . Bookmark the permalink.

Comments are closed.