上Mysql HA課程 Day1 12/10 DIY
可參考 http://www.osslab.org.tw/User:Alang/%E8%8D%89%E7%A8%BF%E6%96%87%E4%BB%B6/MySQL_Cluster http://dev.mysql.com/downloads/ MySQL Cluster http://dev.mysql.com/downloads/select.php?id=14 MySQL Cluster Support http://www.mysql.com/support/supportedplatforms/cluster.html 1、C:\mysql\mysql-cluster-gpl-7.0.9-win32 2、sample\my1.ini my2.ini -> C:\mysql\mysql-cluster-gpl-7.0.9-win32 3、create config.ini -> C:\mysql\mysql-cluster-gpl-7.0.9-win32 3-1、create mgmd-log -> c:\mysql 4、edit config.ini PS:大小寫沒差 Management node [NDBD DEFAULT] NoOfReplicas 幾台dataNode # Number of replicas DataMemory # How much memory to allocate for data storage IndexMemory # How much memory to allocate for index storage [NDB_MGMD] ID PS:只有一台時,不用打ID DataDir 放剛建立mgmd-log目錄 # Directory for MGM node logfiles HostName 看IP,如果在同一台就locahost PS:必需 [NDBD] 有幾個就建幾個 ID HostName 看IP,如果在同一台就locahost PS:必需 ServerPort PS:有需要再加 DataDir PS:看你把資料放那 ...