SnapManager Oracle
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

使用「SMO設定檔驗證」命令

貢獻者

您可以執行設定檔驗證命令來驗證設定檔的設定。您必須先掛載資料庫、才能執行此命令。

語法

        smo profile verify
-profile profile_name
\[-quiet \| -verbose\]

參數

  • 設定檔

    指定要驗證的設定檔。設定檔包含資料庫和其他資料庫資訊的識別碼。

  • -無聲

    僅在主控台顯示錯誤訊息。預設為顯示錯誤和警告訊息。

  • -詳細

    在主控台顯示錯誤、警告和資訊訊息。

範例

下列範例驗證設定檔:

smo profile verify -profile test_profile  -verbose
[ INFO] SMO-07431: Saving starting state of the database: racb1(OPEN).
[ INFO] SMO-07431: Saving starting state of the database: racb2(SHUTDOWN), racb1(OPEN).
[ INFO] SD-00019: Discovering storage resources for all system devices.
[ INFO] SD-00020: Finished storage discovery for all system devices.
[ INFO] SD-00019: Discovering storage resources for all system devices.
[ INFO] SD-00020: Finished storage discovery for all system devices.
[ INFO] SD-00019: Discovering storage resources for all system devices.
[ INFO] SD-00020: Finished storage discovery for all system devices.
[ INFO] SMO-05070: Database profile test_profile is eligible for fast restore.
[ INFO] SMO-07433: Returning the database to its initial state: racb2(SHUTDOWN), racb1(OPEN).
[ INFO] SMO-13048: Profile Verify Operation Status: SUCCESS
[ INFO] SMO-13049: Elapsed Time: 0:04:14.919
Operation Id [Nfffde14ac88cd1a21597c37e8d21fe90] succeeded.

相關資訊