MayaScale utilizes instances with local NVMe devices and provides robust NVMe over Fabrics platform to clients that support NVMe/TCP. Deploy MayaScale in 2-node HA configuration if the NVMe devices are temporary storage devices to safe guard against data loss in the event of interuption.
| Table of Contents |
|---|
Service Principal Account
Before configuring MayaScale High Availability create a Service Principal account with sufficient permissions to manipulate disk attachments for proper sharing and fencing, and also storage read-write access to object storage. It also needs sufficient permission to float the virtual IP across multiple instances. By having separate service account for all MayaScale deployments you can enforce proper security measures as the assigned roles are limited to this project instances only.
...
| Info |
|---|
The above command requires subscription-id and resource group name where Mayascale will be deployed. To find the subscription ID az account show --query id -o tsv de1374d24-1027-440d-97e3-574dcc83e7d3f/ Please make a note of that password or also known as client secret value for Application Registered with Azure Active Directory. This will value will not be displayed again in the Azure portal. |
Service Prinicipal Login on MayaScale instances
Here is the sequence of steps involved in deploying High-Availability (HA) MayaScale on Azure cloud platform. The next steps assume you’ve already deployed at two MayaScale instances from Azure marketplace, with desired Availability Set.
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
{
"cloudName": "AzureCloud",
"homeTenantId": "3d2547b6-c040-40bd-7911-edcd62a8b111",
"id": "56813587-f424-4db0-af19-516c71f5800c",
"isDefault": true,
"managedByTenants": [],
"name": "Pay-as-you-go",
"state": "Enabled",
"tenantId": "3d2547b6-c040-40bd-7911-edcd62a8b111",
"user": {
"name": "daf98b5b-343a-4119-a08f-4ea837048e41",
"type": "servicePrincipal"
}
}
|
Change default GUI password
Change the MayaScale Administration GUI default password to something random by running
...
| No Format |
|---|
# /opt/mayastor/web/stop # /opt/mayastor/web/start |
Connect to Mayascale Web Console
Now you can proceed with High-Availability setup using the Getting Started wizard from Administration Web console available on http://<mayascale1-ip>:2020
