Skip to content

hm9000 job from cf/249

The HM9000 periodically compares expected list of running applications as specified by the Cloud Controller against a list of actually running applications as reported by the DEAs. It tries to reconcile found differences.

Github source: d86b0fd3 or master branch

Properties

cc

bulk_api_password

Password used to access the bulk_api, health_manager uses it to connect to the cc, announced over NATS

bulk_api_user

User used to access the bulk_api, health_manager uses it to connect to the cc, announced over NATS

Default
bulk_api

external_port

External port to connect to the CC

Default
9022

internal_api_password

Password for hm9000 API

internal_api_user

Username for hm9000 API

Default
internal_user

srv_api_uri

dea_next

heartbeat_interval_in_seconds

Heartbeat interval for DEAs

hm9000

ca_cert

PEM-encoded CA certificate

desired_state_batch_size

The batch size when fetching desired state information from the CC.

Default
5000

etcd

ca_cert

PEM-encoded CA certificate

client_cert

PEM-encoded client certificate to communicate with ETCD

client_key

PEM-encoded client key to communicate with ETCD

machines

IPs pointing to the ETCD cluster

require_ssl

Require TLS for communication with ETCD

Default
false

fetcher_network_timeout_in_seconds

Each API call to the CC must succeed within this timeout.

Default
30

port

The port to serve API requests

sender_message_limit

The maximum number of messages the sender should send per invocation.

Default
60

server_cert

PEM-encoded server certificate

server_key

PEM-encoded server key

metron_agent

dropsonde_incoming_port

Incoming port for dropsonde log messages

Default
3457

nats

machines

password

port

user

ssl

skip_cert_verify

when connecting over https, ignore bad ssl certificates

Default
false

Templates

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

  • bin/dns_health_check (from dns_health_check.erb)
  • bin/hm9000_analyzer_ctl (from hm9000_analyzer_ctl)
  • bin/hm9000_api_server_ctl (from hm9000_api_server_ctl)
  • bin/hm9000_evacuator_ctl (from hm9000_evacuator_ctl)
  • bin/hm9000_fetcher_ctl (from hm9000_fetcher_ctl)
  • bin/hm9000_listener_ctl (from hm9000_listener_ctl)
  • bin/hm9000_sender_ctl (from hm9000_sender_ctl)
  • bin/hm9000_shredder_ctl (from hm9000_shredder_ctl)
  • config/certs/ca.crt (from ca.crt.erb)
  • config/certs/etcd_ca.crt (from etcd_ca.crt.erb)
  • config/certs/etcd_client.crt (from etcd_client.crt.erb)
  • config/certs/etcd_client.key (from etcd_client.key.erb)
  • config/certs/server.crt (from server.crt.erb)
  • config/certs/server.key (from server.key.erb)
  • config/hm9000.json (from hm9000.json.erb)

Packages

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