summaryrefslogtreecommitdiff
path: root/docs/clustering.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-27 17:20:36 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-27 17:20:38 +0100
commit6aa3cbb611f74bdf8e44d5527f5138f3122a7497 (patch)
tree009a1fe9447bdd980d5017d49f102e7ccdace03b /docs/clustering.rst
parent76bbe2744d7184ee50626d9d7b65f21dad1c7e99 (diff)
downloadvyos-documentation-6aa3cbb611f74bdf8e44d5527f5138f3122a7497.tar.gz
vyos-documentation-6aa3cbb611f74bdf8e44d5527f5138f3122a7497.zip
Refactor "code-block:: sh" to "code-block:: console"
This will add proper new-lines into the rendered PDF. Before if it has been a long line, not all content was preserved in the PDF.
Diffstat (limited to 'docs/clustering.rst')
-rw-r--r--docs/clustering.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/clustering.rst b/docs/clustering.rst
index d51f0073..3462ee73 100644
--- a/docs/clustering.rst
+++ b/docs/clustering.rst
@@ -17,7 +17,7 @@ General cluster configuration
In the general cluster configuration the network interfaces used for monitoring and negotiation of the cluster health is defined.
Additionally, the communication interval settings, multicast group (for sending/receiving heartbeat messages), and pre-shared secret used in this monitoring is defined.
-.. code-block:: sh
+.. code-block:: console
vyos@vyos# set cluster
Possible completions:
@@ -35,7 +35,7 @@ Cluster group configuration
For the cluster group configuration, the group name must be defined before the groups configuration can be set (See Example below).
After the group name is defined, the specific service to be clustered between primary and secondary nodes is configured.
-.. code-block:: sh
+.. code-block:: console
vyos@vyos# set cluster group GROUPNAME
Possible completions:
@@ -48,7 +48,7 @@ After the group name is defined, the specific service to be clustered between pr
Review cluster status
---------------------
-.. code-block:: sh
+.. code-block:: console
vyos@vyos:~$ show cluster status
@@ -58,7 +58,7 @@ Example
In the example below SSH is clustered between two nodes.
-.. code-block:: sh
+.. code-block:: console
cluster {
dead-interval 20000