14.7 移轉 Identity Applications

不要對資料庫使用區分大小寫的定序。區分大小寫的定序不受支援。使用區分大小寫的定序可能會導致移轉期間發生重複鍵錯誤。如果遇到重複鍵錯誤,請檢查定序並予以校正,然後重新安裝 Identity Applications。唯一受支援的定序是 SQL_Latin1_General_CP1_CI_AS。

在移轉 Identity Applications 之前,必須從 /opt/netiq/common/openssl/lib64/ 目錄安裝 libssl.so.1.0.0 和 libcrypto.so.1.0.0 程式庫。

Identity Applications 移轉過程包括以下步驟:

14.7.1 將資料庫移轉至新伺服器

如果您的使用者應用程式資料庫位於 PostgreSQL 中,請執行以下步驟:

  1. 登入安裝了 PostgreSQL 的伺服器。

  2. 開啟指令提示符,導覽至 postgres bin 目錄並將資料輸出至 .sql 檔案。

    範例:pg_dumpall -U postgres > dump.sql

  3. 登入要安裝 PostgreSQL 的新伺服器。

  4. 如下所述安裝 PostgreSQL

    1. 軟體授權和下載入口網站下載並掛接 Identity_Manager_4.8.x_Windows.iso

    2. 導覽至掛接 Identity_Manager_4.8.x_Windows.iso 的位置。

    3. 導覽至:<掛接位置>\common\packages\postgres\ 目錄

    4. 執行 PostgreSQL 安裝程式。

  5. 導覽至 C:\NetIQ\IDM\postgres 並刪除 Data 目錄。

  6. PostgreSQL 安裝位置建立一個 data 目錄,並確定 postgres 使用者有權存取該目錄。

  7. 開啟指令提示符,導覽至 postgres bin 目錄並如下所示啟始化資料庫:

    範例:initdb.exe -D C:\NetIQ\IDM\postgres\data -E WIN1252 -U postgres

  8. 確定 C:\NetIQ\IDM\postgres\data 下的 pg_hba.conf 檔案中存在以下項目。

    # IPv6 local connections:

    host all all ::1/128 trust

    host all all 0.0.0.0/0 trust

  9. 確定已在 postgresql.conf 檔案中取消備註以下項目:

    listen_addresses = '*'

    port = 5432

  10. 執行功能表執行 services.msc,重新啟動 postgres 服務。

  11. 開啟指令提示符,導覽至 postgres bin 目錄,將資料輸入至新的 PostgreSQL 資料庫,然後依照步驟 2 中所述使用收集的傾印

    範例:psql -U postgres < dump.sql

14.7.2 在新伺服器上安裝 Identity Applications

以下程序說明如何在新伺服器上安裝 Identity Application:

  1. NetIQ 下載網站下載 Identity_Manager_4.8.x_Windows.iso

  2. 掛接 .iso 檔案。

  3. 導覽至 Identity apps 目錄,安裝 Identity Applications,並跳過使用者應用程式及角色與資源服務驅動程式的部署。

    1. 選取「自訂安裝」模式。

    2. 輸入 Identity Vault 詳細資料。

    3. 取消核取部署 Identity Applications 驅動程式

  4. 選取現有 PostgreSQL 伺服器,提供所需的詳細資料,然後繼續安裝。