Adding the App Service to my AzureStack DevKit

After installing/deploying the AzureStack DevKit i added the SQL RP and also wanted to add the App Service Resource Provider for a dev experience!

I have an relative ordinary HPE 380 G9 box with 128 GB of ram and 2 CPU´s so it should be fine, but there was some issues that I wanted to document to help others, this will probably be fixed in an later release of the App Service install pack though.

I downloaded the bits and ran the deploy App Service

After filling this out the deployment started but after a few hours it failed during the deploy step, I tried the Retry a couple of times but without luck, also closing the wizard makes you lose the stage of deploy and need to rerun the whole deploy! When doing a redeploy you have to delete the resource group APPSERVICE-LOCAL (or what you called it) and also go into your SQL server that you entered into the wizard and remove the appservice db´s!!

How did I mange to get it working though? I got some help from Andrew at Microsoft that works with the Stack team and he gave me some guidance how to get it into a good state! Apparently the App Service adds all uppdates during deploy and to be more successful the recommendation was to update with patches that was released up until last tuesday with the win2016 image and thus update to latest CU, mine came from the marketplace syndication with Azure and that one had not the patches when I did this test, I threw that away and ran the create image script adding the parameter for -includeLatestCU.

Rerunning the wizard and when it allthough had a image with latest and greatest patches got stuck on “App Service Deploy Failed” I went into the CN0-VM and opened the mmc for the state of the different servers in the App Service

I also hit the repair link and when all of them said “Ready” I added a new 0.status file I got from Andrew into the custom script folder on the CN0-VM, easiest way to do that was with the lovely PowerShell Direct that is part of the Win 2016!

and then went back into the wizard hitting Retry and this time it continued to the finish and my deployment was successful!

Good luck in your deployment!

Installing the AzureStack DevKit GA edition

Yesterday during the start of Microsoft Partner Conference Inspire the AzureStack was released as GA and also was made available for the devkit version to be downloaded!

Of course I had to test it and now thanks to the new installation powershell script with a gui it is even more easy than ever to start the deployment… First of all I downloaded the kit, It helps to have a 10 Gbit internet connection at the datacenter 😉 and then download the Powershell script.

Once the bits had been extracted I could use the wizard to prepare the unattended-file and the boot-from-vhd for the cloudbuilder.vhdx and reboot the server to continue the deployment!

After reboot I could start the same wizard to start deployment of the Stack

There was issues with the deploy script yesterday me and Ruud  reported which was quickly fixed by Marc van Eijk, the problems was that if added a vlan or a dns the deploy failed.

I also found an issue that if as in my case the firewall in front of my stack did not allow for external NTP sources I ended up in a failed deploy because it requires a NTP sync before continuing, so I had to configure an internal NTP source and then the deploy succeeded!

The deployment took about 4 hours and once that was completed I could fire up an browser and connect to the portal!

Good luck in your stack dev tests!

AzureStack TP3 refresh deployment

Last Thursday Microsoft and the AzureStack Team released a refresh of the TP3 of AzureStack and now with more functionality:

New to App Service this release:

  • Azure Functions preview for AAD based deployments
  • Deployment in disconnected environments
  • Deployment on ADFS authenticated Azure Stack
  • Installation and deployment improvements
  • Azure Resource Manager (ARM) API version 2016-03-01 support for App Services
  • Synchronization of SKUs with Azure – i.e. Free (F1), Shared (D1), and Standard (S1, S2, S3)
  • Service reliability improvements

One advantage of being in a DC that Basefarm operates is that the bandwidth is huge and I could download the Stack-Pack very fast and it took about 7 minutes,

Then I download new Azurestack tools and configure the host for deploy and my deployment took about 5 hours:

Good luck in your deploy

 

Azurestack TP3 released

So yesterday Microsoft and the Azurestack Team released the final TP3 before GA that will, based on the communicated info, be released in mid-2017

Here you can download the TP3 to try out 

info from MS blog:

What’s new in Azure Stack TP3

With Azure Stack TP3, we’ve worked with customers to improve the product through numerous bug fixes, updates, and deployment reliability & compatibility improvements from TP2. With Azure Stack TP3 customers can:

  • Deploy with ADFS for disconnected scenarios
  • Start using Azure Virtual Machine Scale Sets for scale out workloads
  • Syndicate content from the Azure Marketplace to make available in Azure Stack
  • Use Azure D-Series VM sizes
  • Deploy and create templates with Temp Disks that are consistent with Azure
  • Take comfort in the enhanced security of an isolated administrator portal
  • Take advantage of improvements to IaaS and PaaS functionality
  • Use enhanced infrastructure management functionality, such as improved alerting

Shortly after TP3, Azure Functions will be available to run on TP3, followed by Blockchain, Cloud Foundry, and Mesos templates. Continuous innovation will be delivered to Azure Stack up to general availability and beyond. TP3 is the final planned major Technical Preview before Azure Stack integrated systems will be available for order in mid-CY17.

good luck!

 

AzureStack TP2 – deploy experience

During Ignite 2016 in Atlanta, Microsoft announced the technical preview 2 of AzureStack and finally now this friday I got my hardware available (the dang server was not responding on the ILO port and I had to go to the datacenter to give it a kung-fu-devops-kick) so I could deploy the new bits.

First things first! Read the documentation about how to proceed and you will more likely succeed in your deployment!

The download for AzureStack is 20 GB so if you have a slow internet connection it will take some time!

Before getting started i suggest you to run the pre-check script that can tell you if there is some immediate issues,

screen-shot-2016-10-07-at-23-53-16

And then you can unpack and follow the instructions to prepare to vhd-boot into the cloudbuilder disk with the next script:

screen-shot-2016-10-08-at-15-28-55

Once rebooted you want to make sure that you only have one nic enabled and then kick of the deployment which will take about 2-3 hours if you have a decent hardware like me 😛

screen-shot-2016-10-08-at-15-59-48

As you can see the install process uses both desired state and powershell direct (which is a lovely feature in Hyper-V 2016)

screen-shot-2016-10-08-at-17-01-47

And if you are patient and then log in as a azurestack\AzureStackAdmin on the physical machine you will see the status of the deployment. Do not log in as a local user on the server and try to start the deployment again!

Hopefully you will end up with the same result as me:

screen-shot-2016-10-08-at-18-26-54

And then you can log in to the VM MAS-CON01 to connect to the portal,

screen-shot-2016-10-08-at-18-34-31

Maybe I was lucky but I believe that the Stack-Team has done some serious work since TP1 and the deployment process have been thoroughly developed, tested and works really good now.

Good luck in your deployment of Azurestack TP2!

 

Finally the AzureStack TP1 bits have arrived!

Yesterday the AzureStack TP1 PoC files was released and now you can play around and create your own Azure. Now I just need a decent hardware to run this!

If you have some issues with the requirements my friend Daniel have made a blog about how you can try to install it with less memory!

Shown below is the diagram of the PoC setup and here you can see all the different roles included for your Azure on premises 🙂

image1

On this page you can read more about it and learn how to deploy it to your environment!