Skip to content

Created storage-iops-latency-throughput with all templates/artifacts #3055

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 8, 2017
Merged

Created storage-iops-latency-throughput with all templates/artifacts #3055

merged 8 commits into from
Feb 8, 2017

Conversation

jamesbannan
Copy link
Contributor

This is a template which creates a single Windows Server 2016 VM with multiple attached data disks in order to provision a demo environment which tests Azure storage IOPS, latency and throughput. It uses DSC to format the disks, install Iometer and download some pre-defined Iometer performance tests.

@azurecla
Copy link

azurecla commented Feb 6, 2017

Hi @jamesbannan, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.

TTYL, AZPRBOT;

@bmoore-msft bmoore-msft self-assigned this Feb 8, 2017
@@ -0,0 +1,25 @@
# 1 VM in vNet - Multiple data disks

<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fjamesbannan%2Fstorage-iops-latency-throughput-demo%2Fmaster%2Fazuredeploy.json" target="_blank">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can update these to point to master before merging...

"description": "This is an array of strings which describe the type of each storage account."
}
},
"storageAccountNamePrefix": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move this to a var and just generate a name? seems like that still works with your sample

"description": "This is an array of strings which specifies the string prefix used for each storage account name."
}
},
"vmName": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to variable

},
"vmAdminUserName": {
"type": "string",
"defaultValue": "vm-admin",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove default value for username

"description": "The administrative user password."
}
},
"vmWindowsOSVersion": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we're largely looking at azure IOPS, move this to a variable

"description": "The URI of the DSC configuration."
}
},
"vNetName": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to variable

"vmOSDiskName": "[concat(parameters('vmName'),'-','OSDisk')]",
"vmSize": "Standard_DS3_v2",
"vNetID": "[resourceId('Microsoft.Network/virtualNetworks', parameters('vNetName'))]",
"vmSubnetRef": "[concat(variables('vNetID'), '/subnets/', variables('vNetSubnet1Name'))]",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

user resourceId() and then you can remove vNetId above

"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"storageAccountType": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can move these to a variable and simplify the deployment a bit - will still get at the main purpose of your sample.

xRemoteFile DownloadTests
{
DestinationPath = "C:\iometerTests\iometerTests.zip"
Uri = "https://github.com/jamesbannan/storage-iops-latency-throughput-demo/raw/master/files/iometerTests.zip"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll want to update this after a good ci test (after changes)

The template also used the PowerShell Desired State Configuration (DSC) VM extension to:
* Prepare and format the data disks
* Install ioMeter using Chocolatey
* Download and extract 20 pre-defined ioMeter tests to C:\iometerTests
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where do I see the results of the tests? If it's on the VM itself, add a template output for the FQDN of the vm...

@bmoore-msft
Copy link
Collaborator

Some comments - after this - wanna do a sample of this using managed disks?

@jamesbannan
Copy link
Contributor Author

OK - all done. Do you want a sample of managed disks in this solution, or a separate solution?

@bmoore-msft bmoore-msft merged commit 4f477a5 into Azure:master Feb 8, 2017
@bmoore-msft
Copy link
Collaborator

do the managed disk sample in another folder/sample... please :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants