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

게시자: Dwai Banerjee
마지막 업데이트: 2017-07-16

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

이 ARM(Azure Resource Manager) 템플릿은 Microsoft가 아니라 커뮤니티 구성원에 의해 만들어졌습니다. 각 ARM 템플릿은 Microsoft가 아닌 해당 소유자에 의해 사용이 허가됩니다. Microsoft는 커뮤니티 구성원에 의해 제공 및 라이선스가 부여된 ARM에 대해 책임이 없으며, 보안, 호환성 또는 성능을 검사하지 않습니다. 커뮤니티 ARM 템플릿은 Microsoft 지원 프로그램 또는 서비스에서 지원되지 않고, 어떠한 보증도 없이 있는 그래도 제공됩니다.

매개 변수

매개 변수 이름 설명
_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

템플릿 사용

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
Azure PowerShell 설치 및 구성

명령줄

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
Azure 크로스 플랫폼 명령줄 인터페이스 설치 및 구성