config/puppet-modules-wrs/puppet-mtce/src/mtce/templates/mtc_ini.erb

64 lines
3.3 KiB
Plaintext

; Puppet Managed Maintenance Configuration
[agent] ; Agent Configuration
keystone_auth_username = <%= @auth_username %> ; mtce auth username
keystone_auth_pw = <%= @auth_pw %> ; mtce auth password
keystone_auth_project = <%= @auth_project %> ; mtce auth project
keystone_user_domain = <%= @auth_user_domain %> ; mtce user domain
keystone_project_domain = <%= @auth_project_domain %> ; mtce project domain
keystone_auth_host = <%= @auth_host %> ; keystone auth url
keystone_auth_uri = <%= @auth_uri %> ; keystone auth uri
keystone_auth_port = <%= @auth_port %> ; keystone auth port
keystone_region_name = <%= @auth_region %> ; keystone region
keyring_directory = <%= @keyring_directory %> ; keyring directory
ceilometer_port = <%= @ceilometer_port %> ; ceilometer rest api port
multicast = <%= @mtce_multicast %> ; Heartbeat Multicast Address
heartbeat_period = <%= @heartbeat_period %> ; Heartbeat period in milliseconds
heartbeat_failure_threshold = <%= @heartbeat_failure_threshold %> ; Heartbeat failure threshold count.
heartbeat_degrade_threshold = <%= @heartbeat_degrade_threshold %> ; Heartbeat degrade threshold count.
; Communication ports between SM and maintenance
sm_server_port = <%= @sm_server_port %> ; port sm receives mtce commands from
sm_client_port = <%= @sm_client_port %> ; port mtce receives sm commands from
; Heartbeat Loss / Failure Action Selection.
; The action to take on host heartbeat failure.
; Supported actions are
; fail = fail host and raise network specific heartbeat alarms
; degrade = degrade host and raise network specific heartbeat alarms
; alarm = raise network specific heartbeat alarms only
; none = no action and no alarms
; Selected action applies to all hosts in the system
; Default is fail
; To modify execute:
; system service-parameter-modify platform maintenance heartbeat_failure_action=<action>
heartbeat_failure_action = <%= @heartbeat_failure_action %>
; Multi-Node Failure Avoidance (MNFA) Activation and Deactivation threshold.
; The minimum number of hosts that fail heartbeat within the
; heartbeat_failure_threshold upon which Maintenance activates MNFA Mode.
; Once the number of failing hosts drop below this threshold then mainteance
; deactivates MNFA mode while remaining failing hosts are Gracefully Recovered.
; Default value is 2
; Minimum value is 2
; To modify execute:
; system service-parameter-modify platform maintenance mnfa_threshold=<value>
mnfa_threshold = <%= @mnfa_threshold %>
[timeouts]
worker_boot_timeout = <%= @worker_boot_timeout %> ; The max time (seconds) that Mtce waits for the mtcAlive
controller_boot_timeout = <%= @controller_boot_timeout %> ; message after which it will time out and fail the host.
; Multi-Node Failure Avoidance (MNFA) Lifecycle Timer.
; MNFA Activation starts a timer with this timeout value.
; See mnfa_threshold above.
; Maintenance automatically Deactivates MNFA mode if the number of hosts that
; are failing heartbeat doesn't drop below mnfa_threshold before timer expires.
; Timer is in seconds.
; A zero value means infinite lifecycle or until the number of
; heartbeat failing hosts drops below the mnfa_threshold before expiry.
; Default value is 0
; Minimum non-zero value is 100 ; maximum is 86400
; To modify execute:
; system service-parameter-modify platform maintenance mnfa_timeout=<value>
mnfa_timeout = <%= @mnfa_timeout %>