first commit

This commit is contained in:
2024-10-28 23:04:48 +01:00
commit 1ee55157f1
911 changed files with 325331 additions and 0 deletions

29
ha/10-native-ha.ini.tpl Normal file
View File

@@ -0,0 +1,29 @@
NativeHALocalInstance:
{{ if .ShouldConfigureTLS }}
{{ if .CipherSpec }}
CipherSpec={{ .CipherSpec }}
{{- end }}
{{ if .Group.Local.Name }}
GroupName={{ .Group.Local.Name }}
{{- end}}
{{ if .Group.CipherSpec }}
GroupCipherSpec={{ .Group.CipherSpec }}
{{- end }}
{{ if .Group.Local.Role }}
GroupRole={{ .Group.Local.Role }}
{{- end}}
{{ if .Group.Local.Address }}
GroupLocalAddress={{ .Group.Local.Address }}
{{- end}}
{{- end }}{{/* end if .ShouldConfigureTLS */}}
{{- range $idx, $instance := .Instances}}
NativeHAInstance:
Name={{ $instance.Name }}
ReplicationAddress={{ $instance.ReplicationAddress }}
{{- end}}
{{ if .Group.Recovery.Name }}
NativeHARecoveryGroup:
GroupName={{ .Group.Recovery.Name }}
Enabled={{ .Group.Recovery.Enabled }}
ReplicationAddress={{ .Group.Recovery.Address }}
{{- end }}