Home | Previous Page | Next Page   Configuring and Monitoring Dynamic Server > Configuration Parameters >

NETTYPE

syntax
NETTYPE protocol,poll_threads,connections,VP_class
Specify the protocol as iiippp where:

iii=[ipc|ipc|soc|tli]
ppp=[shm|str|tcp|spx|imc]

The protocol value is required. You cannot use any white space in the fields, but you can omit trailing commas.

4 4
onconfig.std values
4
On UNIX: None 4
4On Windows: onsoctcp, drsoctcp,1,NET 4
if not present
protocol:

4On UNIX: protocol field from the sqlhosts file (with or 4without the database server prefix of on, ol, or dr)

On Windows: onsoctcp

number of poll_threads: 1 number of connections: 50 VP_class: NET for DBSERVERALIASES;
CPU for DBSERVERNAME

separators
Commas
range of values
number of poll_threads:

On UNIX:
If VP_class is NET, a value greater than or equal to 1 If VP_class is CPU, 1 through num_cpu_vps

On Windows:
Any value greater than or equal to 1

number of connections: 1 through 32,767 VP_class:
CPU = CPU VPs (on UNIX)
NET = Network VPs

takes effect
When the database server is shut down and restarted
utilities
onstat -g nsc (See page onstat -g Monitoring Options.)
onstat -g nss
onstat -g nta
refer to
The following sections in the IBM Informix Administrator's Guide:

Configuring MaxConnect in IBM Informix MaxConnect User's Guide

The NETTYPE parameter usually provides tuning options for the protocols that dbservername entries define in the sqlhosts file or registry.

Each dbservername entry in the sqlhosts file or registry is defined on either the DBSERVERNAME parameter or the DBSERVERALIASES parameter in the ONCONFIG file.

The NETTYPE configuration parameter describes a network connection as follows:

You can specify a NETTYPE parameter for each protocol that you want the database server to use. The following example illustrates NETTYPE parameters for two types of connections to the database server: a shared memory connection for local clients, and a network connection that uses sockets:

NETTYPE ipcshm,3,,CPU
NETTYPE soctcp,,20,NET

The NETTYPE parameter for the shared-memory connection (ipcshm) specifies three poll threads to run in CPU virtual processors. The number of connections is not specified, so it is set to 50. The NETTYPE parameter for the sockets connection (soctcp) specifies that only 20 simultaneous connections are expected for this protocol and that one poll thread (because the number of poll threads is not specified) will run in a network virtual processor (in this case, NET).

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]