How to Test and validate Zookeeper/Cassandra of my Apigee Edge on-premises Installation ?

Not applicable

Hi Everyone,

I need to test and validate Zookeeper/Cassandra of my Apigee Edge on-premises installaion.

How to do this, please give me à roadmap or the steps to do this.

Regards.

1 2 1,619
2 REPLIES 2

Not applicable

Hi Mohcine,

Well, it depends of what you need to test or validate. To validate they are working and responding to commands you could run:

/opt/apigee4/bin/all-status.sh

This will return the status of all processes installed on the VM.

/opt/apigee4/share/apache-cassandra/bin/nodetool ring

The command will show you the Cassandra ring topology and status of all nodes. This command must be run in a Cassandra node.

/opt/apigee4/contrib/zk-tree.sh

The command will list all entries in Zookeeper. This command must be run in a Zookeeper node.

If the Management Server is installed already, then:

curl -v -u {user}:{password} "http://{ip}:8080/v1/servers?pod=central"

The command will list any server registered on central pod. This an most of the management API calls will only work if Zookeeper is working.

user:password = user name and password for system user

ip = management server ip

Not applicable

Also, 'nodetool status' if you're into the whole brevity thing. 😉