This file is indexed.

/etc/dms/dr-settings.sh is in dms-dr 1.0.8.1-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Settings file for dr-scripts and DMS PG database scripts

# DR Partner server host name
# ie default dms_start_as_replica master
# This is the exact DNS/host name which you have to replicate from 
DR_PARTNER="dms-dr.foo.bar.net"

# Settings to move pg_xlog when replicating or creating a DB 
DBMOVEXLOG=false
DBALTXLOGDIR="/srv/postgresql"

# BIND9 named extra options
#BIND9_EXTRA_OPTIONS=""

# BIND9 DR replica options we use it to set number of CPUs for example
#BIND9_DR_SERVER_OPTIONS="-n 1"

# Enable the DMS JSON RPC over http API server in apache.  Takes true/false
DMSWSGI=false

# Dummy loop back interface with DR IP address(es) attached.  Quagga or bird is
# used to propagate host routes based on the interface.  Multiple addresses can
# be configured on the device.  The scripts take the device up and down as
# required. The addresses need to be configured properly in the system
# interface configuration, but the interfaces should not be marked to be
# activated on boot.  If this variable is blank, nothing is done.
DMSDRIF=""

# zone_tool update_rrs settings.  Uses a CNAME based template.
# Following is a flag to turn it on or off
DMSDRDNS=false

# If not defined or empty, the following is set to the hostname
DMS_MASTER=""

DMS_FAILOVER_DOMAIN="failover.foo.bar.net."

DMS_WSGI_LABEL="dms-server"

DMS_WSGI_TTL="30s"

DMS_UPDATE_RRS_TEMPLATE='
$ORIGIN @@DMS_FAILOVER_DOMAIN@@
$UPDATE_TYPE wsgi-failover
;!RROP:UPDATE_RRTYPE
@@DMS_WSGI_LABEL@@  @@DMS_WSGI_TTL@@  IN      CNAME      @@DMS_MASTER@@
'

# Postgresql.conf parameters
DBCONF="
max_wal_senders = 3
wal_keep_segments = 64   # On DMS this would be set to 256, 4096 GB
wal_level = hot_standby
hot_standby = on       # Turn on Hot standby
ssl = false            # DMS uses IPSEC
listen_addresses = *   # Listen on all addresses
		       # Addresses will get handled correctly and grouped in
		       # single quotes in postgresql.conf
#listen_addresses = ip6-localhost, localhost
#log_timezone = UTC     # Set your timezones as needed.
#timezone = UTC
"

# Should not have to change settings below here
#----------------------------------------------

# PostgresQL version used. Override setting
# Only set if needed.  Can be used by debian install scripts to override
# PostgresQL version used.
# SETTING THIS NOT RECOMMENDED - ONLY USE IF LAST RESORT
# PGVERSION=""

# PostgresQL catalog cluster name
PGCLUSTER="dms"