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

Build Dependencies

Install asadm as PEX

sudo make
sudo make install

Install asadm without PEX

sudo pip install -r requirements.txt
sudo make no_pex
sudo make install

Running Aerospike Admin in Live Cluster Mode.

asadm -h <Aerospike Server Address> Admin> help

Running Aerospike Admin in Log-analyser Mode.

asadm -l [-f <location of logs>] Admin> help

Running Aerospike Admin in Collectinfo Mode.

asadm -c [-f <location of collectinfo>] Admin> help

Dependencies

Python Modules

Mac OSX

Run following command to ensure asadm history works properly:

sudo easy_install -a readline

Tests

Dependencies

Setting Test Environment

asadm has unit and e2e tests. To setup environment for e2e tests, execute following steps:

Running Tests

Profiling

Dependencies

Run Profiler

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