copyright: years: 2019, 2020, 2021 lastupdated: "2021-07-5"
Installing Velero in an online environment
Follow the steps to install Velero in an online environment. Visit here to know more about Velero.
Deploy S3 bucket in the cloud where IBM Cloud Pak® for Multicloud Management is running. It needs be S3-compliant object store, such as AWS S3 bucket, IBM Cloud Object Store, minio.
Go to the directory
/bcdr/install/scriptsby running the following command:
cd <Path of cp4mcm-samples>/bcdr/install/scripts
You need to designate <Path of cp4mcm-samples> with the real path where you put the
Update the following parameters in the
access_key_id: Access key ID to connect to S3 bucket.
secret_access_key: Secret access key to connect to S3 bucket.
bucket_name: Name of the S3 bucket where the backup data will be stored.
bucket_url: URL to connect to S3 bucket.
bucket_region: Region where S3 bucket is deployed.
Install Velero by running the following command:
nohup sh install-velero.sh > install-velero.log &
Check the logs by running the following command:
tail -f install-velero.log
Check the Velero pods status by running the following command:
oc get pods -n velero
resticpods should be in a
Check the status of
backupStorageLocationby running the following command:
oc get backupStorageLocation -n velero
backupStorageLocationneeds to be in an available status.