package_fa_problem

このVerbは次のタスクを実行します。

  • あらかじめ記述した入力ファイルから詳細を読み込み、Fusion Applications問題のパッケージを作成します。

  • オプションで、あらかじめ記述したヒープ・ダンプとデータベースAWR (Automatic Workload Repository)ファイルから詳細を読み込むことにより、メトリック、カスタム・ダンプ、およびレポートを添付します。

  • ファイナライズ済パッケージをOracle Supportにアップロードし、Service Requestを指定していない場合にはそのパッケージ向けに作成されたドラフトのService Requestの数を報告します。

書式

emcli package_fa_problem
      -input_file=incident_packaging_file:file_path
      [-input_file=heap_dumps_file:file_path]
      [-input_file=db_awr_file:file_path]

[ ]  indicates that the parameter is optional

オプション

  • input_file=incident_packaging_file

    パッケージを作成するFusion Applicationsの問題ごとに1行の詳細を含むCSV形式ファイルの完全修飾パス。

    CSVファイルの構造は、次のとおりです。

    <Full target name>,
    <Target type>,
    <Problem key>,
    <Host credential name - for using named credentials only>,
    <Host username - for using new credentials only>,
    <Host password - for using new credentials only>,
    <Target credential name - for using named credentials only>,
    <Target username - for using new credentials only>,
    <Target password - for using new credentials only>,
    <Boolean for adding host metrics - optional - default is true>,
    <Boolean for adding WebLogic metrics - optional - default is true>,
    <Boolean for adding JVM dump - optional - default is true>,
    <Boolean for adding heap dumps - optional - default is false>,
    <Boolean for adding Automatic Workload Repository (AWR) reports - optional - default is false>,
    <My Oracle Support username>,
    <My Oracle Support password>,
    <Service Request (SR) number - required if no CSI given>,
    <Customer Support Identifier (CSI) - required if no SR number given>
    

    次に例を示します。

    /HCMDomain/Server_1/SetupApp,fusion_apps_j2ee_app,Other-1,,username,mypassword,,FAadmin,fusionfa1,,,,,,GENERIC@oracle.com,,3-6586541801
    /HCMDomain/Server_1/SetupApp,fusion_apps_j2ee_app,Other-1,HOST_CREDS,,,WLS_CREDS,,,false,false,false,true,true,GENERIC@oracle.com,,,15427437
    /HCMDomain/Server_1/SetupApp,fusion_apps_j2ee_app,Other-1,,,,,,,,false,,,true,GENERIC@oracle.com,,3-6586541801
    

    incident_packaging_fileの形式に関しては、次の点に注意してください。

    • 使用するデリミタはカンマ(,)です。

    • パラメータの順番は固定です。前述のサンプル・ファイル構造で指定されているのと同じ順序でパラメータを指定する必要があります。

    • 対応するパラメータを指定しない場合でも、デリミタは指定する必要があります。

    • 指定したパラメータのいずれかでカンマを使用する場合、パスワードにカンマが入っている次の例で示されるように、バックスラッシュでカンマをエスケープする必要があります。

      /HCMDomain/Server_1/SetupApp,fusion_apps_j2ee_app,Other-1,,username,mypassword,,FAadmin,fusion\,fa1,,,,,,GENERIC@oracle.com,,3-6586541801
      
    • 指定したパラメータのいずれかでバックスラッシュを使用する場合、パスワードにカンマが入っている次の例で示されるように、バックスラッシュでバックスラッシュをエスケープする必要があります。

      /HCMDomain/Server_1/SetupApp,fusion_apps_j2ee_app,Other-1,,username,mypassword,,FAadmin,fusion\ \fa1,,,,,,GENERIC@oracle.com,,3-6586541801
      

      input_fileパラメータの詳細は、「-input_fileの構文ガイドライン」を参照してください。

  • input_file=heap_dumps_file

    パッケージに含めるヒープ・ダンプ・ファイルの複数行の完全修飾パスを含む、CSV形式ファイルの完全修飾パス。このファイル内に場所が指定されているファイルが、ヒープ・ダンプとしてパッケージに追加されます。

    input_fileパラメータの詳細は、「-input_fileの構文ガイドライン」を参照してください。

  • input_file=db_awr_file

    複数行のデータベース、およびパッケージのレポートを生成するための資格証明を含む、CSV形式ファイルの完全修飾パス。資格証明が必要に応じて指定されていて、有効であれば、ファイルで指定されたデータベースによって生成されたAWRレポートがパッケージに追加されます。

    CSVファイルの構造は、次のとおりです。

    <Database name as used in EM>,
    <credential name - for using named credential only>,
    <username - for using new credential only>,
    <password - for using new credential only>,
    <role - optional, for using new credential only>
    

    次に例を示します。

    Oemrep_database (preferred credentials set in Enterprise Manager)
    Oemrep_database,MY_DB_CREDS
    Oemrep_database,,sysman,sysman
    Oemrep_database,,sysman,sysman,normal
    

    db_awr_fileの形式について次の点に注意してください。

    • 使用するデリミタはカンマ(,)です。

    • パラメータの順番は固定です。前述のサンプル・ファイル構造で指定されているのと同じ順序でパラメータを指定する必要があります。

    input_fileパラメータの詳細は、「-input_fileの構文ガイドライン」を参照してください。

例1

この例は、パッケージを作成するFusion Applicationsの問題ごとに1行の詳細を含むCSV形式ファイルの完全修飾パスを示します。

/HCMDomain/Server_1/SetupApp,fusion_apps_j2ee_app,Other-1,,username,mypassword,,FAadmin,fusionfa1,,,,,,GENERIC@oracle.com,,
3-6586541801
/HCMDomain/Server_1/SetupApp,fusion_apps_j2ee_app,Other-1,HOST_CREDS,,,
WLS_CREDS,,,false,false,false,true,true,GENERIC@oracle.com,,,15427437
/HCMDomain/Server_1/SetupApp,fusion_apps_j2ee_app,Other-1,,,,,,,,false,,,true,GENERIC@oracle.com,,3-6586541801

例2

この例は、複数行のデータベース、およびパッケージのレポートを生成するための資格証明を含む、CSV形式ファイルの完全修飾パスを示します。

Oemrep_database (preferred credentials set in Enterprise Manager)
Oemrep_database,MY_DB_CREDS
Oemrep_database,,sysman,sysman
Oemrep_database,,sysman,sysman,normal