Cassandra、OpsCenter、および必要な DataStax エージェントを EC2 Amazon マシンにセットアップしました。現時点では、それは 1 つのマシンだけです。
ノード リストが空であり、Opscenter のキースペースも空であることを除いて、すべてが正常に実行されているようです。cassandra、datastax、および opscenter のログにはエラーが表示されず、インストールと構成を慎重に実行しました。次に、提案されたすべての修正を試しました。
私の推測では、問題はエージェントと opscenter 間の通信にあります。
しばらくすると、これらのリクエストは失敗します。
etc/cassandra/cassandra.yaml: (簡略化)
cluster_name: 'CassandraCluster'
seed_provider:
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
- seeds: "1.2.3.4"
listen_address: 1.2.3.4
rpc_address: 0.0.0.0
endpoint_snitch: Ec2Snitch
etc/opscenter/opscenterd.conf: (簡略化)
[webserver]
port = 81
interface = 0.0.0.0
[authentication]
enabled = False
[stat_reporter]
[agents]
use_ssl = false
var/lib/datastax-agent/conf/address.yaml: (簡略化)
stomp_interface: 1.2.3.4
local_interface: 1.2.3.4
use_ssl: 0
ノードツールのステータス出力:
Note: Ownership information does not include topology; for complete information, specify a keyspace
Datacenter: eu-west_1_cassandra
===============================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns Host ID Rack
UN 1.2.3.4 2.06 MB 256 100.0% 8a121c12-7cbf-4a2a-b111-4ad111c111d8 1a
agent.log で次の行が繰り返し発生することを除いて、ログには特に奇妙なことは何も表示されません。
INFO [install-location-finder] 2015-03-11 15:26:04,690 New JMX connection (127.0.0.1:7199)
INFO [install-location-finder] 2015-03-11 15:27:04,698 New JMX connection (127.0.0.1:7199)
INFO [install-location-finder] 2015-03-11 15:28:04,709 New JMX connection (127.0.0.1:7199)
INFO [install-location-finder] 2015-03-11 15:29:04,716 New JMX connection (127.0.0.1:7199)
INFO [install-location-finder] 2015-03-11 15:30:04,724 New JMX connection (127.0.0.1:7199)
INFO [install-location-finder] 2015-03-11 15:31:04,731 New JMX connection (127.0.0.1:7199)
ここにすべての情報を提供するために、ログは次のとおりです。