Tag: Networking

Last updated by at .

AzureStartup

Microsoft Azure Update at Build 2014

At the Build Conference 2014 Microsoft already announced a lot of new stuff for the whole Microsoft or IT ecosystem. There is absolutely no time to cover all the changes and announcements Microsoft has made in the past 2 days. So I will just focus on the things I care about.

  • Prior to the Build Conference Microsoft announced that Windows Azure will be renamed to Microsoft Azure. This will show how Microsoft is not only building on top of the Windows platform, they also have opened up for other platforms an solutions a long time ago. One example for that maybe was the announcement of supporting Oracle Software in Microsoft Azure around a year ago.
  • Mark Russinovich announced some great new changes to Microsoft Azure IaaS. You can now capture and deploy images, you can Puppet and Chef as well as PowerShell DSC support, to configure you server environment. An this is great for developers, some of the features will show up directly in Visual Studio. Microsoft also did some work on the Networking site which was really important, for example you can now change the subnet for Virtual Machines.
    Microsoft Azure Announcements
  • Microsoft also launched a lot of new preview features like Azure Cache and a lot more. What I love the most is the new Microsoft Azure feature called Azure Automation. Azure Automation allows you to automate the creation, monitoring, deployment, and maintenance of resources in your Azure environment using a highly-available workflow execution engine. Orchestrate time-consuming, error-prone, and frequently repeated tasks against Azure and third party systems to decrease time to value for your cloud operations. This is basically Service Management Automation (SMA), which was released with System Center 2012 R2 as a on premise version, now running up in Microsoft Azure. For those how haven’t heard about SMA, SMA is a new automation engine and Runbooks in Service Management Automation and Microsoft Azure Automation are Windows PowerShell workflows.
    Microsoft Azure Automation
  • Microsoft also release a new preview of the Microsoft Azure portal. Since Microsoft released a huge number of new features in Azure, the “old” management portal didn’t really fit the requirements anymore. The new Azure management portal helps you to be much more organized and is using a lot of new concept like “blades” to help you navigate through your Azure environment. The new dashboard also gives you a quick overview about the Microsoft Azure datacenters and there service status, and the new touch friendly dashboard also allows you to customize it for your need. You can check it out on portal.azure.com
    New Microsoft Azure Portal
  • I am not a developer but I was really impressed what Microsoft did for developers. They are just generating a huge numbers of new opportunities with their new platforms not only in Microsoft Azure using IaaS, mobile Services or PaaS, Microsoft also announced a new concept of Universal Apps which allows developers to write apps which run on Windows Phone, Windows and Xbox One. Some days ago Microsoft also showed the new Kinect v2 hardware which I hope developers will use to write some really cool stuff. If we have a lot back at Microsoft Azure, what I really liked about the new Portal is the  integration of Team Foundation Server or “team projects”.
    Microsoft Azure Team Projects

This are just a few of the cool new things Microsoft announced at Build 2014, there is a lot more which is definitely worth to talk about.



PowerShell NetAdpater Advanced Property

Hyper-V Network Virtualization NVGRE: No connection between VMs on different Hyper-V Hosts

I have worked on some project with Hyper-V Network Virtualization and NVGRE, and today I have seen an issue with Encapsulated Task Offloading on some HP Broadcom Network adapters.

 

Issue

I have Hyper-V Hosts running with 10GbE Broadcom Network Adapters (HP Ethernet 10Gb 2-port 530FLR-SFP+ Adapter) with driver version 7.8.52.0 (released in 2014). I have created a new VM Network based on Hyper-V Network Virtualization using NVGRE. VM1 is running on Host1 and VM2 is running on Host2. You can ping VM2 from VM1 but there is no other connection possible like SMB, RDP, HTTP or DNS. If you are using a NVGRE Gateway you can no even resolve DNS inside those VMs. If VM1 and VM2 are running on the same Hyper-V host everything between those VMs works fine.

Advanced Driver Settings

If you are using Server Core, which you should by the way, you can use the following command to check for those settings:

PowerShell NetAdpater Advanced Property

 

Resolution

The Broadcom Network adapters have a feature called Encapsulated Task Offloading which is enabled by default. If you disable Encapsulated Task Offloading everything works fine. You can disable it by using the following PowerShell cmdlet.

After that connection inside the VMs started to work immediately, no reboot needed.



Sort Network Adapter via PowerShell

Sort Windows Network Adapter by PCI Slot via PowerShell

If you work with Windows, Windows Server or Hyper-V you know that before Windows Server 2012 Windows named the network adapters randomly. This was a huge deal if you were trying to automate deployment of servers with multiple network adapters. And of course Hyper-V Servers normally have multiple network adapters. In Windows Server 2012 Microsoft had some different ways how this was fixed. First there is CDN (Consistent Device Naming) which allows hardware vendors to integrate the names so the OS can pick them up and the second one being the possibility of Hyper-V Converged Fabric which is basically making our lives easier by having less network adapters.

Well a lot of vendors have not integrated CDN or you have some old servers without CDN support. Back in May 2012 before the release of Windows Server 2012 I wrote a little Windows PowerShell script to sort network adapters in Windows Server 2008 R2 and Hyper-V Server 2008 R2 by using WMI (Configure Hyper-V Host Network Adapters Like A Boss). Now for a Cisco UCS project I rewrote some parts of the script to use Windows PowerShell in for Windows Server 2012, Windows Server 2012 R2 and Hyper-V.

First lets have a look how you can get the PCI slot information for network adapters, luckily there is now a PowerShell cmdlet for this.

Now lets see how you can sort network adapters via Windows PowerShell.

This will get you a output like this:

Sort Network Adapter via PowerShell

Lets do a little loop to automatically name them:

So this names all the network adapters to NIC1, NIC2, NIC3,…

So lets do a PowerShell function for this:

Now you can run this by using Sort-NetworkAdapter for exmaple:

or

You can also get this script from the Microsoft Technet Gallery or Script Center.



Test-NetConnection PowerShell Portscan

SuperPing – PowerShell Test-NetConnection

With Windows 8.1 and Windows Server 2012 R2 Microsoft released PowerShell v4 with new PowerShell modules and new PowerShell cmdlets. One of them is the new Test-NetConnection cmdlet which does basically replaces some simple network tools like Ping, Traceroute, Portscanner and more.

First if you just run Test-NetConnection this will check a Microsoft edge server and will tell you if your internet is working or not.

PowerShell Test-NetConnection

You can also ping other servers

Test-NetConnection Ping

If we have a closer look at this cmdlet we can see that we can do much more.

get-help get-testnetconnection

What we can do is something like a port scan. In this example I check if the RDP port is open on my webserver. Which is hopefully not ;-)

Test-NetConnection PowerShell Portscan

You can also check for not so common ports by using the -Port parameter and entering the port number.
Another thing you could do would be a simple traceroute.

Test-NetConnection PowerShell Traceroute

If you want to do a ping -t you could use the following command

Ping -t with PowerShell

I hope this helps you a little :)



SCU2013

Speaking at System Center Universe Europe 2013 and hopefully meeting Carl

Only two weeks left until the System Center Universe Europe 2013 starts. The session and event preparing really starts now and there is still some work to be done. I already did a interview with the guys from System Center Universe where I talked about the event and my sessions, and two weeks ago the session list with all the abstracts were released. I will have the change to speak in three sessions about Hyper-V and System Center Virtual Machine Manager.

Here my session list:

What's new in Windows Server 2012 R2 Hyper-V (German)

Together with Carsten Rachfahl (MVP Virtual Machine) I will talk about the new features in Windows Server 2012 R2 Hyper-V, such as Live Migration compression, Shared VHDX and of course a lot more. 

SCVMM Networking: From Zero to Hero in two hours - Part 1/2 (English)

Are you ready for a deep-dive in System Center Virtual Machine Manager Networking, which covers the concept of Logical Switches, NIC Teaming, Hyper-V Converged Networking, Network Virtualization, the integration of the Cisco Nexus 1000v, Virtual Firewalls or IPAM into Virtual Machine Manager. Then this is the place to be, virtualization astronauts Damian Flynn, Kevin Greene, Michel Lüscher and Thomas Maurer are going to talk about the advanced networking topics in System Center Virtual Machine Manager. See you in Space. 

SCVMM Networking: From Zero to Hero in two hours - Part 2/2 (English)

Are you ready for a deep-dive in System Center Virtual Machine Manager Networking, which covers the concept of Logical Switches, NIC Teaming, Hyper-V Converged Networking, Network Virtualization, the integration of the Cisco Nexus 1000v, Virtual Firewalls or IPAM into Virtual Machine Manager. Then this is the place to be, virtualization astronauts Damian Flynn, Kevin Greene, Michel Lüscher and Thomas Maurer are going to talk about the advanced networking topics in System Center Virtual Machine Manager. See you in Space.

I am really happy to have the honor to speak at this event and with other great speakers. If you not already have, make sure you register for the event on systemcenteruniverse.ch

Even Carl from Catapult Systems is trying to get a ticket:



System Center Virtual Machine Manager Bare-Metal Deployment

System Center Virtual Machine Manager Mania at E2EVC

As you may know, back in Mai this year I was in Copenhagen speaking at the Experts 2 Experts Virtualization Conference, short E2EVC. Together with Michael Rüefli I talked in the SCVMM Mania session about the latest and greatest features in System Center Virtual Machine Manager like the new Networking features like the Logical Switch, Bare-Metal Deployment of Hyper-V hosts, Services and Server App-V and also the VMware integration inside SCVMM.

Since this week you can watch the session right on youtube.

Btw. my next speaking event will be at the System Center Universe Europe in Bern Switzerland. Together with other Microsoft MVPs and Consultants will I do an advanced session on System Center 2012 R2 – Virtual Machine Manager Networking and an overview session on Windows Server 2012 R2 Hyper-V. So if you want to see my sessions or the other great sessions about the Microsoft Cloud offering, System Center, Windows Server and Windows Azure make sure you register for the event on systemcenteruniverse.ch.



SCU2013

Interview about System Center Universe Europe 2013

Today the crew from System Center Universe Europe released an interview with me where I talked about my job at itnetx, the Public and Private Cloud and of course about my sessions at System Center Universe Europe. By the way the session planner for System Center Universe Europe is now finally online. If you look at the session and speaker list, you will see that some great content is waiting and attending is absolutely worthy.

Here my session list:

What's new in Windows Server 2012 R2 Hyper-V (German)

Together with Carsten Rachfahl (MVP Virtual Machine) I will talk about the new features in Windows Server 2012 R2 Hyper-V, such as Live Migration compression, Shared VHDX and of course a lot more. 

SCVMM Networking: From Zero to Hero in two hours - Part 1/2 (English)

Together with Damian Flynn (MVP System Center), Kevin Greene (MVP System Center) and Michel Lüscher (Microsoft Switzerland) I will talk about Networking in System Center 2012 R2 Virtual Machine Manager and some other networking stuff like NIC Teaming, IPAM or Hyper-V Network Virtualization. This content will be split in two parts and will be a deep-dive session about the Hyper-V Networking. 

SCVMM Networking: From Zero to Hero in two hours - Part 2/2 (English)

Together with Damian Flynn (MVP System Center), Kevin Greene (MVP System Center) and Michel Lüscher (Microsoft Switzerland) I will talk about Networking in System Center 2012 R2 Virtual Machine Manager and some other networking stuff like NIC Teaming, IPAM or Hyper-V Network Virtualization. This content will be split in two parts and will be a deep-dive session about the Hyper-V Networking. 

If you not already have, make sure you register for the event on systemcenteruniverse.ch