Sun Solaris 9

connections. If you increase the rlim_fd_max value to over 4096, you must decrease the tcp_smallest_anon_port value in the /etc/init.d/inetinit file.

ndd -set /dev/tcp tcp_smallest_anon_port 8192

• Reboot the Solaris machine to apply these changes.

2.4.2.3. DNS and NIS Requirements

It is very important that DNS and reverse DNS be working correctly on the host machine, especially if you are using TLS/SSL or Kerberos with Directory Server.

Configure the DNS resolver and the NIS domain name by the modifying the /etc/resolv.conf, /etc/nsswitch.conf, and /etc/netconfig files, and set the DNS resolver for name resolution.

Edit the /etc/defaultdomain file to include the NIS domain name. This ensures that the fully-qualified host and domain names used for the Directory Server resolve to a valid IP address and that that IP address resolves back to the correct hostname.

Then, reboot the Solaris machine to apply these changes.

2.4.2.4. File Descriptors

For a large deployment or to support a large number of concurrent connections, increase the number of file descriptors available for the Directory Server. This requires accessing the system-wide maximum file descriptor table. The governing parameter, rlim_fd_max, is in the /etc/system file. By default, if this parameter is not present, the allowed maximum value is 1024. You can increase this to 4096 by adding the line, set rlim_fd_max=4096 to the /etc/system file.

Reboot the Solaris machine to apply these changes.

To determine the soft limit for file descriptors, run the command ulimit -n. You can also use the dsktune utility to determine the file descriptor hard and soft limits, as described in Section 2.1, “Using dsktune”.

27

Page 37
Image 37
HP UX Red Hat Direry Server Software manual DNS and NIS Requirements, File Descriptors