PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.virtualserver > Opening Virtual Machines
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Opening Virtual Machines

Réponse
 
LinkBack Outils de la discussion
Vieux 02/04/2008, 01h58   #1
Yirm
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Opening Virtual Machines

I use disk imaging on my host machine. I save my virtual machines and disks
separate partition so that if I need to restore the system partition, they
will remain. However, it appears that there is no way to load these VMs
into Hyper-V Manager. Is it really true that you have to export them and
then import them? If that's true, this seems crazy to me.

Let's say I have a host machine with two partitions - c:\ and d:\. Windows
2008 is installed on c:\. I create a virtual machine named "foo" in
d:\virtual machines\. I make a couple of snapshots. So now I have a
directory structure like this:

d:\virtual machines\foo\snapshots
d:\virtual machines\foo\virtual machines
d:\virtual machines\foo\foo.vhd

Now let's say I revert my c:\ drive to a state before I set up the virtual
machine. Now Hyper-V Manager doesn't recognize the VM at all. And I cannot
find any way of opening or importing it. I can still use the VHD, but it
seems like the VM has to be recreated, meaning I lose all snapshots (bad)
and who knows what else.

Am I missing something? If not, I don't understand this need for
import/export. Seems like a crazy process compared to simply opening a .vmc
file like in Virtual PC.

-Jeremy

  Réponse avec citation
Vieux 02/04/2008, 13h10   #2
Matthijs ten Seldam [MSFT]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut RE: Opening Virtual Machines

Yirm,

a better place to post Hyper-V questions is here:
http://forums.microsoft.com/TechNet/...=583&SiteID=17

When you restore your machine to a 'previous state' in which VM's were not
registered, you end up with the situation you describe.
Configuration information no longer exists as file system xml files which
were enumerated. Hyper-V configuration is stored in WMI. When you go back in
time with a different WMI configuration, you lose all changes made after that
point.

VM's cannot simply be added by pointing to their configuration files. The
structure is much more complex and involves many more components. You need to
import VM's which were previously exported.

Matthijs



"Yirm" wrote:

> I use disk imaging on my host machine. I save my virtual machines and disks
> separate partition so that if I need to restore the system partition, they
> will remain. However, it appears that there is no way to load these VMs
> into Hyper-V Manager. Is it really true that you have to export them and
> then import them? If that's true, this seems crazy to me.
>
> Let's say I have a host machine with two partitions - c:\ and d:\. Windows
> 2008 is installed on c:\. I create a virtual machine named "foo" in
> d:\virtual machines\. I make a couple of snapshots. So now I have a
> directory structure like this:
>
> d:\virtual machines\foo\snapshots
> d:\virtual machines\foo\virtual machines
> d:\virtual machines\foo\foo.vhd
>
> Now let's say I revert my c:\ drive to a state before I set up the virtual
> machine. Now Hyper-V Manager doesn't recognize the VM at all. And I cannot
> find any way of opening or importing it. I can still use the VHD, but it
> seems like the VM has to be recreated, meaning I lose all snapshots (bad)
> and who knows what else.
>
> Am I missing something? If not, I don't understand this need for
> import/export. Seems like a crazy process compared to simply opening a .vmc
> file like in Virtual PC.
>
> -Jeremy
>
>

  Réponse avec citation
Vieux 03/04/2008, 07h15   #3
Yirm
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Opening Virtual Machines

"Matthijs ten Seldam [MSFT]"
<MatthijstenSeldamMSFT@discussions.microsoft.com > wrote in message
news:A19631E7-16B3-4A3E-A650-1F5E76B9C706@microsoft.com...

> a better place to post Hyper-V questions is here:
> http://forums.microsoft.com/TechNet/...=583&SiteID=17


Thanks for the pointer; I'll post there in the future.

> When you restore your machine to a 'previous state' in which VM's were not
> registered, you end up with the situation you describe.
> Configuration information no longer exists as file system xml files which
> were enumerated. Hyper-V configuration is stored in WMI. When you go back
> in
> time with a different WMI configuration, you lose all changes made after
> that
> point.
>
> VM's cannot simply be added by pointing to their configuration files. The
> structure is much more complex and involves many more components. You need
> to
> import VM's which were previously exported.


Thanks for the answer. I don't like the answer, but I appreciate you giving
me one. . Couldn't the export have been designed so you don't have to
copy the entire .vhd? At least that would make shorter and it wouldn't
require all that disk space. Also, when you import, the VM location is
where the imported files are. It would be nice if you could specify a
different location. The answer is to move the exported VM to the location
you want it to be in the file system before importing. But I only found
that out after the fact. I don't know. Maybe the can be improved in V2.

Thanks again for the response.

-Jeremy

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h20.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12839 seconds with 11 queries