ROSA FSx Workshop

This lab guide provides a walkthrough on using FSx for ONTAP as a persistent storage layer for applications on Red Hat OpenShift Service on AWS (ROSA). It will guide you through the steps to install the NetApp Trident Container Storage Interface (CSI) driver on a ROSA cluster. Additionally, you will learn how to provision an FSx for ONTAP file system, deploy a sample stateful application. To ensure your data’s resilience, you learn how to backup and restore your application data.

This lab guide assumes you are using the RHDP environment and are logged into the bastion.
  1. Lab Setup

  2. Provision FSx for ONTAP

  3. Install and Configure the Trident CSI driver for ROSA

  4. Install and Configure the Trident CSI backend to FSx for ONTAP

  5. Create storage class in ROSA cluster

  6. Deploy MySQL stateful application

  7. Creating Snapshots

  8. Data Recovery

  9. Validate the Database was Restored

1. Lab Setup

1.1. Authenticate oc to the cluster

The bastion provided with the RHDP workshop has the aws and rosa command line tools already installed and logged in. The oc command is installed, but not authenticated.

To authenticate oc use the API URL, username, and password provided by the RHDP lab deployment.

oc login https://api.my-openshift-domain.local:6443 -u cluster-admin -p GcJf7-te22D-6FUTL-TtktJ

1.2. Git clone the lab repo

Clone the Git repository:

git clone https://github.com/redhat-gpst/rosa-fsx-lab-guide rosa-fsx

cd into the rosa-fsx/fsx directory. This will be the main working directory for the lab.

cd ~/rosa-fsx/fsx