]>
Commit | Line | Data |
---|---|---|
274b47fc DM |
1 | *pmgcm* `<COMMAND> [ARGS] [OPTIONS]` |
2 | ||
3 | *pmgcm create* | |
4 | ||
5 | Create initial cluster config with current node as master. | |
6 | ||
4a46ced6 DM |
7 | *pmgcm delete* `<cid>` |
8 | ||
9 | Remove a node from the cluster. | |
10 | ||
11 | `<cid>`: `<integer> (1 - N)` :: | |
12 | ||
13 | Cluster Node ID. | |
14 | ||
b81b1f95 | 15 | *pmgcm help* `[OPTIONS]` |
274b47fc DM |
16 | |
17 | Get help about specified command. | |
18 | ||
b81b1f95 | 19 | `--extra-args` `<array>` :: |
274b47fc | 20 | |
b81b1f95 | 21 | Shows help for a specific command |
274b47fc DM |
22 | |
23 | `--verbose` `<boolean>` :: | |
24 | ||
25 | Verbose output format. | |
26 | ||
274b47fc DM |
27 | *pmgcm join* `<master_ip>` `[OPTIONS]` |
28 | ||
29 | Join a new node to an existing cluster. | |
30 | ||
31 | `<master_ip>`: `<string>` :: | |
32 | ||
33 | IP address. | |
34 | ||
35 | `--fingerprint` `^(:?[A-Z0-9][A-Z0-9]:){31}[A-Z0-9][A-Z0-9]$` :: | |
36 | ||
37 | SSL certificate fingerprint. | |
38 | ||
c5ccf1ab | 39 | *pmgcm join-cmd* |
274b47fc DM |
40 | |
41 | Prints the command for joining an new node to the cluster. You need to | |
42 | execute the command on the new node. | |
43 | ||
c5ccf1ab TL |
44 | *pmgcm join_cmd* |
45 | ||
46 | An alias for 'pmgcm join-cmd'. | |
47 | ||
4a46ced6 DM |
48 | *pmgcm promote* |
49 | ||
50 | Promote current node to become the new master. | |
51 | ||
274b47fc DM |
52 | *pmgcm status* `[OPTIONS]` |
53 | ||
54 | Cluster node status. | |
55 | ||
56 | `--list_single_node` `<boolean>` ('default =' `0`):: | |
57 | ||
58 | List local node if there is no cluster defined. Please note that RSA keys and fingerprint are not valid in that case. | |
59 | ||
274b47fc DM |
60 | *pmgcm sync* `[OPTIONS]` |
61 | ||
62 | Synchronize cluster configuration. | |
63 | ||
64 | `--master_ip` `<string>` :: | |
65 | ||
66 | Optional IP address for master node. | |
67 | ||
c5ccf1ab TL |
68 | *pmgcm update-fingerprints* |
69 | ||
70 | Notify master to refresh all certificate fingerprints | |
71 | ||
274b47fc | 72 |