SMALL

개발 D/Postgresql 5

[Postgresql] Pgpool-II Failover 설정 (5)

Pgpool의 Failover 기능을 이용해서 Slave DB를 승격시켜보자 지난 글에서는 pgpool을 이용하여 이중화를 구성해보았다. # 지난글 Pgpool로 이중화 https://0409kdk.tistory.com/5 Pgpool-II + postgresql 이중화 Master-Slave 구축 (4) Pgpool 수정하여 실행까지 지난 pgpool 설치 후 conf 수정하여 pgpool을 동작 해보는거 까지 해보겠다! # pgpool 설치 https://0409kdk.tistory.com/4 Pgpool-II + postgresql 이중화 Master-Slave 구축 (3) PostgreSQL의 기능으로 0409kdk.tistory.com Failover ? Failover 는 장애 조치 기능으로 ..

개발 D/Postgresql 2023.12.12

[Postgresql] Pgpool-II 설정 (4)

Pgpool 수정하여 실행까지 지난 pgpool 설치 후 conf 수정하여 pgpool을 동작 해보는거 까지 해보겠다! # pgpool 설치 https://0409kdk.tistory.com/4 Pgpool-II + postgresql 이중화 Master-Slave 구축 (3) PostgreSQL의 기능으로 Master-Slave 이중화 구현의 단점을 Pgpool을 이용하여 극복해보자 # PostgreSQL 이중화가 안되어있다면 https://0409kdk.tistory.com/2 Postgresql-15 Master - Slave 설정 및 구축- (1) 이번 프로젝트 0409kdk.tistory.com 1.Pgpool-II conf 수정 먼저 postgres 계정으로 접속한다. su - postgres..

개발 D/Postgresql 2023.12.11

[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