Setup for Vertica Connector¶
This section describes how to set up the Vertica connector in Privacera. Make sure you have completed the prerequisites before you start the setup.
Perform following steps to configure Vertica connector for PolicySync.
-
SSH to the instance where Privacera is installed.
-
Run the following command to navigate to the /config directory.
Bash -
Run the following command to create a new directory:
Bash -
Copy the sample connector configuration file to your custom directory:
Bash -
Open the
.YAML
file for editing to customize it according to your configurations:Bash -
Modify the following properties:
CONNECTOR_VERTICA_JDBC_URL
- Enter the JDBC URL for connecting to the Vertica databaseCONNECTOR_VERTICA_JDBC_DB
- Enter the database where the connection will be established within Vertica.CONNECTOR_VERTICA_JDBC_USERNAME
- Enter the username for the Vertica database with admin privileges.CONNECTOR_VERTICA_JDBC_PASSWORD
- Enter the password for the Vertica database user used for connection.CONNECTOR_VERTICA_DEFAULT_USER_PASSWORD
- The default password assigned to new users created by Privacera in Vertica. If SSO is used for Vertica, set this value to none.CONNECTOR_VERTICA_OWNER_ROLE
- User to be set as owner for all the Vertica resources managed by privacera. Generally value of this should be same as Vertica JDBC username.
-
Make the required changes in the file, save and exit the text editor.
-
Once the properties are configured, run the following commands to apply your changes through Privacera Manager:
-
In PrivaceraCloud, go to Settings -> Applications.
-
On the Applications screen, select Vertica.
-
Enter the application Name and Description. Click Save. Name could be any name of your choice. E.g.
Vertica Connector for account 123456
. -
Open the Vertica application.
-
Enable the Access Management option with toggle button.
-
Under the BASIC tab, enter the values for:
-
Vertica JDBC URL :
jdbc:vertica://<vertica-host>:5433/<database-name>
- Vertica database to connect :
<database-name>
Database where the connection will be established within Vertica. - Vertica JDBC username :
vertica
Username for the Vertica database with admin privileges. - Vertica JDBC password :
password
Password for the Vertica database user used for connection. - Default password for new vertica user :
password
for new users created by Privacera in Vertica. If SSO is used for Vertica, set this value to none. -
Vertica owner role :
vertica
User to be set as owner for all the Vertica resources managed by privacera. Generally value of this should be same as Vertica JDBC username. -
Click SAVE.
-
The configured Vertica connector appears under Applications.
-
Once saved and enabled, the Vertica connector will start. Then you can hover on the VIEW LOGS button to check the status, either Running or Stopped.
-
Perform following steps to restart the Vertica connector application:
-
Go to Settings → Applications → select the Vertica connector application.
-
Edit the application → Disable it → and Save it.
-
Open the same application again and then: Enable it → and Save it.
-
- Prev topic: Prerequisites
- Next topic: Advanced Configuration