不要对数据库使用区分大小写的排序。区分大小写的排序不受支持。使用区分大小写的排序可能会导致迁移期间出现重复键错误。如果遇到重复键错误,请检查排序规则并更正它,然后重安装 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 迁移过程包括以下步骤:
如果您的 User Application 数据库位于 PostgreSQL 中,请执行以下步骤:
登录到安装了 PostgreSQL 的服务器。
打开命令提示符,导航到 postgres bin 目录并将数据导出到 .sql 文件。
示例:pg_dumpall -U postgres > dump.sql
登录到要安装 PostgreSQL 的新服务器。
如下所述安装 PostgreSQL:
从软件许可和下载门户下载并装入 Identity_Manager_4.8.x_Windows.iso。
导航到装入 Identity_Manager_4.8.x_Windows.iso 的位置。
导航到:<装入位置>\common\packages\postgres\ 目录。
运行 PostgreSQL 安装程序。
导航到 C:\NetIQ\IDM\postgres 并删除 Data 目录。
在 PostgreSQL 安装位置创建一个 data 目录,并确保 postgres 用户有权访问该目录。
打开命令提示符,导航到 postgres bin 目录并如下所示初始化数据库:
示例:initdb.exe -D C:\NetIQ\IDM\postgres\data -E WIN1252 -U postgres。
确保 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
确保已在 postgresql.conf 文件中取消注释以下项:
listen_addresses = '*'
port = 5432
从运行菜单运行 services.msc,重启动 postgres 服务。
打开命令提示符,导航到 postgres bin 目录,将数据导入新的 PostgreSQL 数据库,然后按照步骤 2 中所述使用收集的转储。
示例:psql -U postgres < dump.sql。
以下过程说明如何在新服务器上安装 Identity Application:
从 NetIQ 下载网站下载 Identity_Manager_4.8.x_Windows.iso。
装入 .iso 文件。
导航到 Identity apps 目录,安装 Identity Applications,并跳过 User Application 和 Roles and Resources Service 驱动程序的部署。
选择“自定义安装”模式。
输入身份库细节。
取消选中部署 Identity Applications 驱动程序。
选择现有 PostgreSQL 服务器,提供所需的细节,然后继续安装。