The Azure Quickstart templates are currently available in English
Create MATLAB Distributed Computing Server™ cluster
Этот шаблон Azure Resource Manager (ARM) был создан участником сообщества, а не Майкрософт. Каждый шаблон ARM лицензирован для вас в соответствии с условиями лицензионного соглашения с владельцем, а не с Майкрософт. Майкрософт не несет ответственности за шаблоны ARM, предоставленные и лицензированные членами сообщества, и не отслеживает их безопасности, совместимости или производительности. Шаблоны ARM, созданные сообществом, не поддерживаются ни в соответствии с какой-либо программой поддержки Майкрософт, ни какими-либо службами поддержки Майкрософт и предоставляются КАК ЕСТЬ без каких-либо гарантий.
Параметры
Имя параметра | Описание |
---|---|
dnsLabelPrefix | DNS Label where the client node will be exposed. Must be lowercase. It should match with the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$ or it will raise an error. |
adminUsername | User name for all Virtual Machine in the cluster. Pick a valid username otherwise there will be a BadRequest error. |
adminPassword | Admin password. Pick a complex password with uppercase letters, lowercase letters, digits, and symbols. The password should not be longer than 16. Otherwise you'll get a BadRequest error. |
vmSizeClient | Size of the Matlab client nodes. |
vmSizeMJS | Size of the MJS node. |
vmSizeWorker | Size of the worker nodes. |
numWorkerVms | Number of VMs to create that run the workers. Client and MJS VM don't count into this number. |
numWorkerOnMJS | Number of workers running on the master MJS VM. Zero is the default and recommended. -1 means auto detecting based on cpu cores. |
numWorkersWorker | Number of workers running on each worker VM. -1 will create one worker per core. |
imageUri | The URL to the disk image in blob that will be used to create all VMs |
vhdContainer | This is the container URL that will hold all VHDs for the VMs |
location | Location for all resources. |
Использование шаблона
PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deploymentУстановка и настройка служб Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/matlab-cluster/azuredeploy.json
Командная строка
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deploymentУстановка и настройка кросс-платформенного интерфейса командной стройки Azure
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/matlab-cluster/azuredeploy.json