Deploy OpenLDAP cluster on Ubuntu.

Last updated: 22-01-2016

This template deploys an OpenLDAP cluster on Ubuntu. It creates multiple Ubuntu VMs (up to 5, but can be easily increased) and does a silent install of OpenLDAP on them. Then it sets up N-way multi-master replication on them. After the deployment is successful, you can go to /phpldapadmin to start congfiguring OpenLDAP.

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.

Parameters

Parameter Name Description
vmAdminUsername User name for the Virtual Machine administrator. Do not use simple names such as 'admin'.
vmAdminPassword Password for the Virtual Machine administrator.
directoryAdminPassword Password for the OpenLDAP directory administrator.
organization Name of the organization for which the directory is being created.
namePrefix Unique name that will be used to generate various other names including the name of the Public IP used to access the Virtual Machine.
vmCount Number of VMs in the cluster.
vmSize The size of the VM.

Use the template

PowerShell

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/openldap-cluster-ubuntu/azuredeploy.json
Install and configure Azure PowerShell

Command line

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/openldap-cluster-ubuntu/azuredeploy.json
Install and Configure the Azure Cross-Platform Command-Line Interface