The Red Hat Migration Toolkit for Containers migrates stateful and stateless applications from a source cluster to a destination cluster. This tool was originally built to help the migration from OpenShift Container Platform (OCP) 3 to 4, but can also be used between OCP4 clusters. The Migration Toolkit for Containers is available as an operator, and provides a rich user experience to simplify the migration process of your applications. This tool works at the namespace level, and will migrate all your Kubernetes objects as well as your persistent volumes (PVs). That said, after the migration is completed, you typically have to update your DNS record to send application traffic to your new cluster. When migrating applications at scale, this can become tricky as many DNS records might have to be updated, and your application has to be tested to assure it is running correctly after the migration is completed.

This is where the F5 CloudServices GSLB solution can significantly reduce the complexity of your migration. With GSLB, your overall migration process is fully automated, including any DNS update or application health check. The solution also provides an easy way to rollback your application in case of failure, or even slowly send traffic to your new cluster if your application is able to run in an active-active configuration.

 

Getting started is really easy. F5 Cloud Services provides a SaaS DNS LB solution that doesn’t require any provisioning or access to the OpenShift infrastructure.Using Ansible Playbooks, it automatically retrieves the routes of a given cluster on a per-project basis, populates these routes in your GSLB service, and even automatically creates application probes for health-checking purposes. You can then delegate the authoritative DNS for your OCP3 sub domain to F5, and get started with your migrations.

Here is a deep-dive demo showing end to end how this process works:

 

In Migration Toolkit for Containers 1.2, it will be possible to have pre- or post-migration hooks. Hooks are simply a container that can run before or after a migration, allowing you to run an Ansible Playbook, or any other script of your choice. Using those hooks, it will be really easy to send a callback to F5 when a migration begins, or when a migration is successfully completed. As an example, you could then decide to send traffic to a temporary site while your migration maintenance is in progress, and ensure full, automatic control of your traffic for each migrated application.

Combining F5 CloudServices GSLB and the Red Hat cluster application migration tool is a great way to get full application mobility between all your OpenShift clusters.


关于作者

UI_Icon-Red_Hat-Close-A-Black-RGB

按频道浏览

automation icon

自动化

有关技术、团队和环境 IT 自动化的最新信息

AI icon

人工智能

平台更新使客户可以在任何地方运行人工智能工作负载

open hybrid cloud icon

开放混合云

了解我们如何利用混合云构建更灵活的未来

security icon

安全防护

有关我们如何跨环境和技术减少风险的最新信息

edge icon

边缘计算

简化边缘运维的平台更新

Infrastructure icon

基础架构

全球领先企业 Linux 平台的最新动态

application development icon

应用领域

我们针对最严峻的应用挑战的解决方案

Virtualization icon

虚拟化

适用于您的本地或跨云工作负载的企业虚拟化的未来