At Primary Server's command prompt, go to the $ZDC_Home directory.
Run the appropriate command.
To verify the ZENworks system files, the ZENworks database schema, and the ZENworks content:
On Windows: zdc.bat verify -b complete_path_of_the_ZDC_baseline_data_file
On Linux: ./zdc verify -b complete_path_of_the_ZDC_baseline_data_file
To verify only for the ZENworks system files:
On Windows: zdc.bat verify -v systemfiles -b complete_path_of_the_ZDC_baseline_data_file
On Linux: ./zdc verify -v systemfiles -b complete_path_of_the_ZDC_baseline_data_file
To verify only for the ZENworks database schema:
On Windows: zdc.bat verify -v zendatabase -b complete_path_of_the_ZDC_baseline_data_file
On Linux: ./zdc verify -v zendatabase -b complete_path_of_the_ZDC_baseline_data_file
To verify only for the ZENworks content:
On Windows: zdc.bat verify -v zencontent
On Linux: ./zdc verify -v zencontent
You can also specify the following command options while running ZDC.
ZDC runs the diagnostic tests and generates the reports in the HTML format. The reports are stored in the $ZDC_Home/reports/timestamp directory on a Windows Primary Server and in the $ZDC_Home\reports\timestamp directory on a Linux Primary Server. To view the reports, open index.html that is located in the report directory.
The complete log of the diagnostic tests is stored in $ZDC_HOME/logs/timestamp.log on a Windows Primary Server and in the $ZDC_HOME\logs\timestamp.log on a Linux Primary Server.