DESKTOP

Windows 8 : Using Hyper-V - Configuring virtual machine networking and storage (part 3)

8/22/2014 4:11:46 AM

Assigning a virtual switch to a virtual machine

After a virtual switch type is selected, it functions as an object that can be assigned to one or more virtual machines. Further, each virtual machine has a virtual hardware inventory in which each network adapter can be assigned a virtual switch. Virtual machines can have multiple network adapters and exist on multiple virtual switches. A number of additional features, such as bandwidth management, MAC address assignment (if an address other than the 00-15-5D-xx-xx-xx format is required), and VLAN identification, can be set as properties of the virtual machine. The virtual switch selection can be done as part of the virtual machine creation process or afterward as a task of editing the settings, as shown in Figure 6. The virtual switches are a configuration item and property of the host, to which VMs can be assigned.

Enabling virtual machine settings assignment of a virtual switch to the network adapter

Figure 6. Enabling virtual machine settings assignment of a virtual switch to the network adapter

Assigning storage to a virtual machine

A virtual machine can be assigned storage in a number of ways. The Virtual Fibre Channel feature of Hyper-V provides virtual machines with access to a storage network directly, such as to run a storage management tool. In most situations, a Hyper-V virtual machine running on Windows 8 uses the VHDX or VHD virtual disk format. The VHDX file is the Hyper-V virtualization format that encapsulates a hard drive for a virtual machine. Virtual machines can also access a pass-through disk, which is a physical hard drive on the computer running Windows 8 with the Hyper-V feature enabled that a virtual machine uses exclusively. The pass-through configuration is not very transportable or scalable, so in most situations, VHDX and VHD virtual disk files are recommended.

Each Hyper-V virtual machine can have virtualized I/O controllers to provide storage resources (Figure 7), including IDE and SCSI controllers. Both these controllers can provide virtual disks in the VHDX or VHD format, and the virtual IDE controller can provide a virtualized optical drive for CD/DVD ISO files. Like the physical IDE and SCSI controllers in computers, these virtualized controllers have addresses. For example, the IDE controllers can provide a virtual machine with individual VHDX or VHD files on IDE Controller 0 and IDE Controller 1 and, within that, on address 0 or 1. This is much like a physical controller in many PCs. The Hyper-V virtual SCSI controller can address positions from SCSI ID 0 up to 63 and assign devices to virtual machines. Individual Hyper-V virtual machines can have both virtual IDE and SCSI controllers and can have multiple controllers. The virtual switches are a configuration item and property of the host, to which virtual machines can be assigned.

REAL WORLD: UNDERSTAND THIS ABILITY BUT DON’T WORRY TOO MUCH ABOUT IT

Most Windows administrators don’t need to change the IDE or SCSI addressing, but you can adjust this property of the individual virtual machine if needed. Changing this can affect the start order of the virtual machine, so proceed carefully if you add VHDX or VHD files to a virtual machine.

Virtual IDE and SCSI for each virtual machine

Figure 7. Virtual IDE and SCSI for each virtual machine

Windows 8 storage considerations for Hyper-V

The VHDX and VHD files associated with a VM have to reside on a disk resource that the Windows 8–based computer with the Hyper-V feature enabled can access. This can be fixed local disk resources (SATA, USB, Thunderbolt, and so on), a network resource with the new SMB 3.0 support from Windows Server 2012, or Windows Server 8 as a block storage resource. The block storage resource can be an iSCSI target formatted as an NTFS file system and assigned directly to the computer running Windows 8 with the Hyper-V feature enabled. A Fibre Channel logical unit number (LUN) can also be deployed to a computer running Windows 8 and formatted. This is different from the Virtual Fibre Channel technology that can place a virtual machine on the storage network in that the LUN would be assigned to the Windows 8–based computer with the Hyper-V feature enabled and then formatted as NTFS. After the iSCSI or Fibre Channel LUNs are formatted, virtual machines can reside on these storage resources.

Note

WINDOWS 8 STORAGE SHOULD BE SIMPLE

Although Windows 8 with the Hyper-V feature enabled has the same rich storage options as Hyper-V on Windows Server 2012, virtual machines running on local storage and removable media are a popular choice for most Windows 8 users. If SAN storage infrastructures are deployed, consider using the free Hyper-V hypervisor, Hyper-V Server 2012. This is much like a core installation of Windows Server with the Hyper-V role, but it is free.

Other  
  •  Windows 8 : Using other management tools remotely (part 3) - Microsoft Management Console
  •  Windows 8 : Using other management tools remotely (part 2) - Windows PowerShell
  •  Windows 8 : Using other management tools remotely (part 1) - Netsh, Windows Remote Shell
  •  Windows 8 : Configuring, managing, and troubleshooting connections (part 3) - Connecting to VPNs in Windows 8
  •  Windows 8 : Configuring, managing, and troubleshooting connections (part 2) - Using Troubleshooter
  •  Windows 8 : Configuring, managing, and troubleshooting connections (part 1) - Troubleshooting network problems
  •  Windows 8 : Configuring and using Remote Desktop (part 3) - Programs, Experience, Advanced
  •  Windows 8 : Configuring and using Remote Desktop (part 2) - Opening the Remote Desktop application - General, Display, Local Resources
  •  Windows 8 : Configuring and using Remote Desktop (part 1) - Configuring Remote Desktop
  •  Windows 8 : Working with Remote Assistance - Initiating Remote Assistance, Providing remote assistance
  •  
    Top 10
    3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
    3 Tips for Maintaining Your Cell Phone Battery (part 1) - Charge Smart
    OPEL MERIVA : Making a grand entrance
    FORD MONDEO 2.0 ECOBOOST : Modern Mondeo
    BMW 650i COUPE : Sexy retooling of BMW's 6-series
    BMW 120d; M135i - Finely tuned
    PHP Tutorials : Storing Images in MySQL with PHP (part 2) - Creating the HTML, Inserting the Image into MySQL
    PHP Tutorials : Storing Images in MySQL with PHP (part 1) - Why store binary files in MySQL using PHP?
    Java Tutorials : Nested For Loop (part 2) - Program to create a Two-Dimensional Array
    Java Tutorials : Nested For Loop (part 1)
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    VIDEO TUTORIAL
    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
    Popular Tags
    Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS