SUMMARY: setting ndd commands in Solaris 10

From: Brent <mrb_at_bmyster.com>
Date: Fri Mar 17 2006 - 15:19:13 EST
i wanted to thank Dragos Stoichitescu for the following reply:


For Solaris 9 I would add the commands (with full path for ndd) in
/etc/rcS.d/S30network.sh; the alternative is to create another script
that runs in runlevel 3 with only those commands.

For Solaris 10 I would add the commands (with full path for ndd) in
/lib/svc/method/net-init; the alternative is to create a service (a
script in /lib/svc/method) then create the xml for it in
/var/svc/manifest/site (make it dependent on multi-user-server
milestone) , then import the xml into the repository  
#svccfg -v import /var/svc/manifest/site/name-of-the-xml-file.xml
Then enable it
#svcadm -e /site/name-of-the-xml-file.xml

regards

Dragos Stoichitescu
Unix System Administrator
Vodafone - Romania

--
Brent 






---------- Original Message -----------
From: "Brent" <mrb@bmyster.com>
To: sunmanagers@sunmanagers.org
Sent: Fri, 17 Mar 2006 10:09:22 -0500
Subject: setting ndd commands in Solaris 10

> Hello,
> we have solaris 10 & 9 running openLdap which we have discovered 
> that due to the amount of authentication traffic we have we are 
> running out of allowed connections to the boxes. I want to increase 
> the amount of tcp connections allowed by doing .
> 
> ndd -set /dev/tcp tcp_conn_req_max_q 1024
> ndd -set /dev/tcp tcp_conn_req_max_q0 1024
> ndd -set /dev/tcp tcp_time_wait_interval 30000
> 
> I was thinking of putting these commands in the /etc/init.d/inetinit 
>  file as there already is ndd stuff being done from there. Where 
> typically do commands of this nature are run from on boot ?
> 
> all help is appreciated
> 
> thank you
> 
> --
> Brent -
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
------- End of Original Message -------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Mar 17 15:21:24 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:56 EST