3
This Charm provides support for adding a [rsyslog](http://www.rsyslog.org) forwarder listener to any service
4
in addition this charm allows to have multiple rsyslog aggregators servers offering currently 2 replication
3
This Charm provides support for adding a [rsyslog](http://www.rsyslog.org) forwarder listener to any service.
4
In addition, this charm allows to have multiple rsyslog aggregators servers using two different replication
5
5
modes ( fanout, failover ).
7
By default the 'fanout' replication mode is going to be used, which means that all the
8
syslog messages will be forwarder to any aggregator server using UDP port 514.
10
Failover mode will forward all the syslog messages to the primary rsyslog server and
11
in case of failure will use the secondary rsyslog server.
13
In you want to choose to failover mode, this will require that your current
14
rsyslog server is binded to TCP port 514.
9
18
This is a subordinate charm, which means it requires to have a service to hook in. On this
10
19
example we are going to deploy mysql
16
23
Then you must deploy this charm
19
25
juju deploy rsyslog-forwarder-ha
22
27
Once your service is running, you can relate this charm:
25
29
juju add-relation rsyslog-forwarder-ha mysql
28
31
Then you can deploy your rsyslog aggregators servers:
31
33
juju deploy rsyslog primary
32
34
juju deploy rsyslog secondary
35
36
Once your rsyslog aggregators are ready, you can relate them with your forwarder.
38
38
juju add-relation rsyslog-forwarder-ha primary
39
39
juju add-relation rsyslog-forwarder-ha secondary
42
By default the 'fanout' replication mode is going to be used, which means that all the
43
syslog messages will be forwarder to any aggregator server using UDP port 514.
45
In you want to choose to failover mode, this will require that your current
46
rsyslog servers is binded to TCP port 514.
48
42
Once you have your rsyslog ports opened. You can change the replication-mode variable
49
43
on your rsyslog-forwarder-ha charm.
52
45
juju set rsyslog-forwarder-ha replication-mode="failover"
55
47
# Contact Information