8.6.1 configuring ssl on centos 7
Hi All, Solr is installed and working on http (8983). I (think I) have the keystore configured properly and solr.in.sh modified for the SOLR_SSL_* config settings. Not sure how to modify the service startup to listen on 8984 for ssl. solr documentation says to start it using bin/solr -p 8984 its configured to start as a service so nt sure that applies here... I modified solr.in.sh with SOLR_PORT=8984 but it still starts up on 8983. Trying to browse ssl on 8983 has error below which is expected I think (trying to browse ssl on an endpoint that is not listening for ssl): An error occurred during a connection to 192.168.100.23:8983. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG [centos@server /]$ sudo service solr status HTTP/2 + SSL is not support in Java 8. Configure Solr with HTTP/1.1 + SSL Found 1 Solr nodes: Solr process 13785 running on port 8983 INFO - 2020-11-29 15:32:45.126; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword INFO - 2020-11-29 15:32:45.132; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword { "solr_home":"/var/solr/data", "version":"8.7.0 2dc63e901c60cda27ef3b744bc554f1481b3b067 - atrisharma - 2020-10-29 19:39:16", "startTime":"2020-11-29T15:14:44.265Z", "uptime":"0 days, 0 hours, 18 minutes, 1 seconds", "memory":"104.5 MB (%20.4) of 512 MB"} I feel like im missing something basic, any help would be appreciated! Thanks,B
Re: 8.6.1 configuring ssl on centos 7
On 12/13/2020 7:21 AM, Bogdan C. wrote: Solr is installed and working on http (8983). I (think I) have the keystore configured properly and solr.in.sh modified for the SOLR_SSL_* config settings. Not sure how to modify the service startup to listen on 8984 for ssl. solr documentation says to start it using bin/solr -p 8984 its configured to start as a service so nt sure that applies here... I modified solr.in.sh with SOLR_PORT=8984 but it still starts up on 8983. If you installed Solr as a service, then you'll need to edit /etc/default/solr.in.sh ... the one that's in the bin directory is ignored. If that's the one you did edit, then I do not know why it isn't working ... unless maybe /etc/init.d/solr has also been modified. If that has happened, you would need to consult with whoever modified it. Thanks, Shawn
Re: solrcloud with EKS kubernetes
Hi Houston, Sorry for the late reply. Each shard has a 9GB size around. Yeah, we are providing enough resources to pods. We are currently using c5.4xlarge. XMS and XMX is 16GB. The machine is having 32 GB and 16 core. No, I haven't run it outside Kubernetes. But I do have colleagues who did the same on 7.2 and didn't face any issue regarding it. Storage volume is gp2 50GB. It's not the search query where we are facing inconsistencies or timeouts. Seems some internal admin APIs sometimes have issues. So while adding new replica in clusters sometimes result in inconsistencies. Like recovery takes some time more than one hour. Regards, Abhishek On Thu, Dec 10, 2020 at 10:23 AM Houston Putman wrote: > Hello Abhishek, > > It's really hard to provide any advice without knowing any information > about your setup/usage. > > Are you giving your Solr pods enough resources on EKS? > Have you run Solr in the same configuration outside of kubernetes in the > past without timeouts? > What type of storage volumes are you using to store your data? > Are you using headless services to connect your Solr Nodes, or ingresses? > > If this is the first time that you are using this data + Solr > configuration, maybe it's just that your data within Solr isn't optimized > for the type of queries that you are doing. > If you have run it successfully in the past outside of Kubernetes, then I > would look at the resources that you are giving your pods and the storage > volumes that you are using. > If you are using Ingresses, that might be causing slow connections between > nodes, or between your client and Solr. > > - Houston > > On Wed, Dec 9, 2020 at 3:24 PM Abhishek Mishra > wrote: > > > Hello guys, > > We are kind of facing some of the issues(Like timeout etc.) which are > very > > inconsistent. By any chance can it be related to EKS? We are using solr > 7.7 > > and zookeeper 3.4.13. Should we move to ECS? > > > > Regards, > > Abhishek > > >