Apigee Edge belgelerini görüntülüyorsunuz.
Apigee X belgelerine gidin. bilgi
Teşhis bilgileri
Bu bölümde, özel bulut kurulumundaki Cassandra sorunları için toplanması gereken teşhis bilgileri açıklanmaktadır.
| Teşhis bilgileri | Bu bilgileri nereden edinebilirim? | Bu bilgileri nasıl toplarım? |
|---|---|---|
| Cassandra yapılandırma dosyaları | Cassandra |
cp /opt/apigee/apigee-cassandra/conf/cassandra-rackdc.properties /tmp/cassandra_rackdc_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).properties cp /opt/apigee/apigee-cassandra/conf/cassandra-env.sh /tmp/cassandra_envsh_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).sh cp /opt/apigee/apigee-cassandra/conf/jvm-server.options /tmp/jvm_server_options_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).options cp /opt/apigee/apigee-cassandra/conf/cassandra.yaml /tmp/cassandra_conf_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).yaml
Özel Bulut için Edge 4.54.00 veya sonraki sürümlerinde (Cassandra 5.0.x) aşağıdaki kodu kopyalayın:
cp /opt/apigee/apigee-cassandra/conf/jvm17-server.options /tmp/jvm17_server_options_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).options
Edge for Private Cloud 4.53.00 veya 4.53.01 (Cassandra 4.0.x) için bunun yerine cp /opt/apigee/apigee-cassandra/conf/jvm8-server.options /tmp/jvm8_server_options_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).options |
| Nodetool komutlarının çıkışı | Cassandra |
alias nodetool=/opt/apigee/apigee-cassandra/bin/nodetool Mevcut Cassandra sürümünü edinme: nodetool version 2>&1 | tee /tmp/nodetool_version_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt Mevcut Cassandra veri merkezi durumunu alın: nodetool status 2>&1 | tee /tmp/nodetool_status_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt Veri merkezindeki mevcut halka/jeton durumunu alın: nodetool ring 2>&1 | tee /tmp/nodetool_ring_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt Yığın kullanımı, çalışma süresi, istisnalar vb. hakkında daha fazla bilgi edinin: nodetool info 2>&1 | tee /tmp/nodetool_info_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt Dedikodu bilgisi alma: nodetool gossipinfo 2>&1 | tee /tmp/nodetool_gossipinfo_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt Mevcut Cassandra işlemlerinin durumunu alın: nodetool compactionstats -H 2>&1 | tee /tmp/nodetool_compactionstats_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt nodetool tpstats 2>&1 | tee /tmp/nodetool_tpstats_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt nodetool netstats -H 2>&1 | tee /tmp/nodetool_netstats_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt nodetool tablestats -H 2>&1 | tee /tmp/nodetool_tablestats_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt Proxy histogramları alma (koordinatör tarafından kaydedilen tam istek gecikmesini gösterir): nodetool proxyhistograms 2>&1 | tee /tmp/nodetool_proxyhistograms_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt |
| Cassandra günlükleri | Cassandra |
tar cvzf /tmp/cassandra_logs_$(hostname)_$(date +%Y.%m.%d_%H.%M.%S).tar.gz /opt/apigee/var/log/apigee-cassandra/system* /opt/apigee/var/log/apigee-cassandra/config* tail -2000 /opt/apigee/var/log/apigee-cassandra/apigee-cassandra.log > /tmp/cassandra_apigee-cassandra_log_$(hostname)_$(date +%Y.%m.%d_%H.%M.%S).log |
| Bileşenlerin sürümü ve durumu | Cassandra |
apigee-all version 2>&1 | tee /tmp/apigee_all_version_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt apigee-all status 2>&1 | tee /tmp/apigee_all_status_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt |
| Tüm teşhis verilerini sıkıştırın. | Cassandra |
tar -cvzf /tmp/data_CASE_NUMBER_$(hostname).tar.gz /tmp/nodetool* /tmp/cassandra_* /tmp/jvm* /tmp/apigee_all* |