13.3 將檔案新增至 Linux/UNIX 平台上的正確位置

當您執行從 eDirectory 8.7.3 至 eDirectory 8.8.5 的本機升級時,安裝程序會將 eDirectory 檔案置於其他位置。因為您已安裝 Identity Manager,所以 eDirectory 將不會啟動,除非特定的 Identity Manager 檔案位於適當的位置。請完成下列步驟,將檔案新增至正確的位置:

  1. 將 eDirectory 升級至 8.8.5 後,請使用以下指令執行 Identity Manager 安裝:

    ./install.bin -i console -DCLUSTER_INSTALL=true
    

    這樣可以加上正確的檔案,而不需向 eDirectory 驗證。

  2. 輸入 ndsconfig upgrade 以升級 eDirectory 檔案。

  3. 驗證 nds.conf 檔案中是否有下列項目:

    n4u.server.interfaces=<ipaddress>@<port>

    例如︰n4u.server.interfaces=<ipaddress>@524

    n4u.server.interfaces 項目不存在,您應手動設定。若要設定 n4u.server.interfaces,請執行以下操作︰

    1. 執行以下指令以尋找 ncp 埠︰

      ndsconfig get "n4u.server.interfaces"

      此指令會傳回 ncp 埠號碼,例如,n4u.server.interfaces=@524

    2. 執行以下指令以設定 n4u.server.interfacesndsconfig

      ndsconfig set n4u.server.interfaces=<ipaddress>@<port>

      其中,

      <ipaddress> 是 eDirectory 所在機器的 IP 位址。

      <port> 是您在步驟 1 中獲取的 ncp 埠號碼。

      例如:

      ndsconfig set n4u.server.interfaces=<ipaddress>@524

  4. 繼續進行節 13.5, 升級 Metadirectory 引擎與驅動程式組態檔案