The Solr Operator manages as many SolrCloud clusters as you wish :)

$ kubectl get solrclouds

NAME     VERSION   TARGETVERSION   DESIREDNODES   NODES   READYNODES   AGE
foo      8.8.2                     1              1       1            73s
bar      9.8,1                     3              3       3            34m

For standalone instances, I just do a one-off "docker run --rm -ti -p 
28983:8983 solr:9.7.0" or wrap a similar command in a start script inside a 
folder.

Jan

> 28. mai 2025 kl. 14:21 skrev Carlo Ascani <ca...@doloops.net>:
> 
> In the meantime,
> I wrote an helper script that someone may find useful.
> 
> Disclaimer: it's some bash I wrote for my Debian development machine,
> if you want to try it do it on a throwaway system!!!
> 
> https://git.sr.ht/~carloratm/dotfiles/blob/main/dots/workstation/.local/bin/solrman.sh
> 
> `solrman.sh install 9.2.0` does 3 things:
> - downloads 9.2.0 and extract it into ~/.local/share/solrman/solr-9.2.0
> - save the tgz into ~/.cache/solrman/ for reuse
> - put an env file into ~/.local/etc/solr-9.2.0.env that you can source to
> have the right $PATH and $SOLR_PORT
> 
> Cheers!
> 
> 
> On Wed, 28 May 2025 at 11:20, ufuk yılmaz <uyil...@vivaldi.net.invalid>
> wrote:
> 
>> I find docker to be an easy option for such things if you are already
>> familiar with it. Write a docker compose file containing every Solr
>> versions you wish and you can start/stop them individually or all at once.
>> 
>> —Ufuk
>> 
>> —
>> 
>>> On May 28, 2025, at 17:13, Carlo Ascani <ca...@doloops.net> wrote:
>>> 
>>> On Wed, 28 May 2025 at 10:04, Thomas Corthals <tho...@klascement.net>
>> wrote:
>>> 
>>>> You can start multiple instances on the same server that each listen on
>> a
>>>> different port.
>>>> 
>>>> 
>>> Sure, thanks.
>>> But is there any utility to manage them?
>>> 
>>> I was thinking at something like `pg_lsclusters`, `pg_ctlcluster`...
>>> and similar that are available in Debian for Postgresql.
>>> 
>>> Cheers!
>>> 
>>> 
>>>> Thomas
>>>> 
>>>> Op wo 28 mei 2025 om 09:07 schreef Carlo Ascani <ca...@doloops.net>:
>>>> 
>>>>> Greetings,
>>>>> 
>>>>> I would love to set up multiple Solr versions on my development
>> machine.
>>>>> 
>>>>> What are my options?
>>>>> I am thinking about writing some bash to manage multiple solr, is there
>>>> any
>>>>> previous work in this field?
>>>>> 
>>>>> Some notes:
>>>>> - My current tool of choice is devbox, which is a wrapper of nix, but I
>>>> am
>>>>> trying to get rid of it as it's really getting in the way
>>>>> - I would like to avoid Docker at all costs
>>>>> 
>>>>> Cheers!
>>>>> 
>>>> 
>> 
>> 

Reply via email to