2.2 Running ZDC

  1. At Primary Server's console prompt, go to the $ZDC_Home directory.

  2. Run the appropriate command.

    • To verify the ZENworks system files, the ZENworks database schema, and the ZENworks content:

      On Windows: zdc.bat verify -v systemfiles,zendatabase -b <complete_path_of_the_ZDC_baseline_data_file>

      On Linux: ./zdc verify -v systemfiles,zendatabase -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.

    • -s: session name
    • -l: complete path of the ZDC log filename
    • -r: complete path of the ZDC report directory

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.