Challenge 2: Offline migration of database

< Previous Challenge - Home - Next Challenge >

Introduction

You will copy the Pizzeria database(s) to Azure. You are not required to reconfigure the application to Azure DB for PostgreSQL/MySQL in this challenge as you will do that in the next one.

Description

In the offline migration approach, your application can tolerate some downtime to move to Azure. You can assume that the application is down and no changes are being made to the database.

Success Criteria

Hints

To get to the CLI, you will need to do this:

    podName=$(kubectl get pods -n ora2pg --no-headers -o custom-columns=":metadata.name")
    kubectl exec -n ora2pg -it $podName -- /bin/bash
    cd /usr/local/bin
    ora2pg

For the web UI, you will need to do this:

    ora2pgIP=$(kubectl -n ora2pg get svc -o jsonpath="{.items[0].status.loadBalancer.ingress[0].ip}")
    ora2pgPort=$(kubectl -n ora2pg get svc -o jsonpath="{.items[0].spec.ports[0].port}")     
    echo "ora2pg is at http://$ora2pgIP:$ora2pgPort/"

References