blog.kaniski.eu I just wanna learn!

30Apr/180

Getting started with Microsoft Azure Stack (ASDK) (5)

It’s not like we can deploy only WordPress or Ubuntu on top of our ASDK – we can do so much more! And now I’ll show you how to add Windows 2016 image to your Azure Stack (ASDK) environment.

First, you’ll need to connect to your ASDK environment by using the Login-AzureRmAccount command. Then you’ll need the Windows Server 2016 ISO, and with an easy New-AzsServer2016VMImage command, you’ll import the Windows Server 2016 bits and create Windows Server 2016 image/template for your Azure Stack environment.

There is also a video showing you all the steps and note that you can also add the latest Cumulative Update (CU) to the template with a simple switch called -IncludeLatestCU (how cool is that?!):

After that, you can easily create a new virtual machine based on Windows Server 2016 template you’ve just created, like in the following video:

Cheers!

28Apr/180

Getting started with Microsoft Azure Stack (ASDK) (4)

And now, a short and sweet one – once you have downloaded, installed and registered your ASDK, you can finally start using it!

First thing I would do is to grab something from the Azure Marketplace – inside your Admin Portal (https://adminportal.local.azurestack.external/), you can open up the Marketplace management section and then click on Add from Azure button:

This gives you a whole selection of images available on Azure, which can be downloaded and used on you ASDK. Just for fun, in the next video, I’ll download WordPress (on Ubuntu) and a VM extension called Microsoft Antimalware (hmmm… I wonder what it does? Smile):

Once downloaded, you can provision yourself a brand new WordPress instance, running on top of Ubuntu, on top of your own ASDK, as you can see in the following video:

Happy weekend!

26Apr/180

Getting started with Microsoft Azure Stack (ASDK) (3)

As a final preparation step (following my previous post) in using the ASDK, we need to first register it. For that, an Azure subscription is required!

So… let’s do it.

First, we need to make sure we have the required Azure Stack PowerShell modules. It’s also convenient to make the PSGallery trusted repository for installation of the modules, if we need to install them. Then we can download all the tools we’ll need, and finally register our (connected) ASDK environment, using the following commands:

You can find the whole procedure explained in more detail inside the official documentation, of course.

And... once registered – we can finally start using our ASDK!

As before – I’ve also prepared a short video about registering the ASDK:

Happy exploring!

24Apr/180

Getting started with Microsoft Azure Stack (ASDK) (2)

In my previous post, I’ve discussed how you can get your hands on the Microsoft Azure Stack Development Kit (ASDK) – now, I’ll show you how to install it.

As I’ve mentioned there already, we will install the ASDK inside of a Hyper-V virtual machine with nested virtualization enabled (a scenario that is not officially supported, but will give you an opportunity to work with ASDK in your lab, if you don’t have all the required hardware).

So… let’s start.

The things you’ll need, as per official article:

  • Hyper-V (2016) host
  • 12-core CPU
  • 96+GB of RAM
  • ~200GB free space for CloudBuilder.vhdx (OS)
  • 4 x 250+ GB free space for data disks
  • Internet/NTP access (time is important!) through a single network adapter (without proxy!)

Once you’ve downloaded and extracted the ASDK bits, you’ll get the CloudBuilder.vhdx file, which we will use for the boot disk of our newly created virtual machine.

But first, we will expand it a bit (I’ve expanded it to 200GB). Don’t forget to expand the partition inside as well!

Then, we can create a new (Generation 2) virtual machine with the following settings, our CloudBuilder.vhdx attached as the first disk and four freshly created data disks:

One other thing we need to ensure is to enable nested virtualization for this virtual machine (allowing us to run Hyper-V inside this virtual machine):

And now we are ready to start our virtual machine, hosting the ASDK.

Once started, virtual machine will finish its configuration (specialization phase of Windows installation), so let it finish and then configure password, computer name and IP address.

After this initial configuration, we configure the NTP settings by using the following:

Now we are ready to use the asdk-prechecker.ps1 script, to check if everything is OK:

And…. we are ready for the installation!

Now we need to run the asdk-installer.ps1 script, which will actually start the wizard which will help with entering the required IP adresses and checking the network connection – as a result, we will get the final commands to kick-off the installation:

One more thing needs to be configured for our virtual ASDK installation to succeed inside in nested enviroment – when the extraction process starts, we need to edit the C:\CloudDeployment\Roles\PhysicalMachines\Tests\BareMetal.Tests.ps1 file by changing the every "-not $IsVirtualizedDeployment" to "$IsVirtualizedDeployment" (that is, remove the "-not"):

Final thing to do is to wait for the whole process to complete (~4,5 hours on my hardware), and the result looks like this:

And there is another (shortened) video of the installation process:

And now we can start playing with our own ASDK!

Stay tuned!

22Apr/180

Getting started with Microsoft Azure Stack (ASDK) (1)

So… you’ve heard all about the "hybrid clouds" (all around us), and you’ve finally decided to go with the truly hybrid one – the one from Microsoft, which consists of Microsoft Azure, extended to Microsoft Azure Stack on-premises.

If you are just starting and want to learn about it, you may find it difficult (and rather costly) to obtain the fully integrated OEM solution for your lab. But, there is a solution – Microsoft provides the development kit (ASDK), which can be used for playing around, learning and development (of course).

Where to get started?

First stop should definitely be the official Azure Stack Development Kit (ASDK) page. There, you can register for the download of ASDK software:

After that, you’ll receive a page with all the info you need – hardware and deployment requirements, download and step-by-step guidance links:

First, I recommend you to read through the requirements, and then you can run the prerequisites check script, just to double-check you have all that is needed. Don’t forget that, with hardware, you’ll also need an Azure subscription!

Script should give you output similar to mine (note that I’m using the virtual machine as my “ASDK host” and will be nesting all of it inside Hyper-V, of course):

If everything is fine, you’re ready to download the ASDK, using the provided downloader:

Download of ~12 GB may take a while, so “Please sit back and relax…” (as during the Windows 98 installation, some time ago).

The last step is to unpack the downloaded ADSK binaries (actually, the CloudBuilder.vhdx, as you’ll see):

There is also a short video to help you with the first steps inside the "brave new ASDK world":

In my next post, I’ll show you how to prepare a Hyper-V virtual machine for hosting the ASDK – not the most performing environment, but it’s 'good enough for a simple lab, if you don’t have the hardware one.

Stay tuned!

5Oct/160

Missed the Microsoft Ignite 2016?

Don’t be sad! Smile

In case you’ve missed the Microsoft Ignite conference this year (like me Smile), all of its content is available online! You can visite the conference homepage (https://ignite.microsoft.com/) and catch video streams and…

… even better – there is a PowerShell script that can help you download the videos and slides of about 570 Ignite sessions!!! How cool is that???

Script was made by Michel de Rooij and Mattias Fors, and can be found here (read the “help” section to figure out what you need and how to use it).

When launched (properly), it looks something like this:

image

Happy downloading, watching and learning! Smile

Cheers!

P.S. With the script alone, you’ll need the YouTube downloader utility available here (it actually says so in the script’s “help”, but who reads the documentation, right? Smile).

4Oct/160

Microsoft MVP… times 7!

A couple of days ago, another achievement was unlocked – Microsoft rewarded me with another MVP award (7th in a row, actually Smile), again for my contributions to the Cloud and Datacenter Management community.

image

Thank you, Microsoft! (and also a big “thank you” to all of you who were with me during this wonderful 7 years… thank you for all your support!)

And for the year ahead, I wish myself many “challenging” situations in the cloud and datacenter area… where so many interesting things take place. Smile

Cheers!

6Jan/160

Inside the Microsoft OMS

Are you looking for some great Operations Management Suite (OMS) resources?

Earlier today something great got published – a preview version of a new free e-book on OMS! Book, which is called Inside the Microsoft Operations Management Suite, was authored by four OMS experts – Tao Yang, Stanislav Zhelyazkov, Pete Zerger and Anders Bengtsson.

insideoms

Haven’t had a chance to read it just yet, but it looks great (total of 430 pages, split in 12 chapters), and can’t wait to start reading it! Smiješak

Contents:

  • Introduction and Onboarding
  • Searching and Presenting OMS Data
  • Alert Management
  • Configuration Assessment and Change Tracking
  • Working with Performance Data
  • Process Automation and Desired State Configuration
  • Backup and Disaster Recovery
  • Security Configuration and Event Analysis
  • Analyzing Network Data
  • Accessing OMS Data Programmatically
  • Custom Management Pack Authoring
  • Cross-Platform Management and Automation

You can download this book for free from TechNet Gallery, and if you liked it, don’t forget to leave the 5-star rating (and a comment).

Now I have something to read in this cold winter days (and nights). Smiješak

Cheers!

23Dec/152

One step closer to Microsoft Azure Stack

Great news coming from Microsoft – we are so close to finally getting the Microsoft Azure Stack preview! But… not this calendar year, unfortunately.

Azure Stack will be a combination of Windows Server 2016, Azure Pack and Azure Service Fabric. Combined together, these components will deliver the new “private cloud” solution (or more precisely hybrid solution because you will be able to expand with “public cloud” resources, if needed), which looks and feels like the “big Azure”. Bottom line is that the experience using Azure Stack or Azure will be identical (i.e. Microsoft brings it’s Azure to our on-premises datacenter). Sounds cool! Smiješak

Microsoft released a “teaser” with hardware requirements for its Azure Stack, and who better to explain them than Jeffrey Snover himself. Enjoy this short video.

And the best thing of the whole video is that you’ll need only ONE standard server to host the Azure Stack. One to rule them all. Smiješak

Don’t forget to take a look at the official announcement here (and to purchase additional server if needed, so that you can play with Azure Stack Preview once it gets available).

Cheers!

18Jun/150

Open Cloud BBQ – Nano Server

There was a barbecue today… on the roof… of the Microsoft office! How cool is that??? Smiješak

I’ve had an honor to join my colleagues and friends, and contribute to this great event with a presentation called “Nano Server – budućnost je tu!”, which was actually inspired by Jeffrey Snover’s Ignite speech about Nano Server – the new installation option in Windows Server 2016.

10301057_10153392135462905_6070746253170533265_n

The whole Nano Server idea is very simple – let’s remove all the “unnecessary” roles and features (especially the famous GUI), and leave only the parts that we really need for whatever purpose (i.e. we’re getting the “purpose built servers”). All the purposes/roles that are supported in this preview version are Hyper-V, File Server and Failover Clustering, and they are working great on this “nano-sized” server operating system (even in this early preview).

I’m really excited about Nano Server, and I’m so glad that I’ve had a chance to talk about it at such great event. Because there were so many questions about it during the day/evening, I’ve noticed that Nano Server is a very cool subject for attendees also. Nice!

The presentation is available on SlideShare – check it, install the Nano Server and start rocking your datacenters! Smiješak

Cheers!