本節為要升級至新 Solaris 10 發行版本的 iPlanetTM Directory Server 5.1 使用者提供重要的資訊。
Sun Java System Directory Server 5 2005Q1 取代了整合於 Solaris 9 作業系統中的 iPlanet Directory Server 5.1。在 Solaris 10 作業系統中,此新的目錄伺服器可以做為 Sun Java Enterprise System 的一部分進行安裝。
如需有關 Sun Java System Directory Server 5 2005Q1 的資訊,請參閱 http://docs.sun.com 上的 Sun Java System 文件。
Solaris 10 作業系統仍支援 Directory Server 5.1。在下列情況下,您可能需要安裝 Directory Server 5.1:
您需要恢復 Directory Server 5.1 的資料。
您想要將資料遷移至 Directory Server 5 2005Q1。
在 Solaris 10 發行版本中,您需要手動安裝 Directory Server 5.1。請執行以下步驟︰
請將 Solaris 10 Software - 5 CD 插入您的 CD-ROM 光碟機。
成為超級使用者。
在終端機視窗中,安裝目錄伺服器。
# cd /cdrom/cdrom0/Solaris_10/Product/ # pkgadd -d . IPLTnls IPLTnspr IPLTnss IPLTjss IPLTpldap \ IPLTdsr IPLTdsu IPLTadmin IPLTcons IPLTadcon IPLTdscon \ IPLTadman IPLTdsman |
若要安裝簡體中文本土化套裝軟體,請輸入下列附加指令:
# pkgadd -d . IPLTcdsu IPLTcadmin IPLTccons IPLTcadcon \ IPLTcdscon IPLTcadman IPLTcdsman |
若要安裝日文本土化套裝軟體,請輸入下列附加指令:
# pkgadd -d . IPLTjdsu IPLTjadmin IPLTjcons IPLTjadcon \ IPLTjdscon IPLTjadman IPLTjdsman |
完成安裝後,請配置 iPlanet Directory Server 5.1。請參閱「System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)」中的第 11 章「Sun ONE Directory Server Configuration」。
這兩個目錄伺服器版本的資料庫格式不相容。因此,如果您是 Directory Server 5.1 的使用者,Sun 建議您將資料庫遷移至 Sun Java System Directory Server 5 2005Q1 格式的資料庫。
若要執行遷移作業,兩個版本的目錄伺服器必須存於已升級至 Solaris 10 作業系統的系統上。如果您是 DS 5.1 的使用者,但使用壓縮的歸檔 (.tar.gz) 傳遞格式,您可以立即略過步驟 2 中的遷移指示。
在終端機視窗中,檢查系統中是否存在 iPlanet Directory Server 5.1 套裝軟體。
$ pkginfo | grep IPLT |
如果下列套裝軟體以輸出方式顯示,則您可以前往步驟 2 繼續進行遷移作業。下列輸出指出系統中有 iPlanet Directory Server 5.1 套裝軟體。
system IPLTadcon Administration Server Console system IPLTadman Administration Server Documentation system IPLTadmin Administration Server system IPLTcons Console Client Base system IPLTdscon Directory Server Console system IPLTdsman Directory Server Documentation system IPLTdsr Directory Server (root) system IPLTdsu Directory Server (usr) system IPLTjss Network Security Services for Java system IPLTnls Nationalization Languages and Localization Support system IPLTnspr Portable Runtime Interface system IPLTnss Network Security Services system IPLTpldap PerLDAP $ |
如果套裝軟體不存在,請先安裝 iPlanet Directory Server 5.1 套裝軟體。請參閱前一節安裝 Directory Server 5.1中的步驟 4 程序。安裝完成之後,請前往步驟 2 繼續進行遷移作業。
將您的 iPlanet Directory Server 5.1 資料庫遷移至目前的版本。如需指示,請參閱 http://docs.sun.com/coll/DirectoryServer_05q1 上的 Sun Java System Directory Server 文件集合。
遷移資料之後,請確認您用於繼續備份目錄資料的方法與遷移之前備份目錄資料的方法相同。未來進行損壞恢復時可能需要已遷移的資料庫。