Skip to content

Commit

Permalink
clusterer: update html README layout
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Mar 29, 2016
1 parent 984ddb2 commit 12df046
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
8 changes: 4 additions & 4 deletions modules/clusterer/README
Expand Up @@ -442,8 +442,8 @@ loadmodule "ratelimit.so"
modparam("ratelimit", "replicate_pipes_to", 1)
# accept replicated data from nodes within cluster 1
modparam("ratelimit", "accept_pipes_from", 1)
# if a node does not reply in a 5 seconds interval, the information from
that node is invalidated
# if a node does not reply in a 5 seconds interval,
#the information from that node is invalidated
modparam("ratelimit", "accept_pipes_timeout", 5)
...

Expand All @@ -465,8 +465,8 @@ loadmodule "ratelimit.so"
modparam("ratelimit", "replicate_pipes_to", 1)
# accept replicated data from nodes within cluster 1
modparam("ratelimit", "accept_pipes_from", 1)
# if a node does not reply in a 5 seconds interval, the information from
that node is invalidated
# if a node does not reply in a 5 seconds interval,
# the information from that node is invalidated
modparam("ratelimit", "accept_pipes_timeout", 5)
...

Expand Down
16 changes: 12 additions & 4 deletions modules/clusterer/doc/clusterer_admin.xml
Expand Up @@ -548,7 +548,9 @@ modparam("clusterer", "no_tries_col", "no_tries")
</itemizedlist>
</para>
<para>
After provisioning the two nodes in the database, we have to configure the two instances of &osips;. First, we configure <emphasis>Node A</emphasis>:
After provisioning the two nodes in the database, we have to configure
the two instances of &osips;. First, we configure <emphasis>Node
A</emphasis>:
</para>
<example>
<title><emphasis>Node A</emphasis> configuration</title>
Expand All @@ -567,7 +569,8 @@ loadmodule "ratelimit.so"
modparam("ratelimit", "replicate_pipes_to", 1)
# accept replicated data from nodes within cluster 1
modparam("ratelimit", "accept_pipes_from", 1)
# if a node does not reply in a 5 seconds interval, the information from that node is invalidated
# if a node does not reply in a 5 seconds interval,
#the information from that node is invalidated
modparam("ratelimit", "accept_pipes_timeout", 5)
...
</programlisting>
Expand All @@ -593,15 +596,20 @@ loadmodule "ratelimit.so"
modparam("ratelimit", "replicate_pipes_to", 1)
# accept replicated data from nodes within cluster 1
modparam("ratelimit", "accept_pipes_from", 1)
# if a node does not reply in a 5 seconds interval, the information from that node is invalidated
# if a node does not reply in a 5 seconds interval,
# the information from that node is invalidated
modparam("ratelimit", "accept_pipes_timeout", 5)
...
</programlisting>
</example>
</section>

<para>
<emphasis>Note</emphasis> that the <emphasis>server_id</emphasis> parameter for <emphasis>Node B</emphasis> is <emphasis>2</emphasis>. Starting the two &osips; instances with the above configurations provides your platform the ability to used shared ratelimit pipes in a very efficient and scalable way.
<emphasis>Note</emphasis> that the <emphasis>server_id</emphasis>
parameter for <emphasis>Node B</emphasis> is <emphasis>2</emphasis>.
Starting the two &osips; instances with the above configurations provides
your platform the ability to used shared ratelimit pipes in a very
efficient and scalable way.
</para>

</chapter>

0 comments on commit 12df046

Please sign in to comment.