eDirectory on Multiple NICs

0 Likes
over 11 years ago

Problem: How do I bind eDirectory to the new IP address on the new card added (second NIC added after the eDirectory configuration).



There might be deployments where initially eDirectory is configured on a server with a single NIC. Later, if another NIC is added to it, how do we ensure that eDirectory is bounded by this new IP address as well, along with the existing IP address. One way is to make multiple instances with custom ports and the second NIC. In such a case, the administrator has to manage multiple trees.



Solution: One can associate the same instance of eDirectory to multiple IP addresses using the following the steps.




  1. Set the ncp port to the new ip address along with the existing.

    Example: ndsconfig set n4u.server.interfaces=164.99.156.15@524,164.99.156.14@524


  • Set the http port to the new ip address along with the existing.

    Example: ndsconfig set n4u.server.interfaces=164.99.156.15@8028,164.99.156.14@8028


  • Set the https port to the new ip address along with the existing.

    Example: ndsconfig set n4u.server.interfaces=164.99.156.15@8030,164.99.156.14@8030



In the above example, 164.99.156.15 is the first NIC with which eDirectory is initially configured and 164.99.156.14 is the NIC that is added later.



Note: There is no need to set the TCP-389/TLS-636 ports because by default it listens on all. The above can also be done by editing the values of nds.conf. One has to restart eDirectory using /etc/init.d/ndsd restart to make the above changes of associating the instance with the IP addresses take effect.


 

 

Tags:

Labels:

How To-Best Practice
Comment List
Anonymous
Parents
  • You should fix the syntax in the original post. It is horribly inaccurate and worthless. Furthermore frustrating to realize it's wrong after you've followed it, then have to troubleshoot and figure out the whole thing was wrong. The comments are helpful but nobody should have to rely on the comments when the original cool solutions article should suffice.
Comment
  • You should fix the syntax in the original post. It is horribly inaccurate and worthless. Furthermore frustrating to realize it's wrong after you've followed it, then have to troubleshoot and figure out the whole thing was wrong. The comments are helpful but nobody should have to rely on the comments when the original cool solutions article should suffice.
Children
No Data
Related Discussions
Recommended