A config-fit Reference

This appendix provides information about the config-fit script.

Overview of the config-fit Script

The config-fit script configures the Field Input Transformer (FIT) on a Cassandra/Solr node. The config-fit script is provided as part of the Comms FIT software, which you download and install separately from the Messaging Server software. By default, the config-fit script is located in the /opt/sun/comms/cas/bin directory.

Syntax

config-fit [options]

Table A-1 describes the config-fit options.

Table A-1 config-fit Options

Option Description

-r DSE_HOME, --dsehome DSE_HOME

Specifies the DSE HOME directory. The default is /usr/share/dse.

-h ISC_Hosts, --ischost ISC_Hosts

Specifies a space-separated list of hosts for the ISC server. For example: -h isc1.example.com isc2.example.com

-c Cache_Nodes, --cacheconnectpoints Cache_Nodes

Specifies a space-separated list of IP addresses/hosts for the cache nodes. Specify at least two for high availability.

-u username, --username username

Specifies the user name to be used by the FIT to communicate with the ISC server.

-w PASSWDFILE, --authpasswordfile PASSWDFILE

Specifies the file that contains the password for the auth user.

-d LOGDIR, --logdir LOGDIR

Specifies the location of the FIT log files.

-e LOGLEVEL, --statsjloglevel LOGLEVEL

Specifies the FIT statistics log level. The default is INFO.

-j LOGLEVEL, --jloglevel LOGLEVEL

Specifies the FIT log level. The default is INFO.

-i INTERVAL, --statsinterval INTERVAL

Specifies the frequency (in minutes) of statistics printed to the logs. The default is 10.

-q TIMEOUT, --querytimeout TIMEOUT

Specifies the FIT Cassandra query timeout in milliseconds. The default is 2000.

-S FLAG, --sslusessl FLAG

Specifies the flag to enable SSL for ISC server connections. Use 1 to enable SSL, 0 to disable SSL.The default is 0.

-v PORT, --serverport PORT

Specifies the HTTP port for the ISC process. The default is 8070. Use the same port throughout the deployment.

--state filename

Uses the silent state filename for configuration.

--saveState filename

Specifies to save a state file. The location of the state file is $DSE_HOME/fit/setup, which by default is the /usr/share/dse directory.

--help, -?

Displays the help.


Table A-2 describes the configuration options for the config-fit script. You can also use these options in a state file for silent installation.

Table A-2 config-fit Configuration Options

Option Description

fit.ischosts

Specifies a list of host names that run the ISC server. Round robin load balancing is used for hosts specified as ISC servers.

fit.authpassword

Specifies the password of the user name required by FIT to communicate with the ISC server.

fit.authusername

Specifies the user name required by FIT to communicate with the ISC server. The default is admin.

store.caskeyspaceprefix

Specifies the prefix of the Cassandra keyspaces. The default is ms_.

store.cacheconnectpoints

Specifies a space-separated list of Cassandra Cluster connect points (IP addresses) for cache keyspace access.

fit.logdir

Specifies the FIT log directory. The default is the Cassandra log path.

fit.jloglevel

Specifies the log level for the FIT component. The default is INFO.

fit.stats.jloglevel

Specifies the log level for the FIT statistics log. The default is INFO.

fit.stats.interval

Specifies the collection interval for the FIT statistics log. The default is 10.

fit.querytimeout

Specifies the query timeout level for the FIT component. The default is 2000.

fit.sslusessl

Specifies to use SSL. The default is 0.

fit.server_port

Specifies the port used by the FIT component. The default is 8070. Use the same FIT port throughout the deployment.