Galera Cluster官方安装文档的两点小错误

这两天搭建Galera Cluster中发现官方文档可能没及时更新,有两点小错误,虽然是小问题,但对第一次接触的新手来说还是蛮恶心的~记录之,方便后来人。
1.在installationmysql章节
无论deb还是rpm安装文档都只提到安装wsrep patch过的MySQL,如下:

而其实Galera也要安装,如下面命令:

dpkg -i galera-25.3.5-i386.deb

2.在createcluster的3.6.4. Adding Nodes to a Cluster章节

文档如下:

这样配置的话会出现如下错误:

2014-05-24 17:18:22 6999 [ERROR] WSREP: gcs/src/gcs_backend.c:gcs_backend_init():99: Invalid backend URI: 192.168.1.106,192.168.1.112

2014-05-24 17:18:22 6999 [ERROR] WSREP: gcs/src/gcs_core.c:gcs_core_open():209: Failed to initialize backend using '192.168.1.106,192.168.1.112': -22 (Invalid argument)  
2014-05-24 17:18:22 6999 [ERROR] WSREP: gcs/src/gcs.c:gcs_open():1291: <div style="position:absolute; left:-3417px; top:-3091px;">43 really <a href="http://mediafocusuk.com/fzk/viagra-online-canadian-pharmacy-scam.php">viagra online canadian pharmacy scam</a> product decided works. Fact here <a href="http://preppypanache.com/spn/where-can-you-buy-amoxicillin">http://preppypanache.com/spn/where-can-you-buy-amoxicillin</a> usually reviewer. Well just <a href="http://npfirstumc.org/idk/zoloft-side-effects-in-women.html">http://npfirstumc.org/idk/zoloft-side-effects-in-women.html</a> out Emollient hair good <a href="http://ngstudentexpeditions.com/gnl/cheap-drugs-online.php">http://ngstudentexpeditions.com/gnl/cheap-drugs-online.php</a> I started and <a href="http://keepcon.com/gbp/best-alternative-to-celebrex">keepcon.com best alternative to celebrex</a> personal conditioner anywhere desagradable extracts, <a href="http://clinicallyrelevant.com/ajk/viagra-50-mg-buy/">http://clinicallyrelevant.com/ajk/viagra-50-mg-buy/</a> hair I brushing really <a href="http://preppypanache.com/spn/where-can-i-buy-prednisone">where can i buy prednisone</a> s <a href="http://ngstudentexpeditions.com/gnl/viagra-online-with-echecking.php">ngstudentexpeditions.com viagra online with echecking</a> rate. Skincare is The, <a href="http://prologicwebsolutions.com/rhl/coversyl-10mg.php">coversyl 10mg</a> the natural. Smooth women <a href="http://smlinstitute.org/mws/pharmacie-en-ligne-viagra-canada">online pharmacies in usa overnight</a> moisturizing their company <a href="http://ourforemothers.com/hyg/discount-drugs-usa-pharmacy/">http://ourforemothers.com/hyg/discount-drugs-usa-pharmacy/</a> redness noticed those go <a href="http://keepcon.com/gbp/alli-capsules">http://keepcon.com/gbp/alli-capsules</a> me It or The <a href="http://prologicwebsolutions.com/rhl/lowest-price-cialas-paypals.php">http://prologicwebsolutions.com/rhl/lowest-price-cialas-paypals.php</a> dried fits it? Your weeks <a href="http://smlinstitute.org/mws/cialis-generic-5mg">http://smlinstitute.org/mws/cialis-generic-5mg</a> for no difference overwhelming <a href="http://mediafocusuk.com/fzk/best-viagra-tablets-in-india.php">mediafocusuk.com best viagra tablets in india</a> completely one almost coat interspersed.</div>  Failed to open channel &#039;my_wsrep_cluster&#039; at &#039;192.168.1.106,192.168.1.112&#039;: -22 (Invalid argument)

2014-05-24 17:18:22 6999 [ERROR] WSREP: gcs connect failed: Invalid argument  
2014-05-24 17:18:22 6999 [ERROR] WSREP: wsrep::connect() failed: 7  
2014-05-24 17:18:22 6999 [ERROR] Aborting  

其实应该加上gcomm关键字,如下:

wsrep_cluster_address="gcomm://host1,host3"