CentOS/UbuntuServer Auto Dynamic Disks & Docker 1.12(cs)

Última atualização: 16/07/2017

This is a common template for creating single instance CentOS 7.2/7.1/6.5 or Ubuntu Server 16.04.0-LTS with configurable number of data disks (configurable sizes). Maximum 16 disks can be mentioned in the portal parameters and maximum size of each disk should be less than 1023 GB. The MDADM RAID0 Array is automounted and survives restarts. Latest Docker 1.12(cs3) (Swarm), docker-compose 1.9.0 & docker-machine 0.8.2 is available for usage from user azure-cli is auto running as a docker container. This single instance template is an offshoot of the HPC/GPU Clusters Template @ https://aka.ms/azurebigcompute

Este modelo do ARM (Azure Resource Manager) foi criado por um membro da comunidade, e não pela Microsoft. Cada modelo do ARM é licenciado para você de acordo com o contrato de licença de seu proprietário, e não da Microsoft. A Microsoft não é responsável por modelos do ARM fornecidos e licenciado por membros da comunidade e não avalia sua segurança, compatibilidade ou desempenho. Modelos do ARM da comunidade não têm suporte de nenhum programa ou serviço de suporte da Microsoft e são disponibilizados DA FORMA COMO ESTÃO, sem nenhum tipo de garantia.

Parâmetros

Nome do parâmetro Descrição
_artifactsLocation The base URI where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated.
_artifactsLocationSasToken The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated.
dnsLabelPrefix Unique public dns prefix where the node will be exposed
adminUsername User name for the Virtual Machine. Pick a valid username otherwise there will be a BadRequest error.
imagePublisher openlogic/Canonical are the respective CentOS/Ubuntu Distributor in Azure Market Place
imageOffer New CentOS/UbuntuServer Image Offer
imageSku P.S: OpenLogic CentOS version to use **docker usage Only for 7.1/7.2 kernels 3.10 and above **
sshPublicKey This field must be a valid SSH public key. ssh with this RSA public key
mountFolder The Folder system to be auto-mounted.
nodeSize Size of the node.
storageType Storage Account Type : Standard-LRS, Standard-GRS, Standard-RAGRS, Standard-ZRS
dockerVer The docker version **Only for 7.1/7.2 kernels 3.10 and above **
dockerComposeVer The Docker Compose Version **Only for 7.1/7.2 kernels 3.10 and above **
dockerMachineVer The docker-machine version **Only for 7.1/7.2 kernels 3.10 and above **
dataDiskSize The size in GB of each data disk that is attached to the VM. A MDADM RAID0 is created with all data disks auto-mounted, that is dataDiskSize * dataDiskCount in size n the Storage .
masterVMName The Name of the VM.
numDataDisks This parameter allows the user to select the number of disks wanted

Usar o modelo

PowerShell

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-vm-linux-dynamic-data-disks/azuredeploy.json
Instale e configure o PowerShell do Azure

Linha de comando

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-vm-linux-dynamic-data-disks/azuredeploy.json
Instalar e configurar a Interface de Linha de Comando de Plataforma Cruzada do Azure