Reinstall an Edge site

Important 

Choose an option below to explore the documentation for the latest user interface (UI) or the 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.

Warning If you have any existing connections, we highly recommend backing up your site and reinstalling the site from the backup. If you reinstall the Edge site without a backup, and the Edge site is unhealthy, you will need to delete the Edge site key and manually re-enter passwords, encrypted text parameters, and any file parameters in each connection to restore full functionality.

Note This process is certified for restoring an Edge site to the CPSH 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.

Steps

  1. Back up your current Edge site.
  2. If you are reusing the same server as your old Edge site:
    1. Run the uninstall command to uninstall the old installation.
    2. Recreate the Linux disk mount for the /var/lib/rancher/k3s directory.
  3. Redownload the installer.
  4. Extract the downloaded installer to an empty folder.
  5. Reinstall using the new installer with the backup option, including any additional installation scripts:
    Copy
    sudo sh install-master.sh -r registries.yaml -b <backup_path>
Tip 
What is your Edge site installation method?
Which Edge CLI method do you want to use?

How to reinstall an Edge site via the Edge CLI method

Note 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 and priority classes for you. This method can be used for both dedicated and shared clusters.

Note The restrictive Edge CLI method allows you or your company to create the cluster level objects, such as namespaces 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.

Steps

  1. Redownload the installer and save it on your Linux server that has kubectl access to the k8s cluster.
  2. Extract the downloaded installer to an empty folder.
  3. 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 commands:
  4. 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.
  5. 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
    Warning  Do not exclude -b <backup-file-path> from this command. If you exclude -b <backup-file-path> 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.

How to reinstall an Edge site via the Helm Chart method

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. For more information, go to our supported private helm registries documentation.

Steps

  1. Back up your current Edge site. If you don't create a backup before you reinstall your Edge site, your Edge site will become unhealthy and your connection credentials will be lost.
  2. Redownload the installer and save it on your Linux server that has kubectl access to the k8s cluster.
  3. Extract the downloaded installer to an empty folder.
  4. From the extracted TGZ archive directory, run the uninstall command.
  5. Run the following command to apply the Edge site backup file:

    Copy
    kubectl apply -f <PATH_OF_BACKUP_FILE>
  6. From inside the extracted TGZ archive directory , run the helm installer prerequisite 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 collibra-edge-helm-chart/helm-install-prerequisites.sh --namespace <my-namespace> --installer .
  7. Install your Edge site using the Helm installer script, replacing <my-namepsace> with your Edge site namespace.:

    Copy
    helm install collibra-edge collibra-edge-helm-chart/collibra-edge -n <my-namespace> --values site-values.yaml
    Note 
    • If you need to review the default collibra-edge chart values included when you run the Helm installer script, you can either inspect the values.yaml or README.md files in ./collibra-edge-helm-chart/collibra-edge. If you need to override, manually add the value to the command using the --set flag.

How to reinstall an Edge site via the Zarf package method

Important The Zarf package method is only supported if you have an Air-gapped Collibra Platform and environment.

Steps

  1. Create a backup of your Air-gapped Edge site.
  2. From the Downloads page, click the latest Collibra Zarf package.
    Note If you do not see Collibra CPSH extended capabilities please reach out to your Collibra account team.
  3. From the CollibraZarf package page, click and download the Edge ZARF package.
  4. If you don't plan to install Technical lineage Collibra Platform Self-Hosted, apply these priority classes with kubectl apply -f cpsh-priority-classes.yaml and /cpsh-platform-zarf-package/resources/cpsh-priority-classes.yaml:
    Copy
    apiVersion: scheduling.k8s.io/v1
    kind: PriorityClass
    metadata:
      name: platform
    value: 10000000
    description: "Platform supporting services level"
    ---
    apiVersion: scheduling.k8s.io/v1
    kind: PriorityClass
    metadata:
      name: application
    value: 100000
    description: "Application level"
    ---
    apiVersion: scheduling.k8s.io/v1
    kind: PriorityClass
    metadata:
      name: job
    value: 1000
    description: "Job level"
  5. Set up your kubeconfig or kubecontext so that it points to your Kubernetes cluster.
  6. Using the Zarf CLI:
    1. Copy and paste the following command in the ZARF CLI:
      Copy
      zarf package deploy <ZARF_PACKAGE_FILE> \
          --set PLATFORM_ID=<DIC_PLATFORM_URL> \
          --set PLATFORM_USER=<DIC_PLATFORM_USER> \
          --set PLATFORM_PASSWORD=<DIC_PLATFORM_PASSWORD> \
          --set SITE_NAME=<SITE_NAME> \
          --set EDGE_BACKUP_FILE=<EDGE_BACKUP_FILE>
    2. Enter the relevant details for each installation flag. For example, enter your Collibra Platform Self-Hosted URL for <DGC URL>.
    3. Run the command to reinstall the Edge site.
      Your Air-gapped Edge site is reinstalled and deployed.
      Note  If an Air-gapped Edge site fails to install on your Kubernetes cluster, a site is still created in Edge. You can choose to do one of the following:
      • Remove the failed Edge site from your Kubernetes cluster and Edge by running the following command:
        Copy
        zarf package remove ZARF_PACKAGE_FILE/ZARF_PACKAGE_NAME
      • Remove the failed Edge site from your Kubernetes cluster, but keep the Edge site in Edge by running the following command:
        Copy
         ZARF_VAR_KEEP_CPSH_EDGE_SITE=true \
             zarf package remove ZARF_PACKAGE_FILEZARF_PACKAGE_NAME
        When you try to install or reinstall the failed Air-gapped Edge site installation, you can use the same name to reuse the Edge site in Edge.