Skip to content

Instantly share code, notes, and snippets.

@trodemaster
Created March 1, 2017 18:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trodemaster/c5005dd86af377a981d21fa20b0990cf to your computer and use it in GitHub Desktop.
Save trodemaster/c5005dd86af377a981d21fa20b0990cf to your computer and use it in GitHub Desktop.
Some quick notes for those looking to build Azure Stack nested inside vSphere
Start w WinSrv2016 base vm
12 core and 12 core per socket
128GB ram locked
expand disk to 256GB
add 2nd scsi controller with scsi bus sharing enabled.
add 4 x 256GB disks to 2nd scsi controller EagerThick with multi-writer enabled independent persistent (allows snapshot of boot disk)
add custom vmx prop hypervisor.cpuid.v0 to 0
Download the POC disk image via microsoft instructions. Extract vmxnet3 and pvscsi drivers to a directory. like c:\vmwaredrivers
edit line 87 of PrepareBootFromVHD.ps1
if ((get-disk | where {$_.isboot -eq $true}).Model -match ‘X')
Good time to snapshot the VM..
admin powershell prompt. Note the addtions for adding custom drivers
.\PrepareBootFromVHD.ps1 -CloudBuilderDiskPath C:\CloudBuilder.vhdx -ApplyUnattend -AdminPassword "PASSWORD" -DriverPath C:\vmwaredrivers
Once system reboots install vmware tools.
edit C:\CloudDeployment\Roles\PhysicalMachines\Tests\BareMetal.Tests.ps1
Line 376: Change ‘Should Be $false’ TO ‘Should Be $true’
Line 453: Change ‘Should Not BeLessThan $minimumNumberOfCoresPerMachine’ TO ‘Should Not BeLessThan 0’
Sources/resources
http://www.virtualtothecore.com/en/build-a-microsoft-storage-spaces-direct-cluster-using-vmware-virtual-machines/
https://azurestack.eu/2016/10/azure-stack-tp2-on-vmware-esxi-6/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment