mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
59 lines
3.4 KiB
Plaintext
59 lines
3.4 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * migrating_from_ocp_3_to_4/installing-3-4.adoc
|
|
// * migrating_from_ocp_3_to_4/installing-restricted-3-4.adoc
|
|
// * migration_toolkit_for_containers/installing-mtc.adoc
|
|
// * migration_toolkit_for_containers/installing-mtc-restricted.adoc
|
|
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-mcg.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="migration-configuring-mcg_{context}"]
|
|
= Retrieving Multicloud Object Gateway credentials
|
|
|
|
ifdef::installing-3-4,installing-mtc[]
|
|
You must retrieve the Multicloud Object Gateway (MCG) credentials and S3 endpoint, which you need to configure MCG as a replication repository for the {mtc-first}.
|
|
|
|
You must retrieve the Multicloud Object Gateway (MCG) credentials, which you need to create a `Secret` custom resource (CR) for {mtc-short}.
|
|
endif::[]
|
|
|
|
ifdef::installing-oadp-mcg[]
|
|
You must retrieve the Multicloud Object Gateway (MCG) credentials, which you need to create a `Secret` custom resource (CR) for the OpenShift API for Data Protection (OADP).
|
|
endif::[]
|
|
//ifdef::installing-oadp-mcg[]
|
|
//endif::[]
|
|
|
|
[NOTE]
|
|
====
|
|
Although the MCG Operator is link:https://catalog.redhat.com/software/containers/ocs4/mcg-rhel8-operator/5ddbcefbdd19c71643b56ce9?architecture=amd64&image=64243f5dcd0eb61355af9abd[deprecated], the MCG plugin is still available for {rh-storage}. To download the plugin, browse to link:https://access.redhat.com/downloads/content/547/ver=4/rhel---9/4.15.4/x86_64/product-software[Download {rh-storage-first}] and download the appropriate MCG plugin for your operating system.
|
|
====
|
|
|
|
.Prerequisites
|
|
ifdef::openshift-origin[]
|
|
* Ensure that you have downloaded the {cluster-manager-url-pull} as shown in _Obtaining the installation program_ in the installation documentation for your platform.
|
|
+
|
|
If you have the pull secret, add the `redhat-operators` catalog to the OperatorHub custom resource (CR) as shown in _Configuring {product-title} to use Red Hat Operators_.
|
|
endif::[]
|
|
* You must deploy {rh-storage} by using the appropriate link:https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.15[{rh-storage-first} deployment guide].
|
|
|
|
.Procedure
|
|
ifdef::installing-3-4,installing-mtc[]
|
|
* Obtain the S3 endpoint, `AWS_ACCESS_KEY_ID`, and `AWS_SECRET_ACCESS_KEY` by running the link:https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.15/html/managing_hybrid_and_multicloud_resources/accessing-the-multicloud-object-gateway-with-your-applications_rhodf#accessing-the-Multicloud-object-gateway-from-the-terminal_rhodf[`describe` command] on the `NooBaa` custom resource.
|
|
+
|
|
You use these credentials to add MCG as a replication repository.
|
|
endif::[]
|
|
ifdef::installing-oadp-mcg[]
|
|
. Obtain the S3 endpoint, `AWS_ACCESS_KEY_ID`, and `AWS_SECRET_ACCESS_KEY` by running the link:https://docs.redhat.com/en/documentation//red_hat_openshift_data_foundation/4.15/html/managing_hybrid_and_multicloud_resources/accessing-the-multicloud-object-gateway-with-your-applications_rhodf#accessing-the-Multicloud-object-gateway-from-the-terminal_rhodf[`describe` command] on the `NooBaa` custom resource.
|
|
. Create a `credentials-velero` file:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ cat << EOF > ./credentials-velero
|
|
[default]
|
|
aws_access_key_id=<AWS_ACCESS_KEY_ID>
|
|
aws_secret_access_key=<AWS_SECRET_ACCESS_KEY>
|
|
EOF
|
|
----
|
|
+
|
|
You use the `credentials-velero` file to create a `Secret` object when you install the Data Protection Application.
|
|
endif::[]
|