Update to 2022-08-29 11:00

This commit is contained in:
Daniel Berteaud
2022-08-29 11:00:17 +02:00
parent f17ab3267b
commit b213df4df4
30 changed files with 282 additions and 29 deletions

View File

@@ -0,0 +1,13 @@
[[promoter]]
id = "{{ linctl_ha_res }}"
[promoter.resources.{{ linctl_ha_res }}]
start = [
{% if linctl_ha_ip is defined %}
"ocf:heartbeat:IPaddr2 service_ip cidr_netmask=32 ip={{ linctl_ha_ip }}",
{% endif %}
"var-lib-linstor.mount",
"linstor-controller.service"
]
stop-services-on-exit = true

View File

@@ -0,0 +1,2 @@
[global]
controllers={{ linctl_controllers | join(',') }}

View File

@@ -0,0 +1,16 @@
[db]
user = "linstor"
password = "linstor"
connection_url = "jdbc:h2:/var/lib/linstor/linstordb"
[http]
enabled = true
listen_addr = "0.0.0.0"
port = {{ linctl_api_port }}
[logging]
level = "info"
linstor_level = "info"
rest_access_log_path = "/var/log/linstor-controller/rest-access.log"
rest_access_log_mode = "APPEND"

View File

@@ -0,0 +1,8 @@
/var/log/linstor/rest-access.log {
daily
rotate 180
compress
notifempty
missingok
copytruncate
}