Aerospike Admin provides an interface for Aerospike users to view the stat of their Aerospike Cluster by fetching information from a running cluster (Cluster mode) a collectinfo file (Collectinfo-Analyzer), or logs (Log-analyser mode). Start the tool with asadm and run the help command to get started.
- pip >= 9.0.3
- pex == 1.6.1
- requests == 2.18.4
sudo make
sudo make install
sudo pip install -r requirements.txt
sudo make no_pex
sudo make install
asadm -h <Aerospike Server Address> Admin> help
asadm -l [-f <location of logs>] Admin> help
asadm -c [-f <location of collectinfo>] Admin> help
- python 3.6+
- bcrypt == 3.1.4
- cryptography >= 3.4.7
- jsonschema >= 2.5.1
- pexpect: >= 3.0
- ply: >= 3.4
- pyOpenSSL: >= 18.0.0
- pyasn1: >= 0.3.1
- toml
Requires Python 3.6+ Run following command to ensure asadm history works properly:
sudo easy_install -a readline
- unittest2: 0.5.1
- Mock: 1.0.1
asadm has unit and e2e tests. To setup environment for e2e tests, execute following steps:
- Enable security in the aerospike.conf file.
- Verify that the default user
admin
exists and that is has the default roles:sys-admin
,user-admin
, andread-write
. - Start Aerospike cluster: Test machine should be part of this cluster with 3000 as asinfo port.
- Write a few records to cluster
asbenchmark -h <host> -Uadmin -Padmin
- Wait for a few seconds so cluster can return histogram output properly.
- pip install -r requirements.txt
- ./run_tests.sh
- yappi: 0.92
asadm --profile Do not exit with 'ctrl+c' exit with the exit command