mariadb galera clustering
# DataBase/Mysql(MariaDB)2021. 6. 24. 15:26mariadb galera clustering

설치환경 centos 7.9 db-node1 - 192.168.132.138 db-node2 - 192.168.132.139 db-node3 - 192.168.132.140 반드시 3개이상으로 구성추천 그렇지 않을 경우 split brain발생위험(서로 마스터 인식하여 오류 발생하는 이슈) 1. Galera Cluster설치 #mariadb repo 다운로드 [root@db01 yum.repos.d] curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | bash #모든 repo 캐시빌드 [root@db01 yum.repos.d] yum makecache fast #MariaDB설치 [root@db01 yum.repos.d] yum -y ..

[trouble shooting]master_not_discovered_exception
# DataBase/Elasticsearch2021. 4. 7. 13:28[trouble shooting]master_not_discovered_exception

엘라스틱 health 확인시 아래와 같이 상태값이 503 # curl -XGET "localhost:9200/_cluster/health?pretty" { "error" : { "root_cause" : [ { "type" : "master_not_discovered_exception", "reason" : null } ], "type" : "master_not_discovered_exception", "reason" : null }, "status" : 503 } 추가확인시 클러스터 uuid값이 나오지 않았음 # curl http://localhost:9200/ { "name" : "node-1", "cluster_name" : "elasticsearch", "cluster_uuid" : "_na_",..

image