

# RDS Custom for Oracle DB 인스턴스의 업그레이드 실패 문제 해결
<a name="custom-upgrading-failure"></a>

RDS Custom DB 인스턴스 업그레이드가 실패하면 RDS 이벤트가 생성되고 DB 인스턴스 상태가 `upgrade-failed`로 변경됩니다.

다음 예제와 같이 [describe-db-instances](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-instances.html) AWS CLI 명령을 사용하여 이 상태를 확인할 수 있습니다.

```
aws rds describe-db-instances --db-instance-identifier my-custom-instance
```

다음과 유사하게 출력됩니다.

```
{
    "DBInstances": [
        {
           "DBInstanceIdentifier": "my-custom-instance",
            "EngineVersion": "19.my_cev1",
            ...
            "PendingModifiedValues": {
                "EngineVersion": "19.my_cev3"
            ...
            }
            "DBInstanceStatus": "upgrade-failed"
        }
    ]
}
```

업그레이드 실패 후 다음 작업을 수행할 수 있도록 DB 인스턴스를 수정하는 작업을 제외한 모든 데이터베이스 작업이 차단됩니다.
+ 동일한 업그레이드 재시도
+ RDS Custom 자동화 일시 중지 및 다시 시작
+ 특정 시점으로 복구(PITR)
+ DB 인스턴스 삭제

**참고**  
RDS Custom DB 인스턴스에 대해 자동화가 일시 중지된 경우 자동화를 재개할 때까지 업그레이드를 다시 시도할 수 없습니다.  
프라이머리에 대해서 RDS 관리형 읽기 전용 복제본의 업그레이드 실패에도 이와 동일한 작업이 적용됩니다.

자세한 내용은 [RDS Custom for Oracle 업그레이드 문제 해결](custom-troubleshooting.md#custom-troubleshooting-upgrade)을 참조하세요.