Identity Manager 引擎和 Remote Loader 热修复会更新 Identity Manager 服务器和 Remote Loader。您只能通过引导 (GUI) 模式和无提示模式安装热修复。热修复不支持控制台模式。
要查看安装的日志文件,请导航到以下位置:
Linux:/tmp/logs/idmPatchInstall.log
Windows:\%Temp%\logs
注:对于 Windows 服务器,热修复会在 \%UserProfile%\PatchInstallerBackUp<日期><时间> 目录中创建备份文件夹。
在安装热修复之前,请完成以下步骤:
停止 eDirectory 守护程序。
如果不停止 eDirectory,热修复安装程序将尝试停止该程序。如果安装程序无法停止 eDirectory,将会显示一条警告讯息。然后,您将需要手动停止 eDirectory。
停止 Remote Loader 服务。
如果 Remote Loader 正在使用中,热修复将无法更新 Remote Loader。
(视情况而定)要以非 root 身份安装,请完成下列其中一个操作以设置 Java 路径:
在热修复的 install.sh 文件中编辑 JAVA_NONROOT 变量。
导出 Java 1.8 路径。
在浏览器中,导航到 NetIQ 下载页面。
在增补程序下,单击搜索增补程序。
在搜索框中指定 Identity Manager nn patch
下载文件并解压缩其内容。
要以 root 身份安装,请完成以下步骤。
确保已完成安装热修复的先决条件。有关详细信息,请参见部分 56.1.1, 安装热修复的先决条件。
以 root 身份登录要运行热修复的服务器。
导航到您之前解压缩热修复文件的 cd-image 目录。
有关详细信息,请参见部分 56.1.1, 安装热修复的先决条件。
根据您的平台运行以下命令之一:
Linux 在终端窗口中执行 ./install.sh 命令。
Windows 起动 install.bat 文件。
选择要安装的组件,然后单击安装。
(视情况而定)要更新 Remote Loader,请完成以下操作:
出现有关停止 Remote Loader 的警告讯息时,单击确定。
确保您已停止 Remote Loader。
如果安装程序无法检测到计算机上安装的 32 位或 64 位 Remote Loader,请浏览到 Remote Loader 的安装路径。
注:默认情况下,热修复安装程序会为 Linux 上的 Identity Manager 服务器提供浏览选项。而在 Windows 上,该按钮默认不可用。
查看所选组件的安装状态,然后单击完成。
(视情况而定)Linux:要校验是否已成功为您在步骤 5 中选择的 Identity Manager 组件应用热修复,请完成以下步骤:
检查 Identity Manager 服务器跟踪,以校验您的 Identity Manager 版本是否已更新。跟踪窗口显示以下输出内容:
<product version="4.5.n.n">DirXML</product>
其中,n 表示 Identity Manager 热修复的版本。
要校验 Identity Manager RPM 是否已安装在您的计算机上,请运行以下命令:
rpm -qa | grep nov | grep 4.5
(视情况而定)Windows:要校验是否已成功为您在步骤 5 中选择的 Identity Manager 组件应用热修复,请完成以下步骤:
检查热修复安装程序所更新文件的修改日期。
起动 Remote Loader。
单击属性,然后右键单击 rlconsole.exe。
单击属性 > 细节。
校验文件版本中的值是否为 4.5.n.n,其中,n 表示 Identity Manager 热修复的版本。
要以非 root 身份使用引导式过程安装,请完成以下步骤。
确保已完成安装热修复的先决条件。有关详细信息,请参见部分 56.1.1, 安装热修复的先决条件。
以非 root 用户身份登录要运行热修复的服务器。
运行 install.sh 文件。
浏览到 eDirectory 的基本位置。例如:/home/<user>/eDirectory。
单击安装。
要以无提示模式运行 Identity Manager 热修复安装程序,您必须拥有 patchUpgradeSilent.Properties 文件。NetIQ 提供了示例文件,默认位于 cd-image 目录中。可将此过程用于以 root 或非 root 身份进行的安装。
确保已完成安装热修复的先决条件。有关详细信息,请参见部分 56.1.1, 安装热修复的先决条件。
修改 patchUpgradeSilent.Properties 文件的内容。
示例文件包含以下信息:
#Silent Properties File IDMPatchInstaller #eDirectory and RemoteLoader services should be stopped before installation #Set this property to true/false for Engine Upgrade for root and non root install install_Engine=true #Set this property to true/false for Remote Loader32 Upgrade install_RL32=true #Set this property to true/false for Remote Loader64 Upgrade install_RL64=true #Set this property for Engine Upgrade for NON ROOT user #eg: If the engine location is /home/eDirectoryNonRoot/eDirectory/opt/novell/eDirectory select till eDirectory(parent directory of /opt) engine_Location=/home/eDirectoryNonRoot/eDirectory/ #Set this property for Remote Loader 32-Bit Install location #Only for Windows RL32_Location=C:\\Novell\\IdentityManager\\RemoteLoader\\32bit #Set this property for Remote Loader 64-Bit Install location #Only for Windows RL64_Location=C:\\Novell\\IdentityManager\\RemoteLoader\\64bit
注:在 Windows 服务器上,热修复安装将使用以前安装 Identity Manager 4.5 时指定的 Identity Manager 引擎服务器安装路径。
(视情况而定)若以非 root 身份进行安装,请取消注释 engine_Location 属性,以指向 Identity Manager 引擎的确切位置。
要起动安装过程,请输入以下命令之一:
Linux:<热修复位置>/install.sh -i silent -f <文件名>
Windows:<热修复位置>\install.bat -i silent -f <文件名>
注:如果您以 root 用户身份运行 Identity Manager 的非 root 用户安装,则安装程序会显示以下警告:
NetIQ recommends that you apply only patches pertaining to the installed IDM version. If you understand the risk and want to proceed, type yes else no.
请忽略该警告讯息,然后输入 Yes 以继续。