Code Monkey home page Code Monkey logo

oracle / coherence-cli Goto Github PK

View Code? Open in Web Editor NEW
15.0 9.0 10.0 3.72 MB

The Coherence command line interface (CLI) is a lightweight tool, in the tradition of tools such as kubectl, which can be scripted or used interactively to manage and monitor Coherence clusters.

Home Page: https://oracle.github.io/coherence-cli/docs/latest

License: Universal Permissive License v1.0

Makefile 3.68% Go 88.89% Java 2.79% Shell 4.65%
coherence coherence-ce cli cli-tool management monitoring oracle

coherence-cli's Introduction


logo

Coherence CI License

Quality Gate Status Security Rating

Go Report Card GitHub release (latest by date)

Coherence Command Line Interface (CLI)

Coherence Demo

Contents

Overview

The Coherence command line interface, cohctl, is a lightweight tool, in the tradition of tools such as kubectl, which can be scripted or used interactively to manage and monitor Coherence clusters. You can use cohctl to view cluster information such as services, caches, members, etc, as well as perform various management operations against clusters.

The CLI accesses clusters using the HTTP Management over REST interface and therefore requires this to be enabled on any clusters you want to monitor or manage. See the Coherence Documentation for more information on setting up Management over REST.

NOTE: The CLI does not replace current management and monitoring tools such as the Coherence VisualVM Plugin, Enterprise Manager, or Grafana Dashboards, but complements and provides a lightweight and scriptable alternative.

Why use the Coherence CLI?

The CLI complements your existing Coherence management tools and allows you to:

  • Interactively monitor your Coherence clusters from a lightweight terminal-based interface
  • Monitor service "StatusHA" during rolling restarts of Coherence clusters
  • Script Coherence monitoring and incorporate results into other management tooling
  • Output results in various formats including text, JSON and utilize JsonPath to extract attributes of interest
  • Gather information that may be useful for Oracle Support to help diagnose issues
  • Connect to standalone or WebLogic Server based clusters from commercial versions 12.2.1.4 and above as well as the latest Coherence Community Edition (CE) versions
  • Retrieve thread dumps across members
  • Create, start and scale development clusters (experimental)

Install the CLI

The Coherence CLI is available for macOS, Linux and Windows for x86 and Arm based processors.

Mac / Linux

For macOS and Linux platforms, use the following to install the latest version of the CLI:

curl -sL https://raw.githubusercontent.com/oracle/coherence-cli/main/scripts/install.sh | bash

Note: On linux, sudo is required to copy cohctl to the destination directory /usr/local/bin/

Windows

For Windows, use the curl command below, then copy cohctl.exe to a directory in your PATH:

curl -sLo cohctl.exe "https://github.com/oracle/coherence-cli/releases/download/1.7.0/cohctl-1.7.0-windows-amd64.exe"

Note: Change the amd64 to arm for ARM based processor in the URL above.

See the Install guide for more information on downloading and installing the CLI.

Getting Started

Documentation for the Coherence CLI is available here

The fastest way to experience the Coherence CLI is to follow the Quick Start guide.

Supported Coherence Versions

The CLI supports and is certified against the following Community and Commercial editions of Coherence:

Coherence Community Edition

  • 24.03+
  • 22.06+
  • 14.1.1-0-12+

Coherence Grid/ Enterprise Edition

  • 12.2.1.4.x - minimum patch level of 12.2.1.4.10+ required
  • 14.1.1.0.x - minimum patch level of 14.1.1.0.5+ required
  • 14.1.1.2206.x Feature Pack

Note: If you are on a patch set below the minimum recommended above, then CLI may work, but some functionality may not be available. It is always recommended to upgrade to the latest Coherence patch as soon as you are able to.

Need more help? Have a suggestion? Come and say "Hello!"

We have a public Slack channel where you can get in touch with us to ask questions about using the Coherence CLI or give us feedback or suggestions about what features and improvements you would like to see. We would love to hear from you. To join our channel, please visit this site to get an invitation.
The invitation email will include details of how to access our Slack workspace. After you are logged in, please come to #coherence-cli and say, "hello!"

Contributing

This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide

Security

Please consult the security guide for our responsible security vulnerability disclosure process

License

Copyright (c) 2021 Oracle and/or its affiliates.

Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/.

coherence-cli's People

Contributors

dependabot[bot] avatar dhirupandey avatar ghillert avatar martin-keppner-o avatar spavlusieva avatar thegridman avatar tmiddlet2666 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.