Re: Best way to know the cluster status

2012-02-08 Thread Tamil selvan R.S
Hi I fixed the issue. I used ConnectionPools with one server each, with send and recv timeout to 20Sec. Catching Cassandra Exception. This worked for me. Thanks for the response Regards, Tamil On Mon, Feb 6, 2012 at 5:38 PM, Sasha Dolgy wrote: > Tamil, what is the underlying purpose you are try

Re: Best way to know the cluster status

2012-02-06 Thread Sasha Dolgy
Tamil, what is the underlying purpose you are trying to achieve? To have your webpages know and detect when a node is down? To have a monitoring tool detect when a node is down? PHPCassa allows you to define multiple nodes. If one node is down, it should log information to the webserver logs an

Re: Best way to know the cluster status

2012-02-06 Thread R. Verlangen
You might consider writing some kind of php script that runs nodetool "ring" and parse the output? 2012/2/6 Tamil selvan R.S > Hi, > What is the best way to know the cluster status via php? > Currently we are trying to connect to individual cassandra instance with > a specified timeout and if