Apigee Edge 문서입니다.
Apigee X 문서로 이동 info
진단 정보
이 섹션에서는 비공개 클라우드 설정에서 Cassandra 문제에 대해 수집해야 하는 진단 정보를 설명합니다.
| 진단 정보 | 이 정보는 어디에서 수집할 수 있나요? | 이 정보는 어떻게 수집하나요? |
|---|---|---|
| Cassandra 구성 파일 | 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
Edge for Private Cloud 4.54.00 이상 (Cassandra 5.0.x)의 경우 다음을 복사합니다.
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 또는 4.53.01 (Cassandra 4.0.x)의 경우 cp /opt/apigee/apigee-cassandra/conf/jvm8-server.options /tmp/jvm8_server_options_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).options |
| Nodetool 명령어 출력 | Cassandra |
alias nodetool=/opt/apigee/apigee-cassandra/bin/nodetool 현재 Cassandra 버전을 가져옵니다. nodetool version 2>&1 | tee /tmp/nodetool_version_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt 현재 Cassandra 데이터 센터 상태를 가져옵니다. nodetool status 2>&1 | tee /tmp/nodetool_status_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt 데이터 센터 전체의 현재 링/토큰 상태를 가져옵니다. nodetool ring 2>&1 | tee /tmp/nodetool_ring_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt 힙 사용량, 가동시간, 예외 등에 관한 자세한 정보를 확인하세요. nodetool info 2>&1 | tee /tmp/nodetool_info_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt 가십 정보 가져오기: nodetool gossipinfo 2>&1 | tee /tmp/nodetool_gossipinfo_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt 현재 Cassandra 작업의 상태를 가져옵니다. 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 프록시 히스토그램 가져오기 (코디네이터가 기록한 전체 요청 지연 시간 표시): nodetool proxyhistograms 2>&1 | tee /tmp/nodetool_proxyhistograms_$(hostname)-$(date +%Y.%m.%d_%H.%M.%S).txt |
| Cassandra 로그 | 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 |
| 구성요소 버전 및 상태 | 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 |
| 모든 진단 데이터 압축 | Cassandra |
tar -cvzf /tmp/data_CASE_NUMBER_$(hostname).tar.gz /tmp/nodetool* /tmp/cassandra_* /tmp/jvm* /tmp/apigee_all* |