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,zencontent -b <complete_path_of_the_ZDC_baseline_data_file>

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

Verifying Audit Database

To verify the Audit Database schema in ZENworks 11 SP3 by using the ZDC tool:

  • On Windows: Run the zdc.bat verify -v auditdatabase -b <complete_path_of_the_ZDC_baseline_data_file> command.

  • On Linux: Run the ./zdc verify -v auditdatabase -b <complete_path_of_the_ZDC_baseline_data_file> command.

Audit and ZENworks databases cannot be verified by running the command in one instance. They need to be verified separately.

The ZDC reports for Audit are present in the reports\timestamp directory. You can view reports from the index.html file.