39.3 手動產生資料庫綱要

您可以在安裝後重新建立資料庫表格,而無需重新安裝。本節的內容可協助您建立資料庫綱要。

  1. 停止應用程式伺服器。

  2. 登入代管 Identity Reporting 資料庫的伺服器。

  3. 刪除現有的資料庫。

  4. 建立一個與您在步驟 3 中刪除的資料庫同名的新資料庫。

  5. 在文字編輯器中,開啟 NetIQ-Custom-Install.log 檔案 (預設位於 Identity Reporting 的安裝根目錄中)。例如:

    /opt/netiq/idm
    
  6. 搜尋類似以下內容的項目:

    **************************************************
    If a failure is encountered while creating the tables, verify that this string
    is correct If not, you can modify this string and copy/paste to a command line to run
    **************************************************
    
  7. 複製該項目中的指令字串。

  8. 登入安裝了 Identity Reporting 資料庫的伺服器。

  9. 在終端機中,貼上您複製的指令字串。

    附註:該指令應為 updateSQL。如果指令是 update,請將其變更為 updateSQL。

  10. 在該指令中,將代表資料庫使用者名稱和密碼的星號 (*) 取代為進行驗證所需的實際值。此外,請確保 SQL 檔案名稱是唯一的。

  11. 執行指令。

  12. (視情況而定) 如果安裝程序產生了一個 SQL 檔案,而不是在資料庫中填入資料,請將該檔案提供給資料庫管理員,讓其將該檔案輸入至資料庫伺服器。

  13. 啟動應用程式伺服器。