분류 전체보기(326)
-
AWS EC2 ubuntu postgreSQL 연결
EC2 인스턴스를 ubuntu 로 생성한다. https://muyeon95.tistory.com/187 AWS EC2 배포하기 선행작업 https://muyeon95.tistory.com/186 github SSH Repository [ git ] - 우선 repository 를 생성한다. - SSH 키를 발급받는다. 생성한 repository 를 사용하기 위해서 로컬환경에서 깃허브를 사용하기 위해 인증을 muyeon95.tistory.com 인바운드 규칙을 추가한다. 5432, 443, 80, 443, 그리고 사용하는 서비스의 포트(저는 8080으로 했습니다.) PostgreSQL 설치 sudo apt-get update sudo apt install postgresql postgresql-contri..
2023.09.09 -
11 주차 [ WIL ]
이번주에 알게된 것 1. AWS ngrinder 설치 및 사용 https://muyeon95.tistory.com/271 AWS EC2 Docker & nGrinder 설치 사전준비 EC2 인스턴스를 2개 만든다. (controller, agent) 두개의 인스턴스에 docker 를 설치한다. https://muyeon95.tistory.com/258 ubuntu Docker 설치 ubuntu 시스템 패키지 업데이트 sudo apt-get update 필요한 패키지 muyeon95.tistory.com 2. AWS EC2 ubuntu postgres replication 실습 https://muyeon95.tistory.com/272 AWS EC2 ubuntu postgresql replication (..
2023.08.31 -
FATAL: invalid configuration, failover_when_quorum_exists is not allowed in native replication mode
에러 상황 pgpool2 를 통해 로드밸런싱을 설정하던 중 발생했던 문제 Aug 29 07:46:19 ip-172-31-44-88 pgpool[3790]: 2023-08-29 07:46:19: pid 3790: FATAL: invalid configuration, failover_when_quorum_exists is not allowed in native replication mode Aug 29 07:46:19 ip-172-31-44-88 systemd[1]: pgpool2.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED Aug 29 07:46:19 ip-172-31-44-88 systemd[1]: pgpool2.service: ..
2023.08.29 -
pgpool2 로드밸런서
사전 준비 Master-Slave 설정 https://muyeon95.tistory.com/272 AWS EC2 ubuntu postgresql replication (Master-Slave) 사전 과정 AWS 에서 EC2 인스턴스를 2개 만든다. (master, slave) https://muyeon95.tistory.com/187 AWS EC2 배포하기 선행작업 https://muyeon95.tistory.com/186 github SSH Repository [ git ] - 우선 repository 를 생성한다. - SSH 키 muyeon95.tistory.com 아래 포스팅을 참고해 pgpool 인스턴스를 생성 https://muyeon95.tistory.com/187 AWS EC2 배포하기 선행..
2023.08.29 -
AWS EC2 ubuntu postgresql replication (Master-Slave)
사전 과정 AWS 에서 EC2 인스턴스를 2개 만든다. (master, slave) https://muyeon95.tistory.com/187 AWS EC2 배포하기 선행작업 https://muyeon95.tistory.com/186 github SSH Repository [ git ] - 우선 repository 를 생성한다. - SSH 키를 발급받는다. 생성한 repository 를 사용하기 위해서 로컬환경에서 깃허브를 사용하기 위해 인증을 muyeon95.tistory.com 위 포스팅을 참고해 생성까지만 진행한다. master 인스턴스와 slave 인스턴스에 5432 포트를 허용한다. postgres 설치 (Master, Slave) sudo apt-get update sudo apt instal..
2023.08.29 -
AWS EC2 Docker & nGrinder 설치
사전준비 EC2 인스턴스를 2개 만든다. (controller, agent) 두개의 인스턴스에 docker 를 설치한다. https://muyeon95.tistory.com/258 ubuntu Docker 설치 ubuntu 시스템 패키지 업데이트 sudo apt-get update 필요한 패키지 설치 sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common Docker 공식 GPG 키를 추가 curl -fsSL https://download.docker.c muyeon95.tistory.com controller 인스턴스 설치 sudo docker pull ngrinder/contr..
2023.08.28