I'm modifying some TCP parameters in an exclusive-IP non-global zone on Solaris.
I've set the parameters via ndd, like tcp_recv_hiwat, tcp_xmit_hiwat
, etc.
I want these changes to persist during reboots, but the /etc/system file is not in a non-global zone. Can I use rc.d startup script, or is there another way to apply these settings on reboot of zone?
Best Answer
I would not use an rc.d startup script anymore. The new way to do this since Solaris 10 is an SMF service.
To get started you can find a SMF service template at http://opensolaris.org/os/community/smf/manifests. Look for 'site/ndd'. The XML file has further instructions about how to use it as a service.