The Azure Quickstart templates are currently available in English

Deploy Solace PubSub+ message broker onto Azure Linux VM(s)

上次更新日期: 2020/5/8

This template allows you to deploy either a standalone Solace PubSub+ message broker or a three node High Availability cluster of Solace PubSub+ message brokers onto Azure Linux VM(s).

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

參數

參數名稱 說明
vmAdminUsername Username for the Virtual Machine(s) hosting the Solace event router instance(s). Do not use special characters.
vmAdminPassword Password for the Virtual Machine(s).
solaceAdminPassword Password for the PubSub+ event broker management 'admin' user. For password rules refer to https://docs.solace.com/Configuring-and-Managing/Configuring-Internal-CLI-User-Accounts.htm#Changing-CLI-User-Passwords
securityGroupName Security group defined to support PubSub+ event broker system level and default message vpn ports.
workspaceName Optional: Unique OMS Workspace Name for Log Analytics. Leave this field empty to not deploy an OMS Workspace.
workspaceRegion OMS Workspace Region for Log Analytics. Not used if Workspace Name is empty.
dnsLabelForLbIp Unique DNS Label for the Public IP used to access the Load Balancer. Name must satisfy regular expression ^[a-z][a-z0-9-]{1,61}[a-z0-9]$
dnsLabelForVmIp Unique DNS Label for the Public IP used to access the Virtual Machine(s). Do not use '-'. Default will generate a unique string.
centosVersion The CentOS version for deploying the Docker containers. This will pick a fully patched image of this given CentOS version. Allowed values: 7.2, 7.3, 7.4
messageRoutingVmSize The size of the Solace Message Routing Node VM. Requires at least 2 cores and 4GB of memory. Allowed values: D2_v2, DS2_v2, D2_v3, D2s_v3
monitorVmSize The size of the Solace Monitor Node VM. Requires at least 1 core and 1GB of memory. Allowed values: D1_v2, DS1_v2, D2_v2, DS2_v2, D2_v3, D2s_v3
dataDiskSize The size of the data disk in GB for diagnostics and message spooling on the Solace Message Routing Nodes. Allowed values: 0, 20, 40, 80, 160
solaceEventBrokerDockerImageReference Solace PubSub+ event broker docker image reference: a docker registry name with optional tag or a download URL. The download URL can be obtained from http://dev.solace.com/downloads/ or it can be a url to a remotely hosted load version. Default will use the latest image available from Docker Hub.
deploymentModel Deploy three node HA cluster or single node
existingVirtualNetworkName Optional: Only used if deploying into an existing virtual network and subnet. Specify the Existing Virtual Network Name together with the Existing Subnet Name, otherwise leave it at default blank.
existingSubnetName Optional: Only used if deploying into an existing virtual network and subnet. Specify the Existing Virtual Network Name together with the Existing Subnet Name, otherwise leave it at default blank.
vnetAddressPrefix The virtual network's address range in CIDR notation where the PubSub+ event broker will be deployed.
subnetPrefix The subnet's address range in CIDR notation where the PubSub+ event broker will be deployed. It must be contained by the address space of the virtual network. The address range of a subnet which is in use can't be edited.
location Location for all resources. Default will use the same location as the Resource Group.
numberOfFaultDomains The number of fault domains to be used for the deployment. For the maximum number fault domains available to your location refer to https://github.com/MicrosoftDocs/azure-docs/blob/master/includes/managed-disks-common-fault-domain-region-list.md
_artifactsLocation The base URI where artifacts required by this template are located.
_artifactsLocationSasToken Optional: The Shared Access Signatures (SAS) token if required for the artifacts location, otherwise leave it at default blank.

使用範本

PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/solace-message-router/azuredeploy.json
安裝和設定 Azure PowerShell

命令列

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/solace-message-router/azuredeploy.json
安裝和設定 Azure 跨平台命令列介面