You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by William Bell <bi...@gmail.com> on 2013/08/31 18:28:36 UTC

Hostname

In the Solr 3 the console showed the name of the server.

Can we get that added - it was very useful since we use a load balancer and
we want to know which machine we are on.... So that we can see if the load
balancer is working.

http://DNSNAME:8983/solr/#/


-- 
Bill Bell
billnbell@gmail.com

Re: Hostname

Posted by William Bell <bi...@gmail.com>.
ALso

https://www.varnish-software.com/product/vac

This supports REST calls


On Sat, Aug 31, 2013 at 11:28 AM, William Bell <bi...@gmail.com> wrote:

> Yeah. We use varnish and with Varnish 3.0.3 it is really easy ask varnish
> for the # of servers.
>
> That would be a really cool option:
>
> Varnish
>  -- Server 1
>  -- Server 2
>
> Could upload the default.vcl to get the backend configs (^backend)
>
> If you are on the server as varnish you can do commands to get more info
> which would be really cool. See config, show which ones are up and down
> (varnishstat), and add remove with:
>
> http://andriigrytsenko.net/2013/02/set-varnish-backend-as-disable/
>
>
>
>
>
> On Sat, Aug 31, 2013 at 11:00 AM, Shawn Heisey <so...@elyograg.org> wrote:
>
>> On 8/31/2013 10:28 AM, William Bell wrote:
>> > In the Solr 3 the console showed the name of the server.
>> >
>> > Can we get that added - it was very useful since we use a load balancer
>> and
>> > we want to know which machine we are on.... So that we can see if the
>> load
>> > balancer is working.
>> >
>> > http://DNSNAME:8983/solr/#/
>>
>> That seems like a really useful thing to have.
>>
>> I think I'd actually go further - provide a config option, off by
>> default in 4.x and on by default in trunk, that returns the detected
>> hostname (or a configurable value) with every response.  That could be
>> potentially useful in responses returned by requests through
>> CloudSolrServer or LBHttpSolrServer.
>>
>> Thanks,
>> Shawn
>>
>>
>
>
> --
> Bill Bell
> billnbell@gmail.com
> cell 720-256-8076
>



-- 
Bill Bell
billnbell@gmail.com
cell 720-256-8076

Re: Hostname

Posted by William Bell <bi...@gmail.com>.
Yeah. We use varnish and with Varnish 3.0.3 it is really easy ask varnish
for the # of servers.

That would be a really cool option:

Varnish
 -- Server 1
 -- Server 2

Could upload the default.vcl to get the backend configs (^backend)

If you are on the server as varnish you can do commands to get more info
which would be really cool. See config, show which ones are up and down
(varnishstat), and add remove with:

http://andriigrytsenko.net/2013/02/set-varnish-backend-as-disable/





On Sat, Aug 31, 2013 at 11:00 AM, Shawn Heisey <so...@elyograg.org> wrote:

> On 8/31/2013 10:28 AM, William Bell wrote:
> > In the Solr 3 the console showed the name of the server.
> >
> > Can we get that added - it was very useful since we use a load balancer
> and
> > we want to know which machine we are on.... So that we can see if the
> load
> > balancer is working.
> >
> > http://DNSNAME:8983/solr/#/
>
> That seems like a really useful thing to have.
>
> I think I'd actually go further - provide a config option, off by
> default in 4.x and on by default in trunk, that returns the detected
> hostname (or a configurable value) with every response.  That could be
> potentially useful in responses returned by requests through
> CloudSolrServer or LBHttpSolrServer.
>
> Thanks,
> Shawn
>
>


-- 
Bill Bell
billnbell@gmail.com
cell 720-256-8076

Re: Hostname

Posted by Shawn Heisey <so...@elyograg.org>.
On 8/31/2013 10:28 AM, William Bell wrote:
> In the Solr 3 the console showed the name of the server.
> 
> Can we get that added - it was very useful since we use a load balancer and
> we want to know which machine we are on.... So that we can see if the load
> balancer is working.
> 
> http://DNSNAME:8983/solr/#/

That seems like a really useful thing to have.

I think I'd actually go further - provide a config option, off by
default in 4.x and on by default in trunk, that returns the detected
hostname (or a configurable value) with every response.  That could be
potentially useful in responses returned by requests through
CloudSolrServer or LBHttpSolrServer.

Thanks,
Shawn