AWSでcentOS 7を実行している4ノードのCassandra 3.4クラスタをセットアップしました。私はそれを設定し、すべてのノードを一緒に取得することができました。今私はいくつかのテストを行い、1台のマシンにインストールしたdevopsセンターを使ってクラスタの動作を監視したいと考えています。Cassandra EC2クラスタ外のdevopsインターフェイスへのアクセス
私は自分のコンピュータからアクセスするSSHトンネリングを使用して考えた:私のブラウザを使用して
ssh -i Amazon-EC2-Ami.pem -L 9999:localhost:8888 [email protected]_address
、localhost:9999
は正しくDevOpsチームにトンネルますが、ページログイン:http://localhost:8888/opscenter/login.html
が、私はERR_CONNECTION_REFUSED
Iを得ましたコマンドライン・ブラウザを使用してそのマシン上のdevopsにアクセスしようとしましたが、ログイン・ページが表示されます。私は本当に問題が何であるか分からない。どんな情報も本当に感謝しています。
を:SSHトンネリング私は要求が正しくトンネリングされていることを確認することができますを起動-vオプションを使用してcluster_name: 'Cloak'
listen_address:
endpoint_snitch: GossipingPropertyFileSnitch
rpc_address:
seed_provider:
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
- seeds: "172.31.55.186,172.31.55.187"
EDIT :これは、場合、それは助け、カサンドラ・YAML設定ファイルです
[[email protected] ~]$ debug1: Connection to port 9999
forwarding to localhost port 8888 requested.
debug1: channel 3: new [direct-tcpip]
debug1: Connection to port 9999 forwarding to localhost port 8888
requested.
debug1: channel 4: new [direct-tcpip]
debug1: channel 3: free: direct-tcpip: listening port 9999 for
localhost port 8888, connect from 127.0.0.1 port 43846 to 127.0.0.1
port 9999, nchannels 5