Preflight check tool

The preflight check tool is a collection of tests that detects and optionally fixes configuration settings on DataStax Enterprise nodes.

The preflight check tool is a collection of tests that can be run on a DataStax Enterprise node to detect and fix node configurations. The tool can detect and optionally fix many invalid or suboptimal configuration settings, such as user resource limits, swap, and disk settings.

In Installer-Services and package installations, the preflight check tool is located in /usr/share/dse/tools/pfc. It is not available in No-Service and tarball installations.

Usage  

cd /usr/share/dse/tools/pfc
$ sudo ./preflight_check options
Options
Option Option Description
--help -h Show help and exit.
--fix -f Attempt to fix issues.
--yaml=YAML_LOCATION   Location of cassandra.yaml file
--devices=DEVICES   Comma separated lists of HDDs:

/dev/sda,/dev/sdb,...

--disk-duration=DISK_DURATION   Time (in seconds) for each test disk benchmark.

Set to simulate a normal load.

--disk-threads=DISK_THREADS   Number of threads for each disk benchmark.

Set to simulate a normal load.

--ssd=SSD   Comma separated lists of SSDs:

/dev/sda,/dev/sdb,...

--nossd   The node does not have SSDs.
The location of the cassandra.yaml file depends on the type of installation:
Installer-Services /etc/dse/cassandra/cassandra.yaml
Package installations /etc/dse/cassandra/cassandra.yaml
Installer-No Services install_location/resources/cassandra/conf/cassandra.yaml
Tarball installations install_location/resources/cassandra/conf/cassandra.yaml