mountainss Cloud and Datacenter Management Blog

Microsoft SystemCenter blogsite about virtualization on-premises and Cloud


Leave a comment

#WindowsContainer Host Deployment on #NanoServer #HyperV nested Virtualization

Hyper-V-Containers-Nested-Virtualization

Windows Containers on Hyper-V NanoServer nested Virtualization

Deployment Steps

Install Container Feature

The container feature can be installed on Windows Server 2016, or Windows Server 2016 Core, using Windows Server Manager or PowerShell.

To install the role using PowerShell, run the following command in an elevated PowerShell session.

Install Containers

PS C:\> Install-WindowsFeature containers

The system needs to be rebooted when the container role installation has completed.

PS C:\> shutdown /r

After the system has rebooted, use the Get-ContainerHost command to verify that the container role has successfully been installed:

Get-Containerhost

PS C:\> Get-ContainerHost

Prepare Nano Server

Deploying Nano Server involves creating a prepared virtual hard drive, which includes the Nano Server operating system, and additional feature packages. This guide quickly details preparing a Nano Server virtual hard drive, which can be used for Windows Containers.

For more information on Nano Server, and to explore different Nano Server deployment options, see the Nano Server Documentation.

Create a folder named nano.

PS C:\> New-Item -ItemType Directory c:\nano

Locate the NanoServerImageGenerator.psm1 and Convert-WindowsImage.ps1 files from the Nano Server folder, on the Windows Server Media. Copy these to c:\nano.

#Set path to Windows Server 2016 Media
PS C:\> $WindowsMedia = "C:\Users\Administrator\Downloads\WindowsServerTP4"

PS C:\> Copy-Item $WindowsMedia\NanoServer\Convert-WindowsImage.ps1 c:\nano
PS C:\> Copy-Item $WindowsMedia\NanoServer\NanoServerImageGenerator.psm1 c:\nano

Run the following to create a Nano Server virtual hard drive. The –Containers parameter indicates that the container package will be installed, and the –Compute parameter takes care of the Hyper-V package. Hyper-V is only required if Hyper-V containers will be created.

Import-Module

PS C:\> Import-Module C:\nano\NanoServerImageGenerator.psm1
PS C:\> New-NanoServerImage -MediaPath $WindowsMedia -BasePath c:\nano -TargetPath C:\nano\NanoContainer.vhdx -MaxSize 10GB -GuestDrivers -ReverseForwarders -Compute -Containers

When completed, create a virtual machine from the NanoContainer.vhdx file. This virtual machine will be running the Nano Server OS, with optional packages.

Configure Nested Virtualization

If the container host itself will be running on a Hyper-V virtual machine, and will also be hosting Hyper-V Containers, nested virtualization needs to be enabled. This can be completed with the following PowerShell command.

The virtual machines must be turned off when running this command.

PS C:\> Set-VMProcessor -VMName <container host vm> -ExposeVirtualizationExtensions $true

Configure Virtual Processors

If the container host itself will be running on a Hyper-V virtual machine, and will also be hosting Hyper-V Containers, the virtual machine will require at least two processors. This can be configured through the settings of the virtual machine, or with the following PowerShell script.

PS C:\> Set-VMProcessor –VMName <VM Name> -Count 2

Enable Hyper-V Role

If Hyper-V Containers will be deployed, the Hyper-V role needs to be enabled on the container host. If the container host is a virtual machine, ensure that nested virtualization has been enabled. The Hyper-V role can be installed on Windows Server 2016 or Windows Server 2016 Core using the following PowerShell command.

PS C:\> Install-WindowsFeature hyper-v

Create Virtual Switch

Each container needs to be attached to a virtual switch in order to communicate over a network. A virtual switch is created with the New-VMSwitch command. Containers support a virtual switch with type External or NAT.

This example creates a virtual switch with the name “Virtual Switch”, a type of NAT, and Nat Subnet of 172.16.0.0/12.

PS C:\> New-VMSwitch -Name "Virtual Switch" -SwitchType NAT -NATSubnetAddress 172.16.0.0/12

Configure NAT

In addition to creating a virtual switch, if the switch type is NAT, a NAT object needs to be created. This is completed using the New-NetNat command. This example creates a NAT object, with the name ContainerNat, and an address prefix that matches the NAT subnet assigned to the container switch.

Finally, if the container host is running inside of a Hyper-V virtual machine, MAC spoofing must be enable. This allows each container to receive an IP Address. To enable MAC address spoofing, run the following command on the Hyper-V host. The VMName property will be the name of the container host.

PS C:\> Get-VMNetworkAdapter -VMName <contianer host vm> | Set-VMNetworkAdapter -MacAddressSpoofing On

Install OS Images

An OS image is used as the base to any Windows Server or Hyper-V container. The image is used to deploy a container, which can then be modified, and captured into a new container image. OS images have been created with both Windows Server Core and Nano Server as the underlying operating system.

Container OS images can be found and installed using the ContainerProvider PowerShell module. Before using this module, it needs to be installed. The following commands can be used to install the module.

PS C:\> Install-PackageProvider ContainerProvider -Force

Return a list of images from PowerShell OneGet package manager:

PS C:\> Find-ContainerImage

Name                 Version                 Description
----                 -------                 -----------
NanoServer           10.0.10586.0            Container OS Image of Windows Server 2016 Techn...
WindowsServerCore    10.0.10586.0            Container OS Image of Windows Server 2016 Techn...

To download and install the Nano Server base OS image, run the following.

PS C:\> Install-ContainerImage -Name NanoServer -Version 10.0.10586.0
Downloaded in 0 hours, 0 minutes, 10 seconds.

Likewise, this command downloads and installs the Windows Server Core base OS image.

Issue: Save-ContainerImage and Install-ContainerImage cmdlets fail to work with a WindowsServerCore container image, from a remote PowerShell session.
Workaround: Logon to the machine using Remote Desktop and use Save-ContainerImage cmdlet directly.

PS C:\> Install-ContainerImage -Name WindowsServerCore -Version 10.0.10586.0
Downloaded in 0 hours, 2 minutes, 28 seconds.

Verify that the images have been installed using the Get-ContainerImage command.

PS C:\> Get-ContainerImage

Name              Publisher    Version      IsOSImage
----              ---------    -------      ---------
NanoServer        CN=Microsoft 10.0.10586.0 True
WindowsServerCore CN=Microsoft 10.0.10586.0 True

For more information on Container management See Windows Containers Documentation

MSFT Containers


Leave a comment

Microsoft Windows #Containers a New Ecosystem for #Developers and #ITpro

Container Channel9

Applications fuel innovation in the cloud and mobile era. Containers, and the ecosystem that is developing around them, will empower software developers to create the next generation of applications experiences, while IT Pros can use containers to provide standardized environments for their development, QA, and production teams, creating an infrastructure that is simpler to update and maintain.

The Containers Video Channel

DockerAndAzureEcosystem

Microsoft Windows Containers Documentation Site


Leave a comment

#Microsoft @shanselman Keynote: The Microsoft #Cloud Platform for Developers #Azure #Code #VisualStudio #DevOps

Just a command line or a click away – you now have the power to tap into dozens of global data centers and enact your will. Publish a website in seconds on Azure App Service, add Machine Learning intelligence with a couple of API calls, connect your internet of things or roll your own web stack from scratch in a VM – the choice is yours. In this demo-packed talk, Scott Hanselman will show you just how easy it for any developer to deliver mind blowing next-generation web applications and services powered by the cloud.

VisualStudio Online

Visual Studio Online Website { Connect();//2015 }


Leave a comment

#Microsoft Debug Diagnostic Tool v2 Update 2 for #ITPro #DevOps #MVPbuzz #Developers

Diag06

Microsoft Debug DiagTool

The Debug Diagnostic Tool (DebugDiag) is designed to assist in troubleshooting issues such as hangs, slow performance, memory leaks or memory fragmentation, and crashes in any user-mode process. The tool includes built-in analysis rules focused on Internet Information Services (IIS) applications, web data access components, COM+, SharePoint and related Microsoft technologies. Debugdiag 2.0 introduces a new analysis engine host with built-in reporting framework that can be accessed from .NET. This new analysis engine simplifies analysis rule development in .NET. Starting with Debugdiag 2.0, the analysis engine relies on Microsoft.Diagnostics.Runtime for .NET analysis.

Diag07

Add your Data files to Analyse

Diag09

Use ? for Help to get the job done

Diag10

Collect your Information for Trouble shooting

Diag11

Make your Own Debug Diag Rules

Diag12

The Help Function in the Tool can Help you understand the DiagTool

Here you can download the Microsoft Debug Diagnostic Tool v2 Update 2


Leave a comment

Complete #Microsoft Azure Cloud Services Overview #Azure #Cloud #HybridCloud

Microsoft Azure opensource banner

Any developer or IT professional can be productive with Azure. The integrated tools, pre-built templates and managed services make it easier to build and manage enterprise, mobile, Web and Internet of Things (IoT) apps faster, using skills you already have and technologies you already know. Microsoft is also the only vendor positioned as a Leader across Gartner’s Magic Quadrants for Cloud Infrastructure as a Service, Application Platform as a Service, and Cloud Storage Services for the second consecutive year.

Read Gartner’s Magic Quadrant for Cloud Infrastructure as a Service, for Cloud Storage Services and for Enterprise Application Platform as a Service.

Here you will see an Overview of all the possibilities with Microsoft Azure Services for Hybrid and Cloud solutions :

Azure Portal 01

Try Microsoft Azure for Free

Let’s start with all the possibilities with Compute from the Microsoft Azure Cloud :

Azure Portal Compute 01

Microsoft Azure Virtual Machines

You got a lot of choice in Azure what kind of Operating System you want to choose for your Virtual Machine in the Cloud :

Like all kind of Linux Machines :

Linux in Azure

Linux VM’s

Microsoft VM

Microsoft VM’s or choose your Own uploaded images

There is also an OpenSource VM Depot available.

Here you can find an Overview of Microsoft Azure Virtual Machine in the Cloud

 Web and Mobile newWeb and Mobile Services

In today’s world it is all about mobility and Applications. On your work, at School, at Home, and even when you do Sport like biking or running. I think that’s why
Microsoft makes One Platform Windows 10 to get the best experience with Applications on every Device.
Making your own websites is really Easy with Microsoft Azure and is Cool to work with.

Azure Web Mobile 01

Web Apps with SQL or MySQL Databases

Azure Web Mobile 04

PHP,CMS,Blog,Marketing Web Apps are possible

Here you can find more documentation about Azure App Service

App Services

Here you can find more documentation about Azure Web Apps

Here you can find more documentation about Azure Mobile Apps

Here you can find more documentation about Azure Logic Apps

To run all those Web Apps in the Cloud you need Storage and capacity to store your data save in the Cloud with high security policies.
Microsoft Azure has all kind of diffenrent Storage in the Cloud for your data.

Data and Storage

Microsoft Azure Data and Storage

Learn about Azure Storage, and how to create applications using Azure blobs, tables, queues, and files :

Microsoft Azure Storage Documentation

Learn how to use this fully-managed, scalable, NoSQL document database service :

DocumentDBDocumentDB

Microsoft Azure DocumentDB Documentation

Learn how to configure, monitor, and scale your SQL databases in Azure. Documentation, tutorials and more :

Microsoft Azure SQL documentation

High throughput, consistent low-latency data access to build fast, scalable applications :

Microsoft Azure Redis Cache Documentation

Learn how to use StorSimple for primary storage, backups, archive, and disaster recovery :

Microsoft Azure StorSimple Documentation

Search-as-a-service for web and mobile app development :

Microsoft Azure Search Documentation

Learn how to use this fully-managed, scalable, data warehouse service :

Microsoft Azure SQL Data Warehousing documentation

Of course when you have a lot of data, you like to analyze it for the business and make good Reports or Dashboard to
make the right decisions. Microsoft Azure Cloud Services has Data and Analytics :

Data and Analytics

Microsoft Azure Data and Analytics

Learn to create Hadoop clusters, process big data, develop solutions using streaming or historical data, and analyze the results :

Microsoft Azure HDInsight Documentation

Learn how data scientists and developers can embed predictive analytics into applications :

Microsoft Azure Machine Learning Documentation

Learn how to run real-time data analytics and event processing :

Microsoft Azure Stream Analytics Documentation

Learn how to compose data storage, movement, and processing services into streamlined data pipelines :

Microsoft Azure Data Factory Documentation

Learn how to receive telemetry from millions of devices :

Microsoft Events Hub Documentation

Learn how to enable reliable and secure bi-directional communications between millions of IoT devices and applications:

Microsoft Azure Internet of Things (IoT) Hub Documentation

A Hot item is Internet of Things or IoT, connect devices, machines, just things because it’s possible to get data or BIGDATA to work with.

IoT

Microsoft Azure Internet of Things

Get Connected with your Device and read here all the information you need about Internet of Things

To get connected with Microsoft Azure we have Software Defined Networking (SDN) in the Cloud to make your Infrastructure work.

Networking

Microsoft Azure Networking

Learn how to configure and monitor virtual networks in Azure :

Microsoft Azure Virtual Networks Documentation

Learn how ExpressRoute creates private connections between your infrastructure and Azure datacenters :

expressroute-basic

Microsoft Azure ExpressRoute

Microsoft Azure ExpressRoute Documentation

Learn how Traffic Manager distributes user traffic to hosted services within or across data centers :

Microsoft Azure Traffic Manager Documentation

Learn about Azure Load Balancing :

Microsoft Azure Load Balancer Documentation

Learn to configure DNS zones and records :

Microsoft Azure DNS Documentation

Learn about secure cross-premises connectivity between Azure and your infrastructure :

Microsoft Azure VPN Gateway Documentation

Learn to create an Application Gateway :

Microsoft Azure Application Gateway Documentation

Media Services is coming more and more from Cloud Services and is video streaming and watching TV interactive.

Media and CDN

Microsoft Azure Media and CDN

Making Video workflows easy from the Cloud :

Microsoft Azure Media Services Documentation

Improve the performance of your website, media, or mobile service by moving content closer to your end users :

Microsoft Azure CDN Documentation

When you are still working on an On-premises datacenter only, Microsoft makes it’s easy to transform your datacenter into Hybrid Cloud Scenarios.
You can think of a Twin Datacenter for your Core Business Applications, or save your longtime protection data into an Azure Backup Vault.

HybridIntegration

Microsoft Azure Hybrid Integration

Learn how to integrate the enterprise and the cloud with BizTalk Services :

Microsoft Azure BizTalk Services Documentation

Learn about flexible messaging in the cloud :

Microsoft Azure Servicebus Documentation

Learn how to backup your Azure virtual machines, and how to send backup data to Azure for long term retention :

Microsoft Azure Backup Documentation

Learn how to orchestrate protection of physical and virtual machines :

Microsoft Azure Site Recovery Documentation

When you got your Azure Cloud Solution working, you want to manage your Identities to give them secure access to your Azure Solution.

Security and Identity

Microsoft Azure Security and Identity

Learn how to manage identity and access of services and applications :

Microsoft Azure Active Directory Services Documentation

Consumer identity and access management in the cloud :

Microsoft Azure Active Directory B2C

Your domain controller as a service :

Microsoft Azure AD Domain Services Documentation

Learn how to enable added authentication for cloud and on-premises applications :

Microsoft Azure Multi-Factor Authentication Documentation

To make those Microsoft Solutions Available for everyone, you need Developers and Developer Environments.

Developer ServicesMicrosoft Azure Developer Services

Learn how to detect issues, diagnose crashes and track usage of your mobile apps, and web apps hosted anywhere: on Azure or on your own IIS or J2EE servers :

Microsoft Azure VisualStudio Applications Insights Documentation

Developers can also work in the Cloud with Microsoft Visual Studio Online :

VisualStudio Online

Here you find all the information you need for Visual Studio Online for Developers

Cloud Services needs management by ITpro’s or by Developers to keep your Azure Solution Up-to-Date and get your business innovated.

Management

Microsoft Azure Management

You have all kind of Management as you can see in the above picture.

Learn how to collaborate, deliver and scale across the entire DevOps lifecycle :

Microsoft Azure Preview Portal Documentation

Start creating Azure Scheduler jobs and job collections, and using advanced concepts such as history and recurrence :

Microsoft Azure Scheduler Documentation

Learn how to simplify cloud management with process automation :

Microsoft Azure Automation Documentation

Learn how to transform machine data into operational intelligence :

Microsoft Azure Operational Insights Documentation

Learn how to manage cryptographic keys and secrets :

Microsoft Azure Key Vault Documentation

Container Apps

Microsoft Container Apps

 This is a super simple “getting started” experience for deploying single and multi-container Dockerized applications utilizing Azure Resource Manager templates and the new Docker Extension

 Here you see an Example of a Container App from the Marketplace on the Azure Blog

In Microsoft Azure you got also on every item a Marketplace with templates and solutions from Vendors and OpenSource communities.

Marketplace

Microsoft Azure Market Place

Here you go to the Microsoft Azure Marketplace website with almost 3500 products

Azure Marketplace website

For Students you have Microsoft Dreamspark where you can get some of the Microsoft Azure features for students for Free !

 Dreamspark Students

I Hope this Microsoft Azure Overview is helpful for you to make the right decisions for your business, Development or study 🙂
– James van den Berg

MVP System Center Cloud and Datacenter Management.


Leave a comment

The Microsoft Containers Video Channel Collection on @Ch9 #Containers #Docker #WindowsServer2016

The Container Video Channel

Applications fuel innovation in the cloud and mobile era. Containers, and the ecosystem that is developing around them, will empower software developers to create the next generation of applications experiences, while IT Pros can use containers to provide standardized environments for their development, QA, and production teams, creating an infrastructure that is simpler to update and maintain.

Here you go to the Microsoft Containers Video Channel with lot of videos

MSFT Containers

Here you find Microsoft Containers Overview and step-by-step instructions