IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

EDR Server: How to manually create a core.properties file for a Solr core

EDR Server: How to manually create a core.properties file for a Solr core

Environment

  • EDR Server: All Versions

Objective

Create a core.properties file for a core that for any reason is missing it. 

Resolution

  1. Create the file:
    • touch /var/cb/data/solr/cbevents/CORENAME/core.properties
  2. Set the correct permissions:
    • chown cb:cb /var/cb/data/solr/cbevents/CORENAME/core.properties
  3. Add the following content to the core.properties file where the name matches the name of the directory itself:
    • #Written by CarbonBlackSupport
      #CURRENTDATE
      name=cbevents_YYYYYYY
      configSet=cbevents_v2
  4. Once core.properties have been created restart services

Additional Notes

  • Example
    1. touch /var/cb/data/solr/cbevents/cbevents_2017_08_14_1544/core.properties
    2. chown cb:cb /var/cb/data/solr/cbevents/cbevents_2017_08_14_1544/core.properties
    3. For the folder cbevents_2017_08_14_1544, the contents of core.properties will be set to
      • #Written by CarbonBlackSupport
        #CURRENTDATE
        name=cbevents_2017_08_14_1544
        configSet=cbevents_v2

Related Content


Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎12-30-2021
Views:
462
Contributors