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.
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
Also, 'nodetool status' if you're into the whole brevity thing. 😉
User | Count |
---|---|
7 | |
2 | |
2 | |
2 | |
1 |