From a548c04bef87430db68bd41692d9af8b42eca28f Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Mon, 11 Feb 2013 10:05:38 +0000 Subject: [PATCH] Notes on example configurations for various clusters git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329459 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysqlnd_ms/concepts.xml | 42 +++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/reference/mysqlnd_ms/concepts.xml b/reference/mysqlnd_ms/concepts.xml index 9eda7065a8..794a556bad 100755 --- a/reference/mysqlnd_ms/concepts.xml +++ b/reference/mysqlnd_ms/concepts.xml @@ -1601,6 +1601,44 @@ version = 5.6.2-m5-log This is the primary use case of the plugin. Follow the hints given in the descriptions of each feature. + + + + + Configure one master and one or more slaves. + Server configuration details + are given in the setup section. + + + + + Use random load balancing policy together with the + sticky flag. + + + + + If you do not plan to use the + service level API calls, + add the master on write + flag. + + + + + Please, make yourself aware of the properties of automatic failover before + adding a failover directive. + + + + + Consider the use of trx_stickiness + to execute transactions on the primary only. Please, read carefully how it works + before you rely on it. + + + + Enabling the plugin (php.ini) @@ -1798,11 +1836,11 @@ mysqlnd_ms.multi_master=1 Set - mysqlnd_ms.multi_master=1 + mysqlnd_ms.multi_master=1. - Do not configure any slaves + Do not configure any slaves.