Setting up an Azure Managed Instance for Apache Cassandra
Important
This setup is deprecated. We recommend using Storage as a Service (STaaS) instead.
Using an Azure Managed Instance for Apache Cassandra as an alternative to a Cassandra cluster hosted on premises is supported from DataMiner 10.3.5 up to 10.3.11.
You will first need to create your Azure Managed Instance for Apache Cassandra, and then connect your DataMiner System to the created instance.
Note
Microsoft uses Cassandra Reaper to do automatic repairs of your system. You do not need to set this up separately.
Tip
For detailed information on Azure Managed Instance for Apache Cassandra, refer to the Microsoft documentation.
Supported Cassandra versions
DataMiner supports the same Cassandra versions as for an on-premises cluster. However, only the following versions are available on Azure:
- Cassandra 3.11
- Cassandra 4.0
Creating your Azure Managed Instance for Apache Cassandra
Go to Azure Portal and log in.
Search for Azure Managed Instance for Apache Cassandra.
At the top of the window, click Create.
On the Basics page, specify the required information.
To have low latency, you should select a region near your own or the region where your Azure VMs are running. The password that you configure is for the Cassandra user in the system.
Click Next: Data center and configure the kind of servers you want to use for your Cassandra cluster.
The Sku Size defines which VM will be used (the more resources, the more expensive). You can then also select the number of disks and nodes that you want. The minimum number of nodes is 3.
If you want to configure a client certificate, click Advanced at the top.
If you do not need to do this, you can add some tags to the setup so you can easily find it again, or go to the next step.
Go to the Review + Create page.
Here, Azure will do some checks to see if everything has been configured correctly.
If everything is valid, click Create. Otherwise, adjust your configuration until Azure indicates that it is valid, and then click Create.
A pop-up window on the Azure website will now indicate that your cluster is being created. This can take a while.
Once the creation is finished, you will see your newly created cluster on the Azure Managed Instance for Apache Cassandra page.
Connecting your DataMiner System to the Azure Managed Instance
Retrieve the necessary information from the Azure portal:
Go to Azure Portal and log in.
Go to Azure Managed Instance for Apache Cassandra.
Select the cluster you want to connect your DataMiner System to.
In the Settings menu, select Data Center.
Click the arrow to open the data center, and copy the IP addresses DataMiner will need to connect to.
Note
We recommend configuring all of the nodes in DataMiner. If a node should go down, DataMiner can then still connect to the other nodes.
Using the copied IP addresses, configure the Cassandra cluster database in System Center.
Stop DataMiner.
Open the DB.xml configuration file.
Set the TLSEnabled tag to true in the file and save your changes:
<TLSEnabled>True</TLSEnabled>
Restart DataMiner.