- Use Cases
- Dev Center
- Watch the Demo ❯
You are here
NuoDB 3.3: Community Edition (CE) on Red Hat OpenShift!
Oct 4 2018
Try our Community Edition (CE) on Red Hat OpenShift!
We are pleased to announce that with NuoDB v3.3, our leading distributed SQL database is now integrated into Red Hat OpenShift. This enables customers to fully develop, test, deploy and operate applications needing a SQL database fully within OpenShift. OpenShift is Red Hat’s open source container application platform based on the Kubernetes for enterprise application development and deployment.
The NuoDB Community Edition (CE) is a full featured, free to use version of NuoDB, limited to three Transaction Engine (TE) processes, and one Storage Manager (SM). The CE is ideal for quickly becoming familiar with the ease-of-use, scale-out, and Transaction Engine (TE) resiliency benefits of NuoDB by either using a provided sample database and workload or running your own applications.
The NuoDB CE OpenShift templates are available in two options, using either ephemeral (temporary) storage or persistent storage. With ephemeral storage, if the Admin Service pod or Storage Manager (SM) pod are stopped or deleted, the database will be removed with the pod. Alternatively, select the persistent storage template for database storage resiliency. With this option, if the SM pod is stopped or deleted, the database remains available as it was on the next database restart. In addition, the Enterprise Edition supports persistent storage, which can be made available by simply contacting us.
To get a free copy, please go to the Red Hat Container Catalog (RHCC) for more information on how to download a NuoDB CE OpenShift startup template. Once downloaded to your computer, follow the installation instructions below.
How to Install the Ephemeral template:
Create a project name “nuodb” by clicking the OpenShift “Create Project” button. If you like, you can also add a template display name of “NuoDB CE”.
Disable Transparent Huge Pages (THP) on the servers you will run NuoDB containers. For more information on this topic, see our OpenShift Prerequisite Configuration page, section titled “Disabling Transparent Huge Pages (THP)”.
Select the servers you want to use for NuoDB by assigning them OpenShift labels. The database install will start four container pods. We recommend you label at least three servers using the oc label command. For example:
# oc label node
Create an image pull secret which allows the template to pull the NuoDB CE container image from RHCC. From the OpenShift left bar menu, click “Resources”, then “Secrets”, and “Add Secret”. Enter values:
Secret Type = Image Secret
Secret Name = pull-secret
Authentication Type = Image Registry Credentials
Image Registry Server Address = registry.connect.redhat.com
Username = (your RH login)
Password = (your RH password)
Email = (your email address)
Link secret to a service account = (check this box)
Service Account = Default
Import the NuoDB CE template into OpenShift by navigating to the Overview Tab, clicking “Import YAML/JSON,” and running the import.
Process the template by navigating back to the Overview Tab and clicking “Select from Project”. Choose the NuoDB CE template and follow the installation prompts.
It will only take a few moments for the database to start! You will see 1 pod each for the following database processes:
- Administrative Service (Admin)
- Storage Manager (SM)
- Transaction Engine (TE)
Insights is the NuoDB database monitoring pod. Above the Insights pod is a link that will take you directly to your database performance data, if you have opted to enable Insights. Additionally, there is a YCSB application pod that will generate SQL load against your database.
Once your database has been installed, your OpenShift nuodb project dashboard will look like this:
Note: The YCSB application pod does not start by default, but once your database is started, please give it a try by starting 2 YCSB pods! Once it is running, you will notice in Insights (click the link above the Insights pod) that transactions per section(tps) will stabilize around 20K tps. You can quickly show scale-out performance gains by increasing your TE pods to 2 and adding an additional 2 YCSB pods. See the screenshot below.
We hope you enjoy NuoDB running in OpenShift. If you have any questions for us please contact us; we would love to hear from you!
Thanks for your interest in NuoDB!