Air gap installation¶
Note
This section is applicable only if you are installing Privacera Manager in an air gap (no Internet access) network. This is not a typical setup. You also need to do the Self Managed Prerequisites before you can proceed with this section. Refer to the Prerequisites section.
Overview¶
An air gap network is a secure network environment that is isolated from the Internet. If you plan to install Privacera software in an air gap (no Internet access) network, then you have to download the Privacera docker images and host them in your docker registry. You also have to host the Privacera Manager tarball in an object store accessible to the compute host in air gap network. A script, pm-airgap-installation.sh
, is provided to facilitate this process.
Prerequisites¶
- You need a Linux host that has access to the Internet where you will run the pm-air-gap-installation.sh script.
- Your local docker registry where you will host the Privacera docker images. We need the URL of the registry and the credentials to push the images to the registry.
- Access to the compute host in air gap (no Internet access) network from where you plan to run Privacera Manager. This host should have access to the local docker registry where the Privacera docker images are hosted.
Installation Information¶
You will need the following information 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
Download script¶
Create temporary bash variables to be used during this installation. Obtain the following from your Privacera sales representative:
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.
Run the following wget command from the home folder of your Linux host to download the script.
Bash | |
---|---|
Download packages and images of Privacera Manager¶
Run the following commands,
~/privacera/downloads
and ~/privacera/downloads/images
locations respectively. Push images to internal repository¶
Run the script again with push action to upload the images to your private Repository and copy (.tar) packages to your Privacera Manager host.
Bash | |
---|---|
~/privacera/downloads/images
directory and it will prompt to copy package to Privacera Manager host using rsync over ssh. Copy package to Privacera Manager host¶
Run the script again with the sync action to copy the Privacera Manager package to your Privacera Manager host.
Bash | |
---|---|
You can also manually copy the package from ~/privacera/downloads/privacera-manager.tar.gz
to the ~/privacera/downloads
directory on the Privacera Manager host.
Air gap Installation Information¶
Now you should be ready with this set of properties which are hostname of your airgap Docker registry and the credentials to pull from it.
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