DC Client Command Line Tool for Unix

Topics | Related Topics


Overview

DcClient Command


Overview

The DcClient command is command line tool used to administer Data Classification volumes on Unix. This command allows you to do the following, among other tasks: change the Data Classification registry key values regarding volumes, administer the Data Classification database, stop and start individual volumes and stop and start all volumes simultaneously.

You can also administer some of these items by using the DC Console.

DcClient Command

This section discusses how to use the DcClient command.

Get Information on Volumes States and Registry Key Values

The following command displays information on the current state of the volumes and registry keys:

Usage:

DcClient -getinfo

Start Monitoring a Volume

The following command starts monitoring a Data Classification volume:

Usage:

DcClient -start <mount path>

The Data Classification services will start monitoring the volume unless the services are restarted or the corresponding stop command is run.

Stop Monitoring a Volume

The following command stops monitoring a Data Classification volume:

Usage:

DcClient -stop <mount path>

The Data Classification services will stop monitoring the volume.

Defragment a Volume

The following command defragments (optimizes) a Data Classification database.

Usage:

DcClient -defrag <mount path>

Defragmentation is especially helpful for reorganizing highly-active databases.

Relocate a Database Volume

The following command moves a database to another directory. In essence, the command relocates the database from the current path to the specified new path.

Usage:

DcClient -relocate <volume> <new path to the database>

Add a Volume to be Monitored

The following command adds a Data Classification volume to be monitored:

Usage:

DcClient -monitor <mount path>

You can add either existing volumes or new volumes for monitoring.

Remove a Volume from being Monitored

The following command removes a Data Classification volume from being monitored:

Usage:

DcClient -donot-monitor <mount path>

Change Registry Key Values

You can use the DcClient command with various registry key values to set or implement the following:

Some of the registry values used with the DcClient command can also be administered using the DC Console. For more information, see Administer Registry Values for a Data Classification Computer.

Centralized Location of Data Classification Database

The following command creates a centralized directory for all the Data Classification databases.

Usage:

DcClient -edit DB_FOLDER <path to a directory>

When you install Data Classification on a Unix computer, a Data Classification database is created on each volume. You can use the DB_FOLDER key to create a centralized database directory to accommodate all these databases.

If you want Data Classification to create databases under the root of each volume, run the following command:

DcClient -edit DB_FOLDER NULL

Refresh Time Interval for All Monitored Volumes

The following command changes the time interval to refresh all monitored volumes:

Usage:

DcClient -edit REFRESH_PERIOD <time>

The REFRESH_PERIOD key indicates the period of time after which the Data Classification services will refresh all the monitored volumes. If any changes occur on the monitored volumes, the Data Classification services will attempt an incremental scan of the data after the refresh period. You can use this key to change the refresh interval. Depending on the time specified, if you add any new volumes, the services will "pick up" the volumes and start to monitor those volumes after the refresh period.

Volume Picking and Scanning

The following command sets the number of volumes at a time that Data Classification will pick up and start to scan.

Usage:

DcClient THROTTLE <number of volumes>

Default is 3.

Volume Scan Priority

The following command sets the priority at which data scans on the volume will run.

Usage:

DcClient -edit PRIORITY <priority number>

The value for the PRIORITY key depends on the operating system-level scan priority.


Back to Top