16.6 升級 Identity Reporting

Identity Reporting 中包含兩個驅動程式。此外,您需要將 NetIQ Event Auditing Service 中的內容移轉至 Sentinel Log Management for IGA。依照以下順序執行升級:

  1. 升級 Sentinel Log Management for IGA。如需詳細資訊,請參閱《NetIQ Identity Manager 安裝和升級指南 - Linux》中的「升級 Sentinel Log Management for IGA」。

  2. 升級 Identity Reporting。

16.6.1 升級先決條件

如果您的資料庫是透過 SSL 設定的,請在位於 C:\NetIQ\idm\apps\tomcat\conf 路徑下的 server.xml 檔案中,以 sslmode=require 取代 ssl=true。

例如,將

jdbc:postgresql://<postgres db>:5432/idmrptdb?ssl=true

變更為

jdbc:postgresql://<postgres db>:5432/idmrptdb?sslmode=require

16.6.2 升級 Identity Reporting

升級 Identity Reporting 前必須先升級 Identity Applications 和 SLM for IGA。若要升級 Identity Reporting,請在舊版本的基礎上安裝新版本。

升級 Identity Reporting 需要執行的步驟如下:

  1. 從 NetIQ 下載網站下載 Identity_Manager_4.9.0_Windows.iso。

  2. 掛接下載的 .iso。

  3. 導覽至 <ISO 安裝位置>\IdentityReporting 資料夾,然後執行 install.exe。

  4. 選取安裝時要使用的語言,然後按一下確定。

  5. 在「簡介」頁面中按下一步。

  6. 閱讀並接受授權合約,然後按下一步。

    安裝的元件及其版本即會顯示。

  7. 選取 Identity Reporting,然後按下一步。

  8. 指定 Identity Reporting 的組態設定。如需詳細資訊,請參閱Identity Reporting 的組態工作表。

  9. 在「升級前摘要」頁面中查看設定,然後按一下升級。

附註:ism-configuration.properties 檔案中的 com.netiq.rpt.ssl-keystore.type 內容將保留升級之前設定的值 (JKS/PKCS12)。

附註:如果您將 Identity Reporting 從 4.8.7 升級至 4.9,將在 c:\netiq\idm\apps\tomcat\conf 位置備份基於 Java 8 的 tomcat。

16.6.3 Reporting 的升級後步驟

在升級期間,如果您針對何時建立 Identity Reporting 的綱要提示選取了啟動或檔案選項,則必須從 Identity Reporting 使用者介面手動新增資料來源。若要新增資料來源,請導覽至資料來源選項,按一下新增,然後從清單中選擇 IDMDCSDataSource。另外,請在啟動 Tomcat 後重新啟動一次,以確定可用資料庫正常執行。

將 Identity Reporting 升級至 4.9 之後,導覽至 /opt/netiq/idm/apps/tomcat/conf/ 目錄中的 ism-configuration.properties 檔案,並執行以下動作:

  • 依如下所示變更 com.netiq.rpt.landing.url 內容的值:

    com.netiq.rpt.landing.url = ${com.netiq.idm.osp.url.host}/idmdash/#/landing

  • 依如下所示變更 com.netiq.idmdcs.landing.url 內容的值:

    com.netiq.idmdcs.landing.url = ${com.netiq.idm.osp.url.host}/idmdash/#/landing

  • 採用以下格式指定 com.netiq.rpt.redirect.url 內容的值:https:<主機名稱>:<連接埠>/路徑

    例如 com.netiq.rpt.redirect.url = https://192.168.0.1:8543/IDMRPT/oauth.html

將 Identity Manager 從 4.7.5 升級至 4.9 後,組態更新公用程式中的金鑰儲存區檔案類型將自動變更為 pkcs12。在對以下項目進行升級之前,請務必在組態更新公用程式中,將 jks 中金鑰儲存區檔案的類型從 pkcs12 變更為 jks:

  • Identity Vault 證書

  • 驗證伺服器

  • 驗證金鑰

  • RBPM

將 Identity Reporting 從 4.7.5 升級至 4.9 後,執行以下步驟:

  1. (視情況而定) 如果您已在分散式設定中安裝 Identity Applications,請編輯 configupdate.properties 並將 edition 變更為 advanced。

  2. 在 configupdate 中做出以下變更:

    • 指定正確的 OSP 連接埠。

    • 確定根據 TLS 項目校正所有索引標籤中的資料。

  3. 更新 ism-configuration.properties 中的以下內容:

    com.netiq.rpt.authserver.url = https://apps.<example>.com:8543
    com.netiq.rpt.ssl-keystore.file = C:\\\\NetIQ\\\\IDM\\\\apps\\\\tomcat\\\\conf\\\\idm.jks
    com.netiq.rpt.ssl-keystore.pwd._attr_obscurity = ENCRYPT
    com.netiq.rpt.ssl-keystore.pwd = GqJVxLBPwgWLK1/ULnOb4A==:JoxqTICngaIQtU3z/u7v/w==:2jk5gzsEca+kaz6x7xjE6g==
    com.netiq.rpt.ssl-keystore.type = JKS/PKCS12
    com.netiq.idm.osp.oauth-truststore.file = C:\\\\NetIQ\\\\IDM\\\\apps\\\\tomcat\\\\conf\\\\idm.jks
    com.netiq.idm.osp.oauth-truststore.pwd._attr_obscurity = ENCRYPT
    com.netiq.idm.osp.oauth-truststore.pwd = GqJVxLBPwgWLK1/ULnOb4A==:JoxqTICngaIQtU3z/u7v/w==:2jk5gzsEca+kaz6x7xjE6g==
  4. 重新啟動 tomcat 服務。

16.6.4 變更對資料庫中 reportRunner 的參考

升級 Identity Reporting 後,請務必在第一次啟動 Tomcat 之前更新對資料庫中 reportRunner 的參考。

  1. 停止 Tomcat。

  2. 導覽至 Identity Reporting 安裝目錄,然後將 reportContent 資料夾重新命名為 ORG-reportContent。

    例如:C:\NetIQ\idm\apps\IdentityReporting

  3. 清理 Tomcat 資料夾下的臨時目錄和工作目錄。

  4. 登入 PostgreSQL 資料庫。

    1. 在下面的表中尋找 reportRunner 參考:

      • idm_rpt_cfg.idmrpt_rpt_params

      • idm_rpt_cfg.idmrpt_definition

    2. 發出以下 delete 陳述式:

      DELETE FROM idm_rpt_cfg.idmrpt_rpt_params WHERE rpt_def_id='com.novell.content.reportRunner';
      DELETE FROM idm_rpt_cfg.idmrpt_definition WHERE def_id='com.novell.content.reportRunner';
  5. 啟動 Tomcat。

    檢查記錄以確定使用正確的 reportRunner 是否可重新產生報告。

  6. 登入 Identity Reporting 並執行報告。

16.6.5 驗證 Identity Reporting 的升級

  1. 啟動 Identity Reporting。

  2. 驗證舊報告和新報告是否顯示在工具中。

  3. 查看行事曆,以確定是否顯示了已排程報告。

  4. 確保設定頁面顯示了受管理和不受管理應用程式的先前設定。

  5. 檢查其他所有設定看上去是否正確。

  6. 檢查應用程式是否列出已完成報告。