Skip to content

Commit ad22191

Browse files
committed
Separate the replication setup guide
1 parent 27b8bfb commit ad22191

File tree

5 files changed

+62
-56
lines changed

5 files changed

+62
-56
lines changed

doc/concepts/replication/repl_architecture.rst

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -117,24 +117,7 @@ the instance UUID and the replica set UUID values, rather than let the system
117117
generate them -- see the description of the
118118
:ref:`replicaset_uuid <cfg_replication-replicaset_uuid>` configuration parameter.
119119

120-
.. _replication-setup:
121-
122-
Replication setup
123-
-----------------
124-
125-
To enable replication, you need to specify two parameters in a ``box.cfg{}``
126-
request:
127-
128-
* :ref:`replication <cfg_replication-replication>` which defines the
129-
replication source(s), and
130-
* :ref:`read_only <cfg_basic-read_only>` which is ``true`` for a
131-
replica and ``false`` for a master.
132-
133-
Both these parameters are "dynamic". This allows a replica to become a master
134-
and vice versa on the fly with the help of a ``box.cfg{}`` request.
135-
136-
Later we will give a detailed example of
137-
:ref:`bootstrapping a replica set <replication-bootstrap>`.
120+
To learn how to enable replication, check the :ref:`how-to guide <replication-setup>`.
138121

139122
.. _replication-roles:
140123

doc/how-to/replication/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Replication
55

66
.. toctree::
77

8+
repl_setup
89
repl_bootstrap
910
repl_add_instances
1011
repl_remove_instances

doc/how-to/replication/repl_setup.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.. _replication-setup:
2+
3+
Replication setup
4+
=================
5+
6+
To enable replication, you need to specify two parameters in a ``box.cfg{}``
7+
request:
8+
9+
* :ref:`replication <cfg_replication-replication>` which defines the
10+
replication source(s), and
11+
* :ref:`read_only <cfg_basic-read_only>` which is ``true`` for a
12+
replica and ``false`` for a master.
13+
14+
Both these parameters are "dynamic". This allows a replica to become a master
15+
and vice versa on the fly with the help of a ``box.cfg{}`` request.
16+
17+
See also a detailed example of
18+
:ref:`bootstrapping a replica set <replication-bootstrap>`.

locale/ru/LC_MESSAGES/concepts/replication/repl_architecture.po

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -234,44 +234,9 @@ msgstr ""
234234
"системой значений -- см. описание конфигурационного параметра "
235235
":ref:`replicaset_uuid <cfg_replication-replicaset_uuid>`."
236236

237-
msgid "Replication setup"
238-
msgstr "Настройка репликации"
239-
240-
msgid ""
241-
"To enable replication, you need to specify two parameters in a ``box.cfg{}``"
242-
" request:"
243-
msgstr ""
244-
"Чтобы включить репликацию, необходимо указать два параметра в запросе "
245-
"``box.cfg{}``:"
246-
247-
msgid ""
248-
":ref:`replication <cfg_replication-replication>` which defines the "
249-
"replication source(s), and"
250-
msgstr ""
251-
":ref:`replication <cfg_replication-replication>`, который определяет "
252-
"источники репликации, и"
253-
254-
msgid ""
255-
":ref:`read_only <cfg_basic-read_only>` which is ``true`` for a replica and "
256-
"``false`` for a master."
257-
msgstr ""
258-
":ref:`read_only <cfg_basic-read_only>` со значением ``true`` для реплики и "
259-
"``false`` для мастера."
260-
261-
msgid ""
262-
"Both these parameters are \"dynamic\". This allows a replica to become a "
263-
"master and vice versa on the fly with the help of a ``box.cfg{}`` request."
264-
msgstr ""
265-
"\"Динамические\" параметры репликации можно менять на лету, что позволяет "
266-
"назначать реплику на роль мастера и наоборот. Для этого используется запрос "
267-
"``box.cfg{}``."
268-
269-
msgid ""
270-
"Later we will give a detailed example of :ref:`bootstrapping a replica set "
271-
"<replication-bootstrap>`."
272-
msgstr ""
273-
"Далее подробно рассмотрим пример :ref:`настройки набора реплик <replication-"
274-
"bootstrap>`."
237+
msgid "To learn how to enable replication, check the :ref:`how-to guide <replication-setup>`."
238+
msgstr "Чтобы узнать, как включить репликацию, перейдите на страницу "
239+
":ref:`практическое руководство <replication_setup>`."
275240

276241
msgid "Replication roles: master and replica"
277242
msgstr "Роли в репликации: мастер и реплика"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
msgid "Replication setup"
3+
msgstr "Настройка репликации"
4+
5+
msgid ""
6+
"To enable :ref:`replication <replication>`, you need to specify two parameters in a ``box.cfg{}``"
7+
" request:"
8+
msgstr ""
9+
"Чтобы включить репликацию, необходимо указать два параметра в запросе "
10+
"``box.cfg{}``:"
11+
12+
msgid ""
13+
":ref:`replication <cfg_replication-replication>` which defines the "
14+
"replication source(s), and"
15+
msgstr ""
16+
":ref:`replication <cfg_replication-replication>`, который определяет "
17+
"источники репликации, и"
18+
19+
msgid ""
20+
":ref:`read_only <cfg_basic-read_only>` which is ``true`` for a replica and "
21+
"``false`` for a master."
22+
msgstr ""
23+
":ref:`read_only <cfg_basic-read_only>` со значением ``true`` для реплики и "
24+
"``false`` для мастера."
25+
26+
msgid ""
27+
"Both these parameters are \"dynamic\". This allows a replica to become a "
28+
"master and vice versa on the fly with the help of a ``box.cfg{}`` request."
29+
msgstr ""
30+
"\"Динамические\" параметры репликации можно менять на лету, что позволяет "
31+
"назначать реплику на роль мастера и наоборот. Для этого используется запрос "
32+
"``box.cfg{}``."
33+
34+
msgid ""
35+
"See also a detailed example of :ref:`bootstrapping a replica set "
36+
"<replication-bootstrap>`."
37+
msgstr ""
38+
"См. также пример :ref:`настройки набора реплик <replication-"
39+
"bootstrap>`."

0 commit comments

Comments
 (0)