Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Content moved / redirect added

This article has been moved...

 

 

 

Table of Contents

General

The JobScheduler since version 1.11 knows two databases.

One for the JobScheduler tables and the other for the Reporting tables. The Reporting tables are used by JOC Cockpit.

The Inventory Plugin writes the information about JobScheduler inventory into some tables in the Reporting database.

If you uninstall a JobScheduler then this inventory will be deleted since version 1.11.2 

Jira
serverSOS JIRA
serverId6dc67751-9d67-34cd-985b-194a8cdc9602
keySET-96

Before version 1.11.2 the inventory data remain in the Reporting database when you uninstall the JobScheduler. If you modify the JobScheduler Id or HTTP port then a new set of inventory data will be written and and obsolete set of inventory data remains.

 In JOC Cockpit you can switch to such a JobScheduler which is not longer active until the obsolete data are removed in the Reporting database.

The JobScheduler installer comes with the script ./bin/cleanup_inventory_tables.(cmd|sh) to remove old inventory data.

Parametrization of ./bin/cleanup_inventory_tables.(sh|cmd)

...

  • JobScheduler Id
  • Host
  • HTTP port

...

  • This call is helpful to see the exact values of Id, host and http port.

...

If this script is called without an argument then you get its usage

Code Block
Usage: cleanup_inventory_tables.(cmd|sh) [JobSchedulerId JobSchedulerHost JobSchedulerHTTPPort] | [info]
       JobSchedulerId           | The Id, hostname and http port of a
       JobSchedulerHost         | JobScheduler which data should be
       JobSchedulerHTTPPort     | removed in the INVENTORY tables of the
                                | reporting database.
   or
       info                     | Shows a list of existing JobScheduler
                                | instances in the INVENTORY tables

Example for an info output

...