gdp / apps / gcl-clone.8 @ master
History | View | Annotate | Download (1.53 KB)
1 | e41ced34 | Eric Allman | .Dd August 2, 2015 |
---|---|---|---|
2 | .Dt GCL-CLONE 8 |
||
3 | .Os Swarm-GDP |
||
4 | .Sh NAME |
||
5 | .Nm gcl-clone |
||
6 | .Nd create clone of existing GDP log |
||
7 | .Sh SYNOPSIS |
||
8 | .Nm gcl-clone |
||
9 | .Op Fl D Ar debug-spec |
||
10 | .Op Fl G Ar router-ip |
||
11 | .Ar gcl-name |
||
12 | .Ar logd-name ... |
||
13 | .Sh DESCRIPTION |
||
14 | .Nm |
||
15 | creates a clone of a given existing GDP log |
||
16 | .Ar gcl-name |
||
17 | onto one or more log daemons specified as |
||
18 | .Ar logd-name . |
||
19 | The metadata is copied from |
||
20 | .Ar gcl-name . |
||
21 | The data itself is not copied. |
||
22 | .Pp |
||
23 | .Nm |
||
24 | exists for the sole purpose of testing replication. |
||
25 | .Ss "Warning" |
||
26 | This implementation will change or go away entirely in the future, |
||
27 | and the command will probably be subsumed into a swarm service. |
||
28 | .Sh OPTIONS |
||
29 | .Bl -tag |
||
30 | .It Fl D Ar debug-spec |
||
31 | Turns on debugging flags using the libep-style format. |
||
32 | Useful only with the code in hand. |
||
33 | .It Fl G Ar router-ip |
||
34 | Contact the given IP address (which may be a DNS name) |
||
35 | to get a connection to the GDP routing layer. |
||
36 | This will be replaced by automatic discovery |
||
37 | (for example, using Zeroconf) |
||
38 | soon. |
||
39 | The address may have an optional port number after a colon. |
||
40 | If this is not specified, |
||
41 | the names listed in the |
||
42 | .Va swarm.gdp.routers |
||
43 | runtime administrative parameter |
||
44 | are searched. |
||
45 | .El |
||
46 | .Sh EXIT STATUS |
||
47 | .Bl -tag |
||
48 | .It Li EX_CANTCREAT |
||
49 | The log already exists. |
||
50 | .It Li EX_NOINPUT |
||
51 | The source log name could not be opened |
||
52 | or the metadata was not available. |
||
53 | .It Li EX_USAGE |
||
54 | Command line parameters are incorrect. |
||
55 | .It Li EX_CANTCREAT |
||
56 | One or more of the clones could not be created. |
||
57 | .El |
||
58 | .\".Sh ADMINISTRATIVE PARAMETERS |
||
59 | .\".Sh ENVIRONMENT |
||
60 | .\".Sh FILES |
||
61 | .Sh SEE ALSO |
||
62 | .Xr gdp 7 , |
||
63 | .Xr gdplogd 8 |
||
64 | .\".Sh EXAMPLES |
||
65 | .\".Sh BUGS |