MySQL-Cluster NDB설정 시 잘못된점? 서로의 ndbd데몬에 못붙음

stypr의 이미지

아래처럼 두대의 머쉰을 구성하고(IP만 다름) 서비스 상태를 체크하니까. 아래처럼 나옵니다.
ndbd 서버를 서로 접속을 못하는군요.
다른 서비스는 모두 정상적인데..유독 ndbd만 상대방서버에 접속을 못합니다.
많은 옵션을 바꾸어가면서 또는 MySQL자체 접근 권한도 확인하면서 했는데, 다른 서버에 NDB가 붙질 못하는군요.

무엇이 틀렸는지 모르겠군요. 에러도 없는데 말입니다.

도와주셔요~~

====================== config.ini 내용 =========================

# /var/lib/mysql-cluster/config.ini

[NDBD DEFAULT]

NoOfReplicas=2

[MYSQLD DEFAULT]

[NDB_MGMD DEFAULT]

[TCP DEFAULT]

portnumber=2202

# Managment Server

[NDB_MGMD]

HostName=192.168.0.1 # the IP of THIS SERVER

DataDir=/var/lib/mysql-cluster

# Storage Engines

[NDBD]

HostName=192.168.0.1 # the IP of the FIRST SERVER

DataDir=/usr/local/mysql/data

[NDBD]

HostName=192.168.0.2 # the IP of the SECOND SERVER

DataDir=/usr/local/mysql/data

[MYSQLD]

HostName=192.168.0.1 # the IP of the SECOND SERVER

[MYSQLD]

HostName=192.168.0.2 # the IP of the SECOND SERVER

========================== my.cnf 내용 ======================

# /etc/my.cnf

[MYSQLD] # Options for mysqld process:

ndbcluster # run NDB engine
ndb-connectstring=192.168.0.1 # location of MGM node

[MYSQL_CLUSTER] # Options for ndbd process:
ndb-connectstring=192.168.0.1 # location of MGM node

[ndbd]
connect-string=192.168.0.1

# provide connectstring for management server host (default port: 1186)
[ndb_mgm]
connect-string=192.168.0.1

# provide location of cluster configuration file
[ndb_mgmd]
config-file=/var/lib/mysql-cluster/config.ini

======================== 상태 확인 ===========================

ndb_mgm> show

Cluster Configuration

---------------------

[ndbd(NDB)] 2 node(s)

id=2 @192.168.0.1 (Version: 5.0.27, starting, Nodegroup: 0)
id=3 (not connected, accepting connect from 192.168.0.2)

[ndb_mgmd(MGM)] 1 node(s)

id=1 @192.168.0.1 (Version: 5.0.27)

[mysqld(API)] 2 node(s)

id=4 @192.168.0.1 (Version: 5.0.27, starting, Nodegroup: 0)
id=5 @192.168.0.2 (Version: 5.0.27, starting, Nodegroup: 0)

ndb_mgm>

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.