1 From 34924c90ccb5cb883ac135b35e3ffdd48c459db7 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3 Date: Tue, 7 Mar 2017 13:32:02 +0100
4 Subject: [PATCH 2/8] don't install default corosync.conf
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
11 debian/corosync.conf | 111 ------------------------------------------------
12 debian/corosync.install | 1 -
13 2 files changed, 112 deletions(-)
14 delete mode 100644 debian/corosync.conf
16 diff --git a/debian/corosync.conf b/debian/corosync.conf
17 deleted file mode 100644
18 index 0444432..0000000
19 --- a/debian/corosync.conf
22 -# Please read the corosync.conf.5 manual page
26 - # Corosync itself works without a cluster name, but DLM needs one.
27 - # The cluster name is also written into the VG metadata of newly
28 - # created shared LVM volume groups, if lvmlockd uses DLM locking.
29 - # It is also used for computing mcastaddr, unless overridden below.
30 - cluster_name: debian
32 - # How long before declaring a token lost (ms)
35 - # How many token retransmits before forming a new configuration
36 - token_retransmits_before_loss_const: 10
38 - # Limit generated nodeids to 31-bits (positive signed integers)
39 - clear_node_high_bit: yes
41 - # crypto_cipher and crypto_hash: Used for mutual node authentication.
42 - # If you choose to enable this, then do remember to create a shared
43 - # secret with "corosync-keygen".
44 - # enabling crypto_cipher, requires also enabling of crypto_hash.
45 - # crypto_cipher and crypto_hash should be used instead of deprecated
46 - # secauth parameter.
48 - # Valid values for crypto_cipher are none (no encryption), aes256, aes192,
49 - # aes128 and 3des. Enabling crypto_cipher, requires also enabling of
53 - # Valid values for crypto_hash are none (no authentication), md5, sha1,
54 - # sha256, sha384 and sha512.
57 - # Optionally assign a fixed node id (integer)
60 - # interface: define at least one interface to communicate
61 - # over. If you define more than one interface stanza, you must
62 - # also set rrp_mode.
64 - # Rings must be consecutively numbered, starting at 0.
66 - # This is normally the *network* address of the
67 - # interface to bind to. This ensures that you can use
68 - # identical instances of this configuration file
69 - # across all your cluster nodes, without having to
70 - # modify this option.
71 - bindnetaddr: 127.0.0.1
72 - # However, if you have multiple physical network
73 - # interfaces configured for the same subnet, then the
74 - # network address alone is not sufficient to identify
75 - # the interface Corosync should bind to. In that case,
76 - # configure the *host* address of the interface
78 - # bindnetaddr: 192.168.1.1
79 - # When selecting a multicast address, consider RFC
80 - # 2365 (which, among other things, specifies that
81 - # 239.255.x.x addresses are left to the discretion of
82 - # the network administrator). Do not reuse multicast
83 - # addresses across multiple Corosync clusters sharing
85 - # mcastaddr: 239.255.1.1
86 - # Corosync uses the port you specify here for UDP
87 - # messaging, and also the immediately preceding
88 - # port. Thus if you set this to 5405, Corosync sends
89 - # messages over UDP ports 5405 and 5404.
91 - # Time-to-live for cluster communication packets. The
92 - # number of hops (routers) that this ring will allow
93 - # itself to pass. Note that multicast routing must be
94 - # specifically enabled on most network routers.
100 - # Log the source file and line where messages are being
101 - # generated. When in doubt, leave off. Potentially useful for
104 - # Log to standard error. When in doubt, set to no. Useful when
105 - # running in the foreground (when invoking "corosync -f")
107 - # Log to a log file. When set to "no", the "logfile" option
110 - #logfile: /var/log/corosync/corosync.log
111 - # Log to the system log daemon. When in doubt, set to yes.
113 - # Log with syslog facility daemon.
114 - syslog_facility: daemon
115 - # Log debug messages (very verbose). When in doubt, leave off.
117 - # Log messages with time stamps. When in doubt, set to on
118 - # (unless you are only logging to syslog, where double
119 - # timestamps can be annoying).
128 - # Enable and configure quorum subsystem (default: off)
129 - # see also corosync.conf.5 and votequorum.5
130 - provider: corosync_votequorum
133 diff --git a/debian/corosync.install b/debian/corosync.install
134 index da4efa1..3c03c3f 100755
135 --- a/debian/corosync.install
136 +++ b/debian/corosync.install
137 @@ -31,6 +31,5 @@ usr/share/augeas/lenses/corosync.aug
138 usr/share/augeas/lenses/tests/test_corosync.aug
139 etc/corosync/corosync.*example* usr/share/doc/corosync/examples
140 etc/corosync/uidgid.d
141 -debian/corosync.conf etc/corosync
142 usr/share/corosync/xml2conf.xsl