compared with
Current by Patrick Varley
on Dec 17, 2014 10:57.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (24)

View Page History

*Support email:* support@couchbase.com
*Support phone number:* \+1-650-417-7500, option #1
*Support portal:* [http://support.couchbase.com]

To speed up the resolution of your issue, we will need some information to troubleshoot what is going on. The more information you can provide in the questions below the faster we will be able to identify your issue and propose a fix:
h2. Diagnostics/Logs

h3. cbcollect_info

Diagnostics/logs will give us further detail around the issue itself and the health of your environment.

* [cbcollect_info|http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-admin-cmdline-cbcollect_info.html] is a command line utility that provides us with detailed statistics for a specific node. Example usage:
* Before collecting logs, we recommend temporarily turning off [auto-failover|http://docs.couchbase.com/couchbase-manual-2.2/#couchbase-admin-web-console-settings-autofailover]

* Linux
{code}/opt/couchbase/bin/cbcollect_info <node_name>.zip{code}
h3. Couchbase Server 3.x

* Windows
{code}C:\Program Files\Couchbase\Server\bin\cbcollect_info <node_name>.zip{code}
* Introduced in Couchbase Server 3.0, the [Web console|http://docs.couchbase.com/admin/admin/UI/ui-logs.html] provides a method to collect and upload logs to Couchbase Support.
Please leave the "Upload to host:" option as the default *s3.amazonaws.com/cb-customers*&nbsp;&nbsp;
* !http://docs.couchbase.com/admin/admin/images/ui-log-collect-info.png|border=1,width=75%,height=75%!
Alternatively the CLI command [cbcollect_info|http://docs.couchbase.com/admin/admin/CLI/cbcollect_info_tool.html] is also available &nbsp;

Run {{cbcollect_info}} on *all nodes in the cluster*, and upload all of the resulting files to us.

h3. cbhealthchecker
h3. Couchbase Server 2.x cbcollect_info

In Couchbase Server 2.1, we introduced a tool called [cbhealthchecker|http://www.couchbase.com/docs/couchbase-manual-2.1.0/couchbase-admin-cmdline-cbhealthchecker.html] that is designed to be run on a currently-live cluster. It gathers statistics and other information and provides alerts on proper sizing or other problems.
* [cbcollect_info|http://docs.couchbase.com/couchbase-manual-2.5/cb-cli/#cbcollect-info-tool] is a command line utility that provides us with detailed statistics for a specific node.
* Run {{cbcollect_info}} on each node individually, not on all simultaneously.

Along with the above collection of cbcollect_info, please run this tool against the cluster as well and provide us with the output. Note that you do not need to run it for each node or bucket, just once against the whole cluster.
Example usage:

And example running it is:
{code}
[root@localhost ~]# /opt/couchbase/bin/cbhealthchecker -c localhost -u Administrator -p password
bucket: default
node: 1.1.1.2 11210
node: 1.1.1.1 11210
................................
* Linux (run as root or use sudo as below)
{code}sudo /opt/couchbase/bin/cbcollect_info <node_name>.zip{code}

The run finished successfully.
Please find html output at '/root/reports/2013-05-30_19-53-23.html' and text output at '/root/reports/2013-05-30_19-53-23.txt'.
[root@localhost ~]#
{code}
* Windows (run as an administrator)
{code}C:\Program Files\Couchbase\Server\bin\cbcollect_info <node_name>.zip{code}

And then we would ask that you zip and upload everything under the created "reports" directory. In a future version, the script will provide an output file automatically.
Run {{cbcollect_info}} on *all nodes in the cluster*, and upload all of the resulting files to us.

h2. Sharing Files with Us

{code}
curl --upload-file <FILE NAME> https://s3.amazonaws.com/customers.couchbase.com/<YOUR COMPANY NAME>/
{code}

Note: we ship curl with couchbase, on linux this is located in /opt/couchbase/bin/

h3. Firewalled Couchbase Nodes

If your Couchbase nodes do not have internet access, the best way to provide the logs to us is to copy the files then run Curl from a machine with internet access. We ship a Windows curl binary as part of Couchbase, so if you have Couchbase Server installed on a laptop or other system which has an Internet connection you can upload from there. Alternatively you can download standalone Curl for Windows:

[http://curl.haxx.se/download.html]

Once uploaded, please send an e-mail to support@couchbase.com letting us know what files have been uploaded.