Sun Java System Identity Synchronization for Windows 1 2004Q3 安裝與配置指南 |
第 8 章
移除軟體本章包含移除 Identity Synchronization for Windows 1 2004Q3 的程序,內容分成以下各節:
規劃解除安裝開始移除軟體前,請牢記以下注意事項:
此時,您必須解除安裝然後再重新安裝所有對應的子元件,然後重新啟動安裝有核心的 Identity Synchronization for Windows 常駐程式/服務 (詳見啟動與停止服務)。
解除安裝軟體您的系統可能含有下列部分或所有 Identity Synchronization for Windows 元件:
您的 Windows NT 系統可能含有 Windows NT 連接器和子元件。
請使用 runUninstaller.sh (Solaris) 或 uninstall.cmd (Windows) 移除所有的連接器及子元件,然後再移除核心 (如有安裝)。
本節分別說明以下主題:
解除安裝 Directory Server 外掛程式
請使用下列步驟來解除安裝 Identity Synchronization for Windows Directory Server 外掛程式。
- 啟動解除安裝程式 (在 Solaris 系統中為 runUninstaller.sh,在 Windows 系統中為 uninstall.cmd)。
這些解除安裝程式位於安裝目錄中 (預設為 /opt/SUNWisw 目錄)。
- 在「歡迎」畫面上按一下「下一步」。
- 輸入配置目錄主機名稱及連接埠號。
- 輸入針對該配置目錄所設的管理員名稱及密碼。
- 選取「解除安裝 Directory Server 外掛程式」選項。
- 輸入 Directory Server 主機名稱、通訊埠以及您的管理員憑證 (名稱及密碼)。
- 按一下「下一步」執行進一步的解除安裝相關工作。
- 在系統提示時,重新啟動安裝有外掛程式的 Directory Server。
- 會顯示一個摘要視窗。請遵循該視窗所提供的指示。
- Solaris 系統:解除安裝日誌係寫入 /var/sadm/install/logs/
- Windows 系統:解除安裝日誌係寫入 %TEMP% 目錄,其是子目錄,位於以下路徑的 Local Settings 資料夾下:
C:\Documents and Settings\Administrator
附註
在某些 Windows 系統上 (如 Windows 2000 Advanced Server),Local Settings 資料夾為隱藏資料夾。
若要檢視該資料夾和 Temp 子目錄:
開啟 Windows 檔案總管並從功能表列上選取「工具」>「資料夾選項」。「資料夾選項」對話方塊開啟後,選取「檢視」標籤並啟用「顯示隱藏檔案」選項。
按一下「關閉」結束程式。
- 如果 Directory Server 外掛程式是目標主機上安裝的唯一 Identity Synchronization for Windows 元件,則可將 isw-hostname 資料夾刪除。
解除安裝連接器
若要解除安裝連接器,請依照以下步驟:
解除安裝核心
附註
請務必先解除安裝 Directory Server 外掛程式,再解除安裝核心元件。
在外掛程式之前解除安裝核心元件會移除外掛程式位元,而不會從 Directory Server 上取消註冊這些位元,這將造成 Directory Server 無法啟動,除非您手動移除 cn=pswsync,cn=plugins,cn=config。
請依照以下說明解除安裝核心:
- 啟動解除安裝程式:
- 在「歡迎」畫面上按一下「下一步」。
- 輸入配置目錄主機名稱及連接埠號。
- 輸入針對該配置目錄所設的管理員名稱及密碼。
- 選取所要解除安裝的核心元件後,按一下「下一步」。
- 輸入配置目錄 URL,按一下「更新」,然後從下拉清單中選取相應的根字尾。
- 按一下「下一步」執行進一步的解除安裝相關工作。
- 出現摘要視窗。請遵循該視窗所提供的指示。
- 按一下「關閉」結束程式。
附註
如因故無法執行某特定連接器的連接器解除安裝程式 (例如因硬碟失敗而造成連接器檔案遺失) 時,請使用 idsync resetconn 子指令 (請參閱使用 resetconn)。
此指令會將配置目錄中的連接器狀態重設成 uninstalled,如此您即可將該連接器重新安裝至其他位置。resetconn 子指令類似於其他存取配置目錄的指令,其中包含兩個選項:
範例指令:
idsync resetconn -D “cn=Directory Manager” -w [-h CR-hostname]
[-p 389] [-s dc=example,dc=sun,dc=com] -q [-Z] [-P “cert8.db”]
[-m “secmod.db”] -e “dc=central,dc=example,dc=com” [-n]resetconn 輸出:
NOTICE:This program will reset the installation state to UNINSTALLED for the Connector associated with the specified DirectorySource 'dc=central,dc=example,dc=com'.
Changing the Connector to an UNINSTALLED state is a last resort.This is NOT meant to be used for uninstalling connectors.It is typically used if you lost a machine with the connector on it and can not run the uninstaller.Additionally, this program will rewrite the existing configuration.This can be a lengthy process.Before proceeding, you should stop the Console, any running installers, and all other system processes.You may want to export the ou=Services tree in the configuration directory to ldif as a backup.
Do you want to reset the installer settings for the connector (y/n)?
手動解除安裝主控台當您移除其他所有的 Identity Synchronization for Windows 元件之後,必須手動解除安裝主控台。
從 Solaris 系統
若要從 Solaris 系統解除安裝主控台,請依照以下步驟:
Windows 系統
若要從 Windows Active Directory 或 NT 系統解除安裝主控台,請依照以下步驟: