Importing Virtual Machines


i have hyper-v server got bsod reinstalled os , machines saved on drive.  tried import vms can't network connectivity going.  created virtual switch (vlan 98 port 1) not allowing me connect virtual machine.  please help.  thanks.

noc, i'll assume you're using server 2012 r2 on hyper-v host.

i recommend following steps:

- verify hyper-v settings like:

  • it's domain joined (you'll need live-migration)
  • check hyper-v setting. make sure virtual hard disk , virtual machine settings default want them. check live-migration , storage migration settings. make sure match standard set environment. 
  • check virtual switch manager settings. vswitch name must match same vswitch name on other hyper-v hosts in environment allow live-migration. it's typically set external switch. make sure it's connected correct nic drop down menu (the 1 access vlan 98 in case). if want give parent partition access vlan check allow management os.. box. if physical switch port configured truck port (no vlan 802.1q tagging) check enable vlan id.. box , enter vlan id 98 below that. 

- if we're talking handful of vms (under 10), can recreate them scratch using vhdx files. point vm disks existing disks. don;t need files old vms except vhd/vhdx files. setup memory/cores/vnics/... in environments have documented where.. assuming physical switch port configured trunk port, vlan tag frames each vm nic. check enable vlan id , enter vlan id.

finally start vm, log in local admin credentials. vm have new vnic because of new mac address presented new hyper-v host. enter static ip desired, , verify communication (ping) other machines on 98 vlan. 

- if we're talking dozens or hundreds of vms, recommend using powershell. of scripts you'll need task can found here http://superwidgets.wordpress.com/category/powershell/


samb



Windows Server  >  Hyper-V



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file