1COROSYNC-OBJCTL(8)          System Manager's Manual         COROSYNC-OBJCTL(8)
2
3
4

NAME

6       corosync-objctl - Configure objects in the Object Database
7

SYNOPSIS

9       corosync-objctl [-b] [-c|-w|-d|-a|-t-h] <OBJECT-SPEC>...
10

DESCRIPTION

12       corosync-objctl is used to configure objects within the object database
13       at runtime.
14

OBJECT-SPEC

16       There are two types of entities
17              Objects and Key=Value pairs
18
19       Objects
20              Objects are container like entities that can  hold  other  enti‐
21              ties.  They are specified as "objectA"."objectB".  An example is
22              logging.logger.
23
24       Key=Value pairs
25              These are the entities that actually hold values (read  database
26              "fields").   They  are  specified  as  object.key=value  or just
27              object.key if you are reading.
28

OPTIONS

30       -c     Create a new object.
31
32       -d     Delete an existing object.
33
34       -w     Use this option when you want to write a new value to a key.
35
36       -a     Display all values currently available.
37
38       -t     Track changes to an object and it's  children.  As  changes  are
39              made  to the object they are printed out. this is kind of like a
40              "tail -f" for the object database.
41
42       -h     Print basic usage.
43
44       -b     Display binary values in BASH backslash escape sequences format.
45

EXAMPLES

47       Print the objOne object (shouldn't exist yet).
48              $ corosync-objctl objOne
49
50       Create the objOne object.
51              $ corosync-objctl -c objOne
52
53       Print the objOne object (empty).
54              $ corosync-objctl objOne
55              objOne
56
57       Write two new keys to the objOne object.
58              $ corosync-objctl -w objOne.max=3000 objOne.min=100
59
60       Print the objOne object (with the two new keys).
61              $ corosync-objctl objOne
62              objOne.min=100
63              objOne.max=3000
64
65       Delete the objOne.min key
66              $ corosync-objctl -d objOne.min=100
67
68       Prove that is gone.
69              $ corosync-objctl objOne
70              objOne.max=3000
71
72       Delete the whole objOne object.
73              $ corosync-objctl -d objOne
74
75       Prove that is gone.
76              $ corosync-objctl objOne
77

SEE ALSO

79       confdb_keys(8), confdb_initialize(3)
80

AUTHOR

82       Angus Salkeld
83
84                                  2008-07-29                COROSYNC-OBJCTL(8)
Impressum