Installing Red Hat OpenShift Database Access

Create the RHODA catalog source using OpenShift Web Terminal

Note

We need below step if we are trying to deploy RHODA without using the Add-On, For example in an OpenShift Cluster deployed on-premise.

Launch Web Terminal from OpenShift console and perform below steps*

cat <<EOF | oc apply -f -
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: dbaas-operator
namespace: openshift-marketplace
spec:
sourceType: grpc
image: quay.io/osd-addons/dbaas-operator-index@sha256:6325f547b394b1d6f7a528ab3c01bb8f9052762acc245fd453378f5a47830923
displayName: DBaaS Operator
EOF
bash-4.4 ~ $ oc get catalogsource dbaas-operator -n openshift-marketplace
NAME             DISPLAY          TYPE   PUBLISHER   AGE
dbaas-operator   DBaaS Operator   grpc               3d23h
  • Verify that dbaas-operator catalog source is in READY state, It might take a few minutes before the catalog source is ready. If the below command does not return READY, wait a few minutes and try to verify the status again.

You can also check this by going into openshift-marketplace namespace dbass-operator catalog pod

oc get catalogsource -n openshift-marketplace  dbaas-operator -o jsonpath='{.status.connectionState.lastObservedState} {"\n"}'
oc describe packagemanifests dbaas-operator -n openshift-marketplace
  • Go to Operator Hub and look for OpenShift Database Access Operator

Application architecture
  • Once Selected the OpenShift Database Access Operator,

  • Navigate in the web console to the Operators → OperatorHub page. Type a keyword into the Filter by keyword box OpenShift Database Access Operator. Select the OpenShift Database Access Operator to display additional information.

Application architecture

On the Install Operator page. The RHODA operator is cluster scope and the default installed namespace is openshift-dbaas-operator and use the same default settings.

Application architecture
  • On successful installation of RHODA operator, will automatically install all its dependencies including provider operators, console plugins as seen in the screenshot and you see an additional menu with name Data Services in the end of menu list. Once all it’s components installation completed the dbaas operator pod logs will shows: DBaaS platform stack installation complete.

Application architecture
  • Verify the installation completion logs

Application architecture

Install RHODA using Kustomize

Kustomize traverses a Kubernetes manifest to add, remove or update configuration options without forking. It is available both as a standalone binary and as a native feature of kubectl.

For more information on using Kustomize, please refer to the following link

Please use the following : URL

  • On successful installation of RHODA operator, will automatically install all its dependencies including provider operators, console plugins as seen in the screenshot and you see an additional menu with name Data Services in the end of menu list. Once all it’s components installation completed the dbaas operator pod logs will shows: DBaaS platform stack installation complete.

Application architecture
  • Verify the installation completion logs

Application architecture

Install using Ansible

Ansible is a software tool that provides simple but powerful automation for cross-platform computer support. It is primarily intended for IT professionals, who use it for application deployment, updates on workstations and servers, cloud provisioning, configuration management, intra-service orchestration, and nearly anything a systems administrator does on a weekly or daily basis. Ansible doesn’t depend on agent software and has no additional security infrastructure, so it’s easy to deploy.

For information on using Ansible, please refer to the link

Using below manifest, we can install using AAP or run as a playbook manually by creating necessary artifacts.

  • On successful installation of RHODA operator, will automatically install all its dependencies including provider operators, console plugins as seen in the screenshot and you see an additional menu with name Data Services in the end of menu list. Once all it’s components installation completed the dbaas operator pod logs will shows: DBaaS platform stack installation complete.

Application architecture
  • Verify the installation completion logs

Application architecture

Install using OpenShift Pipelines

Red Hat OpenShift Pipelines is a cloud-native, continuous integration and continuous delivery (CI/CD) solution based on Kubernetes resources. It uses Tekton building blocks to automate deployments across multiple platforms by abstracting away the underlying implementation details. Tekton introduces a number of standard custom resource definitions (CRDs) for defining CI/CD pipelines that are portable across Kubernetes distributions

Please refer to docs

Use below links for the pipeline related manifest.

  • On successful installation of RHODA operator, will automatically install all its dependencies including provider operators, console plugins as seen in the screenshot and you see an additional menu with name Data Services in the end of menu list. Once all it’s components installation completed the dbaas operator pod logs will shows: DBaaS platform stack installation complete.

Application architecture
  • Verify the installation completion logs

Application architecture

Install using Red Hat Advanced Cluster Management Policy

Red Hat® Advanced Cluster Management for Kubernetes controls clusters and applications from a single console, with built-in security policies. Extend the value of Red Hat OpenShift® by deploying apps, managing multiple clusters, and enforcing policies across multiple clusters at scale. Red Hat’s solution ensures compliance, monitors usage, and maintains consistency.

For more information on RHACM, please refer to docs

Below is the link to the policy manifest that can be used to configure as policy in RHACM which can install the Operator

  • On successful installation of RHODA operator, will automatically install all its dependencies including provider operators, console plugins as seen in the screenshot and you see an additional menu with name Data Services in the end of menu list. Once all it’s components installation completed the dbaas operator pod logs will shows: DBaaS platform stack installation complete.

Application architecture
  • Verify the installation completion logs

Application architecture