Installing the CAM Operator on an OpenShift Container Platform 4.1 source cluster

You can install the CAM Operator on an OpenShift Container Platform 4.1 source cluster with OLM.

The CAM Operator installs Velero and Restic.

Procedure
  1. In the OpenShift Container Platform web console, click AdministrationNamespaces.

  2. On the Namespaces page:

    1. Click Create Namespace.

    2. Enter openshift-migration in the Name field and click Create.

  3. Click CatalogOperatorHub.

  4. On the OperatorHub page:

    1. Scroll or type a keyword into the Filter by keyword field (in this case, Migration) to find the Cluster Application Migration Operator.

    2. Select the Cluster Application Migration Operator and click Install.

  5. On the Create Operator Subscription page:

    1. Select the openshift-migration namespace if it is not already selected.

    2. Select an Automatic or Manual approval strategy.

    3. Click Subscribe.

  6. Click CatalogInstalled Operators.

    The Cluster Application Migration Operator is listed in the openshift-migration project with the status InstallSucceeded.

  7. On the Installed Operators page:

    1. Under Provided APIs, click View 12 more…​.

    2. Click Create NewMigrationController.

    3. Update the migration_controller and migration_ui parameters and add the deprecated_cors_configuration parameter to the spec stanza:

      spec:
        [...]
        migration_controller: false
        migration_ui: false
        [...]
        deprecated_cors_configuration: true
    4. Click Create.

  8. Click WorkloadsPods to verify that the Restic and Velero Pods are running.

Installing the CAM Operator on an OpenShift Container Platform 4.3 target cluster

You can install the CAM Operator on an OpenShift Container Platform 4.3 target cluster with OLM.

The CAM Operator installs the following on the target cluster:

  • Migration controller CR

  • CAM web console

  • Restic

  • Velero

Procedure
  1. In the OpenShift Container Platform web console, click AdministrationNamespaces.

  2. On the Namespaces page:

    1. Click Create Namespace.

    2. Enter openshift-migration in the Name field and click Create.

  3. Click OperatorsOperatorHub.

  4. On the OperatorHub page:

    1. Scroll or type a keyword into the Filter by keyword field (in this case, Migration) to find the Cluster Application Migration Operator.

    2. Select the Cluster Application Migration Operator and click Install.

  5. On the Create Operator Subscription page:

    1. Select the openshift-migration namespace if it is not already selected.

    2. Select an Automatic or Manual approval strategy.

    3. Click Subscribe.

  6. Click OperatorsInstalled Operators.

    The Cluster Application Migration Operator is listed in the openshift-migration project with the status InstallSucceeded.

  7. On the Installed Operators page:

    1. Under Provided APIs, click View 12 more…​.

    2. Click Create NewMigrationController.

    3. Click Create.

  8. Click WorkloadsPods to verify that the Controller Manager, Migration UI, Restic, and Velero Pods are running.