Single iteration IO workload template with io block size, duration, read/write percentage and max latency input parameters

This commit is contained in:
Dipak 2016-02-04 13:15:15 -08:00
Родитель 7eb72e42cc
Коммит e687a19ad7
8 изменённых файлов: 79 добавлений и 32 удалений

Просмотреть файл

@ -1,6 +1,6 @@
{ {
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.15.11.13", "contentVersion": "1.16.02.02",
"parameters": { "parameters": {
"azureUser": { "azureUser": {
"type": "string", "type": "string",

Двоичные данные
iostorm-vm-iops-latency-azure/VMIOWorkload.zip

Двоичный файл не отображается.

Двоичный файл не отображается.

Просмотреть файл

@ -5,13 +5,13 @@
"azureAdApplicationId": { "azureAdApplicationId": {
"type": "string", "type": "string",
"metadata": { "metadata": {
"description": "Azure AD Application ID to authenticate inside controller VM." "description": "Azure AD Application ID to authenticate inside controller VM for AzureCloud."
} }
}, },
"azureAdApplicationPassword": { "azureAdApplicationPassword": {
"type": "string", "type": "string",
"metadata": { "metadata": {
"description": "Azure AD Application password to authenticate inside controller VM." "description": "Azure AD Application password to authenticate inside controller VM for AzureCloud."
} }
}, },
"tenantId": { "tenantId": {
@ -32,27 +32,34 @@
"description": "Unique Storage Account name to place OS disks." "description": "Unique Storage Account name to place OS disks."
} }
}, },
"storageDomain": {
"type": "string",
"defaultValue": "core.windows.net",
"metadata": {
"description": "The storage domain. e.g. For AzureStack 'azurestack.local' and for Azure Cloud 'core.windows.net'."
}
},
"location": { "location": {
"type": "string", "type": "string",
"defaultValue": "East US",
"allowedValues": [ "allowedValues": [
"West US",
"East US", "East US",
"East US 2", "East US 2",
"West US",
"Central US", "Central US",
"South Central US", "South Central US",
"North Central US",
"North Europe", "North Europe",
"West Europe", "West Europe",
"East Asia", "East Asia",
"Southeast Asia", "Southeast Asia",
"Japan East", "Japan East",
"Japan West", "Japan West",
"North Central US", "Southeast Asia",
"Australia East", "local"
"Australia Southeast",
"Brazil South"
], ],
"metadata": { "metadata": {
"description": "Region to deploy VMs." "description": "Region to deploy VMs, 'local' for AzureStack and all other supported regions for AzureCloud."
} }
}, },
"vmAdminUsername": { "vmAdminUsername": {
@ -104,19 +111,23 @@
"vmName": "vmiovm", "vmName": "vmiovm",
"vmSize": "Standard_A2", "vmSize": "Standard_A2",
"vmOsDiskName": "vmioosdisk", "vmOsDiskName": "vmioosdisk",
"vmIoBlockSize": "4096",
"vmIoDuration": "600",
"vmIoReadPercentage": "70",
"vmIoMaxLatency": "100",
"vmNicName": "vmionic", "vmNicName": "vmionic",
"virtualNetworkName": "vmiovnet", "virtualNetworkName": "vmiovnet",
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]", "vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]",
"subnetRef": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]", "subnetRef": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]",
"modulesPath": "https://raw.githubusercontent.com/Azure/AzureStack-QuickStart-Templates/master/iostorm-vm-iops-latency-azure/", "modulesPath": "https://vmbootio.blob.core.windows.net/modules/",
"modulesPathTest": "https://vmbootio.blob.core.windows.net/modules/", "modulesPathProd": "https://raw.githubusercontent.com/Azure/AzureStack-QuickStart-Templates/master/iostorm-vm-iops-latency-azure/",
"moduleVMIOController": "VMIOWorkloadController.zip", "moduleVMIOController": "VMIOWorkloadController.zip",
"moduleVMIOWorkload": "VMIOWorkload.zip", "moduleVMIOWorkload": "VMIOWorkload.zip",
"modulesUrlVMIOController": "[concat(variables('modulesPath'),variables('moduleVMIOController'))]", "modulesUrlVMIOController": "[concat(variables('modulesPath'),variables('moduleVMIOController'))]",
"modulesUrlVMIOWorkload": "[concat(variables('modulesPath'),variables('moduleVMIOWorkload'))]", "modulesUrlVMIOWorkload": "[concat(variables('modulesPath'),variables('moduleVMIOWorkload'))]",
"configurationFunctionVMIOController": "VMIOWorkloadController.ps1\\ConfigureVMIO", "configurationFunctionVMIOController": "VMIOWorkloadController.ps1\\ConfigureVMIO",
"configurationFunctionVMIOWorkload": "VMIOWorkload.ps1\\ConfigureVMIO", "configurationFunctionVMIOWorkload": "VMIOWorkload.ps1\\ConfigureVMIO",
"nsgName": "vmionsg", "nsgName": "vmionsg",
"nsgID": "[resourceId('Microsoft.Network/networkSecurityGroups',variables('nsgName'))]" "nsgID": "[resourceId('Microsoft.Network/networkSecurityGroups',variables('nsgName'))]"
}, },
"resources": [ "resources": [
@ -141,7 +152,7 @@
} }
} }
}, },
{ {
"apiVersion": "[variables('apiVersionNRP')]", "apiVersion": "[variables('apiVersionNRP')]",
"type": "Microsoft.Network/networkSecurityGroups", "type": "Microsoft.Network/networkSecurityGroups",
"name": "[variables('nsgName')]", "name": "[variables('nsgName')]",
@ -169,6 +180,7 @@
"type": "Microsoft.Network/virtualNetworks", "type": "Microsoft.Network/virtualNetworks",
"name": "[variables('virtualNetworkName')]", "name": "[variables('virtualNetworkName')]",
"location": "[parameters('location')]", "location": "[parameters('location')]",
"dependsOn": [ "[concat('Microsoft.Network/networkSecurityGroups/', variables('nsgName'))]" ],
"properties": { "properties": {
"addressSpace": { "addressSpace": {
"addressPrefixes": [ "addressPrefixes": [
@ -185,10 +197,7 @@
} }
} }
} }
], ]
"dhcpOptions": {
"dnsServers": [ "192.168.100.2" ]
}
} }
}, },
{ {
@ -271,7 +280,7 @@
"osDisk": { "osDisk": {
"name": "osdisk", "name": "osdisk",
"vhd": { "vhd": {
"uri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.core.windows.net/',variables('vmStorageAccountContainerName'),'/',variables('vmOsDiskName'),'.vhd')]" "uri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.',parameters('storageDomain'),'/',variables('vmStorageAccountContainerName'),'/',variables('vmOsDiskName'),'.vhd')]"
}, },
"caching": "ReadWrite", "caching": "ReadWrite",
"createOption": "FromImage" "createOption": "FromImage"
@ -287,7 +296,7 @@
"diagnosticsProfile": { "diagnosticsProfile": {
"bootDiagnostics": { "bootDiagnostics": {
"enabled": "true", "enabled": "true",
"storageUri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.core.windows.net')]" "storageUri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.',parameters('storageDomain'))]"
} }
} }
} }
@ -324,7 +333,7 @@
"osDisk": { "osDisk": {
"name": "osdisk", "name": "osdisk",
"vhd": { "vhd": {
"uri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.core.windows.net/',variables('vmStorageAccountContainerName'),'/',concat(variables('vmOsDiskName'),copyIndex()),'.vhd')]" "uri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.',parameters('storageDomain'),'/',variables('vmStorageAccountContainerName'),'/',concat(variables('vmOsDiskName'),copyIndex()),'.vhd')]"
}, },
"caching": "ReadWrite", "caching": "ReadWrite",
"createOption": "FromImage" "createOption": "FromImage"
@ -340,7 +349,7 @@
"diagnosticsProfile": { "diagnosticsProfile": {
"bootDiagnostics": { "bootDiagnostics": {
"enabled": "true", "enabled": "true",
"storageUri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.core.windows.net')]" "storageUri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.',parameters('storageDomain'))]"
} }
} }
} }
@ -400,6 +409,10 @@
"VMName": "[concat(variables('vmName'),copyIndex())]", "VMName": "[concat(variables('vmName'),copyIndex())]",
"VMAdminUserName": "[parameters('vmAdminUsername')]", "VMAdminUserName": "[parameters('vmAdminUsername')]",
"VMAdminPassword": "[parameters('vmAdminPassword')]", "VMAdminPassword": "[parameters('vmAdminPassword')]",
"VMIoBlockSize": "[variables('vmIoBlockSize')]",
"VMIoDuration": "[variables('vmIoDuration')]",
"VMIoReadPercentage": "[variables('vmIoReadPercentage')]",
"VMIoMaxLatency": "[variables('vmIoMaxLatency')]"
} }
} }
} }

Двоичные данные
iostorm-vm-iops-latency/VMIOWorkload.zip

Двоичный файл не отображается.

Двоичный файл не отображается.

Просмотреть файл

@ -5,19 +5,20 @@
"azureUser": { "azureUser": {
"type": "string", "type": "string",
"metadata": { "metadata": {
"description": "Azure user to authenticate inside controller VM." "description": "Azure user to authenticate inside controller VM for AzureStack."
} }
}, },
"azurePassword": { "azurePassword": {
"type": "securestring", "type": "securestring",
"metadata": { "metadata": {
"description": "Azure user password to authenticate inside controller VM." "description": "Azure user password to authenticate inside controller VM for AzureStack."
} }
}, },
"azureApplicationId": { "azureApplicationId": {
"type": "string", "type": "string",
"defaultValue": "",
"metadata": { "metadata": {
"description": "Azure AD Application ID to authenticate inside controller VM." "description": "Azure Application ID to authenticate inside controller VM for AzureStack."
} }
}, },
"tenantId": { "tenantId": {
@ -38,13 +39,34 @@
"description": "Unique Storage Account name to place OS disks." "description": "Unique Storage Account name to place OS disks."
} }
}, },
"storageDomain": {
"type": "string",
"defaultValue": "azurestack.local",
"metadata": {
"description": "The storage domain. e.g. For AzureStack 'azurestack.local' and for Azure Cloud 'core.windows.net'."
}
},
"location": { "location": {
"type": "string", "type": "string",
"defaultValue": "local",
"allowedValues": [ "allowedValues": [
"West US",
"East US",
"East US 2",
"Central US",
"South Central US",
"North Central US",
"North Europe",
"West Europe",
"East Asia",
"Southeast Asia",
"Japan East",
"Japan West",
"Southeast Asia",
"local" "local"
], ],
"metadata": { "metadata": {
"description": "Region to deploy VMs." "description": "Region to deploy VMs, 'local' for AzureStack and all other supported regions for AzureCloud."
} }
}, },
"vmAdminUsername": { "vmAdminUsername": {
@ -96,6 +118,10 @@
"vmName": "vmiovm", "vmName": "vmiovm",
"vmSize": "Standard_A2", "vmSize": "Standard_A2",
"vmOsDiskName": "vmioosdisk", "vmOsDiskName": "vmioosdisk",
"vmIoBlockSize": "4096",
"vmIoDuration": "600",
"vmIoReadPercentage": "70",
"vmIoMaxLatency": "100",
"vmNicName": "vmionic", "vmNicName": "vmionic",
"virtualNetworkName": "vmiovnet", "virtualNetworkName": "vmiovnet",
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]", "vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]",
@ -107,7 +133,7 @@
"modulesUrlVMIOWorkload": "[concat(variables('modulesPath'),variables('moduleVMIOWorkload'))]", "modulesUrlVMIOWorkload": "[concat(variables('modulesPath'),variables('moduleVMIOWorkload'))]",
"configurationFunctionVMIOController": "VMIOWorkloadController.ps1\\ConfigureVMIO", "configurationFunctionVMIOController": "VMIOWorkloadController.ps1\\ConfigureVMIO",
"configurationFunctionVMIOWorkload": "VMIOWorkload.ps1\\ConfigureVMIO", "configurationFunctionVMIOWorkload": "VMIOWorkload.ps1\\ConfigureVMIO",
"nsgName": "vmionsg", "nsgName": "vmionsg",
"nsgID": "[resourceId('Microsoft.Network/networkSecurityGroups',variables('nsgName'))]" "nsgID": "[resourceId('Microsoft.Network/networkSecurityGroups',variables('nsgName'))]"
}, },
"resources": [ "resources": [
@ -132,7 +158,7 @@
} }
} }
}, },
{ {
"apiVersion": "[variables('apiVersionNRP')]", "apiVersion": "[variables('apiVersionNRP')]",
"type": "Microsoft.Network/networkSecurityGroups", "type": "Microsoft.Network/networkSecurityGroups",
"name": "[variables('nsgName')]", "name": "[variables('nsgName')]",
@ -263,7 +289,7 @@
"osDisk": { "osDisk": {
"name": "osdisk", "name": "osdisk",
"vhd": { "vhd": {
"uri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.azurestack.local/',variables('vmStorageAccountContainerName'),'/',variables('vmOsDiskName'),'.vhd')]" "uri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.',parameters('storageDomain'),'/',variables('vmStorageAccountContainerName'),'/',variables('vmOsDiskName'),'.vhd')]"
}, },
"caching": "ReadWrite", "caching": "ReadWrite",
"createOption": "FromImage" "createOption": "FromImage"
@ -279,7 +305,7 @@
"diagnosticsProfile": { "diagnosticsProfile": {
"bootDiagnostics": { "bootDiagnostics": {
"enabled": "true", "enabled": "true",
"storageUri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.azurestack.local')]" "storageUri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.',parameters('storageDomain'))]"
} }
} }
} }
@ -316,7 +342,7 @@
"osDisk": { "osDisk": {
"name": "osdisk", "name": "osdisk",
"vhd": { "vhd": {
"uri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.azurestack.local/',variables('vmStorageAccountContainerName'),'/',concat(variables('vmOsDiskName'),copyIndex()),'.vhd')]" "uri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.',parameters('storageDomain'),'/',variables('vmStorageAccountContainerName'),'/',concat(variables('vmOsDiskName'),copyIndex()),'.vhd')]"
}, },
"caching": "ReadWrite", "caching": "ReadWrite",
"createOption": "FromImage" "createOption": "FromImage"
@ -332,7 +358,7 @@
"diagnosticsProfile": { "diagnosticsProfile": {
"bootDiagnostics": { "bootDiagnostics": {
"enabled": "true", "enabled": "true",
"storageUri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.azurestack.local')]" "storageUri": "[concat('http://',parameters('uniqueStorageAccountName'),'.blob.',parameters('storageDomain'))]"
} }
} }
} }
@ -362,6 +388,7 @@
"VMCount": "[parameters('vmCount')]", "VMCount": "[parameters('vmCount')]",
"VMAdminUserName": "[parameters('vmAdminUsername')]", "VMAdminUserName": "[parameters('vmAdminUsername')]",
"VMAdminPassword": "[parameters('vmAdminPassword')]", "VMAdminPassword": "[parameters('vmAdminPassword')]",
"VMIoMaxLatency": "[variables('vmIoMaxLatency')]",
"AzureStorageAccount": "[parameters('uniqueStorageAccountName')]" "AzureStorageAccount": "[parameters('uniqueStorageAccountName')]"
} }
} }
@ -387,12 +414,16 @@
"settings": { "settings": {
"modulesUrl": "[variables('modulesUrlVMIOWorkload')]", "modulesUrl": "[variables('modulesUrlVMIOWorkload')]",
"configurationFunction": "[variables('configurationFunctionVMIOWorkload')]", "configurationFunction": "[variables('configurationFunctionVMIOWorkload')]",
"properties": { "properties": {
"ControllerVMName": "[variables('vmName')]", "ControllerVMName": "[variables('vmName')]",
"ControllerVMPrivateIP": "[reference(variables('vmNicName')).ipConfigurations[0].properties.privateIPAddress]", "ControllerVMPrivateIP": "[reference(variables('vmNicName')).ipConfigurations[0].properties.privateIPAddress]",
"VMName": "[concat(variables('vmName'),copyIndex())]", "VMName": "[concat(variables('vmName'),copyIndex())]",
"VMAdminUserName": "[parameters('vmAdminUsername')]", "VMAdminUserName": "[parameters('vmAdminUsername')]",
"VMAdminPassword": "[parameters('vmAdminPassword')]", "VMAdminPassword": "[parameters('vmAdminPassword')]",
"VMIoBlockSize": "[variables('vmIoBlockSize')]",
"VMIoDuration": "[variables('vmIoDuration')]",
"VMIoReadPercentage": "[variables('vmIoReadPercentage')]",
"VMIoMaxLatency": "[variables('vmIoMaxLatency')]"
} }
} }
} }

Просмотреть файл

@ -20,6 +20,9 @@
"uniqueStorageAccountName": { "uniqueStorageAccountName": {
"value": "<Unique storage name e.g. vmiosa103115>" "value": "<Unique storage name e.g. vmiosa103115>"
}, },
"storageDomain": {
"value": "azurestack.local"
},
"location": { "location": {
"value": "local" "value": "local"
}, },