EB clustering is *not* database clustering. For the examples to work, you need to share a common DB between both instances.
If you want DB clustering, check what is available for your prefered DB. Guess why many people use Oracle?
Solutions seems to exist at least for Firebird and PostgreSQL.
Thank you for this clarification Sasha.