2014-05-14 3 views
3

MySQL NDB Cluster 7.3.5를 설치했고 클러스터가 정상적으로 작동하고있었습니다.MEMORY 엔진과 함께 저장된 테이블이 클러스터 장애로부터 복구 할 수 있습니까?

NodeA에 : 4 개 노드

클러스터 SQLNode1, DataNode1

노드 B : SQLNode2, DataNode2는

NodeC에 : MGMT 노드 1

NodeD : MGMT 노드 2

은을 테스트하려면 서버 재부팅 시나리오 VMWare ESXi를 재부팅하고 모든 VM을 재시작했습니다.

그러나 데이터 노드는 계속해서 시작되지 않습니다.

각각 서버에 대한 로그를 추가 :

/home/mysql/mysqlcluster_data/1/ndb_1_out.log (데이터 노드 1)

error: [ code: 708 line: 38848236 node: 1 count: 1 status: 32687 key: 445914048 name: 'hhmefep/def/fgvmev0000000000-elog-1398414831' ] 
2014-05-13 13:16:40 [ndbd] INFO -- Failed to recreate object 505 during restart, error 708. 
2014-05-13 13:16:40 [ndbd] INFO -- DBDICT (Line: 4688) 0x00000000 
2014-05-13 13:16:40 [ndbd] INFO -- Error handler restarting system 
2014-05-13 13:16:40 [ndbd] INFO -- Error handler shutdown completed - exiting 
2014-05-13 13:16:40 [ndbd] ALERT -- Angel detected too many startup failures(3), not restarting again 
2014-05-13 13:16:40 [ndbd] ALERT -- Node 1: Forced node shutdown completed. Occured during startphase 4. Caused by error 2355: 'Failure to restore schema(Resource configuration error). Permanent error, external action needed'. 

노드가이 테이블을 복구하는 데 실패 것으로 보인다 : hhmefep.fgvmev0000000000-ELOG-1,398,414,831


/home/mysql/mysqlcluster_data/2/ndb_2_out.log (데이터 노드 2)

2014-05-13 13:05:48 [ndbd] INFO -- Start phase 1 completed 
2014-05-13 13:05:48 [ndbd] INFO -- Start phase 2 completed 
2014-05-13 13:05:48 [ndbd] INFO -- Start phase 3 completed 
2014-05-13 13:05:51 [ndbd] INFO -- Node 1 disconnected 
2014-05-13 13:05:51 [ndbd] INFO -- QMGR (Line: 3308) 0x00000000 
2014-05-13 13:05:51 [ndbd] INFO -- Error handler restarting system 
2014-05-13 13:05:51 [ndbd] INFO -- Error handler shutdown completed - exiting 
2014-05-13 13:05:51 [ndbd] ALERT -- Angel detected too many startup failures(3), not restarting again 
2014-05-13 13:05:51 [ndbd] ALERT -- Node 2: Forced node shutdown completed. Occured during startphase 4. Caused by error 2308: 'Another node failed during system restart, please investigate error(s) on other node(s)(Restart error). Temporary error, restart node'. 

데이터 노드 2는 데이터 노드 1과 동기화하려고하지만 관리 노드에 의해 강제로 종료되었습니다 보인다.


(MGMT 노드)은 매우 실망 때문에

ndb_mgm> Node 1: Forced node shutdown completed, restarting. Occured during startphase 4. Caused by error 2355: 'Failure to restore schema(Resource configuration error). Permanent error, external action needed'. 
Node 1: Forced node shutdown completed, restarting. Occured during startphase 4. Caused by error 2355: 'Failure to restore schema(Resource configuration error). Permanent error, external action needed'. 
Node 1: Forced node shutdown completed. Occured during startphase 4. Caused by error 2355: 'Failure to restore schema(Resource configuration error). Permanent error, external action needed'. 
Node 2: Forced node shutdown completed, restarting. Occured during startphase 4. Caused by error 2308: 'Another node failed during system restart, please investigate error(s) on other node(s)(Restart error). Temporary error, restart node'. 
Node 2: Forced node shutdown completed, restarting. Occured during startphase 4. Caused by error 2355: 'Failure to restore schema(Resource configuration error). Permanent error, external action needed'. 

ndb_mgm> Node 2: Forced node shutdown completed. Occured during startphase 4. Caused by error 2355: 'Failure to restore schema(Resource configuration error). Permanent error, external action needed'. 

이 나를 도와주세요. MySQL memory engine page

답변

3

:

(이전 HEAP라고도 함)는 메모리 스토리지 엔진은 메모리에 저장되어있는 내용 특수 목적의 테이블을 생성. 데이터가 충돌, 하드웨어 문제 또는 전원 공급이 원활하지 않으므로이 테이블을 임시 작업 영역으로 사용하거나 읽기 전용 캐시 다른 테이블에서 데이터를 가져온 경우에만 사용하십시오.