Last active
June 6, 2016 04:44
-
-
Save KitaitiMakoto/877c975015c48907ad4b448438fb04c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="highlight"><pre><span class="nt"><source></span> | |
<span class="nb">type</span> ping_message | |
<span class="nb">data</span> ${hostname} | |
<span class="nb">tag</span> ping | |
<span class="nb">interval</span> <span class="m">60</span> | |
<span class="nt"></source></span> | |
<span class="nt"><match</span> <span class="s">app.**,ping</span><span class="nt">></span> | |
<span class="nb">type</span> forward | |
<span class="nt"><server></span> | |
<span class="nb">name</span> active-aggregator-server | |
<span class="nb">host</span> <span class="m">192.168.100.120</span> | |
<span class="nt"></server></span> | |
<span class="nt"><server></span> | |
<span class="nb">name</span> backup-aggregator-server | |
<span class="nb">host</span> <span class="m">192.168.100.121</span> | |
<span class="nb">standby</span> | |
</server> | |
<span class="nt"></match></span> | |
<span class="nt"><source></span> | |
<span class="nb">type</span> forward | |
<span class="nb">port</span> <span class="m">24224</span> | |
<span class="nb">bind</span> <span class="m">0.0.0.0</span> | |
<span class="nt"></source></span> | |
<span class="nt"><match</span> <span class="s">ping</span><span class="nt">></span> | |
<span class="nb">type</span> forward | |
<span class="nt"><server></span> | |
<span class="nb">name</span> watcher-server | |
<span class="nb">host</span> <span class="m">192.168.100.140</span> | |
<span class="nt"></server></span> | |
<span class="nt"></match></span> | |
</pre></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<source> | |
type ping_message | |
data ${hostname} | |
tag ping | |
interval 60 | |
</source> | |
<match app.**,ping> | |
type forward | |
<server> | |
name active-aggregator-server | |
host 192.168.100.120 | |
</server> | |
<server> | |
name backup-aggregator-server | |
host 192.168.100.121 | |
standby | |
</server> | |
</match> | |
<source> | |
type forward | |
port 24224 | |
bind 0.0.0.0 | |
</source> | |
<match ping> | |
type forward | |
<server> | |
name watcher-server | |
host 192.168.100.140 | |
</server> | |
</match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment