Red Hat Bugzilla – Bug 997569
Journal-type for HA should be NIO
Last modified: 2014-08-14 11:17:36 EDT
Title: About HornetQ Shared Stores
Describe the issue: The documentation says, "The journal-type attribute must be set to ASYNCIO for these options, as NIO cannot be used for high availability." To my knowledge this is backwards.
Suggestions for improvement: Change the documentation to say, "The journal-type attribute must be set to NIO for these options, as ASYNCIO cannot be used for high availability."
Additional information: HornetQ's own documentation states, "Also, please note that AIO will only work with the following file systems: ext2, ext3, ext4, jfs, xfs. With other file systems, e.g. NFS it may appear to work, but it will fall back to a slower synchronous behaviour." See http://docs.jboss.org/hornetq/2.3.0.Final/docs/user-manual/html/persistence.html. For the sake of this discussion AIO and ASYNCIO are synonymous.
Change made as suggested in topic 13604 (rev. 495451).
The changes will be reflected in the next document build, and the status will be changed to ON_QA when it is ready for review.
there is a confusion which journal type can be used on SAN and NFSv4.
HA with shared store on SAN is supported only with ASYNCIO(=AIO) journal-type.
HA with shared store on NFS (RHEL implementation) is supported with ASYNCIO and NIO journal-type.
HornetQ supports shared stores on GFS2 on SAN, as well as high availability on NFSv4. The journal-type attribute must be set to ASYNCIO for these options, as NIO cannot be used for high availability.
should be changed to:
HornetQ supports shared stores on GFS2 on SAN only with ASYNCIO journal type. Shared store on NFSv4 is supported with journal-type ASYNCIO and NIO.