Mastering Nginx

(Ron) #1

Persisting Solaris Network Tunings


[ 284 ]

Place it in /var/svc/manifest/site/network-tuning.xml and import with the


following command:


svccfg import /var/svc/manifest/site/network-tuning.xml


You should see the following output:


<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_
bundle.dtd.1">

<service_bundle type='manifest' name='SUNW:network_tuning'>

<service
name='site/network_tuning'
type='service'
version='1'>

<create_default_instance enabled='true' />

<single_instance />

<dependency
name='usr'
type='service'
grouping='require_all'
restart_on='none'>
<service_fmri value='svc:/system/filesystem/minimal' />
</dependency>

<!-- Run ndd commands after network/physical is plumbed. -->
<dependency
name='network-physical'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/network/physical' />
</dependency>

<!-- but run the commands before network/initial -->
<dependent
name='ndd_network-initial'
grouping='optional_all'
Free download pdf