check_list — Check the LightDB runtime environment status tool.
python3 check_list/lightdb_maa_checklist.py
[-d FILENAME
] [-p PORT
] [-t TAG
] [-m LTHOME
] [-n DBNAME
]
check_list
is used to check the possible causes of instability of the operating system, configuration, network, etc.
and to check the availability, correctness, stability, easy troubleshooting, and data consistency of the LightDB.
-d/--output_dir
output file in this directory name, default current directory.
-p/--port
Lightdb database server port (default: "5432")
-t/--tag
A string for create output html filename. (default: None)
--m/--lthome
Specifies the file system location of the LightDB software. If this option is omitted, the environment variable $LTHOME is used.
--n/--dbname
Lightdb database name to connect to (default: "postgres")
-?
--help
Show help about check_list command line arguments, and exit.
Use all default arguments. If execute successful, print the file name.
$
python3 check_list/lightdb_maa_checklist.py
Specify parameter execution. If execute successful, print the file name.
$
python3 check_list/lightdb_maa_checklist.py --port 5432 --tag "master_node" --dbname postgres --lthome /usr/local/lightdb