You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Scope

 

The SOS Support team neads to have informations of your JobScheduler environment. This article describes how you can provide these informations.

 

Jobs and job chains

The jobs and job chains you find attached to this article.

 

Installation

  • Download the attached configuration files and put them to you $scheduler_data/config/live folder. There should be a subfolder ./support after installation.
  • Adjust the parameters for the database connection in the job DB Statement

Job get_environment_data

This is a standalone job that

  • uname
  • detect running JobScheduler instances
  • reads all environment variables
  • executes a top command.

 

The output will be stored in the file

ParameterDescriptinDefault
output_file_nameThe name of the file, that contains the information the SOS Support Team needs. Please attach this file to your ticket./sos_support.log
number_of_iterationsThe number of top command iterations1

 

Please run the job and send the log file to the SOS support team.

 

The job chain job_chain_get_support_data executes some db sql statements

to get

  • the number of active orders
  • the number of active tasks
  • the number of configuration files for
    • orders
    • job chains
    • jobs

 

Please note that the reporting interface have to be installed and activated.

The last step in the job chains reports to the order log.

 

Example

2016-04-13 16:09:58.336+0200 [info]   (Task support/report:18367873) 10 active orders found in the database

2016-04-13 16:09:58.342+0200 [info]   (Task support/report:18367873) 0 active tasks found in the database

2016-04-13 16:09:58.353+0200 [info]   (Task support/report:18367873) 19 orders defined for 24 job chains

2016-04-13 16:09:58.364+0200 [info]   (Task support/report:18367873) 46 jobs defined

 

Please send the order log to the SOS support team.

 

Configuration

 

The job /support/DB Statement has the following parameters

ParameterDescriptionDefault
db_classSOSConnection classSOSOracleConnection
db_driverThe jdbc driver classoracle.jdbc.driver.OracleDriver
db_urlThe jdbc connection stringjdbc:oracle:thin:@//d_host:1521/db_name
db_userThe db user 
db_passwordThe password for the db user 

 

You can find the values for your database in the file $SCHEDULER_DATA/config/factory.ini in the section [spooler] in the entry db

The order to start the job chain can be parameterized with the parameter scheduler_id. If empty, the scheduler_id of the actual JobScheduler will be used.

 

 

  • No labels