Autoscale a LANSA Windows VM Scale Set with Azure SQL Database

Última actualización: 15/12/2016

The template deploys a Windows VMSS with a desired count of VMs in the scale set and a LANSA MSI to install into each VM. Once the VM Scale Set is deployed a custom script extension is used to install the LANSA MSI)

Esta plantilla de Azure Resource Manager (ARM) la creó un miembro de la comunidad, no Microsoft. Su propietario (no Microsoft) le permite usar las plantillas de ARM con arreglo a un contrato de licencia. Microsoft no se responsabiliza de ninguna plantilla de ARM que le proporcionen los miembros de la comunidad (o cuya licencia le otorguen) en cuanto a su seguridad, compatibilidad ni rendimiento. Las plantillas de ARM de la comunidad no reciben ningún tipo de soporte en ningún servicio ni programa de soporte de Microsoft. Dichas plantillas se proporcionan TAL CUAL, sin garantía de ningún tipo.

Parámetros

Nombre del parámetro Descripción
msiUri URL of the LANSA MSI to install on each VM.
vmSku Size of VMs in the VM Scale Set.
vmssName String used as a base for naming resources. Must be 3-61 characters in length and globally unique across Azure. A hash is prepended to this string for some resources, and resource-specific information is appended.
minInstanceCount Minimum number of VM instances (1 or more).
maxInstanceCount Maximum number of VM instances (100 or less).
databaseName The name of the new database to create.
collation The database collation for governing the proper use of characters.
edition The type of database to create.
requestedServiceObjectiveName Describes the performance level for Edition
maxSizeBytes The maximum size, in bytes, for the database
adminUsername Admin username on all VMs.
adminPassword Admin password on all VMs.
webUsername Web Server username on all VMs.
webPassword Web Server password on all VMs.
databaseLogin The admin user of the Azure SQL Database
databaseLoginPassword The password of the admin user of the Azure SQL Database
webServerMaxConnect The maximum number of LANSA jobs to run on each Web Server. Setting triggerWebConfig will cause this value to be updated.
installMSI Install the MSI: Set this to 1 to execute an MSI install. Usually set to 0 when updating the stack
updateMSI Update Stack: Set this to 1 to execute an MSI Upgrade. Obtains the specified MSI and installs it. Ensure the LansaMSI parameter is set correctly. If the LansaMSI parameter is not different a repair will be performed
uninstallMSI Uninstall the MSI: Set this to 1 to uninstall the MSI. The MSI used to uninstall is the last one that was installed. It is called c:\lansa\MyApp.msi
triggerWebConfig Update Stack: Set this to 1 to update the web configuration
imageOffer The offer of the image. Allowed values: lansa-scalable-license, lansa-scalable-license-preview
gitBranch (no hay descripción disponible)
trace Switch tracing on. Allowed values Y or N
fixLicense Re-run licensing

Uso de la plantilla

PowerShell
New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/lansa-vmss-windows-autoscale-sql-database/azuredeploy.json
Instalar y configurar PowerShell de Azure
Línea de comandos
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/lansa-vmss-windows-autoscale-sql-database/azuredeploy.json
Instalación y configuración de la interfaz de línea de comandos multiplataforma de Azure