Privacera Manager Setup¶
Prerequisites
You can do the install and setup of Privacera Manager only after you have met the prerequisites. If you have not done so, please refer to the Prerequisites section and follow the steps for your cloud provider.
Privacera Manager Setup is required for both Self Managed and PrivaceraCloud Data-plane deployment.
Overview¶
Privacera provides a command-line utility called Privacera Manager which generates various installation artifacts such as helm charts, terraform and cloud formation templates to install the Privacera components. Privacera Manager consists of a tar ball of various template files, scripts and a docker image.
You will be installing Privacera Manager on the compute instance that you have created as part of the Prerequisites.
Installation Information¶
Typically, you will be installing Privacera Manager on a compute host that has access to the Internet to be able to download the Privacera Manager software and docker images.
If you are installing in an air gap (without internet access) network, follow these steps first and then continue with the installation.
You will need the following information to install Privacera Manager, obtain these from Privacera Sales Representative:
Information Required
PRIV_MGR_PACKAGE: The format will be https://<domain>/<filepath>/<file.tar.gz>
PRIV_MGR_IMAGE: The format will be <PRIVACERA_HUB_HOST>/privacera-manager:<PRIV_MGR_IMAGE_TAG>
PRIVACERA_HUB_USER: Privacera Docker hub registry username
PRIVACERA_HUB_PASSWORD: Privacera Docker hub registry password
You will need the following information to install Privacera Manager in an air gap (no Internet access) network. Obtain these from Air gap Installation:
Information Required
AIRGAP_PRIV_MGR_IMAGE: The format will be <PRIVACERA_HUB_HOST>/privacera-manager:<PRIV_MGR_IMAGE_TAG>
AIRGAP_HUB_USER: Privacera Docker hub registry username
AIRGAP_HUB_PASSWORD: Privacera Docker hub registry password
Setup the environment variables¶
Info
These shell variables are used while downloading and installing the packages. They don't need to be added to your login profile as they are not needed after running commands on this page. You need these shell variables for all the commands on this page.
On the compute instance where you want to install Privacera Manager, perform the following steps:
Set the following temporary shell variables with the information provided to you by the Privacera sales representative.
After setting the above variables, run the following code in your shell to initialize these variables.
Update the following shell variables with your air gap docker registry.
Bash | |
---|---|
After setting the above variables, run the following code in your shell to initialize these variables.
Copy the output to a text file to be used in the next section.Docker login¶
On the compute instance where you want to install Privacera Manager, perform the following steps:
Log into Privacera docker hub using the username and password provided to you.
Bash | |
---|---|
Pull the Privacera Manager docker image from Privacera docker hub.
Bash | |
---|---|
Log into your air-gap docker hub using the username and password provided to you.
Bash | |
---|---|
Pull the Privacera Manager docker image from your air gap docker hub.
Bash | |
---|---|
Download the package¶
Create folder structure for Privacera Manager and download the software tar ball. Maintain the same folder structure so it is easy to follow the documentation.
Bash | |
---|---|
Run the following commands to download the package,
If you have followed the airgap setup steps then you would be having the privacera-manager.tar.gz
in the ~/privacera/privacera-manager
folder.
Extract the package¶
Extract the tarball in the Privacera folder. From now on you will run all command from ~/privacera/privacera-manager
folder.
Bash | |
---|---|
Create the pm-env.sh script¶
Create a script called pm-env.sh that has the download URL and Privacera Manager docker image name in it.
Create a script called pm-env.sh that has the download URL and Privacera Manager docker image name in it.
Bash | |
---|---|
Name your deployment¶
Come up with a name for your deployment. This name will be used as a namespace in Kubernetes and will be visible in the Privacera Portal. As such, this name will become part of the service endpoint host names generated by Privacera Manager.
It should be a short user-friendly name that follows these rules:
- contain at most 63 characters
- contain only lowercase alphanumeric characters or '-'
- start with an alpha character
- end with an alphanumeric character
Some examples are privacera-dev
, privacera-prod
, privacera-qa
, etc.
Run the following commands, where you can name your deployment environment as you like along with the Privacera Manager image tag and download URL base-path.
Add or edit the following values in the file.
For more information about the deployment size, you can refer to the Deployment Size section.
Now you are all set to continue with configuring the Privacera Manager.
Exploring Privacera Manager¶
Privacera Manager consists of two parts - the tar ball containing various template files and scripts, and the docker image containing the Privacera Manager templating software. The privacera-manager.sh script is the driver script and provides the command line interface.
Under ~/privacera/privacera-manager, you will find the following folders of interest
- Prev Prerequisites
- Next Configuration