Differences

This shows you the differences between two versions of the page.

Link to this comparison view

programs:odxnet:home [2009/12/07 00:01]
tdo
programs:odxnet:home [2016/06/28 22:38] (current)
Line 31: Line 31:
 ==== Set up the client. ==== ==== Set up the client. ====
 Omnidex client must be installed on each client machine intending to connect to an Omnidex environment. Omnidex client must be installed on each client machine intending to connect to an Omnidex environment.
- 
 ==== Test the connection. ==== ==== Test the connection. ====
 It is always a good idea to test the connection before trying to use a client application with the data source. The Windows client tool DS EDIT is ideal for this. It is always a good idea to test the connection before trying to use a client application with the data source. The Windows client tool DS EDIT is ideal for this.
 Run the client application. Run the client application.
  
 +===== OdxNet Command Line Options =====
  
 <code> <code>
Line 77: Line 77:
  
 </code> </code>
 +
 +== Start the Listener ==
 +
 +The following directives are provided to start ODXNET from the command line.
 +<code>
 +odxnet [<cnfgfile>]
 +[-port=n]
 +[-maxsons=n]
 +[-bufsize=n]
 +[-nopools]
 +[-nohostaddresslookup]
 +[-NoPrintfs]
 +[-idletimeout=numminutes]
 +[-sleep]**Unix only**
 +[-nodaemon | -daemon]**Unix only** 
 +[-nontservice]**Windows only**
 +[-debug=ALL | PROCESS | APPS | CONNECTIONS]
 +[-dfile=<filename>]
 +</code>
 + 
 +== cnfgfile ==
 +
 +Configuration file specification. See Configuration File for details on the settings contained in this file.
 +
 +  os> odxnet /usr/omnidex/demo/odxnet_7444.cfg
 +
 +A configuration file should always be used if possible as it contains settings that cannot be defined from the command line, like the NSADMIN password. In this case, an ODXNET listener started without a configuration file, cannot be accessed from NSADMIN.
 +
 +Some of the options defined in the configuration file can be over-ridden by passing the same option with a different value. For example, assume preconnected processes are defined in the configuration file, odxnet_7444.cfg. The following will cause the listener to be started without starting any preconnected processes.
 +
 +  os> odxnet /usr/omnidex/demo/odxnet_7444.cfg -nopools
 +
 + 
 +
 +== -port=n ==
 +
 +This option sets or specifies the listener port-id number for the ODXNET process. This option is required if a configuration file is not being used. This is the number is specified in the client data source file.
 +
 +  os> odxnet -port=1232
 +
 + 
 +
 +== -maxsons=n ==
 +
 +Maximum number of son processes to allow for this listener.
 +
 +odxnet -port=1232 -maxsons=120
 +
 + 
 +
 +== -bufsize=n ==
 +
 +Buffer size to use for send/receive and compression exercises.
 +
 +  os> odxnet -port=1232 -bufsize=512
 +
 + 
 +
 +== -nopools ==
 +
 +Starts ODXNET without starting any default or configured pooled processes.
 +
 +  os> odxnet -port=1232 -nopools
 +
 + 
 +
 +== -nohostaddresslookup ==
 +
 +Skip dsn lookup for incoming client to translate its IP address to a network name.
 +
 +  os> odxnet -port=1232 -nohostaddresslookup
 +
 + 
 +
 +== -NoPrintfs ==
 +
 +Skip displaying information to the console when ODXNET is running.
 +
 +  os> odxnet -port=1232 -NoPrintfs
 +
 + 
 +
 +== -idletimeout=numminutes ==
 +
 +The server side connection is closed after client connection has been idle numminutes.
 +
 +  os> odxnet -port=1232 -idletimeout=20
 +
 + 
 +
 +== -sleep ==
 +
 +This is a Unix only directive.
 +
 +  os> odxnet -port=1232 -sleep
 +
 + 
 +
 +== -nodaemon | -daemon ==
 +
 +This is a Unix only directive.
 +
 +-nodaemon causes odxnet to run interactively in foreground of the Unix session in which it was started. -daemon is the default.
 +
 +  os> odxnet -port=1232 -nodaemon
 +
 + 
 +
 +== -nontservice ==
 +
 +This is a Windows only option.
 +
 +This option allows a listener to be run interactively when odxnet has already been installed as a service. See also: Windows Service.
 +
 +  os> odxnet -port=1232 -nontservice
 +
 +== Stop the Listener ==
 +
 +The following directives have been provided to shutdown a running ODXNET process. These directives do not apply to an ODXNET process that is running as a Windows Service.
 +
 +  odxnet [-shutdown]
 +      [-delay=n]
 +      [<cnfgfile>]
 +      [-port=n]
 +
 +The listener port id must be passed with the -shutdown directive. This can be passed with the -port=n option, where n is the listener port id, or in the configuration file.
 +
 +== -shutdown ==
 +
 +Use this option to halt a running ODXNET process.
 +
 +  os> odxnet -port=1232 -shutdown
 +
 +If the process is running interactively, you can terminate the listener from a separate server session with the -shutdown command. Or, within the same server session, CTRL + c will also terminate the listener process.
 +
 +== -delay=n ==
 +
 +Stops accepting new client requests and shuts down the listener after n seconds, to allow active queries to complete.
 +
 +  os> odxnet -port=1232 -shutdown -delay=90
 +
 + 
 +
 +== -port=n ==
 +
 +The listener port id number to shutdown. If omitted, the configuration filespec containing the listener port id, must be passed.
 +
 +  os> odxnet -port=1232 -shutdown
 +
 + 
 +
 +== cnfgfile ==
 +
 +The configuration file containing the listener port id number that will be shut down. If omitted, the -port=n option must be passed.
 +
 +  os> odxnet /usr/omnidex/demo/odxnet_7444.cfg -shutdown
 +
 +== Display Child Process Information ==
 +
 +The following directive has been provided to display information about child processes connected to the current listener.
 +
 +  odxnet [-admin=[GENERAL | SONLIST | ALL]]
 +      [<cnfgfile>]
 +      [-port=n]
 +
 + 
 +
 +== -admin=[GENERAL | SONLIST | ALL] ==
 +
 +This option displays information about all the child processes currently connected to the specified, running listener. This option is used after the listener has been started.
 +
 +GENERAL - displays statistics concerning the number of clients connected.
 +
 +SONLIST - displays a list of the child processes running through the listener.
 +
 +ALL - displays both the GENERAL and SONLIST information.
 +
 +  os> odxnet -port=1232 -admin=ALL
 +
 + 
 +
 +cnfgfile
 +The ODXNET configuration file containing the listener port ID. If omitted, the -port=n option must be passed, where n is the listener port ID.
 +
 +  os> odxnet /usr/omnidex/demo/odxnet_7444.cfg -admin=ALL
 +
 + 
 +
 +== -port=n ==
 +
 +The listener port ID. If omitted, the ODXNET configuration file containing the listener port ID must be passed.
 +
 +odxnet -port=7444 -admin=GENERAL
 +
 +== -help | -? ==
 +
 +This option displays helpful information about running odxnet.
 +
 +  os> odxnet -help
 +  os> odxnet -?
 +
 + 
 +
 +Getting Version Information
 +===== -version =====
 +
 +This option displays the following version information:
 +
 +Network Server
 +OmniAccess
 +IndexAccess
 +Software Build
 +Software Package ID
 +Compilation Timestamp
 +odxnet -version
  
 ===== Pooled Processes ===== ===== Pooled Processes =====
Line 86: Line 301:
  
 If an ODXNET configuration file is not used, pooled processes for the different application types will be created when the ODXNET listener is started, using default settings, unless the -nopools option is used. In which case, no processes will be started and no connections will be opened to any Omnidex environments until a client request is received. However, client connection times can be greatly reduced by using a waiting process, therefore, we do not recommend using the -nopools option unless specific application needs require it. If an ODXNET configuration file is not used, pooled processes for the different application types will be created when the ODXNET listener is started, using default settings, unless the -nopools option is used. In which case, no processes will be started and no connections will be opened to any Omnidex environments until a client request is received. However, client connection times can be greatly reduced by using a waiting process, therefore, we do not recommend using the -nopools option unless specific application needs require it.
- +==== Pooled Process Configuration ====
-===== OdxNet Configuration =====+
 Configuring pooled processes is done in the ODXNET configuration file. Configuring pooled processes is done in the ODXNET configuration file.
  
 
Back to top
programs/odxnet/home.1260144082.txt.gz · Last modified: 2016/06/28 22:38 (external edit)
 
 
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0