Open topic with navigation
To contain applications, OpenShift uses projects. When containing a NuoDB database application, an OpenShift project stores the NuoDB templates, and also allows you to deploy a cluster-wide NuoDB domain. If a cluster-wide NuoDB project has not been created already - either by admins or a cluster provisioning script, then create a project for your NuoDB domain.
Note: The following steps assume that you have already logged into OpenShift and have previously created one or more projects.
To create a project for your NuoDB application, do the following:
The NuoDB YAML files are required to create the NuoDB database system which is comprised of admin services, database processes, and Insights monitoring processes. To import template files into an OpenShift project, do the following:
In the project where templates have not yet been imported, click Add to Project and select Import YAML/JSON templates.
Before creating a database, you must first create a NuoDB administration domain in the NuoDB project if one has not already been created. Using the NuoDB Admin (Container Native Storage) template, launch an administration tier with the requisite three nodes.
Note: The creation of an administration domain using the OpenShift interface automatically starts NuoDB Insights. For more information on NuoDB Insights, see Database Monitoring.
To create an administration domain, do the following:
Note: In the example above, three Admin Service pods have been created in zone
a and also in zone
b by performing the above steps twice, once for each zone.