xref: /titanic_44/usr/src/man/man4/ncakmod.conf.4 (revision 5fd03bc0f2e00e7ba02316c2e08f45d52aab15db)
te
Copyright (C) 2001, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
NCAKMOD.CONF 4 "Sep 28, 2001"
NAME
ncakmod.conf - ncakmod configuration file
SYNOPSIS

/etc/nca/ncakmod.conf
DESCRIPTION

The ncakmod.conf file is used to configure the Solaris Network Cache and Accelerator ("NCA") kernel module. The file contains two fields, key and value.

The status key is used to indicate if the user wants to have NCA turned on as a feature. If the value of status key is enabled, then the NCA kernel module will be pushed on to the specified interfaces. If the value of the status key is disabled, then the NCA kernel module will not be pushed on to any interfaces . The default is disabled.

The httpd_door_path key specifies the path name of the Solaris Door RPC mechanism that will be used to communicate with the http daemon. The default value is /var/run/nca_httpd_1.door.

Use the nca_active key to indicate whether to allow NCA to actively open outgoing TCP connections. The default value for nca_active is disabled. If set to enabled, ncaconfd sets up NCA for each interface and then operates as a daemon, allowing NCA to make outgoing TCP connections. This functionality is possible only by using the doors interface to NCA. A web server that uses the sockets interface with PF_NCA or ncad_addr.so cannot connect by means of nca_active.

NCA supports the logging of in-kernel cache hits. See ncalogd.conf(4). NCA stores logs in a binary format. Use the ncab2clf(1) utility to convert the log from a binary format to the Common Log File format.

In order to implement changes to the ncakmod.conf file, you will need to reboot.

EXAMPLES

Example 1 A Sample ncakmod.conf File

The following is a sample ncakmod.conf file:

#
# NCA Kernel Module Configuration File
#
status=disabled
httpd_door_path=/var/run/nca_httpd_1.door
nca_active=disabled
FILES
/etc/nca/ncakmod.conf

The NCA kernel module configuration file.

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Evolving
SEE ALSO

nca(1), ncab2clf(1), ncakmod(1), door_create(3C), nca.if(4), ncad_addr(4), ncalogd.conf(4), attributes(5)

System Administration Guide: IP Services