本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
疑難排解 BYOM 引擎版本和資料庫執行個體
下表可協助您診斷和管理自有媒體 (BYOM) 引擎版本和 RDS for SQL Server 資料庫執行個體時的常見問題。
| 錯誤訊息/徵狀 | 原因 | 建議的修正 |
|---|---|---|
InvalidParameterValue: RDS can't create the custom engine version because the provided <Name>.ISO file doesn't match the expected installer file for engine version 15.00.4435.7.v1 |
您上傳的 RTM 檔案與 命令中指定的 SQL Server 主要版本不符。例如,上傳 SQL Server 2022 ISO,同時鎖定 2019 引擎版本 (15.xx)。 | 1. 確認引擎版本字首符合 ISO:15.xx = SQL Server 2019、16.xx = SQL Server 2022。2. 確認引擎參數符合版本: sqlserver-ee = Enterprise, sqlserver-se = Standard。3. 將正確的 RTM 檔案上傳至 S3。4. 如果已建立,請刪除失敗的 BYOM 引擎版本。5. create-custom-db-engine-version 使用相符的 ISO 重試。 |
CreateCustomDBEngineVersionFault: RDS was unable to access the specified installer file in the S3 bucket. |
RDS 無法存取 S3 儲存貯體,或在指定的 S3 位置找不到 ISO 檔案。 | 1. 驗證 S3 儲存貯體沒有封鎖 RDS 服務存取的政策。2. 在 中驗證 S3 儲存貯體名稱--database-installation-files-s3-bucket-name。3. 驗證 中的檔案名稱是否完全--database-installation-files相符。4. 確認儲存貯體與 BYOM 引擎版本位於相同的區域。5. 檢查可能封鎖存取SCPs 或 VPC 端點政策。6. 重試 create-custom-db-engine-version。 |
InvalidParameterValue: RDS can't create the custom engine version because the provided file doesn't match the expected installer file for engine version |
CU 檔案與目標引擎版本不相符。 | 1. 識別目標次要版本的正確 CU KB 編號。2. create-custom-db-engine-version 使用相符的 CU 版本重試。 |
InvalidParameterValue: The custom engine version isn't valid. Names can include only lowercase letters (a-z), dashes (-), underscores (_), and periods (.). Specify a valid CEV, refer to https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.html#custom-cev.create, and try again. |
確認您的 CEV 名稱僅使用支援的字元,而且您使用 BYOM 支援的 SQL Server 版本。 | 1. 確認您使用的是支援的引擎: sqlserver-ee或 sqlserver-se。2. 確認引擎版本為 SQL Server 2019 (15.xx) 或 SQL Server 2022 (16.xx)。3. 使用支援的版本和版本重試。 |
InvalidCustomDBEngineVersionStateFault: You can't delete custom engine version sqlserver-ee 15.00.4465.1.v1. At least one instance and one backup is using the CEV. Change the version or delete the instances and backups, and try again. |
資料庫執行個體、快照或僅供讀取複本仍在使用 BYOM 版本。 | 1. 使用此版本識別資源:aws rds describe-db-instances --query "DBInstances[?EngineVersion=='<version>']"。2. 識別快照:aws rds describe-db-snapshots --query "DBSnapshots[?EngineVersion=='<version>']"。3. 將執行個體遷移至不同的版本或刪除它們。4. 刪除相關聯的快照和自動備份。5. 重試 delete-custom-db-engine-version。 |
InvalidParameterCombination: The LicenseModel parameter is required for configurations with multiple options. |
此版本已啟用 BYOM,但--license-model已省略。 |
將 --license-model bring-your-own-media或 --license-model license-included 新增至命令。 |
The combination of engine sqlserver-se and version <version> isn't valid. Enter a valid custom engine version, and try again. |
此錯誤發生在:(1) 目標引擎版本不存在 BYOM 引擎版本;(2) 目標 BYOM 引擎版本處於 incompatible-media或 inactive 狀態;(3) 指定的引擎版本不是支援的主要/次要組合。 |
若要驗證支援的引擎版本,請先使用 執行describe-db-engine-versions並建立 BYOM 引擎版本create-custom-db-engine-version。 |
InvalidParameterCombination: RDS can't perform the operation because the custom engine version <version> is in incompatible-installation-media status. Choose a custom engine version in one of the following statuses and try again: available, creating, pending-validation, validating. |
BYOM 引擎版本驗證狀態失敗。 | 刪除失敗的 BYOM 引擎版本,重新上傳正確的安裝媒體,並建立新的 BYOM 引擎版本。 |
InvalidParameterCombination: RDS does not support creating a DB instance with the following combination: DBInstanceClass=<instance class>, Engine=<Edition>, EngineVersion=<version>, LicenseModel=bring-your-own-media. For supported combinations of instance class and database engine version, see the documentation. |
BYOM 不支援您指定的執行個體類型。 | 若要驗證執行個體類別是否支援 BYOM,請使用 describe-orderable-db-instance-options API:aws rds describe-orderable-db-instance-options --engine sqlserver-ee --engine-version <version> --db-instance-class <instance-class> --region <region> --query "OrderableDBInstanceOptions[?LicenseModel=='bring-your-own-media']"。或者,請造訪 Amazon RDS for SQL Server 定價頁面 |
InvalidParameterCombination: The combination of engine and version isn't valid. Enter a valid custom engine version, and try again. (在 上ModifyDBInstance) |
若要升級 BYOM 執行個體,目標版本必須存在 BYOM 引擎版本,且必須至少處於 available 狀態。modify-db-instance 呼叫在下列情況下被拒絕:目標引擎版本不存在 BYOM 引擎版本;目標 BYOM 引擎版本處於 incompatible-media或 inactive 狀態;目標版本不在ValidUpgradeTarget陣列中。 |
使用 describe-db-engine-versions命令列出有效的次要版本升級目標。將次要版本升級套用至 BYOM 執行個體之前,請確認目標版本存在有效的 BYOM 引擎版本。如果沒有,請建立一個,並等待它變成可用。 |