List:Cluster« Previous MessageNext Message »
From:Ridd1ck Date:November 8 2011 10:53am
Subject:Managment Server Can't read Config.ini
View as plain text  
I try to change my config of the cluster managment server and the config
never changes.
I follow this steps:
1.First I was change the config.ini with some options.
2.Shutdown the cluster with shutdown command in ndb_mgm
3.Shutdown all data nodes with mysqladmin shutdown command
4. then i try to start the cluster with this command
ndb_mgmd -f /var/lib/mysql-cluster/config.ini
--configdir=/var/lib/mysql-cluster/config.ini --initial
first i get this error:

MySQL Cluster Management Server mysql-5.1.56 ndb-7.1.14
2011-11-08 12:38:22 [MgmtSrvr] ERROR    -- Could not determine which nodeid
to use for this node. Specify it with --ndb-nodeid=<nodeid> on command line

(also i try with this command:
ndb_mgmd -f /var/lib/mysql-cluster/config.ini
--configdir=/var/lib/mysql-cluster/config.ini --reload)

and then  when i try to use show command on ndb_mgm i get this:
[root@m1163 ~]# ndb_mgm
-- NDB Cluster -- Management Client --
ndb_mgm> show;
Unable to connect with connect string: nodeid=0,localhost:1186
Retrying every 5 seconds. Attempts left: 2^C

Then try to start with ndb_mgmd and the ndb_mgm with show command replies
perfect but the ndb_mgmd does not read the new config file, because when use
this command ndb_mgmd -P the config is the default config.

Please answer me.
Thanks.


--
View this message in context:
http://mysql-cluster.1050023.n4.nabble.com/Managment-Server-Can-t-read-Config-ini-tp4015584p4015584.html
Sent from the MySQL - Cluster mailing list archive at Nabble.com.
Thread
Managment Server Can't read Config.iniRidd1ck8 Nov
  • Re: Managment Server Can't read Config.iniJohan Andersson8 Nov
    • Re: Managment Server Can't read Config.iniRidd1ck8 Nov
      • Re: Managment Server Can't read Config.iniWagner Bianchi8 Nov
        • Re: Managment Server Can't read Config.iniRidd1ck8 Nov
          • Re: Managment Server Can't read Config.iniWagner Bianchi8 Nov
            • Re: Managment Server Can't read Config.iniRidd1ck8 Nov
              • Re: Managment Server Can't read Config.iniRidd1ck8 Nov
            • Re: Managment Server Can't read Config.iniRidd1ck8 Nov
              • Re: Managment Server Can't read Config.iniRidd1ck8 Nov