Administration With Other Tools

The Verity command-line tool rcadmin and a variety of command-line indexing tools and configuration files provide a non-graphical alternative to administering a K2 installation.

Using rcadmin

The rcadmin command-line tool enables you to view and update configuration settings for the components (K2 Servers, K2 Brokers, collections, and other indexes) in your K2 system. It also provides a scriptable, command-line alternative to the K2 Dashboard. In some cases, you can use rcadmin to configure settings that are not available through the K2 Dashboard.

You can create scripts that contain rcadmin commands to automate many administrative tasks. For example, you can create a script to start or stop a server, add a new collection, or take an index offline.

For more information on rcadmin, see the Verity K2 rcadmin Guide.

Using Indexing Tools

Verity provides a large number of command-line tools for use by administrators. You use many of these tools to create the indexes and structures described in Indexing and Classifying Information. These are some of the tools:

mkvdk creates a collection.


vspider creates a collection by indexing documents in a given directory structure.


k2spider works with K2 Server to create a collection by indexing documents in a distributed environment.


mkpi creates a parametric index.


mktopics creates a topic set.


mkprf creates a profile net.


browse, didump, rcvdk, rck2, testqp allow you to inspect collections and other indexes.


Manually Editing Style Files

One of the administrative tasks involved with creating collections and other indexes is the customization of style files. The K2 Dashboard provides access to the StyleSet editor, a tool for graphically editing style files. (See Using the StyleSet Editor.)

Style files are text files with names of the form, where xxx is a three-letter extension related to the file’s function. For example, the style file that controls the universal document filter (see Verity Document Filters) is named style.uni. You can edit certain style files manually, using a text editor. Style files are documented in detail in the Verity Collection Reference.