Skip to content

Configuring Custom Properties for Privacera Services

This guide describes how to configure custom properties for Privacera services such as auditserver, dataserver, and others. These custom configuration files allow you to override default settings to meet specific environmental or operational requirements.

Location for Custom Properties

All custom property files must be placed within the following directory on the Privacera Manager host:

Text Only
privacera/privacera-manager/config/custom-properties/

Examples of correct file placement:

Text Only
privacera/privacera-manager/config/custom-properties/audit-custom.properties
privacera/privacera-manager/config/custom-properties/dataserver-custom.properties

Steps to Add Custom Properties

To configure and apply custom properties for Privacera services, follow these steps:

1. Connect to the Server

SSH into the machine where Privacera Manager is installed.

Bash
ssh <your-server>

2. Navigate to the Configuration Directory

Bash
cd ~/privacera/privacera-manager/config

3. Create the custom-properties Folder (if it doesn't exist)

Bash
mkdir -p custom-properties

4. Create or Edit the Custom Properties File

For example, to configure the auditserver:

Bash
vi custom-properties/audit-custom.properties

Add your required custom properties. For example:

Properties
audit.destination.enabled=true
audit.destination.type=hdfs

Repeat this process for other Privacera services as needed, ensuring you use the correct filename as outlined in the table below.

Service Custom Properties File
auditserver audit-custom.properties
dataserver dataserver-custom.properties
databricks databricks-custom.properties
discovery discovery-custom.properties
discovery-consumer discovery-consumer-custom.properties
ops-server ops-server-custom.properties
pegV2 pegv2-custom.properties
pkafka pkafka-custom.properties
portal portal-custom.properties
privacera-services privacera-services-custom.properties
privacera-usersync usersync-custom.properties
ranger-admin ranger-admin-custom.properties
ranger-tagsync ranger-tagsync-custom.properties
ranger-usersync ranger-usersync-custom.properties
scheme-server scheme-server-custom.properties

Deploy Your Changes

After creating or modifying the custom property files, deploy the changes by following the standard Privacera deployment procedure:

1. Generate Helm Charts

Bash
cd ~/privacera/privacera-manager
./privacera-manager.sh setup

2. Apply the Configuration

Bash
./pm_with_helm.sh upgrade

3. Run Post-Installation Tasks (if needed)

Bash
./privacera-manager.sh post-install

Upon completion of these steps, the custom properties defined in the respective service-specific files will be applied to your Privacera deployment.

Comments