Skip to content

scheduler job from app-autoscaler/1.1.0

Github source: 92066ba or master branch

Properties

autoscaler

policy_db

address

IP address on which the policydb server will listen

Default
postgres.service.cf.internal
databases

The list of databases used in policydb database including name

db_scheme

Database scheme to be used to access policydb

port

Port on which the policydb server will listen

roles

The list of database roles used in policydb database including name/password

scheduler

ca_cert

PEM-encoded CA certificate

consul
ttl

TTL timeout seconds

Default
20
health
port

the listening port of health endpoint

Default
6204
http_client_timeout

Http client imeout for scheduler to communicate with other autoscaler components, in seconds

Default
60
job_reschedule_interval_millisecond

Rescheduling interval for quartz job in milliseconds

job_reschedule_maxcount

Maximum no of jobs can be re-scheduled

notification_reschedule_maxcount

Maximum number of notification sent to scaling engine for job re-schedule

port

Scheduler’s port

Default
6102
require_consul

whether to start consul agent

Default
true
scaling_engine
ca_cert

PEM-encoded CA certificate

client_cert

PEM-encoded client certificate

client_key

PEM-encoded client key

host

URL where Scaling-engine is running

Default
scalingengine.service.cf.internal
port

Scaling Engine’s port

Default
6104
server_cert

PEM-encoded server certificate

server_key

PEM-encoded server key

scheduler_db

address

IP address on which the schedulerdb server will listen

Default
postgres.service.cf.internal
databases

The list of databases used in schedulerdb database including name

db_scheme

Database scheme to be used to access schedulerdb

port

Port on which the schedulerdb server will listen

roles

The list of database roles used in schedulerdb database including name/password

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/scheduler/ directory (learn more).

  • bin/install_crt_keystore (from install_crt_keystore.erb)
  • bin/install_crt_truststore (from install_crt_truststore.erb)
  • bin/pre-start (from pre-start.erb)
  • bin/scheduler (from scheduler.erb)
  • config/application.properties (from application.properties.erb)
  • config/certs/ca.crt (from scheduler_ca.crt.erb)
  • config/certs/scalingengine/ca.crt (from scalingengine_ca.crt.erb)
  • config/certs/scalingengine/client.crt (from scalingengine_client.crt.erb)
  • config/certs/scalingengine/client.key (from scalingengine_client.key.erb)
  • config/certs/server.crt (from scheduler_server.crt.erb)
  • config/certs/server.key (from scheduler_server.key.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.