Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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 Look for 'site/ndd'. The XML file has further instructions about how to use it as a service.

share|improve this answer

Adding an appropriately-symlinked script to /etc/init.d is probably the easiest way to achieve what you want. Instructions here.

You might be able to create a SMF service to do the same thing, but it's a tad more complicated (and I've not attempted to do it inside a zone). If you want to try anyway, you should be able to use this as a starting point (Look for the "Tuning TCP Settings on Solaris 10 Systems" section).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.