SMALL

이중화 3

[Postgresql] Pgpool-II 설치 (3)

Pgpool 을 설치 해보자! # PostgreSQL 이중화가 안되어있다면 https://0409kdk.tistory.com/2 Postgresql-15 Master - Slave 설정 및 구축- (1) 이번 프로젝트에서 DB 가용성을 위해 이중화를 해야한다고 해서 Postgresql의 Master - Slave 기능을 이용하여 이중화 구성을 해보려고 한다. OS : Redhat8 DB : Postgresql-15 Server : 2대 OS는 프로젝트 하는곳이 0409kdk.tistory.com 먼저 해주시기 바랍니다! 지난 글에서 PostgreSQL의 기능으로 이중화 구축을 완료했다. 그런데 고객사에서 Slave에서도 insert가 가능하게 끔 만들어달라고 요구하였다 .. 그래서 생각해낸 방법이 pgp..

개발 D/Postgresql 2023.12.11

[Postgresql] postgresql 이중화 Master-Slave 설정 (2)

Postgresql 설치 후 Postgresql.conf 설정 및 Master - Slave 구축 지난 글에 이어서 postgresql Master - Slave를 구축해보겟다. 지난 글 : https://0409kdk.tistory.com/2 Postgresql-15 Master - Slave 설정 및 구축- (1) 이번 프로젝트에서 DB 가용성을 위해 이중화를 해야한다고 해서 Postgresql의 Master - Slave 기능을 이용하여 이중화 구성을 해보려고 한다. OS : Redhat8 DB : Postgresql-15 Server : 2대 OS는 프로젝트 하는곳이 0409kdk.tistory.com ※ Master 서버 data 경로로 들어간다 cd /database/postgres/data ..

개발 D/Postgresql 2023.12.08

[Postgresql] postgresql 이중화 Master-Slave 구축 - 설치 (1)

이번 프로젝트에서 DB 가용성을 위해 이중화를 해야한다고 해서 Postgresql의 Master - Slave 기능을 이용하여 이중화 구성을 해보려고 한다. OS : Redhat8 DB : Postgresql-15 Server : 2대 OS는 프로젝트 하는곳이 Redhat을 사용했어서 Redhat8 로 진행하였지만 Ubuntu도 상관 없다. 테스트를 위하여 Oracle VM VirtualBox을 이용하여 Redhat8 서버를 2개 구축하여 동시에 진행하였다. Postgresql-15 설치 ( Master / Slave 두 서버 설치) Redhat # Install the repository RPM: sudo dnf install -y https://download.postgresql.org/pub/rep..

개발 D/Postgresql 2023.12.08
300x250
LIST