[Azure Stack] Installing the TP1

January 31, 2016 at 7:00 am in Azure, Azure Stack, Microsoft, TP1 by Florent

On 29 of January 2016, Microsoft has released the first version of Azure Stack, TP1. You can download it here and find the documentation here.

In this article, I will explain to you how to deploy this first preview of Azure Stack.

To start, be sure that you have the following prerequisites, for the hardware:

If your server has note this memory available, you will not be able to pass prerequisites. I advise you to follow this good blog post to bypass this check.

For the architecture, the installer will deploy many VMs, and the final architecture will be the following:

You will have 9 VMs, which are the following:

VM Name Resources Services
ADVM 4 vCPU / 4096 GB RAM AD / DNS / DHCP
ACSVM 4 vCPU / 8192 GB RAM ACS Services
BGPVM 2 vCPU / 4096 GB RAM BGP
MuxVM 2 vCPU / 4096 GB RAM SLB Mux
NCVM 2 vCPU / 4096 GB RAM Network Controller
NATVM 2 vCPU / 4096 GB RAM NAT
xRPVM 8 vCPU / 8192 GB RAM Compute RP / Network RP / Storage RP
SQLVM 4 vCPU / 4096 GB RAM SQL
PortalVM 4 vCPU / 6144 GB RAM Portal Services / ARM
ClientVM 2 vCPU / 4096 GB RAM Client

Be sure to have a Global Admin account in an Azure AD directory and have changed his password:

SNAGHTML2e4d2565

On a server that has a minimum of 3 disques of 250GB minimum, download Azure Stack. When the download is finished, create a folder named AzureStack at the root of C:\ and extract downloaded files here. Execute Microsoft Azure Stack POC.exe:

image

When it’s done, do a copy of the VHDX WindowsServer2016Datacenter.vhdx and rename it to MicrosoftAzureStackPOCBoot.vhdx:

image

Now, mount the VHDX by double clicking on it and execute the following command:

bcdboot <your letter>:\Windows

image

Restart the server. The server will restart on the new VHDX. Do the based configuration and give a password:

image

When the host is restarted, give it an IP address that can access to Internet, it’s very important to deploy Azure Stack:

image

It’s now time to start the installation of Azure Stack. To do this, open a PowerShell window and move to the folder that contains the script DeployAzureStack.ps1. Here, execute the following command:

.\DeployAzureStack.ps1 -NATVMStaticIP 172.X.X.X/24 -NATVMStaticGateway 172.X.X.1 –Verbose

image

Here, I use 2 parameters named –NATVMStaticIP and –NATVMStaticGateway because I don’t have a DHCP server in my LAB. It’s very important that this network has an Internet access. The deployment starts, with the domain name azurestack.local. Some questions will be asked to you, that the admin password (1), the Azure AD account that you create previously (2), which Azure Directory you want to use (3) and if you want to install Azure Stack (which question Sourire (4)). The installation is in progress:

image

This deployment will take  approximatively 2 hours. When the installation is finished, you will have the following message:

image

Nouw, to connect to the administration interface of Azure Stack, go on the desktop of your server.Normally, you have a shortcut on the desktop to connect to the client VM. Connect to it:

image

Connect to the portal with using the shortcut located on the desktop, Microsoft Azure Stack POC Portal.url with the Global Admin of your Azure AD:

image

You have now access to the admin portal of Azure Stack:

image

In the next article, I will show you how to create a plan, an offer, etc. Sourire