Identity Manager 4.5 修補程式檔案包含 Identity Manager 伺服器和 Remote Loader 的更新。您只能以 GUI 和靜默模式安裝 Identity Manager 4.5 修補程式。不支援主控台模式。
停止 eDirectory。
如果 eDirectory 未停止,修補程式安裝程式會嘗試將它停止。
停止 Remote Loader 服務。
如果 Remote Loader 正在使用中,修補程式安裝程式將無法取代它。
(視情況而定) 設定非 root 安裝的 Java 路徑。
編輯 install.sh 檔案中的 JAVA_NONROOT 變數,或輸出 Java 1.7 路徑。
對 root 和非 root 安裝執行以下步驟。
前往 NetIQ 下載網頁。
在修補程式下面,按一下搜尋修補程式。
在搜尋方塊中指定 Identity Manager 4.5 修補程式,下載相應的修補程式檔案,然後解壓縮該檔案的內容。
切換至檔案解壓縮目錄 cd-image。根據您的平台執行下列其中一個指令:
Linux︰ 執行 ./install.sh 指令 (在終端機視窗中)。
Windows: 啟動 install.bat 檔案。
(視情況而定) 如果 eDirectory 正在執行中,修補程式安裝程式會將它停止。按一下確定繼續安裝。
或
如果修補程式安裝程式無法停止 eDirectory,則會顯示警告訊息。手動停止 eDirectory,然後按一下確定以繼續安裝。否則,請按一下取消以停止安裝。
從顯示的修補程式安裝程式頁面中,選取安裝所針對的目標元件,然後按一下安裝。
(視情況而定) 若要執行非 root 安裝,請按一下瀏覽,指定 Identity Manager 伺服器的修補程式安裝路徑,然後按一下安裝。
對於非 root 安裝,我們僅提供 Identity Manager 伺服器修補程式。
(視情況而定) 如果您在執行步驟 6 時選取了 Remote Loader,一則警告訊息將會顯示。請停止 Remote Loader 服務,然後按一下確定。
或
如果 Remote Loader 服務已停止,請按一下確定。
對於 Remote Loader,如果修補程式安裝程式無法偵測電腦上安裝的 32 位元或 64 位元 Remote Loader,則會啟用瀏覽按鈕。請使用瀏覽按鈕指定 Remote Loader 的修補程式安裝路徑。
在 Linux 上,瀏覽按鈕預設可用於 Identity Manager 伺服器。在 Windows 上,該按鈕預設不可用。
在輸出螢幕中檢閱所選元件的安裝狀態,然後按一下完成。
(視情況而定) 驗證是否已為您在步驟 6 中選取的 Identity Manager 元件成功套用修補程式。
Linux: 請進行下列幾項操作:
檢查 Identity Manager 伺服器追蹤資訊,以確認您的 Identity Manager 版本是否已更新。追蹤視窗會顯示以下輸出:
<product version="4.5.x.x">DirXML</product>
其中,x 為 Identity Manager 修補程式的版本。
執行 rpm -qa | grep nov | grep 4.5 指令,以驗證 Identity Manager RPM 是否已安裝在您的電腦上。
Windows: 請進行下列幾項操作:
檢查修補程式安裝程式所更新檔案的修改日期。
驗證是否已為 Remote Loader 成功套用該修補程式:
啟動 Remote Loader。
移至內容,在 rlconsole.exe 上按一下滑鼠右鍵,然後選取內容。
按一下詳細資料索引標籤,然後檢查檔案版本中的值是否為 4.5.x.x。
其中,x 為 Identity Manager 修補程式的版本。
若要在 GUI 中執行非 root 安裝:
輸出 java1.7 路徑,或者編輯 install.sh JAVA_NONROOT,使其指向正確的 java1.7 路徑。
停止 eDirectory 精靈。
執行 install.sh 檔案。
瀏覽至 eDirectory 的基礎位置。例如 /home/<user>/eDirectory。
按一下「安裝」。
若要執行 Identity Manager 4.5 修補程式的靜默安裝,您必須修改 cd-image 目錄中的範例 patchUpgradeSilent.Properties 檔案。使用適用於您平台的正確指令啟動靜默安裝:
Linux︰ <修補程式位置>/install.sh -i silent -f <檔案名稱>
Windows: <修補程式位置>\install.bat -i silent -f <檔案名稱>
範例 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 伺服器安裝路徑的選項。修補程式安裝程式將使用安裝 Identity Manager 4.5 時指定的相同安裝路徑。
記錄檔案位於以下位置:
Linux︰ /tmp/logs/idmPatchInstall.log
Windows: \%Temp%\logs
系統會在 \%UserProfile%\PatchInstallerBackUp<Date><Time> 位置建立修補程式安裝程式備份資料夾。只有在 Windows 上會建立備份資料夾。
若要以 root 或非 root 身分執行 Identity Manager 修補程式安裝程式:
以您要向其套用修補程式之 Identity Manager 例項的使用者身分登入電腦。
輸出 java1.7 路徑,或者編輯 install.sh JAVA_NONROOT,使其指向正確的 java1.7 路徑。
停止 eDirectory 精靈。
編輯 patchUpgradeSilent.Properties,將 engine_Location 內容取消註解,使其指向 Identity Manager 引擎的確切位置。
執行 install.sh 檔案。
附註:如果您以 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 繼續。