Hazelcast Cluster

Steven Edouard 提供
上次更新日期: 2016/3/1

Hazelcast is an in-memory data platform that can be used for a variety of data applications. This template will deploy any number of Hazelcast nodes and they will automatically discover each other.

此 Azure Resource Manager (ARM) 範本是由社群成員 (而非 Microsoft) 建立。每個 ARM 範本都是由其擁有者 (而非 Microsoft) 依據授權合約授權給您。Microsoft 並不負責社群成員所提供和授權的 ARM 範本,而不會為了安全性、相容性或效能進行篩選。社群 ARM 範本並未依據任何 Microsoft 支援方案或服務提供支援,而且會在沒有任何擔保的情況下依現況提供。

參數

參數名稱 說明
adminUsername Username for hazelcast VMs
adminPassword Password for hazelcast VMs, if authenticationType is set to 'password'
sshPublicKey SSH Public key for hazelcast VMs, if authenticationType is set to 'sshPublicKey'
authenticationType Authenitcation method for logging into Hazelcast VMs.
clusterUserName Username for hazelcast grid
clusterPassword Password for hazelcast grid
dnsPrefix Unique DNS Name for the Public IP used to access the Virtual Machine.
instanceCount The number of hazelcast nodes in the grid
clusterName The tag used to identify this cluster
clusterPort The cluster port to identify this cluster
minHeapSizeInGB The minimum heap size for each hazelcast jvm. Applicable values should end in 'G' - 4G, 8G etc.
maxHeapSizeInGB The maximum heap size for each hazelcast jvm. Applicable values should end in 'G' - 4G, 8G etc.
aadClientId Azure Active Directory Service Principal client ID
aadClientSecret Azure Active Directory Service Principal client secret
aadTenantId Azure Active Directory Service Principal tenant ID
vmSize The size of each instance VM
ubuntuOSVersion The Ubuntu version for deploying the Docker containers. This will pick a fully patched image of this given Ubuntu version. Allowed values: 14.04.2-LTS, 14.04-DAILY, 15.04
templateBaseUrl The base URL for the bootstrap files

使用範本

PowerShell

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/hazelcast-vm-cluster/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/hazelcast-vm-cluster/azuredeploy.json
安裝和設定 Azure 跨平台命令列介面