- [Hyper-Vマネージャーでインポートした仮想マシンがSCVMMに表示されない | System Center Blog](https://systemcenter.ebisuda.net/2012/10/12/hyper-v%e3%83%9e%e3%83%8d%e3%83%bc%e3%82%b8%e3%83%a3%e3%83%bc%e3%81%a7%e3%82%a4%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%88%e3%81%97%e3%81%9f%e4%bb%ae%e6%83%b3%e3%83%9e%e3%82%b7%e3%83%b3%e3%81%8cscvmm/)
- Checks the host status to determine whether the VMM agent is running and the status of the virtualization software on the host.
- Synchronizes the statuses of virtual machines deployed on the host.
- Places virtual machines with missing objects in a Missing state.
- Imports new virtual machines created outside VMM. When the refresher detects a new virtual machine, it imports the virtual machine into VMM and runs the VM Heavy Refresher to add virtual machine properties, resource pools, cluster information, and snapshots to the VMM database.
2の方法に関しては以下の状況です。
- きちんと認識され、新規作成時に選択可能だが、実際に作成しようとするとジョブが失敗してしまう。
- 失敗するのが操作方法の問題なのか、環境の問題なのか、エクスポートされたイメージの問題なのか現時点では不明。
- 以下のURLではこの方法が正しいインポートの方法として提示されている。
[How to Import a VM into VMM](http://social.technet.microsoft.com/Forums/systemcenter/en-US/26f63615-9666-480b-8d30-2fde25c0101b/how-to-import-a-vm-into-vmm)
Imports new virtual machines created outside VMM. When the refresher detects a new virtual machine, it imports the virtual machine into VMM and runs the VM Heavy Refresher to add virtual machine properties, resource pools, cluster information, and snapshots to the VMM database.
をやっているのであれば、出てこない方がおかしいのでしょうが、いかんせん、SCVMMのジョブをより詳細に追いかける方法がわかりません。SCCMみたいに細かいログが出ててくれればまだ当たりのつけようもあるのですが・・・。
一部ハードディスクの配置場所などに関して「C:\hyper-vHDD\vmname\Virtual Hard Disks\vmname.vhd」のように固定パスが書かれています。ちょっと気になります。このままでいいのでしょうか?でも、エクスポートしたファイルを別マシンの別パスに持って行ってからHyper-Vマネージャーでインポートするようなことは成功するわけであり、このままで良いのだとは思いますが・・・。
config.xmlの中身はシンプルで以下のようになっています。
C:\hyper-vHDD\A-Kind\Virtual Hard Disks\vmname.vhdtrue