gpt4 book ai didi

amazon-ec2 - Datastax Opscenter - 代理未连接

转载 作者:行者123 更新时间:2023-12-01 00:54:28 25 4
gpt4 key购买 nike

我在我的 EC2 Amazon 机器上设置了 Cassandra、OpsCenter 和所需的 DataStax 代理。目前只有一台机器。

一切似乎都运行良好,除了节点列表是空的,Opscenter 中的键空间也是空的。 cassandra、datastax 和 opscenter 日志没有显示错误,我仔细地遵循了安装/配置。然后尝试了所有建议的修复。

我的猜测是问题在于代理和 opscenter 之间的通信。

enter image description here

一段时间后,这些请求失败:

enter image description here

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

nodetool 状态输出:
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)

在这里提供所有信息是日志:
  • opscenterd.log
  • agent.log
  • cassandra/system.log
  • 最佳答案

    在某些环境中,浏览器和 opscenterd 之间的持久连接可能会失败。我们正在努力实现一个更强大的连接,该连接适用于所有环境,但同时您可以使用以下解决方法:

    http://www.datastax.com/documentation/opscenter/5.1/opsc/troubleshooting/opscTroubleshootingZeroNodes.html

    关于amazon-ec2 - Datastax Opscenter - 代理未连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28991953/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com