Skip to content

kustodian/aerospike-admin

 
 

Repository files navigation

Aerospike Admin

Description

Aerospike Admin provides an interface for Aerospike users to view the stat of their Aerospike Cluster by fetching information from running cluster (Cluster mode) or logs (Log-analyser mode). Start the tool with asadm and run the help command to get started.

Installing Aerospike Admin

sudo ./asadm-deps/install.sh
sudo make
sudo make install

Running Aerospike Admin in Live Cluster Mode.

asadm -h Admin> help

Running Aerospike Admin in Log-analyser Mode.

asadm -l [-f ] Admin> help

Running Aerospike Admin in Collectinfo Mode.

asadm -c [-f ] Admin> help

Dependencies

  • python 2.6+ (< 3)

Python Modules

  • jsonschema >= 2.5.1 (for centos6 please install jsonschema==2.5.1)
  • pexpect: >= 3.0
  • ply: >= 3.4
  • pyOpenSSL: >= 16.2.0
  • pyasn1: >= 0.3.1
  • toml

Installing Python Module Dependencies

sudo ./asadm-deps/install.sh

Mac OSX

Run following command to ensure asadm history works properly:

sudo easy_install -a readline

Tests

Dependencies

  • unittest2: 0.5.1
  • Mock: 1.0.1

Running Tests

./run_tests.sh or unit2 discover

Profiling

Dependencies

  • yappi: 0.92

Run Profiler

asadm --profile Do not exit with 'ctrl+c' exit with the exit command

About

Aerospike Administration tool: allows operations to view vital stats from the aerospike server from the command line.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.8%
  • Shell 3.0%
  • Makefile 0.2%