에러 유도
1.
> 만약, 1번 서버 = 기준
1번 서버 선 종료 후 2번 서버 종료 > 2번 서버가 기준이 됨
> 이 상태에서 1번 서버 systemctl start mariadb
> [ERROR] WSREP: failed to open gcomm backend connection: 110: failed to reach primary view: 110 (Connection>
at /home/buildbot/buildbot/build/gcomm/src/pc.cpp:connect():160
[ERROR] WSREP: /home/buildbot/buildbot/build/gcs/src/gcs_core.cpp:gcs_core_open():222: Failed to open back>
[ERROR] WSREP: /home/buildbot/buildbot/build/gcs/src/gcs.cpp:gcs_open():1682: Failed to open channel 'clus>
[ERROR] WSREP: gcs connect failed: Connection timed out
[ERROR] WSREP: wsrep::connect(gcomm://222.234.220.166,222.234.220.179) failed: 7
[ERROR] Aborting
> 이 상태에서 2번서버 systemctl start mariadb 같은 에러 출력
2.
> 만약 2번 서버 = 기준
1번 서버 선 종료 후 2번 서버 종료 > 그대로 2번 서버 기준
> 이 상태에서 1번 서버 및 2번 서버 systemctl start mariadb
> 위와 같은 에러 출력
2번 서버가 기준 노드였지만 1번 서버에서 galera_new_cluster
> [ERROR] WSREP: It may not be safe to bootstrap the cluster from this node.
> [ERROR] WSREP: wsrep::connect(gcomm://222.234.220.166,222.234.220.179) failed: 7
호슐랭