留言板

Switch database server to slave when master db fails

thumbnail
Hitoshi Ozawa,修改在12 年前。

Switch database server to slave when master db fails

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
When Liferay is set to write to a master database and read from a slave, is it possible to switch to using only slave database when master database fails?

Just wondered reliability when using separate write and read databases.
thumbnail
Hitoshi Ozawa,修改在12 年前。

RE: Switch database server to slave when master db fails

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
Since there's no replies, will answer my own question. Use virtual IP and switch to one server on failure.