Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-2133

Command line data-collection tool

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 1.6.0 beta4
    • 1.6.0 beta4
    • ns_server
    • None
    • Operating System: All
      Platform: All

    Description

      Trond, Matt suggested that you'd be the best person for this since you're already working on each of our supported platforms.

      The idea is to have a command line tool that can be invoked by the user even if ns_server is down that will produce an archive file containing all the needed information. In addition, if the user goes to /diag when ns_server is up, it will execute this same tool on each node, packaging up the individual archives into a single archive that the browser will then download.

      For portability, the tool should be invokable by ns_server using the same relative pathname on each platform, the same way memcached, moxi, and vbucketmigrator are right now. It should either take a filename as an argument or just write a file to a standard temporary directory and give the filename as output in a way that's easily parseable with the same Erlang code on all platforms.

      The list of things support (Perry) would like to see collected is at http://hub.northscale.com/wiki/index.php?title=Support_Tools . We should implement the low-hanging fruit first, with at a bare minimum the browse_logs output being included.

      I will be happy to write escript code to grab any data that's needed from Erlang when ns_server won't start.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            trond@northscale.com Trond Norbye [X] (Inactive)
            sean@northscale.com Sean Lynch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty