posted Sep 12, 2012, 9:14 AM by Sachchida Ojha
The dcacheck utility validates DCA operating system and hardware configuration settings. The dcacheck utility can use a host file or a file previously created with the --zipout option to validate settings. At the end of a successful validation process, DCACHECK_NORMAL message displays. If DCACHECK_ERROR displays, one or more validation checks failed. You can use also dcacheck to gather and view platform settings on hosts without running validation checks.
Greenplum recommends that you run dcacheck as the user root. If you do not run dcacheck as root, the utility displays a warning message and will not be able to validate all configuration settings; Only some of these settings will be validated.

If dcacheck is run with no parameters, it will validate settings in the following file:

Different configuration parameters are validated by DCA software release.


dcacheck { -f hostfile | -h hostname } { --stdout | --zipout } [ --config config_file ]
dcacheck --zipin dcacheck_zipfile
dcacheck -?

--config config_file
The name of a configuration file to use instead of the default file /opt/dca/etc/dcacheck/dcacheck_config.
-f hostfile
The name of a file that contains a list of hosts dcahceck uses validate settings. This file should contain a single host name for all hosts in the DCA.
-h hostname
The name of a host that dcacheck will validate platform-specific settings.
Display collected host information from dcacheck. No checks or validations are performed.
Save all collected data to a .zip file in the current working directory. dcacheck automatically creates the .zip file and names it dcacheck_timestamp.tar.gz. No checks or valications are performed.
--zipin file
Use this option to decompress and check a .zip file created with the --zipout option. dcacheck performs validation tasks against the file you specify in this option.
Print the online help.

Verify and validate the DCA settings on specific servers:
# dcacheck -f /home/gpadmin/gpconfigs/hostfile
Verify custom settings on all DCA servers:
# dcacheck --config my_config_file