Viewing Blue/Green Deployment Details

You can view details of a specific blue/green deployment.

Use the Console, a command-line interface, or the REST API to view blue/green deployments.

Using the Console

Do the following to view blue/green deployments in a compartment using the Console:

  1. Open the Blue/green deployments list page. See Listing Blue/Green Deployments.
  2. Select the compartment that contains the blue/green deployments.
    The blue/green deployment list appears and contains the deployment names, blue (source) DB system names, green (target) DB system names, deployment states, switchover statuses, and deployment creation times.
  3. Select the blue/green deployment for which you want to view the details.
    The Blue/green deployment details page appears and displays the deployment information, related resources, and target DB system details. You can also view tags and work requests for the deployment.

Blue/Green Deployment Details

The Blue/green deployment details page shows details of the blue/green deployment and the resources associated with it.

Details

The following information is displayed on the Blue/green deployment details page:

Table 21-1 Details

Section Field and Description
Deployment information
  • Name: The display name of the blue/green deployment.
  • OCID: The unique identifier of the blue/green deployment.
  • Description: A user-defined description of the blue/green deployment.
  • State: The current lifecycle state of the blue/green deployment. See Blue/Green Deployment Status.
  • Switchover status: The current switchover readiness or switchover progress status. See Switching Over a Blue/Green Deployment.
  • SSL mode: The SSL mode for the replication channel.
  • Compartment: The name of the compartment in which the blue/green deployment is created.
  • Created: The date and time the blue/green deployment was created.
  • Last updated: The date and time the blue/green deployment was last updated.
Related resources
  • Blue (source) DB system: The source DB system from which the blue/green deployment was created.
  • Green (target) DB system: The target DB system created by the blue/green deployment.
  • Replication channel: The replication channel created to keep the target DB system synchronized with the source DB system before switchover.
Target DB system details
  • MySQL version: The MySQL version selected for the green target DB system.
  • Shape: The shape selected for the green target DB system.
  • Configuration: The configuration selected for the green target DB system.
  • Initial data storage size: The storage size selected for the green target DB system.

Work Requests

The Work requests tab on the Blue/green deployment details page lists the activity logs for ongoing and recent operations on the blue/green deployment. Work requests are retained for 12 hours.

Table 21-2 Work Requests

Field Description
Operation The operation performed on the blue/green deployment. For more information on work requests, see Work Request Overview.
State The current state of the work request.
% Complete The percentage completion.
Accepted Date and time the operation was accepted.
Started Date and time the operation started.
Finished Date and time the operation finished.

Tags

The Tags tab on the Blue/green deployment details page displays the tags associated with the blue/green deployment.

Using the CLI

Use the command-line interface to view blue/green deployments.

A properly configured CLI installation and the requisite SSH keys. See Command Line Interface.
  1. To list blue/green deployments in a compartment, run the following command:
    oci mysql blue-green-deployment list 
        --compartment-id <CompartmentOCID>
  2. To view the details of a blue/green deployment, run the following command:
    oci mysql blue-green-deployment get 
        --blue-green-deployment-id <BlueGreenDeploymentOCID>