Check HA Services Status#
This section is a collection of commands that can be used to verify the status of Carbonio's HA and related services.
Depending on the type of check, commands should be executed as either
the root
user or zextras
user. All commands should be issued on the Node where the
corresponding service is installed.
These are the commands to be issued as the root
user.
-
Connect consul to check all CARBONIO service status
# ssh root@mob-ha-svcs1.demo.zextras.io -L8550:127.0.0.1:8500
-
Check zookeeper service status
# systemctl status carbonio-zookeeper.service
-
Check Kafka services status
# systemctl status carbonio-kafka.service
-
Check Kafka Topics
# /opt/kafka/bin/kafka-topics.sh --bootstrap-server 127.0.0.1:9092 --list
These are the commands to be issued as the zextras
user.
-
Get Global Broker info
zextras$ carbonio config get global brokers
-
Check Carbonio HA services status
zextras$ carbonio ha getServices
-
Check LDAP Multi Master status check
zextras$ /opt/zextras/libexec/zmreplchk
-
List all Buckets
zextras$ carbonio core listBuckets all
-
Test S3 connection
zextras$ carbonio core testS3Connection S3UUID
-
Consul Token get
zextras$ export CONSUL_HTTP_TOKEN=$(gpg -qdo - /etc/zextras/service-discover/cluster-credentials.tar.gpg | tar xOf - consul-acl-secret.json | jq .SecretID -r)
-
Verify that the Consul server is configured as a service discovery tool and installed as a service
zextras$ carbonio prov gs $(zmhostname) \| grep -i servicezmprov -l ms $(zmhostname) +zimbraServiceInstalled service-discover +zimbraServiceEnabled service-discover