我如何检查cassandra和solr是否启动?
问题描述:
我刚刚在 tarball的
ubuntu:12.04
机器上安装了 datastax 2.2.2
我使用 bin / dse cassandra -s
启动服务。我没有设置任何环境变量,但是它启动了服务。
I just installed datastax 2.2.2
on my ubuntu:12.04
machine from tarball
I started services using bin/dse cassandra -s
. I din't set any env variables.But it starts the service.
bin/dse/bin/nodetool status
它列出了状态不存在的有效命令列表。我该如何验证我的卡桑德拉(cassandra)和solr是否启动?
It lists out list of valid commands where status is not there. How do i verify my cassandra and solr is up?
我错过了什么吗?有想法吗?
AM i missing something? ANy ideas?
答
bin/nodetool ring -h localhost
它将返回有关solr和cassandra状态的信息。
It will return about the solr and cassandra status.