We have a requirement to get the aerospike cluster details via a shell script, so trying to find a way to run “summary” command outside of “Admin>” prompt i.e. without running asadm and to enter “Admin>” prompt.
Below is working but hard to script
aerospike@xxxx [/home/aerospike] ==>asadm Seed: [('127.0.0.1', 3000, 'xxxx')] Config_file: /home/aerospike/.aerospike/astools.conf, /etc/aerospike/astools.conf Aerospike Interactive Shell, version 0.3.3 Enter Password: Found 3 nodes Online: Admin> summary
Is there any way we can run it out side asadm like asinfo -v “summary” ?