Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1560

Problem adding new MySQL node to a cluster. (no replies)

$
0
0
Hello,
I am basically trying to implement "Consolidated User Privileges".

We have the following cluster set on a Xen server:
one Management
two data nodes
one MySQL node

I added another MySQL node as per the document on the links below:
1) http://www.mysql.com/why-mysql/white-papers/mysql_wp_cluster7_architecture.php
Refer pg. 20 for Consolidated User Privileges section.

2) http://dev.mysql.com/doc/refman/5.5/en/mysql-cluster-privilege-distribution.html


I added another MySQL Node, configuration was fine & it showed up as well as expected.
Then I executed the scripts as mentioned in the PDF document in link 1, but the "mysql" database specific tables are not getting converted to engine = NDBCLUSTER. When I explicitly try converting the tables (as mentioned in the PDF document), I get the following error:

alter table user engine=ndb;
ERROR 1025 (HY000): Error on rename of './mysql/#sql-290_9' to './mysql/user' (errno: 708)

The following is some more information (as per link 2) :

SELECT ROUTINE_NAME, ROUTINE_SCHEMA, ROUTINE_TYPE
-> FROM INFORMATION_SCHEMA.ROUTINES
-> WHERE ROUTINE_NAME LIKE 'mysql_cluster%'
-> ORDER BY ROUTINE_TYPE;
+---------------------------------------------+----------------+--------------+
| ROUTINE_NAME | ROUTINE_SCHEMA | ROUTINE_TYPE |
+---------------------------------------------+----------------+--------------+
| mysql_cluster_privileges_are_distributed | mysql | FUNCTION |
| mysql_cluster_backup_privileges | mysql | PROCEDURE |
| mysql_cluster_move_grant_tables | mysql | PROCEDURE |
| mysql_cluster_move_privileges | mysql | PROCEDURE |
| mysql_cluster_restore_local_privileges | mysql | PROCEDURE |
| mysql_cluster_restore_privileges | mysql | PROCEDURE |
| mysql_cluster_restore_privileges_from_local | mysql | PROCEDURE |
+---------------------------------------------+----------------+--------------+
7 rows in set (0.00 sec)


mysql> CALL mysql_cluster_move_privileges();
Query OK, 2 rows affected (14.80 sec)


Can someone Please guide me to fix this issue.


Regards,
Sachin Vyas.

Viewing all articles
Browse latest Browse all 1560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>