Abhishek Kumar
Abhishek Kumar

Reputation: 23

Aerospike- Python Client- get host name from INFO_NODE

looking for details of below questions.

  1. Using INFO_NODE we are looking to build an UI interface to display something like (i net statistics) below.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Network Information (2020-07-21 00:39:27 UTC)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Cluster                           Node               Node                  Ip       Build   Cluster   Migrations        Cluster     Cluster         Principal   Client     Uptime
    Name                              .                 Id                   .           .      Size            .            Key   Integrity                 .    Conns          .
test                   testbox.test.com:3000   *aaaaaaaaaaaa0   XX.XXX.XX>XXXX:3000   E-4.5.3.5         1      0.000     key12344    True     aaaaaaaaaaaa0        3   14:12:13

How can we get details of cluster name and node name. we could get other details from INFO_NODE?

  1. Can we run quiesce, recluster from python client?

Upvotes: 2

Views: 258

Answers (1)

Meher
Meher

Reputation: 2939

You should be able to issue any info command from a client. See this Knowledge Base article. Getting any statistics or configuration parameter values can also be done through similar info calls. For example node-id or cluster-name.

Upvotes: 2

Related Questions