The template helps you to structure your database automatically thereby saving
your time and cost. COD creates the predefined number of LITE or HEAVY gateway
and master nodes, a set of worker nodes, and also adds additional functionalists
into the new database. In case you need to modify the default number of nodes
defined in the template, you can do so after the database creation.
The
available templates are Micro Duty, Light
Duty, and Heavy Duty. By default,
Light Duty is selected.
You can create a
small database using the Micro Duty template, which
consists of one Gateway node and one Worker node. In a Micro database, the
Gateway node carries out the processes involved in the Master or Leader
nodes. You can consider using a Micro cluster for your testing and
development purposes.
Alternatively, you can use the following command
using CDP CLI to create an operational database of Micro
Duty scale type.
cdp opdb create-database
--environment-name
<environment_name>
--database-name
<database_name>
---scale-type
MICRO
For
example,
cdp opdb create-database --environment-name cod7215 --database-name testenv --scale-type MICRO