my personal blog about systemcenter

Enabling AzureStack test enviroment using Nested Hyper-V

So with preview software the 2nd thing to do is go down the unspported/untested path

So after baremetal deployment on a few different host we move on to do nested AzureStack install , this is to enable faster deployment and rollback when we break something on purpose to test.

But always follow support guide lines for testing and use a dedicated phsycial machine , (we does this on mutiple other install in our testing setup)

Time from VM creation to AzureStack running 2 hours 15 minutes Smile

NOTE : Do not count this as stability testing always use supported hardware for that

So say Hello to our Little VM

image

16 Cores , 256Gb Memory , 5 drives at 300G

Invoke-WebRequest https://raw.githubusercontent.com/Microsoft/Virtualization-Documentation/master/hyperv-tools/Nested/Enable-NestedVm.ps1 -OutFile ~/Enable-NestedVm.ps1

~/Enable-NestedVm.ps1 -VmName “STACK10”

Enable it for nesting Hyper-V

image

Install a Windows Server TP4 with US locales

image

For now GUI only (Sorry Snover)

image

And we can see all our drives

image

Add a static IP address and add DNS/Gateway for access to Azure Active Directory

image

And rename to the next stack install Smile

image

I prefeer to online the drives and initialize them

image

image

Time to jump to Azure Active Directory and create a tenant admin user

image

Extract the 9GB file and run the Azure Stack Installer

image

This leaves us with a few files Smile

image

Add local credentials , and verify that all prereq are met , note the space warning is not seen on bare metal installs , need to see if its because the drives are initialised but everything is fine for install

image

Sign in with the Azure Active Directory Admin user

image

And accept the AAD

image

And we are ready to install

image

Installer is a very very cool powershell scripts series that does everything for us , it reboots a few times but signing on gives us the progress bar

image

First off is creating a domain , and joining the host to it

image

After that a Virtual Disk is created through storage spaces

image

And 2 hours later we are done Smile

image

And ready to roll

and while we are playing we might as well dedupe it

image

Smile , not really fair as there are many other installs on the same host but still fun Smile