Nutanix Database Service

NDB Architecture

» Download this section as PDF (opens in a new tab/window)

NDB Architecture

NDB is a software solution that can be deployed on Nutanix clusters running AHV or ESXi. NDB can be deployed with a single control plane VM, across multiple Nutanix clusters, with high availability (HA) configurations, and multi-cluster with HA configurations. However NDB is installed and configured, the database administration functions - provisioning, cloning, copy data management, patching, and backup - remain the same. In an HA deployment, the API, GUI, and metadata repository are resilient and will stay online during upgrades or a failure of a single VM. You can learn more about the configuration of the NDB control plane from the next page in this guide.

NDB Single Control Plane VM Deployment

NDB can be deployed as a single control plane VM; this install is ideal for situations where you do not need data resiliency for NDB’s API, GUI or metadata. However, the Nutanix Cloud Platform hosting the VM is highly available and resilient. During upgrades, NDB functionality will be offline during parts of the upgrade process.

NDB Single VM Architecture

NDB Single Control Plane VM Components

NDB Multi-Cluster Deployment

If you have multiple Nutanix clusters, you can deploy NDB across two or more clusters, which can address several use cases, including the following.

NDB Multi-Cluster Architecture

NDB High Availability (HA) Deployment

You can enable HA for NDB even if you have only one Nutanix environment to ensure no loss of service or data when any of the NDB control plane VMs fail.

When enabling high availability, NDB creates a cluster of API/GUI server VMs, Repository VMs, and HA proxy VMs. These clustered services help secure the system against unexpected failures, planned maintenance, and upgrades. When the primary API server VM or Repository VM goes down, NDB automatically fails over to a standby. NDB services will be available during any upgrades.

NDB HA VM Architecture

Nutanix Database Service High Availability Components

NDB Multi-Cluster HA Deployment

When managing multiple Nutanix clusters, NDB will install a lightweight agent VM on each Nutanix cluster to manage database operations on that cluster. Multi-Cluster can be run in a single control plane VM deployment and must be enabled before HA deployment, as shown below. Each component of the NDB HA cluster can be placed on any Nutanix cluster in the same datacenter that NDB has connectivity with. When running HA on multiple clusters, the VLAN needs to be shared on both clusters, or a stretched VLAN between the HA Proxy’s servers is required to place them on different Nutanix Clusters.

NDB Multi Cluster HA Architecture

IP Address Requirements and VM Distribution for Different NDB Topologies

The NDB Administration Guide has the most up-to-date requirements for IP address and VM distribution to fit the needs of your Nutanix environment. The NBD HA reference architecture link below is also a good guide to see what best works in your environment.

Note
Pro tip

• In multi-cluster topologies:
   • NDB server: In a non-HA configuration, the NDB server hosts all NDB service control plane components. When you enable HA, the original NDB server becomes the first NDB API server as part of the HA scale-out, which is why it does not exist in HA topology options.
</div> #### High Availability Reference Architecture Follow this link to find a reference architecture for NDB HA. This reference architecture is a comprehensive guide to configuring and deploying NDB High Availability (HA) with Nutanix AHV across multiple Nutanix clusters. ### Footnotes