Configuring SOLR Config Upload¶
Set the following property only if you are upgrading the self managed from version 8.1.x.x or earlier to 8.7.x.x or a later version.
This guide will help you configure the PORTAL_SOLR_CONFIG_UPLOAD
for your Privacera Portal. The PORTAL_SOLR_CONFIG_UPLOAD
is a configuration setting that allows you to upload new configurations to SOLR. This setting is crucial for managing and updating your SOLR configurations efficiently.
Why is this Required?¶
As the SOLR service updates from version solr_8.11.2
to version solr_9.4.0
, there are several changes in the configuration files. In the newer version, fundamental components such as managed-schema
and solrconfig.xml
have been updated. To accommodate these changes, it is necessary to upload the new configurations. This ensures that your SOLR service is running with the latest settings and optimizations, providing better performance and compatibility with the newer version.
Configuring SOLR Config Upload¶
-
SSH into the instance where Privacera Manager is installed.
-
Navigate to the config directory with the following command:
Bash -
Copy the sample-vars if they are not already present in the custom-vars directory by running the following command:
Bash -
Update the
PORTAL_SOLR_CONFIG_UPLOAD
:a. Open the
vars.portal.yml
file in a text editor.Bash b. Add or update the following property:
YAML c. Save and close the file.
Deploying the Service¶
-
Generate the helm charts. This step prepares the necessary Kubernetes configurations for deploying the Privacera services.
-
Apply the helm charts. This will deploy the Privacera services to your Kubernetes cluster. This might take a few minutes.
Bash -
Perform post-installation steps such as generating the Plugin tar ball and updating Route 53 DNS. These steps are necessary to finalize the deployment and ensure that all services are correctly configured.
Bash
By following these steps, you will have successfully configured the PORTAL_SOLR_CONFIG_UPLOAD
and deployed the Privacera services with the updated configuration.
Disabling SOLR Config Upload¶
If you need to disable the PORTAL_SOLR_CONFIG_UPLOAD
setting after the Privacera Portal is up and running to prevent it from uploading SOLR configs on every restart, follow these steps:
-
SSH into the instance where Privacera Manager is installed.
-
Navigate to the config directory with the following command:
Bash -
Open the
vars.portal.yml
file in a text editor:Bash -
Update the
PORTAL_SOLR_CONFIG_UPLOAD
property tofalse
:YAML -
Save and close the file.
Deploying the Service¶
-
Generate the Helm charts. This step prepares the required Kubernetes configurations for deploying the Privacera services.
-
Apply the Helm charts. This will deploy the Privacera services to your Kubernetes cluster.
-
Perform post-installation steps, such as generating the plugin tarball and updating Route 53 DNS. These steps are essential to finalize the deployment and ensure that all services are properly configured.
By following these steps, you will have successfully disabled the PORTAL_SOLR_CONFIG_UPLOAD
setting.