120
Chapter 6 Configuring Verity K2 Server
Starting K2 Server
The ColdFusion installer places the K2 files into the following directories:
•
Windows platforms:
cfusion\bin
•
UNIX:
opt/coldfusion/verity/<platform>/bin
The K2 Server is started from the command line or from a script in the Unix
environment and can be integrated as a service within the Windows NT
environment. The server is designed to run with a minimum of intervention. Most
configuration parameters are set in a configuration file, which can be given a
user-assigned name (the default file name is
k2server.ini
).
Command-line arguments include the name of the configuration file, the TCP port
for incoming connections and the verbosity level for informational messages. The K2
Server has a warm restart capability, designed to keep the server’s well-known TCP
port open in case of a crash and to allow changes in the configuration file to be
initialized without killing the primary server process.
The K2 Server is started by the using the following command:
k2server [<option1> <option2> ...]
The options available for this command are summarized in the following table:
Keyword
Permitted values
Function
-port <value>
Positive integer
Identifies the TCP port number for use by
the K2 Acceptor. To run the K2 Server as
an NT service, use the -ntservice keyword
and do not specify a port number using the
-port keyword.
-iniFile <filename>
Any valid filename
Identifies the filename to use as
theconfiguration file for this instance of the
K2 Server.
-verbose <value>
0 = status
1 = informational
2 = verbose
3 = debug
Determines the amount of information
contained in the K2 Server system
messages.
-iniEmit <filename>
Any valid filename
Creates a sample configuration file.
-ntService <value>
1 = load as NT service
0 = remove as NT service
Used to load or remove the K2 Server as
an NT service. When set to 1, the server is
loaded as an NT service. When set to 0,
the server is removed as an NT service.
Note: To run the K2 Server as an NT
service, do not specify a port number
using the -port keyword.
Not applicable to non-Windows platforms.
Summary of Contents for COLDFUSION 5-ADVANCED ADMINISTRATION
Page 1: ...Macromedia Incorporated Advanced ColdFusion Administration ColdFusion 5...
Page 20: ......
Page 56: ...38 Chapter 1 Advanced Data Source Management...
Page 74: ...56 Chapter 2 Administrator Tools...
Page 76: ......
Page 86: ...68 Chapter 3 ColdFusion Security...
Page 87: ...To Learn More About Security 69...
Page 88: ...70 Chapter 3 ColdFusion Security...
Page 130: ...112 Chapter 5 Configuring Advanced Security...
Page 132: ......
Page 154: ...136 Chapter 6 Configuring Verity K2 Server...
Page 162: ...144 Chapter 7 Indexing XML Documents...
Page 202: ...184 Chapter 8 Verity Spider...
Page 236: ...218 Chapter 10 Verity Troubleshooting Utilities...
Page 238: ......
Page 348: ...330 Chapter 14 ClusterCATS Utilities...
Page 349: ...Using sniff 331...
Page 350: ...332 Chapter 14 ClusterCATS Utilities...
Page 362: ...344 Chapter 15 Optimizing ClusterCATS...
Page 372: ...354 Index...