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

Última actualización: 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

Esta plantilla de Azure Resource Manager (ARM) la creó un miembro de la comunidad, no Microsoft. Su propietario (no Microsoft) le permite usar las plantillas de ARM con arreglo a un contrato de licencia. Microsoft no se responsabiliza de ninguna plantilla de ARM que le proporcionen los miembros de la comunidad (o cuya licencia le otorguen) en cuanto a su seguridad, compatibilidad ni rendimiento. Las plantillas de ARM de la comunidad no reciben ningún tipo de soporte en ningún servicio ni programa de soporte de Microsoft. Dichas plantillas se proporcionan TAL CUAL, sin garantía de ningún tipo.


Nombre del parámetro Descripción
_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

Uso de la plantilla


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
Instalar y configurar PowerShell de Azure

Línea de comandos

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
Instalación y configuración de la interfaz de línea de comandos multiplataforma de Azure