TONYSO

Tonyso Credo: "Look for a pattern, and solve it for everything"

Hyper-V How To: Share Resources

Hyper-V How To: Share Resources

  • Comments 1
  • Likes

In Virtual Server (and VPC) it was fairly easy to create a share and place resources on it that you want to share between Host and VM. Easy, not secure for enterprise use. You can;t do this anymore in Hyper-V.

Splogbane: If you are reading this on a blog other than http://blogs.technet.com/tonyso, why not stop patronizing a splog and come over to the original? 

To move/copy.share files/resources between host and VM you should use the library in SCVMM. If you aren't using SCVMM, then you must use regular ol' networking to transfer files between the host (sometimes also called parent partition) and VMs, or VM to VM.

To Share Files Between Host and VM

  • Create an "Internal" network in Hyper-V Virtual Network  Manager.

According to the instructions in the Hyper-V Getting Started Guide:

To create a virtual network

  1. Open Hyper-V Manager.

  2. From the Actions menu, click Virtual Network Manager.

  3. Under Create virtual network, select the type of network you want to create. The types of network are External, Internal, and Private. If the network you want to create is an external network, see “Additional considerations” below.

  4. Click Add. The New Virtual Network page appears.

  5. Type a name for the new network. Review the other properties and modify them if necessary.

    noteNote

    You can use virtual LAN identification as a way to isolate network traffic. However, this type of configuration must be supported by the physical network adapter. For information about configuring virtual LAN identification, see the Hyper-V deployment content at the Windows Server 2008 TechCenter (http://go.microsoft.com/fwlink/?LinkID=108560).

  6. Click OK to create the virtual network and close Virtual Network Manager, or click Apply to create the virtual network and continue using Virtual Network Manager.

  • Add another Network adapter in the VM and map to this new network  you just created.
  • Place the Parent partition Local Area Connection and the VM NIC configuration (on the new adapter) on the same network.
  • Connect to shares in Parent partition (configure perms appropriately).

Alternatively, you can use ISO images that you mount in the VM DVD drive, on a Server Core install you might want to consider having your ISOs on an iSCSI disk that you can mount to the host to build your VMsor, or, use the SCVMM library.

Comments
Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment