NIC info lost in reinstallation... will export fix this?


earlier year when updated hardware in hp dl580 g5 using hp's systems management tool, (os on mirrored drives on 1 controller, vms on raid 5 on second controller), killed windows 2008 os. did not export vms... when ready update hardware, just shut down server , pulled drives in data array. when new os installed hyperv , updates, etc, shut down server , plugged in drives. the new installation saw drive, and all right world, realized every vm had lost nic information... had log each 1 and manually enter static ip information for every server. i'm planning upgrade firmware again, , install server 2008 r2. currernt plan export vms external drive backup strategy in case, , pull drives again prior hardware updates , os installation. i'd save time take import vms, they'll still right prior rebuild, don't want go through manual nic configuration on these vms again either.

will exporting importing vms retain nic configuration when imported and brought in new os?

hi,

 

based on experience, after import on new server or after reinstallation, keep nic configuration when set static mac address vm.

 

by way, don’t have export vms vhd files, can export configuration files. in windows server 2008 r2, there no gui export vm configurations, can copy code in following link, save .vbs file(such export.vbs) , run following command on elevated command prompt line:

 

----------------------------

cscript export.vbs vmname exportdirectoryname

----------------------------

for example: d:\>cscript export.vbs test_vm d:\backup (test_vm name of vm)

 

in addition, can import vm hyper-v manager. however, have select option “copy virtual machine(create new unique id)”, if not receive following error:

 

note: when copy code link, may copy doc file first , copy content doc file txt file, noticed if copy content directly web txt file, may encounter typeset problem.

 

http://blogs.technet.com/virtualization/archive/2009/05/29/hyper-v-r2-import-export-part-6-so-what-happened-to-configuration-only-export.aspx

 

 

best regards,

vincent hu

 



Windows Server  >  Hyper-V



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file