Skip Navigation

Deploys a N node Gluster File System

Last updated: 19-05-2018

This template deploys a 2, 4, 6, or 8 node Gluster File System with 2 replicas on CentOS 6.5

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service and are made available AS IS without warranty of any kind.


Parameter Name Description
hostOs OS to install on the host system
scaleNumber Number of nodes in the gluster file system
virtualNetworkName virtual network the nodes will be created in
adminUsername ssh user name
adminPassword ssh password
vmSize VM size for the nodes
vmNamePrefix VM name prefix, a number will be appended for each node
vmIPPrefix VM IP prefix, a number will be appened for each node
vnetAddressPrefix virtual network CIDR in which the cluster will be created
gfsSubnetName name of the subnet for the Gluster nodes
gfsSubnetPrefix CIDR of the subnet for the Gluster nodes
customScriptFilePath GitHub location of the custom script that configures Gluster
customScriptCommandToExecute command to run the custom script
volumeName Gluster file system volume name
location Location for all resources.

Use the template


New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri
Install and configure Azure PowerShell

Command line

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri
Install and Configure the Azure Cross-Platform Command-Line Interface