File: tarantool_instance.pod

package info (click to toggle)
tarantool-lts 1.5.5.37.g1687c02-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 15,124 kB
  • ctags: 18,819
  • sloc: ansic: 118,797; cpp: 22,178; sh: 18,496; xml: 10,692; python: 2,083; java: 1,759; perl: 972; makefile: 719; ruby: 84
file content (34 lines) | stat: -rw-r--r-- 808 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
=head1 NAME

tarantool_instance - utility to start/stop tarantool instances


=head1 SINOPSYS

    tarantool_instance NAME start
    tarantool_instance NAME stop


=head1 DESCRIPTION

The utility seeks instance in B</etc/tarantool/instances.enabled/> directory.
It seeks I<< /etc/tarantool/instances.enabled/B<NAME>.cfg >>, but You can use
filepath instead B<NAME>.

The utility extends tarantool's configs by the following variables:

=over

=item file_descriptors = COUNT

You can set sockets limit for the instance.

=back

The utility copies instance's config to directory
B</var/lib/tarantool/started/>, exclude additional variables,
then starts or stops instance.

In the first starting the utilitie creates
I<< /var/lib/tarantool/snapshot/B<NAME> >> directory and empty snapshot
inside the directory.