greenplum 5.7 + gpcheck
gpcheck
查看帮助
[gpadmin@node1 bin]$ gpcheck --help
COMMAND NAME: gpcheck
Verifies and validates Greenplum Database platform settings.
*****************************************************
SYNOPSIS
*****************************************************
gpcheck {{-f | --file} <hostfile_gpcheck> | {-h | --host} <host_ID>
| --local } [-m <master_host>] [-s <standby_master_host>]
[--stdout | --zipout] [--config <config_file>]
gpcheck --zipin <gpcheck_zipfile>
gpcheck -?
gpcheck --version
此处省略若干字
*****************************************************
EXAMPLES
*****************************************************
Verify and validate the Greenplum Database platform settings by entering
a host file:
# gpcheck -f hostfile_gpcheck
Save Greenplum Database platform settings to a zip file:
# gpcheck -f hostfile_gpcheck --zipout
Verify and validate the Greenplum Database platform settings using a zip
file created with the --zipout option:
# gpcheck --zipin gpcheck_timestamp.tar.gz
View collected Greenplum Database platform settings:
# gpcheck -f hostfile_gpcheck --stdout
See Also
gpcheckperf
gpcheck -f
检查segment机器的操作系统情况,默认使用的–config 是 $GPHOME/etc/gpcheck.cnf
[root@node1 ~]# gpcheck -f /usr/local/greenplum-db/all_host
其余参数使用可以查看 gpcheck –help 的输出,非常详细