Configure and install Hyper-Converged Database (HCD) with Microsoft Azure Arc
Microsoft Azure Arc extends Azure management capabilities to any infrastructure. You can use Azure Arc to configure and install Hyper-Converged Database (HCD).
Prerequisites
-
An Azure Arc-enabled Kubernetes cluster with at least two node pools, each labeled with the appropriate
mission-control.datastax.com/role=
label,database
andplatform
. You can use any Kubernetes distribution running the ARC extension. For more information, see the Kubernetes Services section of the Azure portal. Look for theKubernetes - Azure Arc
Type in the list of clusters. -
kubectl
configured to communicate with the target Kubernetes cluster. -
Cert-Manager installed.
-
Azure Blob Storage containers set up, including:
-
Metrics
-
Logs
-
Install HCD with Azure Arc
-
Navigate to the DataStax HCD for Azure Arc page in the Azure Marketplace.
-
Select your Plan from the list, and then click Create.
-
Complete the fields on the Basics tab:
-
Select a Subscription and Resource group.
-
Select the target Azure Arc-enabled Kubernetes Cluster Name from the list.
-
Enter a meaningful, human-readable Cluster extension resource name. This name is displayed in the Azure portal and prefixes several resources.
-
Select the deployment mode. You must add one Control Plane. You can optionally add regional Data Planes.
-
Configure the top-level Storage Account for your installation. Enter the Storage Account name, key, and endpoint suffix.
-
-
Complete the fields on the Advanced tab to control the availability of observability services in your installation. DataStax recommends leaving these items enabled for most installations.
-
On the Observability tab, configure the volume size and storage type for the observability pipeline. DataStax recommends that you leverage the default options for most installations.
-
On the Metrics tab, configure the components of the metrics collection stack:
-
Object Storage: Specify the Blob Container Name and Storage Retention period for metrics.
-
Metrics Attached Storage: DataStax recommends over-provisioning capacity, as many storage options cannot be easily changed at runtime. The system uses these volumes to process metrics.
-
Metrics Topology: Configure the number of metrics component instances. You can horizontally scale the metrics pipeline as the number of managed clusters and nodes increases.
-
Metrics Resources: Adjust per-pod resource requests and limits. DataStax recommends increasing the CPU limit from 0.1 vCPU to at least 1 vCPU.
-
Metrics Advanced: Set advanced configuration settings.
-
-
Complete the fields on the Logging tab:
-
Blob Storage: Configure long-term storage for log file chunks.
-
Attached Storage: Configure local storage for logging components.
-
Topology: Configure the number of logging pipeline components. You can horizontally scale the logging pipeline as the number of clusters and nodes grows.
-
-
On the UI tab, configure the availability of the web-based user interface. DataStax recommends keeping this set to
Enabled
for most installations. -
Complete the fields on the Authentication tab:
-
Methods: Choose which authentication options will be available for the web interface.
-
Static Credentials: If you enable Static Credentials, specify the administrative account’s email and hashed password.
-
-
Review your selections on the Review + Submit tab, and then click Create to begin the installation.
Enable web interface access
After you deploy HCD from the Azure Marketplace, you can enable access to the web interface.
-
Expose the UI service as a load balancer:
# Create Load Balancer kubectl expose svc/EXTENSION_NAME -mission-control-ui --port 443 --target-port=8080 --type=LoadBalancer --name EXTENSION_NAME -mission-control-ui-external -n mission-control service/EXTENSION_NAME -mission-control-ui-external exposed/EXTENSION_NAME/EXTENSION_NAME/EXTENSION_NAME/ # Retrieve Load Balancer address kubectl get -n mission-control service/EXTENSION_NAME -mission-control-ui-external NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE /EXTENSION_NAME EXTENSION_NAME -mission-control-ui-external LoadBalancer EXTERNAL_ADDRESS 443:32622/TCP 35s
Replace the following:
-
EXTENSION_NAME: Name of your extension
-
EXTERNAL_ADDRESS External address of the load balancer
-
-
Access the web interface by navigating to
https://EXTERNAL_ADDRESS
.Replace EXTERNAL_ADDRESS with the external address of the load balancer.