Reinstall an Edge site
In Collibra 2024.05, we launched a new user interface (UI) for Collibra Data Intelligence Platform! You can learn more about this latest UI in the UI overview.
Use the following options to see the documentation in the latest UI or in the previous, classic UI:
You always reinstall an Edge site by restoring a backup of that Edge site. Reinstallation may be necessary to resolve an issue or to upgrade the software included in the Edge site installer.
Note This process is certified for restoring an Edge site to the Collibra environment on which the site was originally created, for example, restoring Development to Development or Production to Production. The process is not certified or tested for promoting an Edge site migration from one environment to another, for example, from Development to Production. These types of migrations require the reinstallation of the Edge application each time the migration is promoted.
- Reinstall an Edge site on K3S
- Reinstall an Edge site on managed Kubernetes
Steps
- Back up your current Edge site. How to back up an Edge site...
On the server that runs your Edge site, run the following command:
Copysudo ./edgecli recovery backup --path <backup_path>
Edge creates a backup of your Edge site in the selected folder of the command.
-
If you are reusing the same server as your old Edge site:
- Use the Edge tool command to uninstall the old installation.How to uninstall...Run the following Edge command from any location on the server Edge is installed on:
uninstall-edge.sh --remove-local-data
- Recreate the Linux disk mount for the
/var/lib/rancher/k3s
directory.How to mount...- Create
/var/lib/rancher/k3s
withmkdir -p /var/lib/rancher/k3s
- Mount the disk with "mount -a"
- Delete the contents with
rm -rf /var/lib/rancher/k3s/*
Note This is the default installation path. If it is not created as a separate mount point after following the steps above, the installation will use 50 GB of disk space from either /var, or if not present, the root level of the drive. - Create
- Use the Edge tool command to uninstall the old installation.
- Redownload the installer.How to redownload...
- Go to the Edge site page in your Edge enviornment.
- Click ActionsSite Actions.
- Click Redownload Installer.
- Review and check the required acknowledgment checkbox.
- Click DownloadDownload Installer.
- Save the new installer to your server where the old installer was saved.
Note This is a new installer for your Edge site. The previous installer will no longer work.
- Extract the installer. How to extract the installer...Copy
tar -xf installer-<edge-site-id>.tgz
Note- Keep the installer or the contents of the extracted installer in a secure location on your server. These contents contain various tools that you may need later, for example to troubleshoot issues.
- If you want to run a script or executable file from the extracted directory, ensure that the directory is not mounted as
noexec
. If a directory is mounted asnoexec
, scripts and executable files will be prevented from being run within the directory.
- If you use a custom setup, such as proxy.properties and ca.pem for forward proxies or classification, ensure that it is available or included as it was in the previous setup.
- Reinstall using the new installer with the backup option:Copy
sudo sh install-master.sh properties.yaml -r registries.yaml
-b backup.yaml- If you want to use a private docker registry, add the following parameters to the install command:
Parameters Description --registry-url
(required)The URL of your private docker registry.
For example:
https://edge-docker-delivery.repository.collibra.io
--registry-host
(optional)Where your private docker is hosted. If you do not specify this parameter, it is automatically derived from
--registry-url
For example:
edge-docker-delivery.my-registry.docker.io
--registry-user
(optional)The username of the private docker registry. This parameter is not required if registry is public. --registry-pass
(optional)The password of the private docker registry. This parameter is not required if registry is public. Show me an example…sudo sh install-master.sh properties.yaml -r registries.yaml --registry-url https://private-docker.registry.com --registry-user user1 --registry-pass pass12
- If you want to use a private docker registry, add the following parameters to the install command:
What is your Edge site installation method?
|
Which Edge CLI method do you want to use?
|
Important The default Edge CLI method is an easier solution for installing your Edge site via the Edge CLI. Edge creates the cluster level objects, such as namespaces, CRDs, and priority classes for you. This method can be used for both dedicated and shared clusters.
Important The restrictive Edge CLI method allows you or your company to create the cluster level objects, such as namespaces, CRDs, and priority classes, for your Edge site. This method may be required if your company has security requirements or process that do not allow Edge sites to create the cluster level objects for you. This method can be used for both dedicated and shared clusters.
Warning Collibra Support will not assist with custom Helm or Kubernetes configurations. The following steps are an example, and any assistance for configurations or issues outside of these steps is unsupported. We recommend using the Edge CLI method for managed Kubernetes installations.
A common example of custom Helm configurations is, but not limited to, using an unsupported private repository. At this time, we only support a JFrog repository.
You can reinstall your Edge site on a managed Kubernetes cluster by using the Edge CLI tool.
Steps
- Back up your current Edge site. How to back up an Edge site...
On the server from which you manage your managed Kubernetes cluster, run the following command:
Copy./edgecli recovery backup --path <backup_path>
Edge creates a backup of your Edge site in the defined folder of the last command.
- Redownload the installer and save it on your Linux server that has kubectl access to the k8s cluster.How to redownload...
- Go to the Edge site page in your Edge environment.
- Click ActionsSite Actions.
- Click Redownload Installer.
- Review and check the required acknowledgment checkbox.
- Click DownloadDownload Installer.
- Save the new installer to your server where the old installer was saved.
Note This is a new installer for your Edge site. The previous installer no longer works.
- Extract the installer.How to extract the installer...Copy
tar -xf installer-<edge-site-id>.tgz
Note- Keep the installer or the contents of the extracted installer in a secure location on your server. These contents contain various tools that you may need later, for example to troubleshoot issues.
- If you want to run a script or executable file from the extracted directory, ensure that the directory is not mounted as
noexec
. If a directory is mounted asnoexec
, scripts and executable files will be prevented from being run within the directory.
-
Use the Edge uninstall command, depending on your Edge site installation method, to uninstall the old installation.
- If you installed your Edge site using the previous method, follow the path inside the extracted installer and run the following command: Copy
extracted installer>/resources/installer-job/tools/uninstall-edge-on-managed-k8s.sh
- If you installed your Edge site using the Edge CLI method, run one of the following command:
- With terminal logging…Copy
./edgecli uninstall
- Optional, if you used a custom namespace, you must add
-n <my-namespace>
to the command, replacing<my-namespace>
with your custom Edge site namespace.Example:./edgecli uninstall -n <my-namespace>
- Optional, if you used a custom namespace, you must add
- With terminal and file logging…Copy
./edgecli uninstall 2>&1 | tee "edge-installer-$(date +"%Y-%m-%d_%H-%M-%S").log"
- Optional, if you used a custom namespace, you must add
-n my-namespace>
to the command, replacing my-namespace> with your custom Edge site namespace.Example./edgecli uninstall 2>&1 | tee "edge-installer-$(date +"%Y-%m-%d_%H-%M-%S").log" -n my-namespace
- Optional, if you used a custom namespace, you must add
- If you installed your Edge site using the previous method, follow the path inside the extracted installer and run the following command:
- If you use a custom setup, such as proxy.properties and ca.pem for forward proxies or classification, ensure that it is available or included as it was in the previous setup.
- Reinstall using the new installer and backup: Note
- You can install your Edge site with either terminal logging or terminal and file logging. Both options log the output of your Edge site installation.
- Terminal logging only saves the output to the Edge terminal.
- Terminal and file logging saves the output both to the terminal and a separate file. This file will be saved in the current directory with the naming format: edge-installer-$(date +"%Y-%m-%d_%H-%M-%S").log
- With terminal logging…Copy
./edgecli install -b backup
- Optional, if you need to use a custom namespace add
-n <my-namespace>
to the installation command, replacing<my-namespace>
with the name of your namespace. Otherwise, the default namespace,collibra-edge
is used.Example:
./edgecli install -b backup -n edge-namespace
- Optional, if you want to use a private docker registry, add the following parameters to the install command:
Parameters Description --registry-url
(required)The URL of your private docker registry.
For example:
https://edge-docker-delivery.repository.collibra.io
--registry-host
(optional)Where your private docker is hosted. If you do not specify this parameter, it is automatically derived from
--registry-url
For example:
edge-docker-delivery.my-registry.docker.io
--registry-user
(optional)The username of the private docker registry. This parameter is not required if registry is public. --registry-pass
(optional)The password of the private docker registry. This parameter is not required if registry is public. Show me an example…./edgecli install -b backup --registry-url https://private-docker.registry.com --registry-user user1 --registry-pass pass12
- Optional, if you need to use a custom namespace add
- With terminal and file logging…Copy
./edgecli install -b backup 2>&1 | tee "edge-installer-$(date +"%Y-%m-%d_%H-%M-%S").log"
- Optional, if you need to use a custom namespace add
-n <my-namespace>
to the installation command, replacing<my-namespace>
with the name of your namespace. Otherwise, the default namespace,collibra-edge
is used.Example:
./edgecli install -b backup 2>&1 | tee "edge-installer-$(date +"%Y-%m-%d_%H-%M-%S").log" -n edge-namespace
- Optional, if you want to use a private docker registry, add the following parameters to the install command:
Parameters Description --registry-url
(required)The URL of your private docker registry.
For example:
https://edge-docker-delivery.repository.collibra.io
--registry-host
(optional)Where your private docker is hosted. If you do not specify this parameter, it is automatically derived from
--registry-url
For example:
edge-docker-delivery.my-registry.docker.io
--registry-user
(optional)The username of the private docker registry. This parameter is not required if registry is public. --registry-pass
(optional)The password of the private docker registry. This parameter is not required if registry is public. Show me an example…./edgecli install -b backup --registry-url https://private-docker.registry.com --registry-user user1 --registry-pass pass12 2>&1 | tee "edge-installer-$(date +"%Y-%m-%d_%H-%M-%S").log"
- Optional, if you need to use a custom namespace add
Warning Do not exclude-b backup.yaml
from this command. If you exclude-b backup.yaml
from the command, your Edge site will be reinstalled without your backup and previous configurations, such as passwords, encrypted text parameters, and any file parameters in each connection. Additionally, you will not be able to use that backup in any future reinstallations. - You can install your Edge site with either terminal logging or terminal and file logging. Both options log the output of your Edge site installation.
- Back up your current Edge site. How to back up an Edge site...Copy
kubectl get -n <my-namespace> secrets -l edge.collibra.com/backup -o yaml > <PATH_OF_BACKUP_FILE>
Property Description <my-namespace>
The Edge site namespace.
- If your Edge site has a custom namespace, add it here.
- If your Edge site does not have a custom namespace, add the default namespace,
collibra-edge
.
<PATH_OF_BACKUP_FILE>
The name of the output yaml file containing your Edge site backup. For example, myBackupFile.yaml. - Redownload the installer and save it on your Linux server that has kubectl access to the k8s cluster.How to redownload...
- Go to the Edge site page in your Edge environment.
- Click ActionsSite Actions.
- Click Redownload Installer.
- Review and check the required acknowledgment checkbox.
- Click DownloadDownload Installer.
- Save the new installer to your server where the old installer was saved.
Note This is a new installer for your Edge site. The previous installer no longer works.
- Extract the installer.How to extract the installer...Copy
tar -xf installer-<edge-site-id>.tgz
Note- Keep the installer or the contents of the extracted installer in a secure location on your server. These contents contain various tools that you may need later, for example to troubleshoot issues.
- If you want to run a script or executable file from the extracted directory, ensure that the directory is not mounted as
noexec
. If a directory is mounted asnoexec
, scripts and executable files will be prevented from being run within the directory.
-
From the extracted TGZ archive directory, run the uninstall command:
Copysh edge-cd-helm-chart/helm-uninstall.sh
Note If your Edge site had a custom namespace, add--namespace <my-namespace>
, replacing<my-namespace>
with the name of your Edge site namespace. -
Run the following command to apply the Edge site backup file:
Copykubectl apply -f <PATH_OF_BACKUP_FILE>
- From inside the extracted TGZ archive directory , run the helm installer script, including any additional helm install script flags you may need to configure. For example, if you want to use a custom namespace or install your Edge site on an OpenShift cluster. Copy
sh edge-cd-helm-chart/helm-install-prerequisites.sh --namespace <my-namespace> --installer .
Show me the Helm install script flags…Note When you run the installation command, a list of all of these flags are listed. When you run the full command, every command and property run is listed.Flag Description --installer <path_to_extracted_installer>
Note This property is required for all Edge site installationsThe path to the downloaded, extracted Edge installer. --namespace <my-namespace>
The identifier of the Edge site.
- If you are installing multiple Edge sites in the same Kubernetes cluster, each Edge site namespace must be unique. For example,
--namespace edge-namespace
. - If you do not specify a namespace, the default
collibra-edge
namespace is used.
Note Throughout the remaining installation steps, replace<my-namespace>
in the provided commands with this new namespace name. Example commands will haveedge-namespace
as an example namespace name.--is-openshift
If you are using an OpenShift cluster, add this flag to deploy Security Context Constraints (SCC) which provide the Edge service accounts with the required permissions.
--custom-ca
If you use a forward proxy with a custom CA, put the CA in a ca.pem file and set the global.customCA.enabled
value to true.Copyyq e -i '.global.customCA.enabled=true' properties.yaml
--disable-otel
If you don't want to send your metrics and logs to Edge, add this flag to the installation command to disable OpenTelemetry. --registry-url <registry-url>
The URL of your registry.
Add this flag if you use a private docker registry, with or without authentication.
For example:
--registry-url edge-docker-delivery.repository.collibra.io
--registry-user <registry-user>
Your registry account username.
Add this flag if you use a private docker registry with authentication.
--registry-pass <registry-pass>
Your registry account password.
Add this flag if you use a private docker registry with authentication.
- If you are installing multiple Edge sites in the same Kubernetes cluster, each Edge site namespace must be unique. For example,
- Install your Edge site with helm:
- Without a custom docker registry:Copy
helm install edge-cd edge-cd-helm-chart/edge-cd -n <my-namespace> --set edgecd.collibraEdgeReleaseName=collibra-edge
- With a custom docker registry:Copy
helm install edge-cd edge-cd-helm-chart/edge-cd -n <my-namespace> --set edgecd.image.repository=<registry_url> --set edgecd.collibraEdgeReleaseName=collibra-edge
- Without a custom docker registry: