4.4 靜默安裝和組態

4.4.1 靜默安裝

若要以靜默模式安裝 Identity Manager 元件,您必須建立內含完成安裝所需之參數的內容檔案。Identity Manager 媒體中提供了一個範例檔案︰

  • Linux︰ ./install/propfiles/install.properties

  • Solaris: ./install/propfiles/install.properties

  • Windows︰ \install\propfiles\install.properties

使用您平台的正確程式來開始自動安裝:

  • Linux︰ ./install.bin -i silent -f <檔名>.properties

  • Solaris: ./install.bin -i silent -f <檔名>.properties

    若要執行二進位檔案,請輸入 ./install.bin -i silent -f <檔名>.properties

  • Windows︰ \install.exe -i silent -f <檔名>.properties

靜默安裝支援將以下密碼變數做為環境變數。如果密碼變數無法透過環境傳遞,您必須將其新增至靜默內容檔案。 

Metadirectory 伺服器: IA_IDVAULT_ADMIN_PASSWORD。

Roles Based Provisioning Module︰ IA_RBPM_POSTGRESQL_DB_PASSWORD 和 IA_RBPM_USERAPPADMIN_PASSWORD。

Identity Reporting 模組︰ IA_REPORTING_NOVL_DB_USER_PASSWORD、IA_REPORTING_IDM_USER_PASSWORD 和 IA_REPORTING_IDM_SERVER_PASSWORD。

事件稽核服務︰ IA_EAS_ADMIN_PWD 和 IA_EAS_DBA_PWD。

4.4.2 靜默組態

您也可以建立內含完成組態所需之參數的內容檔案,以靜默模式設定 Identity Manager 元件的組態。以下為 Identity Manager 媒體中提供的兩個範例檔案。一個在您要建立新的網路樹時使用,另一個在您要將伺服器新增至現有網路樹時使用。

  • Linux︰ 請查看以下位置︰

    • ./install/propfiles/configure_new_tree.properties

    • ./install/propfiles/configure_existing_tree.properties

  • Solaris: 請查看以下位置︰

    • ./install/propfiles/configure_new_tree.properties

    • ./install/propfiles/configure_existing_tree.properties

  • Windows︰ 請查看以下位置︰

    • \install\propfiles\configure_new_tree.properties

    • IDM4.0.1_Win:\install\propfiles\configure_existing_tree.properties

使用適用於您平台的正確程式啟動靜默組態︰

  • Linux︰ ./configure.bin -i silent -f <檔名>.properties

  • Solaris: ./configure.bin -i silent -f <檔名>.properties

    若要執行二進位檔案,請輸入 ./configure.bin -i silent -f <檔名>.properties

  • Windows︰ \configure.exe -i silent -f <檔名>.properties

install\propfiles 位置提供的範例內容檔案僅可用於一次性設定所有元件的情況。

若要查看強制參數,請執行以下指令︰

./install/bin -i silent -DSELECTED_PRODUCTS=<要設定的元件>

Identity Manager 元件的 ID 說明在內容檔案中提供。

使用上面的指令產生的輸出建立內容檔案,根據要設定的元件新增 SELECTED_PRODUCTS,然後重新執行靜默安裝指令,以靜默模式設定選定元件的組態。