[3scale] 복원 중 rake aborted 에러 해결방법
2022. 9. 1. 14:51
엔지니어링/3scale
3scale 백업복원 테스트를 하다가 지금껏 뜨지 않았떤 에러를 발견했다. 복원 과정 끝에 모든 서비스를 재기동하는데, system-app 재기동과정에서 hook pod에서 Error가 떨어지는 것이였다. 에러내용은 아래와 같았다. rake aborted! StandardError: An error has occurred, all later migrations canceled: Index name 'index_email_configurations_on_account_id' on table 'email_configurations' already exists 인덱스 index_email_configurations_on_account_id 가 email_configurations table에 이미 존재한다는 ..
[OCP] 3scale Operator 복원(복구)하기
2022. 8. 19. 14:31
엔지니어링/3scale
3scale 설치와 백업에 이어서 복구방안이다. 백업은 단순하게 커맨드를 나열하여 쉽게 진행할 수 있지만 복구 시 redis와 db에 대한 부분의 이해가 있다면 쉽게 이해할 수 있다. OCP 3scale Operator 설치 ocp 오퍼레이터를 이용하면 rehat 에서 제공하는 솔루션을 손쉽게 올릴 수 있다. 프로젝트에서 3scale 이관을 맡았었는데 설치방법과 백업&리스토어를 기록해두려한다. 1. Operator 설치 ocp 콘솔 > Operat flowlog.tistory.com OCP 3scale Operator 백업하기 Operat" data-og-host="flowlog.tistory.com" data-og-source-url="https://flowlog.tistory.com/35" data-..
[OCP] 3scale Operator 백업하기
2022. 8. 19. 13:45
엔지니어링/3scale
OCP 3scale Operator 설치 ocp 오퍼레이터를 이용하면 rehat 에서 제공하는 솔루션을 손쉽게 올릴 수 있다. 프로젝트에서 3scale 이관을 맡았었는데 설치방법과 백업&리스토어를 기록해두려한다. 1. Operator 설치 ocp 콘솔 > Operat flowlog.tistory.com 위 글에 이어 3scale 백업가이드를 작성하려한다. 백업은 로컬에 파일을 압축 보관하는 방식이다. oc login 으로 클러스터에 접근한 뒤 작업을 시작한다. 백업 순서 1. system-mysql 2. system-storage 3. backend-redis 4. system-redis 5.zync-database 6.secret, configmap system-mysql oc rsh 을 통해 터미널에..