Slide 1

Slide 1 text

佐藤 史⼦、勝野 恭治 Hybrid Cloud & Security IBM Research - Tokyo November 24, 2021 Konveyor Communityのご紹介 - モダナイゼーションの容易化ツール - コンテナ共創センター勉強会 #8 @2021 IBM Corporation © 2021 IBM Corporation

Slide 2

Slide 2 text

⾃⼰紹介 佐藤 史⼦ : Fumiko Satoh シニアマネージャー, シニア・テクニカル・スタッフ・メンバー(STSM) ハイブリッドクラウド & セキュリティ IBM 東京基礎研究所 最近の研究エリア • アプリケーションモダナイゼーション Ø JavaやCOBOL等のレガシーなアプリケーションをハイブリッド クラウド環境へ移⾏するための⽀援 • クラウドプラットフォームのセキュリティおよび コンプライアンス Ø OpenShiftのコンプライアンス遵守⽀援 Ø ソフトウェアのインテグリティ @2021 IBM Corporation © 2021 IBM Corporation

Slide 3

Slide 3 text

Konveyor Community アプリケーションのKubernetes移⾏の⽀援技術を開発 2021年5⽉に Red HatとIBM Research が共同 で⽴ち上げたオープンコミュニティ アプリケーションをKubernetes環境に移⾏する 際の⽀援技術として、必要な分析やリソースの ⾃動⽣成を⾏う技術を開発するのが⽬的 www.konveyor.io Red Hat blog : https://www.redhat.com/ja/blog/red-hat-and-ibm-research-launch-konveyor-project © 2021 IBM Corporation

Slide 4

Slide 4 text

Rehost virtual machines to KubeVirt Rehost apps between Kubernetes clusters Replatform applications to Kubernetes Refactor applications for Kubernetes Measure software delivery performance VMをKubeVirtへ 載せ替える 別バージョンの Kubeクラスターに 移⾏する コンテナアプリケー ションをKubernetes に載せ替える レガシーアプリケー ションをKubernetes 向けに書き換える モダナイゼーション プロセスの効率化 © 2021 IBM Corporation

Slide 5

Slide 5 text

Konveyor Projects Forklift rehost replatform refactor retain retire Crane Existing Applications & Infrastructure Migrate applications between Kubernetes clusters Migrate virtual machines to Kubernetes (KubeVirt) Move2Kube Migrate containers from Alternative container orchestration to Kubernetes Pelorus Measure the impact of changes on software delivery performance repurchase Tackle Manage application portfolio and assess suitability to containerize Analyze Java Applications for modernization © 2021 IBM Corporation

Slide 6

Slide 6 text

Konveyor: Application Modernization Demonstration https://www.youtube.com/watch?v=aKDFFDXPHYk Original Retail Application Desired State © 2021 IBM Corporation

Slide 7

Slide 7 text

Konveyor: Application Modernization Demonstration https://www.youtube.com/watch?v=aKDFFDXPHYk • Assess the parts of the application service using Tackle • Analyze the customers service for containerization using Tackle • Refactor the customers service to run on Kubernetes • Rehost the Oracle database to KubeVirt using forklift • Replatform the services running on Cloud Foundry to Kubernetes using Move2Kube • Replatform the inventory service into a new Kubernetes cluster and transform it to user an automated deployment method • Assess the parts of the application service using Tackle • Analyze the customers service for containerization using Tackle • Refactor the customers service to run on Kubernetes 7 © 2021 IBM Corporation

Slide 8

Slide 8 text

Tackle UI https://www.youtube.com/watch?v=aKDFFDXPHYk 8 © 2021 IBM Corporation

Slide 9

Slide 9 text

Konveyor Project - Tackle 既存のアプリケーションをKubernetes向けに書き換える⽀援をするオープンソースツール • Tackle Application Inventory • アプリケーションの構成情報を管理する • Tackle Pathfinder • 質問回答やKubernetes移⾏の⽅針を提⽰する • Tackle-Controls • Application InventoryとPathfinderで使われているコアコンポーネント • Tackle DiVA • データベースおよびトランザクションの分析を⾏う • Tackle Test Generator • アプリケーションのテストコードを⾃動⽣成する • Tackle Container Advisor • アプリケーションがコンテナ化可能かどうかを分析する • Tackle DiVA • データベースおよびトランザクションの分析を⾏う 9 © 2021 IBM Corporation

Slide 10

Slide 10 text

⾃⼰紹介 勝野 恭治 : Yasuharu Katsuno リサーチ・スタッフ・メンバー ハイブリッドクラウド & セキュリティ IBM 東京基礎研究所 最近の研究エリア • アプリケーション・モダナイゼーション Ø JavaやCOBOL等のレガシーなアプリケーションをハイブリッド クラウド環境へ移⾏するための⽀援 • データ・モダナイゼーション Ø 既存のデータベースをハイブリッドクラウド環境へ移⾏するた めの⽀援 @2021 IBM Corporation © 2021 IBM Corporation

Slide 11

Slide 11 text

Tackle-DiVA (Data-intensive Validity Analyzer) Migrate applications between Kubernetes clusters ● Javaアプリケーション内のデータベース操作やトランザクション処理を分析する コマンドラインツール Tackle-DiVA アプリケーション のソースコード データベース間の依存関係 トランザクション間の依存関係 データベースの棚卸し トランザクションの棚卸し トランザクションのリファクタリング 分析結果 ファイル © 2021 IBM Corporation

Slide 12

Slide 12 text

データベースの棚卸し Migrate applications between Kubernetes clusters Migrate virtual machines to Kubernetes (KubeVirt) Application DB1 DB2 DB3 DB4 DB5 Application © 2021 IBM Corporation

Slide 13

Slide 13 text

データベース間の依存関係 Migrate virtual machines to Kubernetes (KubeVirt) DB1 DB2 DB3 DB4 DB5 Application DB1 DB2 DB3 DB4 DB5 Application © 2021 IBM Corporation

Slide 14

Slide 14 text

トランザクションの棚卸し Transaction-1 SQ L1 SQ L2 SQ L3 Transaction-2 SQ L4 SQ L5 SQ L6 Transaction-3 SQ L7 SQ L8 SQ L9 Transaction-4 SQ L10 SQ L11 SQ L12 SQL1 SQL2 SQL3 SQL4 SQL5 SQL6 SQL7 SQL8 SQL9 SQL10 SQL11 SQL12 Application © 2021 IBM Corporation

Slide 15

Slide 15 text

トランザクション間の依存関係 Migrate applications between Kubernetes clusters Transaction-1 SQ L1 SQ L2 SQ L3 Transaction-2 SQ L4 SQ L5 SQ L6 Transaction-3 SQ L7 SQ L8 SQ L9 Transaction-4 SQ L10 SQ L11 SQ L12 Transaction-1 SQ L1 SQ L2 SQ L3 Transaction-2 SQ L4 SQ L5 SQ L6 Transaction-3 SQ L7 SQ L8 SQ L9 Transaction-4 SQ L10 SQ L11 SQ L12 © 2021 IBM Corporation

Slide 16

Slide 16 text

分析結果の紹介 Migrate applications between Kubernetes clusters ● DayTrader︓https://github.com/WASdev/sample.daytrader7 https://geronimo.apache.org/GMOxDOC22/daytrader-a-more-complex- application.html © 2021 IBM Corporation

Slide 17

Slide 17 text

DayTrader7のデータベース棚卸し結果 { "/app": [ "orderejb", "holdingejb", "quoteejb", "accountejb", "keygenejb", "accountprofileejb" ] } © 2021 IBM Corporation

Slide 18

Slide 18 text

DayTrader7のトランザクション分析結果 © 2021 IBM Corporation

Slide 19

Slide 19 text

試してみよう︕ Migrate applications between Kubernetes clusters ● Dockerが動く環境であれば容易にインストール・実⾏できます $ cd /tmp $ git clone https://github.com/konveyor/tackle-diva.git && tackle-diva $ docker build . -t diva $ cd /tmp $ git clone https://github.com/WASdev/sample.daytrader7.git $ cd /tmp/tackle-diva/distrib/bin/ $ ./diva_docker /tmp/sample.daytrader7/ インストール 実⾏ © 2021 IBM Corporation

Slide 20

Slide 20 text

https://github.com/konveyor Please join Konveyor community! https://www.youtube.com/channel/UCQ3pW3gSBeCy0tj1J0ub2bw Meetups recording @2021 IBM Corporation © 2021 IBM Corporation

Slide 21

Slide 21 text

No content