|
1 | 1 | = CLI Reference |
2 | 2 | :description: The command-line interface (CLI) tools let you manage and monitor your Couchbase Server installation including clusters, servers, vBuckets, and XDCR. |
3 | | -:tools-ver: 7.6.2 |
| 3 | +:tools-ver: 7.6.4 |
4 | 4 |
|
5 | 5 | [abstract] |
6 | 6 | {description} |
@@ -39,46 +39,97 @@ You can collect diagnostics through the command-line interface by using the xref |
39 | 39 | [#server-tools-packages] |
40 | 40 | == Server Tools Packages |
41 | 41 |
|
42 | | -For convenience, Couchbase provides a tools package that contains the following utilities: |
| 42 | +For convenience, Couchbase provides the Server developer tools package and the Server admin tools package. |
| 43 | + |
| 44 | +=== Server Developer Tools Package |
| 45 | + |
| 46 | +The Server developer tools package lets you install the following EE Server utilities on the systems where you have not installed Couchbase Server: |
43 | 47 |
|
44 | 48 | * xref:tools:cbimport.adoc[`cbimport`] |
45 | 49 | * xref:tools:cbexport.adoc[`cbexport`] |
46 | 50 | * xref:cli:cbq-tool.adoc[`cbq`] |
47 | 51 | * xref:backup-restore:cbbackupmgr.adoc[`cbbackupmgr`] |
48 | 52 |
|
49 | | -This package lets you install these tools on systems where you have not installed Couchbase Server. |
50 | 53 |
|
51 | 54 | Download the command line tools package for your platform from the following links: |
52 | 55 |
|
53 | | -* Linux: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-tools_{tools-ver}-linux_x86_64.tar.gz[] |
54 | | -* Linux aarch64: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-tools_{tools-ver}-linux_aarch64.tar.gz[] |
55 | | -* macOS: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-tools_{tools-ver}-macos_x86_64.zip[] |
56 | | -* macOS arm64: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-tools_{tools-ver}-macos_arm64.zip[] |
57 | | -* Windows: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-tools_{tools-ver}-windows_amd64.zip[] |
| 56 | +* Linux: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-dev-tools_{tools-ver}-linux_x86_64.tar.gz[] |
| 57 | +* Linux aarch64: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-dev-tools_{tools-ver}-linux_aarch64.tar.gz[] |
| 58 | +* macOS: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-dev-tools_{tools-ver}-macos_x86_64.zip[] |
| 59 | +* macOS arm64: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-dev-tools_{tools-ver}-macos_arm64.zip[] |
| 60 | +* Windows: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-dev-tools_{tools-ver}-windows_amd64.zip[] |
58 | 61 |
|
59 | 62 | Unzip or untar the packages, and the binaries are ready to run. |
60 | 63 | For example: |
61 | 64 |
|
62 | 65 | [source,console,subs="attributes+"] |
63 | 66 | ---- |
64 | | -wget https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-tools_{tools-ver}-linux_x86_64.tar.gz |
| 67 | +wget https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-dev-tools_{tools-ver}-linux_x86_64.tar.gz |
65 | 68 |
|
66 | | -tar -xf couchbase-server-tools_{tools-ver}-linux_x86_64.tar.gz |
| 69 | +tar -xf couchbase-server-dev-tools_{tools-ver}-linux_x86_64.tar.gz |
67 | 70 | ---- |
68 | 71 |
|
69 | 72 | Each package also contains a `README` file and a copy of the software license. |
70 | 73 |
|
71 | 74 | NOTE: On Windows, you must have a recent version of the Microsoft Visual {cpp} Redistributable runtime libraries installed. |
72 | 75 | If you do not have these libraries installed, download them from https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170[Microsoft Visual {cpp} Redistributable latest supported downloads]. |
73 | 76 |
|
| 77 | +=== Server Admin Tools Package |
| 78 | + |
| 79 | +The Server admin tools package lets you install the following Server utilities on the systems where you have not installed Couchbase Server: |
| 80 | + |
| 81 | +* xref:backup-restore:cbbackupmgr.adoc[`cbbackupmgr`] |
| 82 | +* https://docs.couchbase.com/sdk-api/couchbase-c-client/md_doc_2cbc.html[`cbc`] |
| 83 | +* xref:tools:cbdatarecovery.adoc[`cbdatarecovery`] |
| 84 | +* xref:tools:cbexport.adoc[`cbexport`] |
| 85 | +* xref:tools:cbimport.adoc[`cbimport`] |
| 86 | +* xref:cli:cbq-tool.adoc[`cbq`] |
| 87 | +* xref:cli:cbstats-intro.adoc[`cbstats`] |
| 88 | +* xref:cli:cbcli/couchbase-cli.adoc[`couchbase-cli`] |
| 89 | +* xref:cli:mcstat.adoc[`mcstat`] |
| 90 | +* xref:cli:mctimings.adoc[`mctimings`] |
| 91 | +* xref:cli:mctestauth.adoc[`mctestauth`] |
| 92 | + |
| 93 | +Download the command line tools package for your platform from the following links: |
| 94 | + |
| 95 | +* Linux: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-admin-tools_{tools-ver}-linux_x86_64.tar.gz[] |
| 96 | +* Linux aarch64: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-admin-tools_{tools-ver}-linux_aarch64.tar.gz[] |
| 97 | +* macOS: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-admin-tools_{tools-ver}-macos_x86_64.zip[] |
| 98 | +* macOS arm64: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-admin-tools_{tools-ver}-macos_arm64.zip[] |
| 99 | +* Windows: https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-admin-tools_{tools-ver}-windows_amd64.zip[] |
| 100 | + |
| 101 | +Unzip or untar the packages, and the binaries are ready to run. |
| 102 | +For example: |
| 103 | + |
| 104 | +[source,console,subs="attributes+"] |
| 105 | +---- |
| 106 | +wget https://packages.couchbase.com/releases/{tools-ver}/couchbase-server-admin-tools_{tools-ver}-linux_x86_64.tar.gz |
| 107 | +
|
| 108 | +tar -xf couchbase-server-admin-tools_{tools-ver}-linux_x86_64.tar.gz |
| 109 | +---- |
| 110 | + |
| 111 | +Each package also contains a `README` file and a copy of the software license. |
| 112 | + |
| 113 | +NOTE: On Windows, you must have a recent version of the Microsoft Visual {cpp} Redistributable runtime libraries installed. |
| 114 | +If you do not have these libraries installed, download them from https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist[Microsoft Visual {cpp} Redistributable latest supported downloads]. |
| 115 | + |
| 116 | + |
74 | 117 | [#version-compatibility] |
75 | 118 | == Version Compatibility |
76 | 119 |
|
77 | 120 | The versions of the utilities installed by the tools package are the same as the corresponding Couchbase Server installation package. |
78 | 121 |
|
79 | | -The {tools-ver} `cbimport`, `cbexport`, `cbbackupmgr`, and `cbq` utilities are compatible with the following Couchbase Server versions: |
| 122 | +For Server developer tools package, the {tools-ver} version of `cbimport`, `cbexport`, `cbbackupmgr`, and `cbq` utilities are compatible with the following Couchbase Server versions: |
80 | 123 |
|
81 | | -* 7.6.0, 7.6.1 |
| 124 | +* 7.6.0, 7.6.1, 7.6.2, 7.6.3 |
82 | 125 | * 7.2.x |
83 | 126 | * 7.1.x |
84 | 127 | * 7.0.x |
| 128 | + |
| 129 | +You can download and use the latest version of the utilities (`cbimport`, `cbexport`, `cbbackupmgr`, and `cbq`) with earlier Couchbase Server versions. |
| 130 | + |
| 131 | +For Server admin tools package, do the following: |
| 132 | + |
| 133 | +* Use the `--version` option to get the version of the utility. However, for the `cbc` utility, use the `cbc version` option. |
| 134 | +* `couchbase-cli` is a utility for administering the Couchbase cluster. Make sure that the versions of `couchbase-cli` and the Couchbase cluster match. |
| 135 | +* For all utilities, a feature that exists in a latest Server version only is not supported by an earlier version utility. |
0 commit comments