1GEOSTORE(8)                                                        GEOSTORE(8)
2
3
4

NAME

6       geostore - geo cluster attribute manager
7

SYNOPSIS

9       geostore set [-t ticket] [-s site] [-c config] attribute value
10
11       geostore get [-t ticket] [-s site] [-c config] attribute
12
13       geostore delete [-t ticket] [-s site] [-c config] attribute
14
15       geostore list [-t ticket] [-s site] [-c config]
16

DESCRIPTION

18       Applications running in GEO cluster environments may need more
19       information apart from tickets to make decisions. One example may be
20       the status of data replication.
21
22       geostore is a helper program to manage site attributes. The attributes
23       are defined on a per-ticket basis, that is every ticket may have one or
24       more attributes.
25
26       It can set an attribute value, retrieve an attribute, or delete it. The
27       attributes are stored in the CIB status section which is managed by the
28       pacemaker cib process. boothd(8) provides transport for attributes to
29       other sites.
30
31       crm_ticket(8) is invoked at the target site to manage the attributes.
32

SHORT EXAMPLES

34           # geostore set -t ticket-A -s other bigdb-repl-status UPTODATE
35
36           # geostore get -t ticket-A -s other bigdb-repl-status
37
38           # geostore delete -t ticket-A -s 44.0.0.61 bigdb-repl-status
39
40           # geostore list -t ticket-A -s other
41

OPTIONS

43       -t
44           Ticket scope of the attribute (required, if more than one ticket is
45           configured).
46
47       -s
48           Site address or name where the attribute is to be stored/retrieved.
49
50               The special value 'other' can be used to specify the other
51               site. Obviously, in that case, the booth configuration must
52               have exactly two sites defined.
53
54       -c configfile
55           Configuration to use.
56
57           Can be a full path to a configuration file, or a short name; in the
58           latter case, the directory /etc/booth and suffix .conf are added.
59           Per default booth is used, which results in the path
60           /etc/booth/booth.conf.
61
62       -h, --help
63           Give a short usage output.
64

COMMANDS

66       set
67           Sets the attribute to the value.
68
69       get
70           Get the attribute value and print it to stdout. If the attribute
71           doesn’t exist, appropriate error message is printed to stderr.
72
73       delete
74           Delete the attribute. If the attribute doesn’t exist, appropriate
75           error message is printed to stderr.
76
77       list
78           List all attributes and their values stored at the site.
79

EXIT STATUS

81       0
82           Success.
83
84       1
85           Request failed or bad usage.
86

RESOURCES

88       GitHub: <https://github.com/ClusterLabs/booth>
89

COPYING

91       Copyright   ©    2015    Dejan    Muhamedagic    <dmuhamedagic@suse.com
92       <dmuhamedagic@suse.com>>
93
94       Free use of this software is granted under the terms of the GNU General
95       Public License (GPL) as of version 2 (see COPYING file) or later.
96

SEE ALSO

98       boothd(8), crm_attribute(8)
99
100
101
102                                  2018-06-27                       GEOSTORE(8)
Impressum