問題タブ [mysql-cluster]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
mysql - Failed to allocate nodeid, error: 'Error: Could not alloc node id
ndb_mgmd
does not seem to correctly read the config file
this is part of my config file
but
ndb_mgm
shows something different
As you can see, in my config file I have abhyas.db01
and abhyas.db02
as the hosts.
But the cluster config shows NDB nodes as two nodes, both from abhyas.db01
. (This is not what I want, not right now atleast).
Now, I made a mistake to start the ndb_mgmd
with the config.ini file had [ndbd]
entries both pointing to abhyas.db01
, but I promptly shut down the ndb_mgm
and changed the entry in the config file to show as I have pasted above.
But for some reason, ndb_mgmd
still takes the old configuration ?
How do I fix this ?
Thanks.
PS - No, this is not a firewall issue. iptables
is off. Besides, ndbd from abhyas.db01
is able to connect successfully anyway.
java - Wildfly XA-Datasource - galera クラスター
jta トランザクション(JAVA TRANSACTION API) を使用し、複数のリソース (データベース)を使用するアプリケーションを開発しています。だから私は自分のwildfly環境にxa-datasourcesを設定しました。
問題は、クラスター化されたデータベースが必要なことです(fe :Mariadb + galera、mysql+ mysqlcluster)。
しかし、ガレラには制限があり、xa トランザクションでは機能しません https://mariadb.com/kb/en/mariadb/mariadb-galera-cluster-known-limitations/
および mysqlcluster ですが、xa-transactions は INNODB ストレージ エンジンでのみ機能しますが、mysqlcluster は NDBCluster エンジンを使用するため、どちらも機能しません。--> http://dev.mysql.com/doc/refman/5.7/en/xa-restrictions.html
推奨するデータベース クラスタ環境があり、それは xa-transaction で動作しますか?
mysql - サポートされていないエンジン InnoDB の mysqld を起動できません
NDBCluster のデータ ノードの 1 つで mysqld を起動しようとしています。ノードは管理サーバーに正しく接続しますが、mysqld を開始しようとすると、所有している古い InnoDB テーブルに遭遇すると開始に失敗します。my.cnf を編集して含めるようにしました
これらの変更は mysqld start の出力に記録されますが、後で InnoDB テーブルに遭遇すると失敗し続けます。何かご意見は?以下に含まれるのは、の出力です
mysql - mysql-cluser ndb_restore の問題
ndb_backups を新しいクラスターに復元するために断続的に成功しようとしました。
3 つの API ノードを持つ 6 つの NDB ノード クラスタがあります。ndb_restore を実行すると、通常、最初の 2 つまたは 3 つのノードのバックアップが問題なく取り込まれます。ただし、4 番目と 5 番目のノードは次のエラーで失敗します。
奇妙なことに、単純に 6 つのバックアップすべてを再実行して、正常に終了することがあります。
このプロセスを最適化するために、構成にどのような調整を加えることができるかを誰かが知っていることを願っています。ここに私のバージョン番号と設定があります:
私の mgm 構成ファイル:
私のmysqldとndbノードの設定
誰かが助けてくれることを本当に願っています。私はこれに1か月います。私たちはデータブロブを非常に広範囲に使用しており、これがこれらのタイムアウトを引き起こす可能性があることを理解していますが、6ノードの復元が成功する場合と失敗する場合がある理由と、復元を確実にする方法を知りたいと思っています毎回成功しています。
私は物事を試して再投稿することに非常にオープンです。私は mysql クラスターを初めて使用し、過去数か月で杭を学びましたが、もっと学びたいと思っています。
よろしくお願いします、GT