[ 
https://issues.apache.org/jira/browse/SOLR-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727057#action_12727057
 ] 

Jay commented on SOLR-1258:
---------------------------

This is actually not a big issue as you can always use system property to 
specify the directory where you put the file.

> health check file assumed to be in the place where application is started
> -------------------------------------------------------------------------
>
>                 Key: SOLR-1258
>                 URL: https://issues.apache.org/jira/browse/SOLR-1258
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>    Affects Versions: 1.4
>         Environment: Mac
>            Reporter: Jay
>            Priority: Minor
>             Fix For: 1.4
>
>   Original Estimate: 5h
>  Remaining Estimate: 5h
>
> The following element gives admin the ability to enable/disable a solr 
> instance without taking it down
>   <admin>
>     <defaultQuery>solr</defaultQuery>
>     <!-- configure a healthcheck file for servers behind a loadbalancer
>     -->
>     <healthcheck type="file">server-enabled</healthcheck>
>   </admin>
> There is a problem with where the file 'server-enabled' is placed. Currently 
> it appears that file is relative to the place where the server is stared. 
> This causes trouble to deployment since theoretically the server could be 
> started anywhere. My suggestion is to have the file relative to solr home so 
> that it does not dependent on where the server is started.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to