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

smsap設定檔驗證命令

貢獻者

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

語法

smsap profile verify
-profile profile_name
[-quiet | -verbose]

參數

  • 」、「」、「*」

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

  • 「*- Quiet *」

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

  • 」-「Verbos

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

範例

下列範例驗證設定檔:

smsap profile verify -profile profileA –verbose
[ INFO] SMSAP-13505: SnapDrive environment verification passed.
[ INFO] SMSAP-13507: JDBC verification for "OS authenticated: CER/hostA.rtp.com" passed.
[ INFO] SMSAP-13506: SQLPlus verification for database SID "CER" passed.  Environment: [ORACLE_HOME=/u02/app/oracle/product/11.2.0.2]
[ INFO] SMSAP-07431: Saving starting state of the database: CER(OPEN).
[ INFO] SMSAP-07431: Saving starting state of the database: CER(OPEN).
[ INFO] SD-00016: Discovering storage resources for /vol/hostA_sap_datavol_CER.
[ INFO] SD-00017: Finished storage discovery for /vol/ hostA_sap_datavol_CER.
[ INFO] SD-00016: Discovering storage resources for /vol/hostA_sap_datavol_CER.
[ INFO] SD-00017: Finished storage discovery for /vol/ hostA_sap_datavol_CER.
[ INFO] SD-00016: Discovering storage resources for /vol/hostA_sap_cntrlvol_CER.
[ INFO] SD-00017: Finished storage discovery for /vol/hostA_sap_cntrlvol_CER.
[ INFO] SD-00016: Discovering storage resources for /vol/hostA_sap_redovol_CER.
[ INFO] SD-00017: Finished storage discovery for /vol/hostA_sap_redovol_CER.
[ INFO] SD-00016: Discovering storage resources for /vol/hostA_sap_archivevol_CER.
[ INFO] SD-00017: Finished storage discovery for /vol/hostA_sap_archivevol_CER.
[ INFO] SD-00040: Beginning to discover filesystem(s) upon host volume group hostA-3_SdDg.
[ INFO] SD-00041: Finished discovering filesystem(s) upon host volume group hostA-3_SdDg.
[ INFO] SD-00040: Beginning to discover filesystem(s) upon host volume group hostA-2_SdDg.
[ INFO] SD-00041: Finished discovering filesystem(s) upon host volume group hostA-2_SdDg.
[ INFO] SD-00040: Beginning to discover filesystem(s) upon host volume group hostA_s_SdDg.
[ INFO] SD-00041: Finished discovering filesystem(s) upon host volume group hostA_s_SdDg.
[ INFO] SD-00040: Beginning to discover filesystem(s) upon host volume group hostA-1_SdDg.
[ INFO] SD-00041: Finished discovering filesystem(s) upon host volume group hostA-1_SdDg.
[ WARN] SMSAP-05071: Database profile profileA is not eligible for fast restore:  Restore Plan:
  Preview:

    The following components will be restored completely via: host side file copy restore
      /vol/hostA_sap_datavol_CER/CER/sapdata1/oradata/CER/sysaux01.dbf
      /vol/hostA_sap_datavol_CER/CER/sapdata1/oradata/CER/system01.dbf
      /vol/hostA_sap_datavol_CER/CER/sapdata1/oradata/CER/undotbs01.dbf
      /vol/hostA_sap_datavol_CER/CER/sapdata1/oradata/CER/users01.dbf

  Analysis:

    The following reasons prevent certain components from being restored completely via: storage side file system restore
      * Files in file system /vol/hostA_sap_datavol_CER not part of the restore scope will be reverted.
      * File systems in volume group hostA-1_SdDg not part of the restore scope will be reverted: [/vol/hostA_sap_datavol_CER]
    Components not in restore scope:
      /vol/hostA_sap_datavol_CER/CER/sapdata1/cfgtoollogs/catbundle/catbundle_PSU_CER_APPLY_2011Dec15_00_52_21.log
      /vol/hostA_sap_datavol_CER/CER/sapdata1/cfgtoollogs/catbundle/catbundle_PSU_CER_GENERATE_2011Dec15_00_52_16.log
    Components to restore:
      /vol/hostA_sap_datavol_CER/CER/sapdata1/oradata/CER/sysaux01.dbf
      /vol/hostA_sap_datavol_CER/CER/sapdata1/oradata/CER/system01.dbf
      /vol/hostA_sap_datavol_CER/CER/sapdata1/oradata/CER/undotbs01.dbf
      /vol/hostA_sap_datavol_CER/CER/sapdata1/oradata/CER/users01.dbf

  * Reasons denoted with an asterisk (*) are overridable.

[ INFO] SMSAP-07433: Returning the database to its initial state: CER (OPEN).
[ INFO] SMSAP-13048: Profile Verify Operation Status: SUCCESS
[ INFO] SMSAP-13049: Elapsed Time: 0:01:17.857
Operation Id [Nab0240e8200dae6f17ecf21060bc6de8] succeeded.