Articles in this section
Category / Section

Migrate Bold BI Application from Linux to Kubernetes.

Published:

Introduction

This section explains how to migrate the Bold BI application from a Linux environment to a Kubernetes environment. It is assumed that the Bold BI DB server has public access, either through a Managed instance or a server deployed in an online VM. To migrate the database, you can refer to this article: link. Follow the steps below to migrate the Bold BI instance from Linux to Kubernetes.

Backup Application Data From Deployed Location

Backup the Bold BI app_data folder in a Linux environment from the following location /var/www/bold-services/application.

sshot-1.png

Restore Application Data to File Share

We need to restore application data files to your file share based on the cloud provider using the following:

EKS Migration

  1. Create a new S3 bucket or you use existing S3 bucket for copying app_data from your local machine by following link.
  2. Now, run the below command to move app_data to s3 bucket.
    aws s3 cp --recursive <Source folder location> s3://<S3 bucket name>
    
  3. Then create EFS and migrate all data’s from S3 bucket to EFS by following link.

    Note : Please use same security group for EKS cluster and EFS file system

  4. After creating EFS, use DataSync to migrate all data into EFS. You need to create a task in data sync and set sources file as S3 bucket and Destination files as EFS for DataSync by following link.

AKS Migration

  1. Create a file share in a storage account on the Azure resource group by using this link.

  2. Restore the app_data data as shown in the screenshot to the root folder path of the file share using the Azure Storage Explorer tool.

    azure-expo-tool.png

GKE Migration

  1. Create a file store in Google cloud service by using this link.
  2. Mount the created file store in VM instance by using this link.
  3. Copy the back up app_data folder form VM instance to file store by using thislink.

Deploy Bold BI using the restored file share

  1. Deploy the Bold BI application in the EKS/AKS/GKE environment by following this document.

    Note: Use the same file store while crafting the yaml file.

  2. Follow these steps if you use a new DNS/IP for the environment. If you are using the same DNS, then you can switch to the next step directly.
    • Navigate to [new DNS]/ums/administration in the browser.
      https://gke-migrate.boldbi.com/ums/administration

      Note: You can use the same Bold BI application login credentials for the new AKS environment.

    • Update the new DNS/IP and enable the checkbox.
      sshot-1.png
    • After updating the new IP/DNS, save the changes.
    • Restart all pods using the following commands.
      kubectl rollout restart deploy -n <namespace>
      
      Example: kubectl rollout restart deploy -n bold-services
  3. Now, the Bold BI application has been completely migrated from Linux to the Kubernetes environment. You can access Bold BI with the same login credentials.

Additional Reference

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
RC
Written by Ranjithkumar Chinnadurai
Updated
Comments (0)
Please  to leave a comment
Access denied
Access denied