List:Cluster« Previous MessageNext Message »
From:Tomas Ulin Date:October 19 2004 1:11pm
Subject:Re: 答复: why the 7th node(API) does not
start ? thanks
View as plain text  
So you will see API id 7 "appearing" when you start your second mysql 
server connected to the cluster.

T
 
刘兰增 wrote:

>No, I have only one mysql server.
>
>Is there any relation between mysql server and API nodes?
>
>Does one mysql server can only support one API node?
>
>Thanks
>
>-----邮件原件-----
>发件人: Tomas Ulin [mailto:tomas@stripped] 
>发送时间: 2004年10月19日 18:43
>收件人: 刘兰增
>抄送: cluster@stripped
>主题: Re: why the 7th node(API) does not start ? thanks
>
>Did you start 2 mysql servers?
>
>T
>
>刘兰增 wrote:
>
>  
>
>>The config.ini
>>
>> 
>>
>>#config.ini" - showing minimal setup with 4 DB node
>>
>># This file is placed in the start directory of ndb_mgmd,
>>
>># the management server.
>>
>> 
>>
>>[COMPUTER DEFAULT]
>>
>> 
>>
>>[DB DEFAULT]
>>
>>NoOfReplicas: 4
>>
>> 
>>
>>[API DEFAULT]
>>
>>ArbitrationRank: 2
>>
>> 
>>
>>[MGM DEFAULT]
>>
>>ArbitrationRank: 1
>>
>> 
>>
>>[TCP DEFAULT]
>>
>>PortNumber: 28002
>>
>> 
>>
>>[COMPUTER]
>>
>>Id:1
>>
>>HostName: localhost
>>
>> 
>>
>>[MGM]
>>
>>Id:1
>>
>>ExecuteOnComputer: 1
>>
>>PortNumber: 2200
>>
>> 
>>
>>[DB]
>>
>>Id: 2
>>
>>ExecuteOnComputer: 1
>>
>>FileSystemPath: /home/liulz/local/mysql416/mysql-cluster/node2/
>>
>> 
>>
>>[DB]
>>
>>Id: 3
>>
>>ExecuteOnComputer: 1
>>
>>FileSystemPath: /home/liulz/local/mysql416/mysql-cluster/node3/
>>
>> 
>>
>>[DB]
>>
>>Id: 4
>>
>>ExecuteOnComputer: 1
>>
>>FileSystemPath: /home/liulz/local/mysql416/mysql-cluster/node4/
>>
>> 
>>
>>[DB]
>>
>>Id: 5
>>
>>ExecuteOnComputer: 1
>>
>>FileSystemPath: /home/liulz/local/mysql416/mysql-cluster/node5/
>>
>> 
>>
>>[API]
>>
>>Id: 6
>>
>>ExecuteOnComputer: 1
>>
>> 
>>
>>[API]
>>
>>Id: 7
>>
>>ExecuteOnComputer: 1
>>
>> 
>>
>>After start up all the mgm node and db node
>>
>> 
>>
>>NDB> show
>>
>>Cluster Configuration
>>
>>---------------------
>>
>>[ndbd(NDB)]     4 node(s)
>>
>>id=2    @127.0.0.1  (Version: 3.5.2, Nodegroup: 0, Master)
>>
>>id=3    @127.0.0.1  (Version: 3.5.2, Nodegroup: 0)
>>
>>id=4    @127.0.0.1  (Version: 3.5.2, Nodegroup: 0)
>>
>>id=5    @127.0.0.1  (Version: 3.5.2, Nodegroup: 0)
>>
>> 
>>
>>[ndb_mgmd(MGM)] 1 node(s)
>>
>>id=1    @127.0.0.1  (Version: 3.5.2)
>>
>> 
>>
>>[mysqld(API)]   2 node(s)
>>
>>id=6   (Version: 3.5.2)
>>
>>id=7 (not connected, accepting connect from localhost)
>>
>> 
>>
>>NDB>
>>
>> 
>>
>>Why that? Something must be wrong
>>
>> 
>>
>>       Yours
>>
>>--
>>
>> 
>>
>>刘 兰 增
>>-----------------------------------------------
>>电子商务组
>>软件工程师 (Software Engineer)
>>百度在线网络技术(北京)有限公司
>>北京市中关村广场理想国际大厦12层
>>手机:13910272431
>>电话:010-82621188-605
>>E-mail: liulanzeng@stripped <mailto:liulanzeng@stripped>
>>----------------------------------------------
>>http://www.baidu.com <http://www.baidu.com/>
>>
>> 
>>
>>    
>>
>
>
>  
>

Thread
Re: 答复: why the 7th node(API) does not start ? thanksTomas Ulin19 Oct