Windows Server

What Is Consistent Device Naming?

Today I’ll provide an overview of Consistent Device Naming (CDN) and explain why it is a valuable feature in automating the deployment and configuration of the Microsoft private cloud.

Consistent Device Naming: Before

Every Windows administrator has cursed Microsoft whenever they’ve had to figure out the networking behind Local Area Connection, Local Area Connection 1, Local Area Connection 2, and so on (or Ethernet 1, etc on Windows Server 2012). Without CDN there is absolutely no correlation between the name of the network interface in Windows and the device name on the pack of the server. That wasn’t such a big deal when we dealt with traditional physical servers with just a single NIC or a NIC team; after all, we didn’t care what the NICs were called because they were on the same VLAN and had the same role.

Things changed when we started working with Hyper-V. Hosts with iSCSI storage could have 6, 10, or even a dozen 1 GbE NICs called Local Area Connection <insert number here>. What should have been a simple operation to connect the server to the network changed:

  • Option 1: With the assistance of a colleague that was pulled away from another important task, the operator or administrator pulled/inserted cables one at a time so that they could identify them on the server and rename the randomly numbered Local Area Connections.
  • Option 2: The operator or administrator got some exercise by running to the back of the rack to pull/insert a network cable, return to the KVM console to rename the Local Area Connection, and repeat until all the NICs were identified.

System Center Virtual Machine Manager (VMM) has a nice feature in which you can deploy a host network configuration to enable the Logical Switch and Hyper-V/Windows Network Virtualization management. You need some way to identify the physical devices and the labels will not suffice (not even any renamed Local Area Connections). Without CDN, you have no choice but to connect to the server, record the MAC addresses to identify the NICs, and configure each host one at a time. So much for time saving automation!

Sponsored Content

What is “Inside Microsoft Teams”?

“Inside Microsoft Teams” is a webcast series, now in Season 4 for IT pros hosted by Microsoft Product Manager, Stephen Rose. Stephen & his guests comprised of customers, partners, and real-world experts share best practices of planning, deploying, adopting, managing, and securing Teams. You can watch any episode at your convenience, find resources, blogs, reviews of accessories certified for Teams, bonus clips, and information regarding upcoming live broadcasts. Our next episode, “Polaris Inc., and Microsoft Teams- Reinventing how we work and play” will be airing on Oct. 28th from 10-11am PST.

Consistent Device Naming: After

When combined with modern machines such as Dell 12th generation servers or HP Proliant Gen 8 servers, Windows Server 2012 (WS2012) and later will label the NICs according to their physical names on the machine. The below image shows an example of a new Hyper-V host running WS2012 R2. Note that the NIC labels have not been renamed – these are the names that WS2012 R2 assigned to the devices. Here you can see:

  • The two on-board 1 GbE interfaces called NIC1 and NIC2
  • A Chelsio quad port card in slot 2 with interfaces labelled 1 to 4

Consistent Device Naming: labels

CDN allows you predictability in the naming of your devices, assuming that you standardize the purchasing and configuration of your servers. If you standardize the process of connecting your servers to the top-of-rack switches then you can know in advance what the role of each NIC should be. This allows you to script the creation of NIC teams and/or converged networks using PowerShell. You may also create a template of your Logical Switch and deploy it with predictable results in VMM.

In other words, this unheralded feature extracts a huge thorn from the sides of Windows administrators and makes the promise of automated host deployment a realistic possibility. By the way, CDN just works – there is nothing to configure. All you need to know is how the server is built which is something that you can standardize in a data center.

Related Topics:

Aidan Finn, Microsoft Most Valuable Professional (MVP), has been working in IT since 1996. He has worked as a consultant and administrator for the likes of Innofactor Norway, Amdahl DMR, Fujitsu, Barclays and Hypo Real Estate Bank International where he dealt with large and complex IT infrastructures and MicroWarehouse Ltd. where he worked with Microsoft partners in the small/medium business space.
External Sharing and Guest User Access in Microsoft 365 and Teams

This eBook will dive into policy considerations you need to make when creating and managing guest user access to your Teams network, as well as the different layers of guest access and the common challenges that accompany a more complicated Microsoft 365 infrastructure.

You will learn:

  • Who should be allowed to be invited as a guest?
  • What type of guests should be able to access files in SharePoint and OneDrive?
  • How should guests be offboarded?
  • How should you determine who has access to sensitive information in your environment?

Sponsored by: