You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/reference/tarantool_cli_options.rst
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,22 @@
4
4
tarantool command-line options
5
5
==============================
6
6
7
-
This topic describes options that can be passed to the ``tarantool`` command.
8
-
These options might be helpful for development purposes.
7
+
``tarantool`` is the Tarantool database and application server.
8
+
This command can be used for different purposes, for example, running a single Tarantool instance or starting an external coordinator used for a :ref:`supervised failover <repl_supervised_failover>`.
9
+
The ``tarantool`` command also provides additional :ref:`options <tarantool_cli_options>` that might be helpful for development purposes.
10
+
11
+
.. NOTE::
12
+
13
+
The :ref:`tt <tt-cli>` utility is the recommended way to start Tarantool instances.
14
+
Learn more from :ref:`admin-start_stop_instance`.
15
+
16
+
9
17
10
18
.. _configuration_run_instance_tarantool:
11
19
12
20
Starting instances using the tarantool command
13
21
----------------------------------------------
14
22
15
-
The ``tarantool`` command provides additional :ref:`options <_tarantool_cli_options>` that might be helpful for development purposes.
16
-
17
23
Below is the syntax for starting a Tarantool instance configured in a file:
18
24
19
25
.. code-block:: console
@@ -91,7 +97,7 @@ Options
91
97
Set a path to a :ref:`YAML configuration file <configuration_file>`.
92
98
You can also configure this value using the ``TT_CONFIG`` environment variable.
93
99
94
-
See also: :ref:`Starting an instance using the tarantool command <configuration_run_instance_tarantool>`
100
+
See also: :ref:`configuration_run_instance_tarantool`
95
101
96
102
97
103
.. _tarantool_cli_name:
@@ -103,7 +109,7 @@ Options
103
109
Set the name of an instance to run.
104
110
You can also configure this value using the ``TT_INSTANCE_NAME`` environment variable.
105
111
106
-
See also: :ref:`Starting an instance using the tarantool command <configuration_run_instance_tarantool>`
112
+
See also: :ref:`configuration_run_instance_tarantool`
``tt cluster failover switch-status`` shows the status of switching a master instance.
329
332
This command accepts the following arguments:
330
333
331
-
- ``URI``: A :ref:`URI <tt-cluster-uri>` of the cluster configuration storage.
332
-
- ``TASK_ID``: An identifier of the task used to switch a master instance.
334
+
- ``CONFIG_URI``: A :ref:`URI <tt-cluster-uri>` of the cluster configuration storage.
335
+
- ``TASK_ID``: An identifier of the task used to switch a master instance. You can find the task identifier in the ``tt cluster failover switch`` command output.
333
336
334
337
Example:
335
338
@@ -447,7 +450,7 @@ Options
447
450
448
451
Skip validation when publishing. Default: `false` (validation is enabled).
449
452
450
-
.. option:: --t, --timeoutUINT
453
+
.. option:: -t, --timeoutUINT
451
454
452
455
**Applicable to:** ``failover``
453
456
@@ -474,4 +477,4 @@ Options
474
477
475
478
**Applicable to:** ``publish``
476
479
477
-
Generate hashes and signatures for integrity checks.
480
+
Generate hashes and signatures for integrity checks.
0 commit comments